/* =====================================================
       THEME
       ===================================================== */

    :root {

      /* -----------------------------------------------
         CONNECTION HUB GRAYSCALE SYSTEM
         ----------------------------------------------- */

      --background: #FFFFFF;
      --surface: #d4d9dc;
      --subtle: #a3abb0;
      --muted: #5c656b;
      --strong: #2b3236;
      --foreground: #000000;

      --detail-panel-width: clamp(440px, 45vw, 720px);
      /* -----------------------------------------------
         SPACING
         ----------------------------------------------- */

      --space-1: 8px;
      --space-2: 16px;
      --space-3: 24px;
      --space-4: 32px;
      --space-5: 48px;
      --space-6: 64px;


      /* -----------------------------------------------
         LAYOUT
         ----------------------------------------------- */

      --page-max: 1500px;

      --radius-small: 6px;
      --radius: 8px;
      --radius-large: 12px;


      /* -----------------------------------------------
         MAIN CATEGORY ACCENTS
         ----------------------------------------------- */

      --category-arts: #D1493F;
      --category-performing: #7A4FA3;
      --category-music: #B83B73;
      --category-sports: #2878B5;
      --category-outdoors: #3F7D4A;
      --category-games: #5157A6;
      --category-service: #238A8D;
      --category-education: #A87316;
      --category-food: #C55A24;
      --category-faith: #79516F;


      /* -----------------------------------------------
         TAG GROUP ACCENTS
         ----------------------------------------------- */

      --tag-event-type: #61758A;
      --tag-audience: #A96376;
      --tag-social: #3B817B;
      --tag-participation: #B66A3C;
      --tag-experience: #737A3C;
      --tag-setting: #4F819D;
      --tag-registration: #667887;
      --tag-occasion: #945A78;
      --tag-features: #9A792C;
    }


    /* =====================================================
       BASE
       ===================================================== */

    * {
      box-sizing: border-box;
    }


    html {
      scroll-behavior: smooth;
    }


    body {
      margin: 0;

      background:
        var(--background);

      color:
        var(--foreground);

      font-family:
        "Roboto Condensed",
        Arial,
        sans-serif;

      font-weight: 400;
    }


    button,
    input,
    select {
      font: inherit;
    }


    a {
      color: inherit;
    }


    .page-wrap {
      width:
        min(
          calc(100% - 64px),
          var(--page-max)
        );

      margin:
        0 auto;
    }


    /* =====================================================
       BRAND HEADER
       ===================================================== */

    .brand-header {
      position: relative;

      overflow: hidden;

      background:
        var(--background);

      min-height:
        310px;
    }


    .brand-header-inner {
      position: relative;

      z-index: 5;

      display: flex;

      align-items: center;

      gap:
        var(--space-5);

      min-height:
        310px;

      padding-top:
        var(--space-4);

      padding-bottom:
        var(--space-4);
    }

    /* =====================================================
       LOGO
       ===================================================== */

    .brand-logo {
      flex:
        0 0 auto;
    }


    .brand-logo img {
      display: block;

      width: auto;

      height: 260px;

      max-width: 100%;

      object-fit: contain;
    }


    /* =====================================================
       TAGLINE
       ===================================================== */

    .brand-tagline {
      display: flex;

      flex-direction: column;

      gap: 3px;

      padding:
        var(--space-3);

      background:
         var(--background);

      border-left:
        6px solid
        var(--foreground);

      font-size:
        clamp(
          1.55rem,
          2.2vw,
          2.4rem
        );

      line-height:
        1.08;

      font-weight:
        600;
    }


    /* =====================================================
       HEADER / PAGE TRANSITION
       ===================================================== */

    .brand-divider {
      width: 100%;

      height: 32px;

      border-top:
        10px solid
        var(--foreground);
      
      background:
        linear-gradient(
          90deg,
          var(--strong) 0%,
          var(--subtle) 35%,
          var(--surface) 50%,
          var(--subtle) 65%,
          var(--strong) 100%
        );

      box-shadow:
        0 6px 0 var(--muted);
    }


    /* =====================================================
       MAIN BACKGROUND
       ===================================================== */

    .page-background {
      min-height:
        calc(100vh - 342px);

      padding:
        var(--space-5)
        0
        var(--space-6);

      background:
        linear-gradient(
          to bottom,
          rgba(60, 142, 189, 0.20) 0%,
          rgba(60, 142, 189, 0.06) 18%,
          rgba(255, 255, 255, 0) 48%
        ),
        var(--surface);
    }

    /* =====================================================
       CALENDAR OUTER FRAME
       ===================================================== */

    .calendar-frame {
      position: relative;

      z-index: 5;

      max-width:
        var(--page-max);

      margin:
        0 auto;

      padding:
        0;

      background:
        transparent;

      border:
        0;

      border-radius:
        0;

      box-shadow:
        none;
    }


    /* =====================================================
       CALENDAR INNER SURFACE
       ===================================================== */

    .calendar-surface {
      background:
        var(--background);

      border:
        3px solid
        var(--strong);

      border-radius:
        var(--radius-large);

      padding:
        clamp(
          24px,
          4vw,
          48px
        );

      box-shadow:
        inset 0 16px 24px -22px
        rgba(60, 142, 189, 0.95),
        0 16px 34px
        rgba(0, 0, 0, 0.18);
    }


    /* =====================================================
       PAGE INTRO
       ===================================================== */

    .page-intro {
      display: flex;

      align-items: flex-end;

      justify-content: space-between;

      gap:
        var(--space-4);

      margin-bottom:
        var(--space-4);

      padding-bottom:
        var(--space-3);

      position: relative
    }

    .page-intro::after {
      content: "";

      position: absolute;

      left: 0;
      right: 0;
      bottom: 0;

      height: 3px;

      background:
        linear-gradient(
          90deg,
          var(--strong) 0%,
          var(--subtle) 35%,
          var(--surface) 50%,
          var(--subtle) 65%,
          var(--strong) 100%
        );
    }

    .page-intro-copy h1 {
      margin:
        0
        0
        var(--space-1);

      font-size:
        clamp(
          2.1rem,
          4vw,
          3.2rem
        );

      line-height:
        1;

      font-weight:
        700;
    }


    .page-intro-copy p {
      margin: 0;

      color:
        var(--strong);

      font-size:
        1.1rem;

      line-height:
        1.4;
    }

    .source-count {
      margin-top: 0.35rem;
      font-size: 0.9rem;
      font-weight: 500;
      opacity: 0.72;
    }


    /* =====================================================
       SEARCH PANEL
       ===================================================== */

    .search-panel {
      margin-bottom: 
        var(--space-3);

      padding:
        var(--space-3);

      background:
        var(--surface);

      border:
        1px solid var(--subtle);

      border-left:
        6px solid var(--strong);

      border-radius:
        var(--radius);

      box-shadow:
        0 2px 6px
        rgba(43, 50, 54, 0.06)
    }


    .filters {
      display: grid;

      grid-template-columns:
        repeat(4, minmax(150px, 1fr))
        auto;

      gap:
        var(--space-2);

      align-items:
        end;
    }


    .filter-field {
      display: flex;

      flex-direction:
        column;

      gap:
        6px;
    }


    .filter-field label {
      font-size:
        0.82rem;

      font-weight:
        600;

      text-transform:
        uppercase;

      letter-spacing:
        0.045em;

      color:
        var(--strong);
    }


    .filter-field input,
    .filter-field select {
      width: 100%;

      min-height:
        46px;

      padding:
        10px
        12px;

      border:
        1px solid
        var(--subtle);

      border-radius:
        var(--radius-small);

      background:
        var(--background);

      color:
        var(--foreground);

      font-size:
        1rem;

      outline:
        none;

      background:
        linear-gradient(
          to bottom,
          rgba(60, 142, 189, 0.38) 0%,
          rgba(60, 142, 189, 0.24) 15%,
          rgba(60, 142, 189, 0.10) 32%,
          rgba(60, 142, 189, 0.00) 50%
        ),
        var(--background);

      transition:
        border-color 140ms ease,
        box-shadow 140ms ease;
    }


    .filter-field input:focus,
    .filter-field select:focus {
      border-color:
        var(--foreground);

      box-shadow:
        0 0 0 2px
        rgba(0, 0, 0, 0.09);
    }


    .advanced-search-link {
      display:
        inline-flex;

      align-items:
        center;

      justify-content:
        center;

      min-height:
        46px;

      padding:
        0
        var(--space-2);

      border:
        1px solid
        var(--strong);

      border-radius:
        var(--radius-small);

      background:
        var(--strong);

      color:
        var(--background);

      text-decoration:
        none;

      white-space:
        nowrap;

      font-weight:
        600;

      cursor:
        pointer;

      transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
    }

    .advanced-search-link:hover,
    .advanced-search-link:focus-visible {
      background: #000000;
      border-color: #000000;
      color: #FFFFFF;
    }


    /* =====================================================
       DATE SECTIONS
       ===================================================== */

    .date-section {
      margin-top:
        var(--space-2);

      margin-bottom:
        var(--space-5);
    }

    .date-section:first-child {
      margin-top:
        var(--space-3);
    }

    .date-section:last-child {
      margin-bottom: 0;
    }


    .date-heading-row {
      display: flex;

      align-items: center;

      gap:
        var(--space-2);

      margin-bottom:
        var(--space-2);
    }


    .date-heading {
      flex:
        0 0 auto;

      margin: 0;

      padding:
        7px
        12px;

      background:
        var(--strong);

      color:
        var(--background);

      font-size:
        1.05rem;

      font-weight:
        700;

      text-transform:
        uppercase;

      letter-spacing:
        0.045em;

      border-radius:
        4px;
    }


    .date-divider {
      height:
        3px;

      flex:
        1;

       background:
        linear-gradient(
          90deg,
          var(--strong) 0%,
          var(--subtle) 35%,
          var(--surface) 50%,
          var(--subtle) 65%,
          var(--strong) 100%
        );
    }


    /* =====================================================
       EVENT GRID
       ===================================================== */

    .event-grid {
      display: grid;

      grid-template-columns:
        repeat(
          3,
          minmax(0, 1fr)
        );

      gap:
        var(--space-3);
    }


    /* =====================================================
       EVENT CARD
       ===================================================== */

    .event-card {
      position: relative;

      display: flex;

      flex-direction:
        column;

      min-width:
        0;

      height:
        270px;

      min-height:
        270px;

      padding:
        var(--space-3);

      background:
        linear-gradient(
          to bottom,
          rgba(163, 171, 176, 0.18) 0%,
          rgba(255, 255, 255, 0) 22%
        ),
        var(--background);

      border:
        1px solid
        var(--subtle);

      border-top:
        4px solid
        var(--strong);

      border-radius:
        var(--radius);

      box-shadow:
        0 4px 12px
        rgba(43, 50, 54, 0.12);

      cursor:
        pointer;

      transition:
        transform 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease;
    }


    .event-card:hover {
      transform:
        translateY(-3px);

      border-color:
        var(--muted);

      box-shadow:
        0 10px 22px
        rgba(43, 50, 54, 0.18);
    }


    .event-card:focus-visible {
      outline:
        3px solid
        var(--foreground);

      outline-offset:
        3px;
    }


    .event-time {
      margin-bottom:
        var(--space-1);

      color:
        var(--muted);

      font-size:
        0.95rem;

      font-weight:
        400;
    }


    .event-title {
      margin:
        0
        0
        var(--space-2);

      font-size:
        1.35rem;

      line-height:
        1.12;

      font-weight:
        700;

      white-space:
        nowrap;

      overflow:
        hidden;

      text-overflow:
        ellipsis;
    }


    .event-location {
      min-height:
        1.35em;

      margin-bottom:
        var(--space-1);

      color:
        var(--strong);

      font-size:
        0.95rem;

      line-height:
        1.35;

      white-space:
        nowrap;

      overflow:
        hidden;

      text-overflow:
        ellipsis;
    }


    .event-price {
      min-height:
        1.35em;

      margin-bottom:
        var(--space-2);

      color:
        var(--foreground);

      font-size:
        0.95rem;

      line-height:
        1.35;

      white-space:
        nowrap;

      overflow:
        hidden;

      text-overflow:
        ellipsis;
    }


    .event-card-spacer {
      flex:
        1;
    }


    /* =====================================================
       CLASSIFICATION PILLS
       ===================================================== */

    .classification-pills {
      display:
        flex;

      flex-wrap:
        wrap;

      gap:
        7px;

      margin-top:
        var(--space-2);

      margin-bottom:
        var(--space-2);
    }


    .pill {
      display:
        inline-flex;

      align-items:
        center;

      min-height:
        28px;

      padding:
        5px
        10px;

      background:
        var(--background);

      color:
        var(--foreground);

      border-radius:
        999px;

      line-height:
        1;

      white-space:
        nowrap;
    }


    .category-pill {
      border:
        3px solid
        var(
          --pill-color,
          var(--muted)
        );

      background:
        var(
          --pill-color,
          var(--muted)
        );

      color:
        #FFFFFF;

      font-size:
        0.78rem;

      font-weight:
        700;

      text-transform:
        uppercase;

      letter-spacing:
        0.035em;

      box-shadow:
        0 1px 2px
        rgba(0, 0, 0, 0.12);
    }


    .tag-pill {
      border:
        3px solid
        var(
          --pill-color,
          var(--muted)
        );

      background:
        var(--background);

      color:
        var(--foreground);

      font-size:
        0.8rem;

      font-weight:
        600;
    }


    .highlight-pill {
      border:
        1px solid
        var(--foreground);

      background:
        var(--foreground);

      color:
        var(--background);

      font-size:
        0.8rem;

      font-weight:
        600;
    }


    /* =====================================================
       MORE DETAILS
       ===================================================== */

    .more-details {
      display:
        inline-flex;

      align-items:
        center;

      gap:
        5px;

      width:
        fit-content;

      margin-top:
        auto;

      padding-top:
        var(--space-1);

      font-weight:
        600;

      text-decoration:
        none;
    }


    .event-card:hover
    .more-details {
      text-decoration:
        underline;
    }


    /* =====================================================
       EMPTY STATE
       ===================================================== */

    .empty {
      display:
        none;

      padding:
        var(--space-6)
        var(--space-3);

      text-align:
        center;

      color:
        var(--muted);

      font-size:
        1.05rem;
    }



    /* =========================================================
       EVENT DETAIL PANEL
       ========================================================= */

    .event-detail-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: var(--detail-panel-width);
      background: var(--background);
      border-left: 4px solid var(--strong);
      box-shadow: -10px 0 28px rgba(0, 0, 0, 0.18);
      z-index: 1500;
      transform: translateX(100%);
      visibility: hidden;
      transition: transform 220ms ease, visibility 220ms ease;
    }

    .event-detail-panel.is-open {
      transform: translateX(0);
      visibility: visible;
    }

    .detail-panel-inner {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .detail-panel-header {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 72px;
      padding: var(--space-2) var(--space-3);
      background: var(--background);
      border-bottom: 3px solid var(--strong);
    }

    .detail-panel-label {
      font-size: 0.9rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
    }

    .detail-close {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      padding: 0;
      background: var(--background);
      color: var(--foreground);
      border: 2px solid var(--strong);
      border-radius: 50%;
      font-family: "Roboto Condensed", sans-serif;
      font-size: 2rem;
      font-weight: 400;
      line-height: 1;
      cursor: pointer;
      transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
    }

    .detail-close:hover,
    .detail-close:focus-visible {
      background: var(--strong);
      color: var(--background);
      outline: none;
    }

    .detail-panel-content {
      flex: 1 1 auto;
      overflow-y: auto;
      padding: var(--space-4);
    }

    /* Reflow the calendar while the detail panel is open. */
    .page-background {
      transition: padding-right 220ms ease;
    }

    body.detail-open .page-background {
      padding-right: var(--detail-panel-width);
    }

    body.detail-open .event-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-card.is-selected {
      border-color: var(--strong);
      box-shadow: 0 0 0 2px var(--strong), 0 7px 18px rgba(0, 0, 0, 0.12);
      transform: translateY(-2px);
    }

    .detail-title-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--space-3);
      margin-bottom: var(--space-2);
    }

    .detail-title-row .detail-title {
      margin-bottom: 0;
      min-width: 0;
    }

    .detail-title-share {
      flex: 0 0 auto;
      margin-left: auto;
    }

    .detail-title {
      margin: 0 0 var(--space-2);
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      line-height: 1.05;
      font-weight: 700;
    }

    .detail-title a {
      color: inherit;
      text-decoration: none;
    }

    .detail-title a:hover {
      text-decoration: underline;
    }

    .detail-datetime {
      margin-bottom: var(--space-3);
      color: var(--strong);
      font-size: 1.05rem;
      font-weight: 600;
    }

    .detail-section {
      padding: var(--space-3) 0;
      border-top: 2px solid var(--surface);
    }

    .detail-section-title {
      margin: 0 0 var(--space-2);
      color: var(--strong);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.055em;
      text-transform: uppercase;
    }

    .detail-location-line {
      margin-bottom: 5px;
      line-height: 1.4;
    }

    .detail-description {
      margin: 0;
      line-height: 1.55;
      white-space: pre-line;
    }

    .detail-attribution {
      margin-top: 0.75rem;
      margin-bottom: 0;
      font-size: 0.9rem;
    }

    .detail-attribution a {
      text-decoration: underline;
    }

    .detail-attribution a:hover {
      text-decoration-thickness: 2px;
    }

    .detail-path {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-bottom: 10px;
    }

    .detail-path-item {
      display:
        inline-flex;

      align-items:
        center;

      padding:
        5px
        9px;

      background:
        var(
          --detail-category-color,
          var(--muted)
        );

      color:
        #FFFFFF;

      border:
        3px solid
        var(
          --detail-category-color,
          var(--muted)
        );

      border-radius:
        999px;

      font-size:
        0.82rem;

      font-weight:
        700;

      box-shadow:
        0 1px 2px
        rgba(0, 0, 0, 0.12);
    }

    .detail-path-arrow {
      color: var(--muted);
      font-weight: 700;
    }

    .detail-tag-group {
      margin-bottom: var(--space-2);
    }

    .detail-tag-group:last-child {
      margin-bottom: 0;
    }

    .detail-tag-group-name {
      margin-bottom: 7px;
      color: var(--strong);
      font-size: 0.85rem;
      font-weight: 600;
    }

    .detail-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .detail-tag {
      display: inline-flex;
      align-items: center;
      padding: 5px 9px;
      background: var(--background);
      color: var(--foreground);
      border: 2px solid var(--detail-tag-color, var(--muted));
      border-radius: 999px;
      font-size: 0.82rem;
      font-weight: 600;
    }

    .detail-source {
      line-height: 1.45;
    }

    .detail-source a {
      color: var(--foreground);
      font-weight: 600;
    }

    .detail-location-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 8px;
    }

    .detail-location-action {
      display: inline;
      width: auto;
      min-height: 0;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--foreground);
      font: inherit;
      font-size: 0.9rem;
      font-weight: 600;
      line-height: 1.45;
      text-decoration: underline;
      text-underline-offset: 2px;
      cursor: pointer;
    }

    .detail-location-action:hover,
    .detail-location-action:focus-visible {
      color: var(--muted);
      outline: none;
    }

    .detail-official-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 52px;
      padding: 10px 16px;
      background: var(--strong);
      color: var(--background);
      border: 2px solid var(--strong);
      border-radius: var(--radius-small);
      font-weight: 700;
      text-decoration: none;
      transition: background 140ms ease, border-color 140ms ease;
    }

    .detail-official-link:hover {
      background: var(--foreground);
      border-color: var(--foreground);
    }

    .detail-correction-wrap {
      padding-top: 14px;
      text-align: center;
    }

    .detail-correction-link {
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
    }

    .detail-correction-link:hover,
    .detail-correction-link:focus-visible {
      color: var(--foreground);
      text-decoration: underline;
      outline: none;
    }

    /* =====================================================
      ADD TO CALENDAR
      ===================================================== */

    .calendar-actions {
      margin-top:
        var(--space-3);
    }

    .calendar-button {
      display:
        inline-flex;

      align-items:
        center;

      justify-content:
        center;

      gap:
        8px;

      width:
        100%;

      padding:
        12px 16px;

      border:
        2px solid var(--strong);

      border-radius:
        var(--radius-small);

      background:
        var(--strong);

      color:
        #FFFFFF;

      font-weight:
        700;

      text-decoration:
        none;

      cursor:
        pointer;
    }

    .calendar-button:hover {
      background:
        var(--foreground);

      border-color:
        var(--foreground);
    }

    .calendar-options {
      display:
        none;

      margin-top:
        var(--space-1);

      border:
        1px solid var(--subtle);

      border-radius:
        var(--radius-small);

      overflow:
        hidden;

      background:
        var(--background);
    }

    .calendar-options.is-open {
      display:
        block;
    }

    .calendar-option {
      display:
        block;

      width:
        100%;

      padding:
        11px 14px;

      border:
        0;

      border-bottom:
        1px solid var(--subtle);

      background:
        var(--background);

      color:
        var(--foreground);

      font:
        inherit;

      font-weight:
        600;

      text-align:
        left;

      text-decoration:
        none;

      cursor:
        pointer;
    }

    .calendar-option:last-child {
      border-bottom:
        0;
    }

    .calendar-option:hover {
      background:
        var(--surface);
    }

    .detail-loading,
    .detail-error {
      padding: var(--space-5) 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

    /* =====================================================
      SEE MORE EVENTS
      ===================================================== */

    .see-more-wrap {
      display: flex;
      justify-content: center;
      margin-top: var(--space-4);
      padding-top: var(--space-3);
      border-top: 2px solid var(--subtle);
    }

    .see-more-button {
      min-width: 220px;
      min-height: 50px;
      padding: 10px 22px;

      background: var(--strong);
      color: #FFFFFF;

      border: 2px solid var(--strong);
      border-radius: var(--radius-small);

      font-weight: 700;
      font-size: 1rem;

      cursor: pointer;

      transition:
        background 140ms ease,
        border-color 140ms ease,
        transform 140ms ease;
    }

    .see-more-button:hover,
    .see-more-button:focus-visible {
      background: var(--foreground);
      border-color: var(--foreground);
      transform: translateY(-1px);
      outline: none;
    }

    .see-more-wrap.is-hidden {
      display: none;
    }

    /* =====================================================
       TABLET
       ===================================================== */

    @media (
      max-width: 1050px
    ) {

      .event-grid {
        grid-template-columns:
          repeat(
            2,
            minmax(0, 1fr)
          );
      }


      .filters {
        grid-template-columns:
          repeat(2, minmax(0, 1fr));
      }

      .advanced-search-link {
        grid-column:
          1 / -1;

        justify-self:
          start;
      }


      .advanced-search-link {
        grid-column:
          1 / -1;

        justify-self:
          start;
      }


      .brand-shape-two {
        right:
          10%;
      }



      body.detail-open .event-grid {
        grid-template-columns: 1fr;
      }
    }


    /* =====================================================
       MOBILE
       ===================================================== */

    @media (
      max-width: 700px
    ) {

      .page-wrap {
        width:
          min(
            calc(100% - 32px),
            var(--page-max)
          );
      }


      .brand-header {
        min-height:
          auto;
      }


      .brand-header-inner {
        min-height:
          auto;

        flex-direction:
          column;

        align-items:
          flex-start;

        gap:
          var(--space-2);

        padding-top:
          var(--space-3);

        padding-bottom:
          var(--space-4);
      }


      .brand-logo img {
        width:
          min(
            390px,
            94vw
          );

        height:
          auto;

        max-height:
          200px;
      }


      .brand-tagline {
        font-size:
          1.55rem;

        padding:
          var(--space-2);

        border-left-width:
          4px;
      }


      .brand-divider {
        height:
          16px;
      }


      .page-background {
        padding-top:
          var(--space-3);

        padding-bottom:
          var(--space-4);
      }


      .calendar-frame {
        padding:
          0;

        border-radius:
          0;
      }


      .calendar-surface {
        padding:
          var(--space-3)
          var(--space-2);
      }


      .page-intro {
        align-items:
          flex-start;
      }


      .filters {
        grid-template-columns:
          1fr;
      }


      .advanced-search-link {
        width:
          100%;
      }


      .event-grid {
        grid-template-columns:
          1fr;
      }


      /* Compact public event summaries on phone-sized screens.
         Full event information remains available in the detail panel/page. */
      .event-grid {
        gap:
          10px;
      }

      .date-section {
        margin-bottom:
          var(--space-3);
      }

      .event-card {
        height:
          auto;

        min-height:
          0;

        padding:
          14px
          16px;
      }

      .event-time {
        margin-bottom:
          4px;

        font-size:
          0.88rem;
      }

      .event-title {
        margin-bottom:
          10px;

        font-size:
          1.15rem;
      }

      .event-location,
      .event-price,
      .event-card-spacer,
      .tag-pill {
        display:
          none;
      }

      .classification-pills {
        margin-top:
          0;

        margin-bottom:
          8px;
      }

      .category-pill {
        min-height:
          24px;

        padding:
          4px
          8px;

        font-size:
          0.72rem;
      }

      .more-details {
        margin-top:
          0;

        padding-top:
          0;
      }


      .date-heading {
        font-size:
          0.95rem;
      }


      .event-detail-panel {
        width:
          100%;

        max-width:
          none;

        min-width:
          0;

        border-left:
          0;
      }


      .detail-panel-content {
        padding:
          var(--space-3);
      }


      body.detail-open .page-background {
        padding-right: 0;
      }
    }


.detail-canonical-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

/* Curated social collection pages reuse the Events visual system. */
.social-public-intro{padding:.35rem 0 .7rem;text-align:center}.social-public-intro p{margin:0 auto;color:var(--strong);font-size:1.1rem;line-height:1.4;font-weight:500}.social-public-cta{padding:1rem 0}.social-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding-bottom:1.5rem}.social-public-card{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #c8cdd2;border-radius:12px;background:#fff}.social-public-card h2{margin:0 0 .5rem;font-size:1.1rem}.social-public-card p{margin:.25rem 0}.social-category{display:inline-block;margin-top:.4rem;font-size:.85rem}.social-public-cta{border-top:1px solid #d5d9dd}@media(max-width:720px){.social-public-grid{grid-template-columns:1fr}}
