/* Homepage styles: consolidated from the supplied injection, in final cascade order. */
body.ah-home-ready { background: #f6f7f9; }
#ah-home {
  --ah-ink: #071331;
  --ah-muted: #787e8b;
  --ah-accent: #5965da;
  direction: rtl;
  width: 100%; max-width: 1240px;
  margin: 0 auto; padding: 0 24px 18px;
  box-sizing: border-box;
  color: var(--ah-ink); font-family: var(--type-body);
}
#ah-home *, #ah-home *::before, #ah-home *::after { box-sizing: border-box; }
#ah-home a { color: inherit; text-decoration: none; }
#ah-home a:hover { color: var(--ah-accent); }
#ah-home a:focus-visible, #ah-home button:focus-visible, #ah-home input:focus-visible {
  outline: 3px solid var(--ah-accent); outline-offset: 4px;
}
#ah-home [hidden] { display: none !important; }
#ah-home .ah-intro { max-width: 760px; margin: 0 auto; padding: 26px 0 48px; text-align: center; }
#ah-home .ah-portrait {
  display: block; width: 144px; height: 144px;
  margin: 0 auto 22px; object-fit: cover;
  border: 1px solid #dfe2e8; border-radius: 50%; background: #fff;
}
#ah-home .ah-intro h1 { margin: 0 0 16px; font-size: 42px; line-height: 1.4; font-weight: 700; }
#ah-home .ah-bio { margin: 0; font-size: 20px; line-height: 1.85; }
#ah-home .ah-bio span { display: block; }
#ah-home .ah-schedule { margin: 18px 0; color: var(--ah-muted); font-size: 15px; line-height: 1.8; }
#ah-home .ah-note { margin: 14px 0 0; color: var(--ah-muted); font-size: 13px; line-height: 1.8; }
#ah-home .ah-form-slot { max-width: 580px; margin: 0 auto; }
#ah-home .c-subscribe-form { width: 100%; margin: 0; }
#ah-home .c-subscribe-form .form-group {
  display: flex; align-items: stretch; gap: 0;
  margin: 0; padding: 0; overflow: hidden;
  border: 1px solid #dadee7; border-radius: 12px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#ah-home .c-subscribe-form .form-group:focus-within {
  border-color: var(--ah-accent); box-shadow: 0 0 0 3px rgba(89,101,218,.14);
}
#ah-home .c-subscribe-form__input {
  flex: 1 1 auto; width: 0; min-width: 0; height: 58px;
  margin: 0; padding: 0 18px;
  background: #fff; color: var(--ah-ink);
  font-family: var(--type-body); font-size: 18px; text-align: right;
}
#ah-home .c-subscribe-form__input,
#ah-home .c-subscribe-form__input:focus,
#ah-home .c-subscribe-form__input:focus-visible {
  outline: none; box-shadow: none; border: 0; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
#ah-home .c-subscribe-form__btn {
  position: static; flex: 0 0 auto; width: auto; height: 58px;
  margin: 0; padding: 0 28px; border: 0; border-radius: 0;
  background: var(--ah-accent); color: #fff;
  font-family: var(--type-body); font-size: 17px; font-weight: 700;
  transform: none; cursor: pointer;
}
#ah-home .c-subscribe-form__btn:hover { background: #4652c8; }
#ah-home .c-subscribe-form__btn:focus-visible { outline: 2px solid #fff; outline-offset: -5px; box-shadow: none; }
#ah-home .c-alert { margin-top: 14px; font-size: 15px; line-height: 1.8; }
#ah-home .ah-section { margin: 0 0 28px; container-type: inline-size; }
#ah-home .ah-section:last-child { margin-bottom: 0; padding-bottom: 0; }
#ah-home .ah-section-title {
  position: relative; display: table; width: fit-content; max-width: 100%;
  margin: 0 0 24px; padding: 0 0 10px; border: 0;
  font-size: 25px; line-height: 1.4; text-align: right; isolation: isolate;
}
#ah-home .ah-section-title::before {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 100cqw; height: 1px; background: #e0e3e7; z-index: -1; pointer-events: none;
}
#ah-home .ah-section-title::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0;
  height: 4px; background: #071331; pointer-events: none;
}
#ah-home .ah-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
#ah-home .ah-card { min-width: 0; overflow: hidden; border: 1px solid #e0e3e8; border-radius: 12px; background: #fff; }
#ah-home .ah-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px;
  color: var(--ah-muted); font-size: 13px; line-height: 1.8;
}
#ah-home .ah-meta > * + *::before { content: '•'; display: inline-block; margin-inline-end: 9px; color: #9298a4; }
#ah-home .ah-meta a { color: var(--ah-accent); }
#ah-home .ah-meta time { display: inline; }
#ah-home .ah-featured { display: flex; flex-direction: column; }
#ah-home .ah-featured-body { flex: 1; padding: 20px 22px 16px; }
#ah-home .ah-featured h3 { margin: 12px 0 8px; font-size: 23px; line-height: 1.55; }
#ah-home .ah-excerpt {
  display: -webkit-box; overflow: hidden; margin: 0;
  color: var(--ah-muted); font-size: 16px; line-height: 1.8;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
