/*
Theme Name: Jautrie kausi
Theme URI: https://jautriez.lv/
Author: Jautrie zābaciņi
Description: Kopīga WordPress tēma Rīgas kausa un Junioru kausa pasākumu lapām.
Version: 1.0.6
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: jautrie-kausi
*/

:root {
      color-scheme: light;
      --ink: #102c3a;
      --muted: #647782;
      --navy: #102d3a;
      --blue: #176f81;
      --aqua: #c9eff0;
      --paper: #f5f8f7;
      --white: #fff;
      --line: #e2e9e8;
      --coral: #e66c4e;
      --radius: 22px;
      font-family: "Segoe UI", Arial, sans-serif;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.55;
    }

    a { color: inherit; text-decoration: none; }

    .wp-site-blocks { overflow: clip; }

    .wp-block-group.wrap,
    .wp-block-columns.wrap {
      width: min(1160px, calc(100% - 48px));
      margin-inline: auto;
    }

    .wp-block-site-title a { color: inherit; }

    .brand-mark,
    .footer-brand-mark {
      flex: 0 0 auto;
      margin: 0;
    }

    .brand-mark img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
    }

    .brand-name {
      max-width: 124px;
      font-size: 15px;
      font-weight: 750;
      line-height: 1.15;
    }

    .brand-copy p {
      margin: 0;
      line-height: 1.2;
    }

    .brand-club {
      color: var(--ink);
      font-size: 14px;
      font-weight: 750;
    }

    .brand-event {
      color: var(--muted);
      font-size: 12px;
    }

    .wp-block-navigation .wp-block-navigation-item__content {
      color: #435b65;
      font-size: 13px;
      font-weight: 650;
    }

    .wp-block-button.button .wp-block-button__link,
    .wp-block-button__link.button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 22px;
      border: 0;
      border-radius: 999px;
      background: var(--coral);
      color: var(--white);
      font-size: 14px;
      font-weight: 750;
      box-shadow: 0 8px 18px rgba(230, 108, 78, .2);
      text-decoration: none;
    }

    .wp-block-button.button.secondary .wp-block-button__link {
      color: var(--white);
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.42);
      box-shadow: none;
    }

    .wp-block-button.button .wp-block-button__link:hover {
      transform: translateY(-2px);
      box-shadow: 0 11px 22px rgba(230, 108, 78, .28);
    }

    .wrap {
      width: min(1160px, calc(100% - 48px));
      margin-inline: auto;
    }

    .site-header {
      position: relative;
      z-index: 1;
      background: var(--white);
      border-bottom: 1px solid rgba(16, 44, 58, .08);
    }

    .header-inner {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .cup-switch {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: #435b65;
      font-size: 12px;
      font-weight: 750;
    }

    .cup-switch .wp-block-navigation__container {
      gap: 8px;
    }

    .cup-switch .wp-block-navigation-item__content {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f3f7f6;
      color: #435b65;
      transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
      white-space: nowrap;
    }

    .cup-switch .wp-block-navigation-item__content:hover {
      transform: translateY(-1px);
      border-color: #9bd6d6;
      background: var(--white);
      color: var(--blue);
    }

    .cup-switch .is-active .wp-block-navigation-item__content,
    .cup-switch .wp-block-navigation-item__content.is-active {
      border-color: var(--blue);
      background: var(--blue);
      color: var(--white);
      box-shadow: 0 4px 12px rgba(23, 111, 129, .18);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
      font-size: 15px;
      font-weight: 750;
      letter-spacing: -.02em;
    }

    .brand img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
    }

    .brand span { max-width: 124px; line-height: 1.15; }

    .main-nav {
      display: flex;
      align-items: center;
      gap: clamp(14px, 2.2vw, 30px);
      color: #435b65;
      font-size: 13px;
      font-weight: 650;
    }

    .main-nav a:not(.button):hover { color: var(--blue); }

    .hero {
      overflow: hidden;
      position: relative;
      color: var(--white);
      background:
        radial-gradient(ellipse at 68% 120%, rgba(52, 169, 180, .75), transparent 49%),
        linear-gradient(116deg, #102d3a 0%, #124d60 63%, #167184 100%);
    }

    .hero::after {
      position: absolute;
      right: -9%;
      bottom: -240px;
      width: 850px;
      height: 430px;
      border: 1px solid rgba(213, 250, 246, .2);
      border-radius: 50%;
      content: "";
      transform: rotate(-12deg);
      box-shadow: 0 -18px 0 -17px rgba(213, 250, 246, .2),
                  0 -38px 0 -37px rgba(213, 250, 246, .16),
                  0 -60px 0 -59px rgba(213, 250, 246, .12);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 0;
      display: grid;
      grid-template-columns: 1.08fr .76fr;
      align-items: center;
      gap: clamp(38px, 8vw, 110px);
      min-height: 550px;
      padding-block: 68px;
    }

    .hero-copy { max-width: 620px; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 19px;
      color: #b6eeee;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      width: 24px;
      height: 2px;
      background: #7bd1d2;
      content: "";
    }

    h1, h2, h3, p { margin-top: 0; }

    h1 {
      max-width: 650px;
      margin-bottom: 18px;
      font-size: clamp(46px, 7vw, 82px);
      line-height: .99;
      letter-spacing: -.065em;
    }

    .hero-intro {
      max-width: 480px;
      margin-bottom: 26px;
      color: #d3e8e9;
      font-size: 17px;
    }

    .event-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 24px;
      margin-bottom: 29px;
      color: #f1f8f7;
      font-size: 14px;
      font-weight: 650;
    }

    .event-meta span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .event-meta p {
      margin: 0;
      color: #f1f8f7;
      font-size: 14px;
      font-weight: 650;
    }

    .meta-icon {
      color: #8fe0dc;
      font-size: 16px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .poster-frame {
      justify-self: end;
      width: min(100%, 352px);
      padding: 9px;
      border: 1px solid rgba(255,255,255,.28);
      border-radius: 19px;
      background: rgba(255,255,255,.13);
      box-shadow: 0 25px 65px rgba(4, 25, 34, .35);
      transform: rotate(2deg);
    }

    .poster-frame img {
      display: block;
      width: 100%;
      aspect-ratio: 1 / 1.26;
      border-radius: 12px;
      object-fit: cover;
      object-position: center 27%;
    }

    .quick-links {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 9px;
      margin-top: -28px;
    }

    .quick-links a {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      padding: 0 20px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--white);
      color: #31505d;
      font-size: 13px;
      font-weight: 700;
      box-shadow: 0 7px 22px rgba(14, 47, 59, .08);
      transition: border-color .18s ease, color .18s ease, transform .18s ease;
    }

    .quick-links a:hover {
      transform: translateY(-2px);
      border-color: #9bd6d6;
      color: var(--blue);
    }

    .quick-links .wp-block-button__link {
      min-height: 46px;
      padding: 0 20px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--white);
      color: #31505d;
      font-size: 13px;
      font-weight: 700;
      box-shadow: 0 7px 22px rgba(14, 47, 59, .08);
    }

    .news-section { padding: 86px 0 94px; }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 27px;
    }

    .section-kicker {
      margin-bottom: 8px;
      color: var(--blue);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .17em;
      text-transform: uppercase;
    }

    h2 {
      margin-bottom: 0;
      font-size: clamp(32px, 4vw, 46px);
      line-height: 1.08;
      letter-spacing: -.045em;
    }

    .all-news {
      color: var(--blue);
      font-size: 14px;
      font-weight: 750;
      white-space: nowrap;
    }

    .all-news span { margin-left: 6px; }

    .news-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 20px;
    }

    .featured-news {
      display: grid;
      grid-template-columns: .82fr 1fr;
      overflow: hidden;
      min-height: 330px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 12px 35px rgba(14, 47, 59, .045);
    }

    .featured-image {
      min-height: 100%;
      overflow: hidden;
      background: #d6edef;
    }

    .featured-image img {
      width: 100%;
      height: 100%;
      min-height: 330px;
      display: block;
      object-fit: cover;
      object-position: center;
    }

    .news-copy {
      align-self: center;
      padding: clamp(25px, 4vw, 42px);
    }

    .date {
      display: block;
      margin-bottom: 12px;
      color: #758992;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .04em;
    }

    .news-copy h3 {
      margin-bottom: 13px;
      font-size: clamp(23px, 2.6vw, 31px);
      line-height: 1.15;
      letter-spacing: -.035em;
    }

    .news-copy p {
      margin-bottom: 20px;
      color: var(--muted);
      font-size: 14px;
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--blue);
      font-size: 13px;
      font-weight: 800;
    }

    .text-link span { transition: transform .18s ease; }
    .text-link:hover span { transform: translateX(4px); }

    .news-list {
      display: grid;
      gap: 16px;
    }

    .news-item {
      display: grid;
      grid-template-columns: 92px 1fr;
      align-items: center;
      gap: 18px;
      min-height: 157px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 12px 35px rgba(14, 47, 59, .035);
    }

    .news-art {
      display: grid;
      place-items: center;
      width: 92px;
      height: 108px;
      overflow: hidden;
      border-radius: 13px;
      background:
        radial-gradient(circle at 70% 28%, rgba(255,255,255,.8) 0 6%, transparent 6.5%),
        linear-gradient(145deg, #c8eff0, #6bbac2 58%, #1c6b7b);
      color: #145565;
      font-size: 25px;
      font-weight: 850;
      letter-spacing: -.08em;
    }

    .news-item .news-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .news-art.price {
      background:
        radial-gradient(circle at 30% 70%, rgba(255,255,255,.62) 0 10%, transparent 10.5%),
        linear-gradient(145deg, #ffe2d4, #e99b7c 58%, #c85c4a);
      color: #723f33;
    }

    .news-item .date { margin-bottom: 6px; font-size: 10px; }
    .news-item h3 { margin-bottom: 0; font-size: 17px; line-height: 1.27; letter-spacing: -.02em; }

    .news-pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 28px;
    }

    .news-pagination a,
    .news-pagination span {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: var(--white);
      color: #536b74;
      font-size: 13px;
      font-weight: 700;
    }

    .news-pagination .current {
      border-color: var(--navy);
      background: var(--navy);
      color: var(--white);
    }

    .event-strip {
      padding: 34px 0;
      color: var(--white);
      background: #d9f0ee;
    }

    .event-strip-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 30px 36px;
      border-radius: var(--radius);
      background: linear-gradient(110deg, #124456, #176e7d);
    }

    .event-strip h2 {
      margin-bottom: 6px;
      font-size: clamp(23px, 3vw, 31px);
    }

    .event-strip p {
      margin-bottom: 0;
      color: #c9e6e7;
      font-size: 14px;
    }

    .site-footer {
      padding: 54px 0 24px;
      background: #0c2631;
      color: #f2f7f6;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.25fr 1fr 1fr;
      gap: 42px;
      padding-bottom: 36px;
    }

    .footer-title {
      margin-bottom: 16px;
      color: #a7dfe0;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 13px;
      margin-bottom: 12px;
      font-size: 17px;
      font-weight: 750;
    }

    .footer-brand-name {
      margin: 0;
      color: #f2f7f6;
      font-size: 16px;
      font-weight: 750;
    }

    .footer-brand img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
      background: white;
    }

    .footer-copy, .footer-grid p {
      margin-bottom: 8px;
      color: #bed0d3;
      font-size: 13px;
    }

    .footer-grid a:hover { color: #a7dfe0; }

    .footer-brand-mark img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
      background: #fff;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding-top: 19px;
      border-top: 1px solid rgba(255,255,255,.13);
      color: #8ba3aa;
      font-size: 11px;
    }

    .footer-bottom span {
      display: inline-block;
    }

    .home-intro {
      padding: 72px 0 42px;
      text-align: center;
    }

    .home-intro h1 {
      max-width: 760px;
      margin: 0 auto 15px;
      color: var(--ink);
      font-size: clamp(40px, 6vw, 66px);
    }

    .home-intro p:last-child {
      max-width: 620px;
      margin: 0 auto;
      color: var(--muted);
      font-size: 16px;
    }

    .event-choice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
      padding-bottom: 82px;
    }

    .event-choice {
      display: grid;
      grid-template-columns: .8fr 1fr;
      overflow: hidden;
      min-height: 300px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 12px 35px rgba(14, 47, 59, .06);
    }

    .event-choice img {
      width: 100%;
      height: 100%;
      min-height: 300px;
      object-fit: cover;
    }

    .event-choice-copy {
      align-self: center;
      padding: 26px;
    }

    .event-choice-copy h2 {
      margin-bottom: 12px;
      font-size: clamp(24px, 3vw, 34px);
    }

    .event-choice-copy p {
      margin-bottom: 20px;
      color: var(--muted);
      font-size: 14px;
    }

    .archive-intro {
      padding: 56px 0 28px;
    }

    .archive-intro h1 {
      margin: 0 0 8px;
      font-size: clamp(34px, 5vw, 54px);
      letter-spacing: -.05em;
    }

    .archive-intro p {
      color: var(--muted);
    }

    .archive-list {
      display: grid;
      gap: 18px;
      padding-bottom: 82px;
    }

    .archive-card {
      display: grid;
      grid-template-columns: 220px 1fr;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
    }

    .archive-card img {
      width: 100%;
      height: 100%;
      min-height: 190px;
      object-fit: cover;
    }

    .archive-card > a .news-art {
      width: 100%;
      height: 100%;
      min-height: 190px;
      border-radius: 0;
    }

    .archive-card-copy { align-self: center; padding: 25px 30px; }
    .archive-card-copy h2 { margin-bottom: 8px; font-size: 26px; }
    .archive-card-copy p { margin-bottom: 14px; color: var(--muted); }

    .taxonomy-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 14px 0 0;
    }

    .taxonomy-list a {
      display: inline-flex;
      padding: 5px 10px;
      border-radius: 999px;
      background: #eaf5f4;
      color: #176f81;
      font-size: 11px;
      font-weight: 750;
    }

    .single-article {
      max-width: 820px;
      padding: 65px 0 90px;
    }

    .single-article h1 {
      margin-bottom: 14px;
      color: var(--ink);
      font-size: clamp(36px, 6vw, 58px);
    }

    .single-article .article-meta {
      margin-bottom: 28px;
      color: var(--muted);
      font-size: 13px;
    }

    .single-article .article-content {
      font-size: 17px;
      line-height: 1.75;
    }

    .single-article .article-content img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
    }

    .single-article .article-content h2 { margin-top: 1.5em; }

    .event-page-content { padding-bottom: 12px; }

    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding: 8px 0 48px;
    }

    .pagination .page-numbers {
      display: grid;
      place-items: center;
      min-width: 38px;
      height: 38px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--white);
      color: #536b74;
      font-size: 13px;
      font-weight: 700;
    }

    .pagination .current {
      border-color: var(--navy);
      background: var(--navy);
      color: var(--white);
    }

    .pagination a,
    .pagination .page-numbers {
      display: inline-grid;
      place-items: center;
      min-width: 38px;
      height: 38px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--white);
      color: #536b74;
      font-size: 13px;
      font-weight: 700;
    }

    .event-news-query .wp-block-post-template {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 20px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .event-news-query .wp-block-post {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 12px 35px rgba(14, 47, 59, .045);
      list-style: none;
    }

    .event-news-query .wp-block-post:first-child {
      display: grid;
      grid-row: span 2;
      grid-template-columns: .82fr 1fr;
      align-items: stretch;
      min-height: 330px;
    }

    .event-news-query .wp-block-post-featured-image {
      min-height: 155px;
      margin: 0;
      overflow: hidden;
      background: linear-gradient(145deg, #c8eff0, #6bbac2 58%, #1c6b7b);
    }

    .event-news-query .wp-block-post-featured-image img {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 155px;
      object-fit: cover;
    }

    .event-news-query .wp-block-post:first-child .wp-block-post-featured-image,
    .event-news-query .wp-block-post:first-child .wp-block-post-featured-image img {
      min-height: 330px;
    }

    .event-news-query .news-card-copy { align-self: center; padding: 24px; }
    .event-news-query .wp-block-post-date { margin-bottom: 8px; color: #758992; font-size: 12px; }
    .event-news-query .wp-block-post-title { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
    .event-news-query .wp-block-post:first-child .wp-block-post-title { font-size: 29px; }
    .event-news-query .wp-block-post-excerpt { color: var(--muted); font-size: 13px; }
    .event-news-query .wp-block-post-terms { display: flex; flex-wrap: wrap; gap: 7px; }
    .event-news-query .wp-block-post-terms a {
      padding: 4px 9px;
      border-radius: 999px;
      background: #eaf5f4;
      color: var(--blue);
      font-size: 11px;
      font-weight: 750;
    }

    .archive-layout { align-items: flex-start; gap: 36px; }
    .archive-layout > .wp-block-column:first-child { flex-basis: 68%; }
    .archive-layout > .wp-block-column:last-child { flex-basis: 32%; }
    .sidebar .wp-block-search__input { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
    .sidebar .wp-block-search__button { border: 0; border-radius: 999px; padding: 10px 16px; background: var(--navy); color: var(--white); }

    .screen-reader-text {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 900px) {
      .main-nav { gap: 14px; }
      .main-nav a:nth-child(2),
      .main-nav a:nth-child(3),
      .main-nav a:nth-child(4) { display: none; }
      .hero-inner { grid-template-columns: 1fr .68fr; gap: 34px; min-height: 480px; }
      .news-grid { grid-template-columns: 1fr; }
      .news-list { grid-template-columns: 1fr 1fr; }
      .news-item { grid-template-columns: 70px 1fr; gap: 13px; padding: 13px; }
      .news-art { width: 70px; height: 88px; }
      .footer-grid { gap: 24px; }
      .event-choice-grid { grid-template-columns: 1fr; }
      .event-news-query .wp-block-post:first-child { grid-row: auto; }
    }

    @media (max-width: 620px) {
      .wrap { width: min(100% - 32px, 520px); }
      .header-inner { min-height: 70px; gap: 12px; }
      .brand { gap: 8px; font-size: 13px; }
      .brand img { width: 40px; height: 40px; }
      .brand span { max-width: 100px; }
      .cup-switch { gap: 6px; font-size: 10px; }
      .cup-switch .wp-block-navigation__container { gap: 6px; }
      .cup-switch .wp-block-navigation-item__content { min-height: 40px; padding-inline: 10px; font-size: 11px; }
      .main-nav { gap: 0; }
      .main-nav a:not(.button) { display: none; }
      .main-nav .button { min-height: 41px; padding-inline: 15px; font-size: 12px; }
      .wp-block-navigation__responsive-container-open { display: flex; }
      .hero-inner { grid-template-columns: 1fr; gap: 29px; padding-block: 57px 66px; }
      .hero-copy { max-width: none; }
      h1 { font-size: clamp(48px, 15vw, 68px); }
      .hero-intro { font-size: 15px; }
      .poster-frame { justify-self: start; width: min(72%, 280px); margin-left: 7px; }
      .quick-links { justify-content: flex-start; gap: 7px; margin-top: -22px; }
      .quick-links a { min-height: 40px; padding-inline: 14px; font-size: 12px; }
      .quick-links .wp-block-button__link { min-height: 40px; padding-inline: 14px; font-size: 12px; }
      .news-section { padding: 66px 0 72px; }
      .section-heading { align-items: start; flex-direction: column; gap: 12px; }
      .featured-news { grid-template-columns: 1fr; }
      .featured-image { height: 225px; }
      .featured-image img { min-height: 225px; max-height: 225px; object-position: center 35%; }
      .news-copy { padding: 24px; }
      .news-list { grid-template-columns: 1fr; }
      .news-item { min-height: 126px; grid-template-columns: 76px 1fr; padding: 14px; }
      .news-art { width: 76px; height: 94px; }
      .event-strip-inner { align-items: flex-start; flex-direction: column; padding: 25px; }
      .footer-grid { grid-template-columns: 1fr; gap: 24px; }
      .footer-bottom { flex-direction: column; gap: 6px; }
      .event-choice { grid-template-columns: 1fr; }
      .event-choice img { height: 210px; min-height: 210px; }
      .archive-card { grid-template-columns: 1fr; }
      .archive-card img { height: 210px; min-height: 210px; }
      .archive-card > a .news-art { min-height: 210px; }
      .archive-card-copy { padding: 22px; }
      .event-news-query .wp-block-post-template { grid-template-columns: 1fr; }
      .event-news-query .wp-block-post:first-child { grid-template-columns: 1fr; }
      .event-news-query .wp-block-post:first-child .wp-block-post-featured-image,
      .event-news-query .wp-block-post:first-child .wp-block-post-featured-image img { min-height: 225px; }
      .archive-layout { display: block; }
      .sidebar { margin-top: 40px; }
    }

    @media (max-width: 390px) {
      .header-inner { gap: 7px; }
      .brand span { max-width: 76px; font-size: 11px; }
      .cup-switch .wp-block-navigation-item__content { padding-inline: 7px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }
