/* =========================================================================
   Webinar Library - Living Healthy Champlain theme
   Colours, type and spacing are taken from the approved design. Change the
   :root block to re-theme; nothing below hard-codes a brand colour.
   ========================================================================= */

:root {
  /* Brand */
  --teal: #159b8f;            /* nav bar, buttons, badges (decorative / large UI) */
  --teal-text: #0b7a71;       /* teal used for text on white or mint (meets 4.5:1) */
  --teal-deep: #0b6a62;       /* skip link, tags */
  --footer-bg: #0e9488;       /* footer main area (sampled from the live site) */
  --nav-divider: #3fada3;
  --mint: #e9f7f5;            /* filter panel */
  --hero-bg: #e8f5f3;
  --hero-image: none;         /* optional, e.g. url(/images/hero.jpg) */

  /* Neutrals */
  --ink: #333333;
  --muted: #505958;
  --muted-2: #696f6f;
  --border: #d7e0df;
  --input-border: #a9bcba;
  --bg: #ffffff;
  --surface: #ffffff;

  /* Type */
  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Ubuntu", "Segoe UI", Arial, sans-serif;

  /* Layout: 1100px container less 24px side padding = 1052px of content */
  --container: 1100px;
  --gutter: 1.5rem;
  --radius: 6px;
  --card-radius: 2px 2px 32px 2px;
  --shadow-card: 0 6px 18px rgba(31, 52, 50, 0.07);
  --shadow-card-hover: 0 10px 26px rgba(31, 52, 50, 0.13);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 100%; }
html.text-large { font-size: 118%; }           /* "A A" text size control */
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--teal-text); }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---- Accessibility helpers ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--teal-deep); color: #fff; padding: 0.75em 1.25em;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid #0b6a62; outline-offset: 2px; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Icons ---- */
.icon {
  width: 1.1em; height: 1.1em; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--glyph { display: inline-flex; align-items: center; justify-content: center; width: 1.1em; font-size: 0.85rem; font-weight: 700; line-height: 1; }

/* ---- Buttons ---- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3rem; padding: 0 1.5rem; border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.button--primary { background: var(--teal); color: #fff; }
.button--primary:hover { background: var(--teal-text); }
.button--outline {
  height: 3.25rem; padding: 0 2rem; background: #fff; color: var(--teal-text);
  border: 2px solid var(--teal); border-radius: 8px;
  font-family: var(--font-heading); font-weight: 600;
}
.button--outline:hover { background: var(--mint); }
.button[aria-disabled="true"] { opacity: 0.65; cursor: progress; pointer-events: none; }

.load-more { display: flex; justify-content: center; margin: 1.5rem 0 3rem; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header { background: #fff; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem;
}
.site-logo { display: inline-block; line-height: 0; }
.site-logo img { height: 4.75rem; width: auto; }

.site-utility { display: flex; align-items: center; gap: 1.75rem; }
.site-utility__lang {
  font-weight: 700; font-size: 0.875rem; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--teal-text); text-decoration: none;
}
.site-utility__lang:hover { text-decoration: underline; }
.site-utility__search { display: inline-flex; color: var(--teal-text); font-size: 1.25rem; }

.text-size { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.text-size__label { font-size: 0.8125rem; color: var(--muted-2); }
.text-size__btn {
  background: none; border: 0; padding: 0 0.1rem; cursor: pointer; font: inherit; font-weight: 700;
  line-height: 1; color: var(--muted-2);
}
.text-size__btn--normal { font-size: 0.8125rem; }
.text-size__btn--large  { font-size: 1.125rem; }
.text-size__btn[aria-pressed="true"] { color: var(--teal-text); }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; background: var(--teal); color: #fff;
  border: 0; border-radius: var(--radius); padding: 0.6rem 1rem; font: inherit; font-weight: 500; cursor: pointer;
}

/* ---- Primary navigation ---- */
.primary-nav { background: var(--teal); }
.primary-nav__list { display: flex; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.nav-item {
  position: relative; display: flex; flex: 1 1 auto; min-width: 0;   /* each item is as wide as its label, extra space shared equally */
}
.nav-item__link {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.75rem; padding: 0.5rem 0.75rem;
  color: #fff; font-weight: 400; font-size: 1rem; line-height: 1.4; text-decoration: none;
}
.nav-item__toggle {
  display: flex; align-items: center; justify-content: center; width: 2rem; flex-shrink: 0;
  background: none; border: 0; padding: 0; color: #fff; cursor: pointer; font-size: 0.9rem;
}
.nav-item__link:hover, .nav-item__toggle:hover { background: rgba(255, 255, 255, 0.12); }
.nav-item__link:focus-visible, .nav-item__toggle:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }

.nav-sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 50;
  min-width: 100%; width: max-content; max-width: 22rem; margin: 0; padding: 0.4rem 0; list-style: none;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(31, 52, 50, 0.16);
}
.nav-item:nth-last-child(-n+2) .nav-sub { left: auto; right: 0; }
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub,
.nav-item.is-open > .nav-sub { display: block; }
.nav-sub a {
  display: block; padding: 0.55rem 1rem; color: var(--ink); text-decoration: none;
  font-size: 0.9375rem; line-height: 1.35;
}
.nav-sub a:hover { background: var(--mint); color: var(--teal-text); }
.nav-sub__label { display: block; padding: 0.55rem 1rem; color: var(--muted); font-size: 0.9375rem; }
.nav-sub__nested { list-style: none; margin: 0; padding: 0 0 0.25rem 1rem; }
.nav-sub__nested a { padding-left: 1rem; font-size: 0.875rem; color: var(--muted); border-left: 2px solid var(--border); }

