/* Shared reader trust and navigation. LINE destinations remain unset until supplied. */
.eh-reader .header-about { gap: 18px; align-items: center; }
.eh-reader .header-about > a { display: inline-flex; align-items: center; min-height: 44px; }
.eh-reader .header-about .header-video { gap: 7px; padding: 0 12px; border: 1px solid var(--reader-line); border-radius: 7px; color: var(--reader-green); background: var(--reader-wash); }
.eh-reader .header-video svg { flex-shrink: 0; }

/* A longer rail scrolls with the document so every resource remains reachable. */
.eh-reader .reader-rail { position: static; }
.eh-reader .reader-sidebar .sidebar-author { margin: 0 0 20px; padding: 18px; border: 1px solid var(--reader-line); border-radius: 12px; background: #fff; }
.sidebar-author-heading { display: flex; align-items: center; gap: 12px; }
.eh-reader .sidebar-author-heading img { display: block; flex: 0 0 56px; width: 56px; height: 56px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--reader-wash); }
.sidebar-author-role { display: block; color: var(--reader-muted); font-size: .6875rem; line-height: 1.5; }
.eh-reader .sidebar-author h2 { margin: 3px 0 0; font-size: 1.0625rem; line-height: 1.4; }
.eh-reader .sidebar-author p { margin: 14px 0 7px; color: var(--reader-muted); font-size: .8125rem; line-height: 1.85; }
.sidebar-author-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.eh-reader .sidebar-author .sidebar-author-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 0; color: var(--reader-green); font-size: .75rem; text-decoration: none; }
.eh-reader .sidebar-author-links a:first-child { font-weight: 650; }
.eh-reader .reader-sidebar .sidebar-resources { padding: 0; border: 0; background: transparent; }
.eh-reader .sidebar-resources > h2 { margin: 0 0 12px; font-size: .875rem; }
.eh-reader .sidebar-resources .sidebar-resource:last-child { border-bottom: 0; }
.eh-reader .reader-sidebar .sidebar-video { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 18px; padding: 14px; border: 1px solid #d6e1d6; border-radius: 10px; background: #f1f5ee; color: var(--reader-green); text-decoration: none; }
.sidebar-video-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #fff; }
.sidebar-video strong { display: block; font-size: .875rem; line-height: 1.5; }
.sidebar-video small { display: block; margin-top: 2px; font-size: .6875rem; line-height: 1.65; }

.eh-reader .footer-main { column-gap: 36px; }
.eh-reader .footer-brand p { max-width: 29em; margin: 16px 0 5px; }
.eh-reader .footer-brand .footer-owner { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 650; color: var(--reader-green); text-decoration: none; }
.footer-media-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 7px; }
.eh-reader .footer-media-links > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .75rem; text-decoration: none; }
.eh-reader .footer-media-links > .footer-video { padding: 7px 11px; border: 1px solid #c9d6ca; border-radius: 7px; color: var(--reader-green); background: #fff; font-weight: 650; }
.footer-video svg { flex-shrink: 0; }
.eh-reader .footer-independence { max-width: 1280px; margin: 0 auto; padding: 0 32px 24px; color: var(--reader-muted); font-size: .75rem; line-height: 1.8; }
.eh-reader .footer-main nav > a { gap: 6px; }
@media (hover: hover) {
  .eh-reader .header-video:hover, .eh-reader .footer-video:hover { border-color: var(--reader-green); background: #edf3eb; }
  .eh-reader .sidebar-author-links a:hover, .eh-reader .footer-owner:hover, .eh-reader .footer-media-links a:hover { text-decoration: underline; }
  .eh-reader .sidebar-video:hover { border-color: var(--reader-green); }
  .eh-reader .sidebar-video:hover strong { text-decoration: underline; text-underline-offset: 4px; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .eh-reader .header-main { gap: 22px; }
  .eh-reader .header-about { gap: 13px; }
  .eh-reader .header-search { width: 250px; }
}
@media (max-width: 1100px) {
  .eh-reader .header-about { display: none; }
}
@media (max-width: 767px) {
  .eh-reader .mobile-menu-about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--reader-line); }
  .eh-reader .mobile-menu-about > a { min-width: 0; min-height: 44px; padding: 7px 0; font-size: .75rem; line-height: 1.7; overflow-wrap: anywhere; }
  .eh-reader .mobile-menu-about > .mobile-menu-video { display: flex; justify-content: space-between; grid-column: 1 / -1; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: #f0f5ed; color: var(--reader-green); font-weight: 650; }
  .eh-reader .footer-main { gap: 30px 22px; padding-block: 32px 24px; }
  .eh-reader .footer-brand p { margin-top: 13px; font-size: .8125rem; }
  .eh-reader .footer-media-links { margin-top: 4px; }
  .eh-reader .footer-independence { padding: 0 22px 22px; font-size: .6875rem; }
}
@media (max-width: 380px) {
  .eh-reader .footer-main { column-gap: 16px; }
  .eh-reader .footer-independence { padding-inline: 17px; }
}