#ah-home .ah-featured-image { display: block; aspect-ratio: 1.9 / 1; overflow: hidden; }
#ah-home .ah-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
#ah-home .ah-latest-grid { gap: 12px 18px; }
#ah-home .ah-latest {
  display: grid; grid-template-columns: minmax(0,1fr) 112px;
  grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 8px;
  align-items: center; padding: 14px;
}
#ah-home .ah-latest > .ah-meta {
  grid-column: 1; grid-row: 1; align-self: end;
  margin: 0; font-size: 12px; line-height: 1.7; gap: 4px 7px;
}
#ah-home .ah-latest h3 {
  grid-column: 1; grid-row: 2; align-self: start;
  min-width: 0; margin: 0; font-size: 19px; line-height: 1.6;
}
#ah-home .ah-thumbnail {
  grid-column: 2; grid-row: 1 / 3; align-self: center;
  display: block; width: 112px; height: 92px; margin: 0;
  overflow: hidden; border-radius: 8px;
}
#ah-home .ah-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
#ah-home .ah-latest--no-image { grid-template-columns: minmax(0,1fr); }
#ah-home .ah-more {
  display: block; margin: 18px auto 0; padding: 10px 24px;
  border: 1px solid #d9dde6; border-radius: 9px; background: #fff; color: var(--ah-ink);
  font-family: var(--type-body); font-size: 15px; cursor: pointer;
}
#ah-home .ah-more:disabled { opacity: .6; cursor: wait; }
#ah-home .ah-load-status { margin: 10px 0 0; color: var(--ah-muted); text-align: center; font-size: 14px; }
#ah-home .ah-load-status:empty { display: none; }
body.ah-home-ready .c-footer { margin-top: 0; padding-top: 24px; padding-bottom: 18px; }
body.ah-home-ready .c-footer__section:not(:last-child) { margin-bottom: 12px; padding-bottom: 12px; }
body.ah-home-ready .c-footer__headline { margin-bottom: 10px; }
body.ah-home-ready .c-footer__copyright { margin-top: 14px; padding-top: 12px; }
#ah-home .c-subscribe-form .c-alert--success {
  padding: 24px 22px; border: 0; border-radius: 16px;
  background: #071331; color: #fff; box-shadow: none; text-align: center;
  font-family: var(--type-body); font-weight: 400;
}
#ah-home .ah-confirm-title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 14px; color: #b8beff; font-family: var(--type-heading);
  font-size: 26px; font-weight: 700; line-height: 1.5;
}
#ah-home .ah-confirm-title svg { flex: 0 0 26px; width: 26px; height: 26px; }
#ah-home .ah-confirm-text { margin: 0; color: #fff; font-size: 17px; line-height: 1.9; }
#ah-home .ah-confirm-help { margin: 14px 0 0; color: #bfc5d2; font-size: 14px; line-height: 1.85; }
html.ah-member-signed-in #ah-home .ah-form-slot,
html.ah-member-signed-in #ah-home .ah-note { display: none !important; }
@media (max-width:700px) {
  #ah-home { padding: 0 18px 18px; }
  #ah-home .ah-intro { padding: 20px 0 44px; }
  #ah-home .ah-portrait { width: 112px; height: 112px; }
  #ah-home .ah-intro h1 { font-size: 34px; }
  #ah-home .ah-bio { font-size: 18px; }
  #ah-home .ah-schedule { font-size: 15px; }
  #ah-home .c-subscribe-form__input { padding: 0 12px; font-size: 16px; }
  #ah-home .c-subscribe-form__btn { padding: 0 16px; font-size: 15px; }
  #ah-home .ah-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #ah-home .ah-section-title { font-size: 23px; }
  #ah-home .ah-featured-body { padding: 17px 18px 14px; }
  #ah-home .ah-featured h3 { font-size: 21px; }
  #ah-home .ah-excerpt { font-size: 15px; }
  #ah-home .ah-meta { font-size: 12px; gap: 4px 6px; }
  #ah-home .ah-latest-grid { gap: 12px; }
  #ah-home .ah-latest { grid-template-columns: minmax(0,1fr) 94px; column-gap: 12px; row-gap: 6px; padding: 12px; }
  #ah-home .ah-latest h3 { font-size: 18px; line-height: 1.55; }
  #ah-home .ah-latest > .ah-meta { font-size: 11px; gap: 3px 5px; }
  #ah-home .ah-thumbnail { width: 94px; height: 84px; }
  #ah-home .ah-latest--no-image { grid-template-columns: minmax(0,1fr); }
  body.ah-home-ready .c-footer { padding-top: 20px; }
  #ah-home .c-subscribe-form .c-alert--success { padding: 22px 18px; }
  #ah-home .ah-confirm-title { font-size: 24px; }
  #ah-home .ah-confirm-text { font-size: 16px; }
  #ah-home .ah-confirm-help { font-size: 13px; }
}