/* With a mouse the dropdowns open on hover and keyboard focus, so the chevron buttons are only shown
   on touch screens and on the stacked mobile menu (see the responsive rules below). */
@media (hover: hover) and (pointer: fine) and (min-width: 1001px) {
  .nav-item__toggle { display: none; }
}

/* =========================================================================
   Library page
   ========================================================================= */
.hero {
  display: flex; align-items: center; min-height: 10.25rem; padding: 2.5rem 0;
  background: linear-gradient(90deg, rgba(231, 245, 244, 0.93), rgba(233, 246, 243, 0.97)), var(--hero-image) center / cover no-repeat, var(--hero-bg);
}
.hero .container { width: 100%; }
.hero h1 { font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin: 0; }

.eyebrow {
  margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--teal-text);
}
.intro { padding: 2.5rem 0 0.5rem; }
.intro p { max-width: 46rem; font-size: 1.125rem; margin: 0; }

.library-section { padding: 2.75rem 0 0.5rem; }
.section-title {
  font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin: 0 0 1.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}

/* ---- Cards ---- */
.grid {
  display: grid; gap: 1.5rem; margin-bottom: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));      /* three across on desktop */
}
.card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--card-radius);
  box-shadow: var(--shadow-card); transition: box-shadow 150ms ease, transform 150ms ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card:focus-visible { outline-offset: 3px; }

.card__thumb { position: relative; aspect-ratio: 16 / 9; background: #dfe8e7; overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__thumb img.is-missing { display: none; }
.card__thumb:has(img.is-missing)::after,
.card__thumb:not(:has(img))::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, #dfe8e7, #dfe8e7 10px, #e9f0ef 10px, #e9f0ef 20px);
}
.card__play {
  position: absolute; right: 1.2rem; bottom: 1rem; z-index: 1;
  width: 2.875rem; height: 2.875rem; border-radius: 50%;
  background: var(--teal); border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.card__play svg { width: 1.1rem; height: 1.1rem; fill: #fff; margin-left: 2px; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.card__category {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--teal-text);
}
.card__title {
  margin: 0.55rem 0 0.6rem; font-family: var(--font-heading); font-weight: 600;
  font-size: 1.2rem; line-height: 1.35; color: var(--ink);
}
.card__description {
  font-size: 1rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta {
  display: flex; align-items: center; gap: 0.5rem; margin-top: auto;
  font-size: 0.875rem; font-weight: 500; color: var(--muted-2);
}

/* ---- Search & filters ---- */
.filter-panel {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem;
  background: var(--mint); border-radius: 4px; padding: 1.5rem; margin-bottom: 1.5rem;
}
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--ink); }
.field--grow { flex: 1 1 18rem; }
.field--select { flex: 0 1 14.5rem; }
.field--year { flex: 0 1 9.5rem; }
.filter-panel input[type="search"], .filter-panel select {
  width: 100%; height: 3rem; border: 1px solid var(--input-border); border-radius: 4px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; padding: 0 0.85rem;
}
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.input-icon input[type="search"] { padding-left: 2.6rem; }
.filter-panel__actions { display: flex; align-items: center; gap: 1.25rem; }
.filter-panel__clear { color: var(--muted-2); font-size: 0.95rem; }
.filter-panel__clear:hover { color: var(--teal-text); }

