/* ahen26 - home page only: the small recognition note, and what the home page no longer shows. Loaded after pages.css. */

/* the target of the "what we do" link in the hero: leave room for the sticky header */
#bottom { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---- recognition: one small line under the news (same column as the news module; floats like it, see redesign.css 18c) ---- */
#user3 > .wrapper > .recognition {
  float: left;
  clear: left;
  width: 67%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 12px;
  background: #f3f8fb;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
[dir="rtl"] #user3 > .wrapper > .recognition { float: right; clear: right; }
.recognition__img { flex: 0 0 50%; display: block; width: 50%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 6px; }
.recognition__line { flex: 1 1 0; min-width: 0; text-align: center; align-self: center; }
.recognition__title { display: block; font-size: 1.5rem; line-height: 1.3; margin-bottom: 6px; }
/* text on the left in both languages (the photo takes the right in Hebrew; in English the row is reversed) */
html[dir="ltr"] #user3 > .wrapper > .recognition { flex-direction: row-reverse; }
.recognition__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9f4e4;
  color: var(--green-deep);
}
.recognition__icon svg { width: 18px; height: 18px; }
.recognition__line { margin: 0; font-size: 1.1rem; line-height: 1.4; color: var(--muted); }
.recognition__title { color: var(--brand-deep); font-weight: 800; }
.recognition__note { color: var(--ink); font-weight: 600; }

@media (max-width: 767px) {
  #user3 > .wrapper > .recognition,
  [dir="rtl"] #user3 > .wrapper > .recognition { float: none; clear: both; width: 100%; }
  .recognition__title { font-size: 1.1rem; }
  .recognition__line { font-size: .95rem; }
}

/* ---- the row of three coloured tiles (newsletter / donate / projects) under the videos: the projects have their own area now and
   the donation is asked once in the text below, so the row is not shown ---- */
section#user3 .moduletable.links { display: none; }

/* link under the photos block of the home page */
.ahg-all { margin: 14px 0 0; text-align: center; }
.ahg-all a { font-weight: 700; color: var(--brand, #1d6fa5); text-decoration: none; }
.ahg-all a::after { content: " \2190"; }
html[dir="ltr"] .ahg-all a::after { content: " \2192"; }
.ahg-all a:hover { text-decoration: underline; }