.results-count { color: var(--muted-2); font-size: 0.9rem; margin: 0 0 1.25rem; }
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--muted);
  background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); margin-bottom: 2rem;
}

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin: 1rem 0 3rem; font-size: 0.95rem; }
.pagination__link { font-weight: 700; text-decoration: none; }
.pagination__link:hover { text-decoration: underline; }
.pagination__status { color: var(--muted-2); }

/* =========================================================================
   Webinar detail page
   ========================================================================= */
.webinar-detail { padding: 2.5rem 0 4rem; }
/* Breadcrumb, category and title sit in the left column; the share panel starts level with the date line
   (the top of the "main" row), just above the video. */
.webinar-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 2.5rem; align-items: start;
}
.webinar-layout__head { grid-column: 1; grid-row: 1; }
.webinar-layout__main { grid-column: 1; grid-row: 2; }
.webinar-layout__side { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 1.5rem; }

.breadcrumb { margin-bottom: 1rem; font-size: 0.92rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin: 0; padding: 0; color: var(--muted-2); }
.breadcrumb li + li::before { content: "\203A"; margin: 0 0.6rem; color: var(--muted-2); }
.breadcrumb a { color: var(--muted-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-text); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

.category-pill {
  display: inline-block; padding: 0.25rem 0.8rem; border: 1px solid var(--teal-text); border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-text);
}
.webinar-detail__header h1 { font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin: 0.75rem 0 1rem; }
.webinar-detail__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--muted-2); font-size: 0.95rem; margin: 0 0 1.25rem; }
.meta-item { display: inline-flex; align-items: center; gap: 0.45rem; }

.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: 16px; overflow: hidden; margin: 0; box-shadow: var(--shadow-card);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { font-size: 0.9rem; color: var(--muted-2); margin: 0.75rem 0 1.5rem; }
.video-unavailable {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 9; margin: 0 0 1.5rem; padding: 1rem;
  background: var(--mint); border: 1px dashed var(--input-border); border-radius: 16px; color: var(--muted);
}

.webinar-detail__description { margin-top: 1.5rem; max-width: 46rem; }
.webinar-detail__description p { margin: 0 0 1.1rem; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 2rem; }
.tag-list li { background: var(--mint); color: var(--teal-deep); font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999px; }

.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.side-card__heading {
  display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.share-bar__buttons { display: flex; flex-direction: column; gap: 0.7rem; }
.share-btn {
  display: flex; align-items: center; gap: 0.85rem; width: 100%; padding: 0.85rem 1rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 0.98rem; text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.share-btn .icon { color: var(--muted-2); }
.share-btn:hover { border-color: var(--teal); color: var(--teal-text); }
.share-btn:hover .icon { color: var(--teal-text); }

.presenter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.presenter-list li { display: flex; align-items: center; gap: 0.9rem; }
.presenter__avatar {
  display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem;
  flex-shrink: 0; border-radius: 50%; background: var(--mint); color: var(--teal-text);
}
.presenter__avatar .icon { width: 1.3rem; height: 1.3rem; }
.presenter__name { font-weight: 700; }

.related-webinars { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.related-webinars__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.related-webinars h2 { font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); margin: 0; }
.related-webinars__back { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--muted-2); text-decoration: none; font-size: 0.95rem; }
.related-webinars__back:hover { color: var(--teal-text); text-decoration: underline; }

/* =========================================================================
   Footer: teal main area (text from the CMS dbo.Html table), white bottom bar
   ========================================================================= */
.site-footer { margin-top: 4rem; }
.site-footer__main { background: var(--footer-bg); color: #fff; border-top: 1px solid #0a857b; border-bottom: 1px solid #0a857b; }
.site-footer__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem;
  padding-top: 3.25rem; padding-bottom: 2.75rem;
}
.site-footer h2, .site-footer h3{
  margin: 0 0 1.25rem; padding-bottom: 0.65rem; border-bottom: 1px solid #fff;
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; line-height: 1.2; color: #fff;
}

.site-footer h6 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    /*line-height: 2.4rem;*/
    margin:0;
}

.site-footer h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight:normal;
    letter-spacing: 1px;
    margin-bottom: 0;
    margin-top: 14px;
}

/* The text inside each column is stored HTML, so it is styled by element rather than by class */
.site-footer__html { font-size: 0.95rem; line-height: 1.6; }
.site-footer__html p { margin: 0 0 0.85rem; }
.site-footer__html a {
  color: #fff; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.site-footer__html a:hover { text-decoration-style: solid; }
.site-footer__html a:focus-visible { outline-color: #fff; }
.site-footer__html ul { list-style: none; margin: 0; padding: 0; }
.site-footer__html li { margin: 0 0 0.65rem; }
.site-footer__col--links .site-footer__html ul { padding-left: 1.7rem; }
.site-footer__html img { display: inline-block; height: 2.25rem; width: auto; max-width: none; }
.site-footer__html a:has(img) { display: inline-block; margin-right: 0.6rem; text-decoration: none; }
.site-footer__html strong { font-weight: 400; }
.site-footer__html h6 { margin: 0 0 0.65rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; line-height: 1.6; color: #fff; text-transform: none; }

/* Social icons: empty links drawn with the main site's images, as the CMS stylesheet does */
#footSocial { margin-top: 1rem; }
#footSocial > a {
  display: inline-block; width: 2.5rem; height: 2.5rem; margin: 0 1rem 0.5rem 0; border-radius: 5px;
  background-color: transparent; background-position: center; background-repeat: no-repeat; background-size: contain;
  text-decoration: none; transition: background-color 0.1s ease;
}
#footSocial > a:hover { background-color: #fff; }
#footSocial > a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#facebook  { background-image: var(--social-facebook); }
#twitter   { background-image: var(--social-twitter); }
#instagram { background-image: var(--social-instagram); }

.site-footer__bottom { background: #fff; color: #363d3a; padding: 1.75rem 0; }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__copyright { font-size: 0.75rem; line-height: 1.7; text-transform: uppercase; }
.site-footer__copyright p { margin: 0; }
.site-footer__copyright a { color: var(--teal-text); text-decoration: none; }
.site-footer__copyright a:hover { text-decoration: underline; }
.site-footer__logos p { display: flex; align-items: center; gap: 1.5rem; margin: 0; }
.site-footer__logos a { display: inline-flex; }
.site-footer__logos img { height: 3.25rem; width: auto; max-width: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
  /* Header: logo + Menu button on one row, utilities below, menu opens as a stacked list */
  .site-header__bar { flex-wrap: wrap; gap: 0.5rem 1rem; min-height: 0; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .site-logo img { height: 3.75rem; }
  .nav-toggle { display: inline-flex; }
  .site-utility { order: 3; width: 100%; justify-content: space-between; gap: 1rem; }

  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; padding-left: 0; padding-right: 0; }
  .nav-item { flex-wrap: wrap; flex: none; border-left: 0; border-top: 1px solid var(--nav-divider); }
  .nav-item:last-child { border-right: 0; }
  .nav-item__link { justify-content: flex-start; text-align: left; padding: 0.75rem var(--gutter); min-height: 3.25rem; }
  .nav-item__toggle { width: 3.25rem; }
  .nav-sub, .nav-item:nth-last-child(-n+2) .nav-sub {
    position: static; display: none; width: 100%; max-width: none; border: 0; box-shadow: none; background: rgba(0, 0, 0, 0.12);
  }
  .nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: none; }
  .nav-item.is-open > .nav-sub { display: block; }
  .nav-sub a { color: #fff; padding: 0.65rem calc(var(--gutter) + 1rem); }
  .nav-sub__label { color: #fff; padding: 0.65rem calc(var(--gutter) + 1rem); }
  .nav-sub__nested { padding-left: 0; }
  .nav-sub__nested a { color: #fff; border-left: 0; padding-left: calc(var(--gutter) + 2rem); }
  .nav-sub a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

  .webinar-layout { grid-template-columns: minmax(0, 1fr); }
  .webinar-layout__head, .webinar-layout__main, .webinar-layout__side { grid-column: 1; grid-row: auto; }
  .webinar-layout__side { margin-top: 1.5rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 1rem; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .filter-panel { flex-direction: column; align-items: stretch; padding: 1.25rem 1rem; }
  .field--grow, .field--select, .field--year { flex: 1 1 auto; }
  .filter-panel__actions { justify-content: space-between; }
  .hero { min-height: 8rem; padding: 2rem 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .site-footer__logos img { height: 2.5rem; }
}
