  /* 1. THEME & CORE STYLES */

  :root {
    --waoc-red: rgb(238, 0, 0);
    --waoc-black: #000000;
    --waoc-white: #ffffff;
    --waoc-gray: #f1f1f1;
    --waoc-gray98: #fafafa;
    --waoc-very-dark-gray: #222222;
    --waoc-dark-gray: #5d5d5d;
    --waoc-white-gray: #eeeeee;
    --waoc-paper: #fcfcfc;

    --waoc-border: var(--waoc-white-gray);

    --pill-active: rgba(238, 0, 0, 0.1);
    /* Keep it light so black text/icons pop */
    --pill-hover: rgba(0, 0, 0, 0.05);
    --pill-active-width: 92%;

    --container-max-width: min(1400px, 100vw - 64px);
    --footer-max-width: 1200px;

    --menu-height: 100px;
  }

    @media (max-width: 600px) {
      :root {
        /* Use 95% width on very small screens instead of subtracting fixed pixels */
        --container-max-width: 95vw;
      }
    }

  .w3-waoc-red,
  .w3-hover-waoc-red:hover {
    color: #fff !important;
    background-color: var(--waoc-red) !important;
  }

  .w3-text-waoc-red,
  .w3-hover-text-waoc-red:hover {
    color: var(--waoc-red) !important;
  }

  .w3-border-waoc-red,
  .w3-hover-border-waoc-red:hover {
    border-color: var(--waoc-red) !important;
  }

  @media (max-width: 1019px) {
    :root {
      --container-max-width: min(1400px, 100vw - 32px);
    }
  }

  body,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  html,
  button,
  .w3-button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: inherit;
    text-decoration: none;

    /*      font-size: 16px;*/
    /*      line-height: 1.5;*/
    /*      color: #333;*/
  }

  html {
    scroll-behavior: smooth;
  }

  .main-content h1 {
    color: var(--waoc-red);
    font-weight: 600;
  }

  .main-content h2 {
    border-left: 4px solid var(--waoc-red);
    padding-left: 15px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .main-content h2.tight-margin {
    margin-left: 0;
    margin-right: 0;
  }

  .main-content .w3-center>h2,
  .main-content h2.w3-center {
    padding-left: 0;
    border-left: none;
    margin-left: auto;
  }


  /* Global Reset for Underlines */
  a,
  a:hover,
  a:focus,
  .nav-btn,
  .waoc-btn {
    text-decoration: none !important;
    outline: none;
  }

  .main-content {
    margin-bottom: 100px;
    margin-bottom: 50px;
  }

  /* v234: Modern Link Styling for Main Content */
  .main-content a:not(.waoc-btn):not(.waoc-news-entry) {
    color: var(--waoc-red);
    text-decoration: none;
    position: relative;
    font-weight: 600;
    transition: all 0.3s ease;
    /* Create a custom underline using border-bottom */
    border-bottom: 1px solid rgba(190, 30, 45, 0.2);
    /*      padding-bottom: 1px;*/
  }

  .main-content a:not(.waoc-btn):not(.waoc-news-entry):hover {
    color: #a01826;
    /* Slightly darker red on hover */
    /*      border-bottom: 2px solid var(--waoc-red);*/
    background-color: rgba(190, 30, 45, 0.05);
    /* Very subtle highlight */
    /*      border-radius: 2px 2px 0 0;*/
  }

  /* External Link Icon (Optional but recommended) */
  .main-content a[href^="http"]:not(.waoc-news-entry):not(:has(img)):not(:has(br))::after {
    content: "\f08e";
    /* FontAwesome external link icon */
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: super;
    opacity: 0.7;
    padding-right: 5px;
  }

  /* v204 Skeleton: Prevents flashing and footer-jumping */
  .main-content {
    opacity: 0;
    min-height: 70vh;
    /* Keeps footer at the bottom while loading */
    transition: opacity 0.3s ease-in;
  }

  .main-content.loaded {
    opacity: 1;
  }


  /* For main content is the card default look */

  .main-content .content-wrapper.waoc-card,
  .main-content.waoc-card {
    max-width: var(--container-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /*********************************************/

  /* The hidden state */
  .toggle {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.4s ease;
    display: block !important;
    /* Must be block for max-height to animate */
  }

  /* The revealed state */
  .toggle.is-visible {
    max-height: 9999px;
    /* A value larger than your content */
    opacity: 1;
    margin-bottom: 20px;
  }

  /*********************************************/

  .readable-content {
    max-width: max(850px, 70vw);
    /* The "Sweet Spot" for laptop reading */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    /* Improved vertical breathing room */
  }

    @media (max-width: 850px) {
      .readable-content {
        max-width: 100%;
        width: auto;
      }
    }

  /* Specifically target the bottom bar buttons */
  .bottom-nav-container a {
    text-decoration: none !important;
  }

  /* Navbar Container */
  .waoc-header {
    min-height: auto;
    min-height: 87px;
  }

  .waoc-navbar {
    background-color: var(--waoc-white) !important;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--waoc-red);
    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(8px);
  }

  .waoc-navbar::after {
    content: "";
    position: absolute;
    width: 100%;
    margin-top: 80px;
  }

  /* Transition for smooth hiding/showing */
  .waoc-navbar {
    transition: transform 0.3s ease-in-out !important;
    position: fixed;
    /* Ensures it stays at the top of the viewport */
    width: 100%;
    top: 0;
    left: 0;
  }

  /* This class will be added via JS when scrolling down */
  .navbar-hidden {
    transform: translateY(-100%);
  }

  .brand-box {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }

  .club-name {
    color: var(--waoc-black) !important;
    font-weight: 500;
    text-transform: capitalize;
    font-size: 22px;
    letter-spacing: -0.01em;
    max-width: 60vx;
  }

  /* Desktop Links */
  .nav-links {
    margin-left: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
  }

  /* Top Menu Buttons */
  .waoc-btn {
    background-color: var(--waoc-red) !important;
    color: var(--waoc-white) !important;
    border-radius: 4px;
    font-weight: 600;
    padding: 10px 18px !important;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
  }

  @media (min-width: 1020px) {
    .waoc-btn:hover {
      transform: translateY(-3px);
      filter: brightness(1.1);
    }

    /* Main Bridge: Connects main button to dropdown below */
    .waoc-btn::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -20px;
      height: 20px;
      background: transparent;
    }

    .w3-dropdown-hover:hover>.dropdown-content {
      display: block;
    }

    .w3-dropdown-hover:first-child,
    .w3-dropdown-click:hover,
    .w3-dropdown-hover:hover>.w3-button:first-child,
    .w3-dropdown-click:hover>.w3-button:first-child {
      background-color: #fff;
    }

    /* Sub-Submenu Bridge Logic */
    .sub-trigger {
      position: relative;
    }

    /* SUB-BRIDGE: Connects "Results ▶" to the side menu to fix ghosting */
    .sub-trigger::after {
      content: "";
      position: absolute;
      top: 0;
      right: -15px;
      /* Creates invisible bridge to the right */
      width: 15px;
      height: 100%;
      background: transparent;
    }

    .w3-dropdown-hover:hover>.sub-dropdown-content {
      display: block;
      left: 100%;
      top: 0;
      margin-left: 2px;
    }

    #mobileMenu {
      display: none !important;
    }
  }

  .logo-svg {
    height: 64px;
    width: auto;
  }

  /* Dropdown Styles */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--waoc-white);
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1001;
    left: 0;
    right: auto;
    width: max-content;
  }

  /* FLIPPED STATE (Edge Detection) */
  .dropdown-content.edge-right {
    left: auto !important;
    right: 0 !important;
  }

  .dropdown-content.edge-right .sub-dropdown-content {
    left: auto !important;
    right: 100% !important;
    margin-right: 0px;
    margin-left: 0;
  }

  .dropdown-content a,
  .sub-trigger {
    color: black;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    text-align: left;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
  }

  .dropdown-content a:hover,
  .sub-trigger:hover {
    background-color: var(--waoc-red);
    color: var(--waoc-white);
  }

  /* Mobile/Tablet Logic */
  @media (max-width: 1019px) {

    .nav-links {
      display: none !important;
    }

    .mobile-toggle {
      display: block !important;
    }
  }

  @media (max-width: 1180px) {

    .club-name {
      font-size: 16px;
      max-width: 170px;
    }
  }

  .mobile-toggle {
    display: none;
    margin-left: auto;
  }

  #mobileMenu {
    position: fixed;
    width: 100%;
    left: 0;
    top: 87px;
    background: white;
    /*     border-bottom: 3px solid var(--waoc-red);*/
    /*
      max-height: 85vh;
      max-height: calc(100vh - 87px - 75px);
      */
    max-height: 100vh;
    /* Height minus header and bottom bar */
    overflow-y: auto;
    z-index: 1999;
    overscroll-behavior: contain;
    /* Prevents background scroll chain */
    -webkit-overflow-scrolling: touch;

    /* PREVENT FLICKER: Keep layout calculated but invisible */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    /* The "Double Lock" you mentioned */
    transform: translateY(-10px);

    /* PERFORMANCE: Move to GPU layer */
    will-change: transform, opacity;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.2s linear,
      visibility 0.3s;
    scroll-behavior: auto !important;
  }

  /* When the menu is active */
  #mobileMenu.active-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    /* Re-enable clicks */
    transform: translateY(0);
  }

  #mobileMenu:after {
    content: "";
    padding-bottom: 100px;
    padding-bottom: max(300px, 30vh);
    /* The requested bottom padding */
    display: block;
    width: 100%;
    border-top: 3px solid var(--waoc-red);
  }

  /* User Refinement: Mobile hover color */
  #mobileMenu .w3-button:hover {
    background-color: var(--waoc-red) !important;
    color: white !important;
  }

  .mobile-sub-header {
    background-color: var(--waoc-gray);
    font-weight: bold;
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    display: block;
  }

  .mob-indent {
    padding-left: 35px !important;
    border-bottom: 1px solid var(--waoc-white-gray);
  }

  .mob-indent-deep {
    padding-left: 55px !important;
    font-style: italic;
    background-color: var(--waoc-gray98);
  }

  /* 3. BOTTOM NAVBAR (Action Dashboard) */
  /* A) Bar Height & Visibility */
  .waoc-bottom-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    opacity: 0;
    width: 95%;
    max-width: 600px;
    z-index: 1500;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;

    /*
      background: rgba(255, 255, 255, 0.95);
       */

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    height: 75px;
    /* Increased for more headroom */
    overflow: visible;
    /* Allows the scale effect to breathe */
  }

  .waoc-bottom-bar.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0px);
  }

  .bottom-nav-container {
    display: flex;
    height: 100%;
    padding: 0 15px;
    align-items: center;
    justify-content: space-around;
  }

  /* B) Button & Ripple Container */
  .nav-btn {
    text-align: center;
    height: 100%;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #65676b;
    flex: 1;
    z-index: 1;
    padding-top: 2px;
    overflow: hidden;
    /* Keeps the ripple contained to the button area */
    -webkit-tap-highlight-color: transparent;
  }

  .nav-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 0;
    height: 62px;
    /* Increased from 54px */
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-btn.active::before {
    width: 90%;
    /* Covers most of the button width */
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: var(--pill-active) !important;
  }

  /* Added this specific class to prevent buttons from expanding beyond 1400px */
  /* No more main tag
    main section>div {
      max-width: 1200px !important;
    }
*/
  /* 2. Hover State (Desktop) */
  @media (hover: hover) {
    .nav-btn:hover:not(.active)::before {
      width: 85%;
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
      background: var(--pill-hover);
    }
  }

  /* 3. The Active/Selected State */
  .nav-btn.active::before {
    width: var(--pill-active-width);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: var(--pill-active) !important;
  }

  /* 4. Icon Interaction - Smooth Float */
  .nav-btn i {
    font-size: 20px;
    margin-bottom: 2px;
    /* Tighter gap between icon and text */
    position: relative;
    top: -1px;
    /* Subtle nudge to center visually within the taller pill */
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), color 0.3s ease;
  }

  .nav-btn.active i {
    transform: translateY(-5px) scale(1.25);
    /* Balanced lift for the 75px bar */
    color: var(--waoc-red);
    text-shadow: 0 4px 10px rgba(238, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    /* Ensures icon stays above the ripple */
  }

  .nav-btn.active span {
    font-weight: 800;
    transform: translateY(2px);
    /* Nudge text down slightly to balance icon lift */
    color: var(--waoc-red);
    transition: all 0.3s ease;
    z-index: 2;
  }

  /* 4. THE PERSISTENT ACTIVE PILL (The current section) */
  .nav-btn.active {
    color: var(--waoc-red) !important;
  }

  .nav-btn.active::before {
    width: var(--pill-active-width);
    background: var(--pill-active) !important;
    border: 1px solid rgba(238, 0, 0, 0.15);
    /* Defines the shape against the glass */
    opacity: 1;
  }

  .nav-btn i {
    font-size: clamp(16px, 4.2vw, 20px);
    margin-bottom: 4px;
    transition: all 0.3s ease;
  }

  .nav-btn span {
    font-size: clamp(9px, 2.3vw, 11px);
    font-weight: bold;
  }


  /******* filter style start ********/

  /* Active Button Style */
  .filter-btn.active {
    /*
      background-color: var(--waoc-red) !important;
      color: var(--waoc-white) !important;
      */
  }


  #club-event-list .waoc-list-item {
    max-height: 300px;

    transition: ease-in-out 0.3s;
    overflow: hidden;



    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--waoc-red) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  }

  /* Filter Animation */
  #club-event-list .waoc-list-item.filter-hide {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    border-left: 5px solid var(--waoc-red);
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
  }


  /******* filter style end ******/

  /* Responsive visibility */
  @media (min-width: 1020px) {

    .nav-trigger-handle,
    .waoc-bottom-bar {
      display: block;
      display: none !important;
    }
  }

  /* If the screen is wide (Laptop/Landscape Phone) and short */
  @media screen and (min-aspect-ratio: 3/2) and (max-height: 500px) {

    .waoc-bottom-bar,
    .nav-trigger-handle {
      display: none !important;
    }

    /* Shrink the Hero even further to bring Events into view */
    .waoc-hero {
      height: 25vh;
      /* Very compact for wide/short screens */
    }
  }

  @media (max-width: 1019px) {
    .nav-links {
      display: none;
    }
  }

  /* Section Spacing */
  section {
    padding-top: 90px;
    min-height: 90vh;
    background-color: #fff;
  }

  section:last-child {
    min-height: calc(90vh + 120px);
  }

  section:nth-of-type(even) {
    background-color: var(--waoc-gray) !important;
  }


  /* Updated .nav-trigger-handle for v88 */
  .nav-trigger-handle {
    position: fixed;
    bottom: 0;
    left: 50%;
    /* Start hidden by moving it down 100% of its new height */
    transform: translateX(-50%) translateY(120px);

    /* STICK TO v88 LOOK: Glassmorphism Lighter Red */
    background: rgba(238, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: white;
    width: 80px;
    height: 120px;
    /* INCREASED: Was 28px. This is the "skirt" to prevent gaps */
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: flex-start;
    /* KEEP ICON AT TOP: Changed from center */
    justify-content: center;
    padding-top: 8px;
    /* Precise icon placement */
    z-index: 1400;
    cursor: pointer;

    /* v88 BOUNCY ANIMATION PRESERVED */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    box-shadow: 0 -2px 15px rgba(238, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
  }

  /* Visibility State */
  .nav-trigger-handle.is-visible {
    /* We only slide up 28px to show the top part. 
     The remaining 52px stays hidden below the screen to bridge the gap. */
    transform: translateX(-50%) translateY(72px);
    transition-delay: 0.4s;
  }

  .nav-trigger-handle i {
    font-size: 14px;
    opacity: 0.9;
    animation: bounce 2.5s infinite;
  }

  @keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0);
    }

    40% {
      transform: translateY(-3px);
    }

    60% {
      transform: translateY(-1px);
    }
  }



  /* Create the Ripple Container */
  .nav-btn {
    position: relative;
    overflow: hidden;
    /* Contains the ripple within the button area */
  }

  /* The Ripple Element */
  .nav-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(238, 0, 0, 0.2);
    /* Red ripple color */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
  }

  /* Trigger Ripple on Click/Active */
  .nav-btn:active::after {
    animation: ripple-out 0.6s ease-out;
  }

  @keyframes ripple-out {
    0% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 1;
    }

    100% {
      transform: translate(-50%, -50%) scale(2.5);
      opacity: 0;
    }
  }

  .waoc-sticky-block {
    position: -webkit-sticky;
    /* Safari support */
    position: sticky;
    top: var(--menu-height);
    /* Adjust this to match your navbar height + margin */
    height: fit-content;
    /* Prevents the panel from stretching unnecessarily */
    z-index: 5;
  }

  @media screen and (max-height: 700px) {
    .waoc-sticky-block {
      position: relative;
    }
  }

  /**** apply waoc card globally *****/

  .titleImage,
  .waoc-previous-content .titleImage,
  .waoc-previous-content .insertedImage,
  .waoc-card {
    display: flex;
    flex-direction: column;
    height: auto;
    border-top: 5px solid var(--waoc-red) !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;

    /*    overflow: hidden; */
    /**** comment out overflow to prepare for sticky cards ****/
    /*  margin-bottom: 16px;*/

  }

  .waoc-card-img {
    width: 100%;
    border-radius: 0 0 4px 4px;
  }

  @media (max-width: 1019px) {
    .main-content-card {
      margin: 8px !important;
    }
  }

  @media (min-width: 1020px) {
    .main-content-card {
      margin: 16px 32px !important;
    }
  }

  /*************************************/


  /* --- LIST ITEM COMPONENT --- */
  .waoc-list-item {
    display: flex;
    align-items: center;
    padding: 14px 4px;
    border-bottom: 1px solid var(--waoc-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-out, background-color 0.2s ease;
  }

  .waoc-list-item:hover {
    background-color: #f9f9f9;
    transform: translateX(4px);
  }

  .waoc-list-item:last-child {
    border-bottom: none;
  }

  .waoc-date-side {
    min-width: 65px;
    text-align: center;
    border-right: 2px solid var(--waoc-red);
    margin-right: 15px;
    line-height: 1.1;
    text-transform: uppercase;
  }


  /*****************************/


  /* Container to mask the table */
  .waoc-table-mask {
    width: 100%;
    max-height: 180px;
    /* Adjust based on how many rows you want visible */
    overflow-y: auto;
    /* Shows scrollbar only when table is too long */
    border: 1px solid var(--waoc-border);
    border-radius: 4px;
    margin-top: .4lh;
    margin-bottom: 1lh;
    background: var(--waoc-gray98);
    /* Subtle background to distinguish from card */
  }

  /* Ensure the table fills the mask properly */
  .waoc-table-mask table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
  }

  /* Custom "Thin" Scrollbar for a modern look (Chrome/Safari) */
  .waoc-table-mask::-webkit-scrollbar {
    width: 6px;
  }

  .waoc-table-mask::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }

  .waoc-table-mask::-webkit-scrollbar-track {
    background: transparent;
  }


  /* --- BUTTONS & TAGS --- */
  .waoc-btn-primary {
    background-color: var(--waoc-red) !important;
    color: white !important;
    transition: 0.3s;
    font-weight: bold;

    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .waoc-btn-primary:hover {
    color: white !important;
    background-color: #000000 !important;
  }

  .waoc-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
  }

  .waoc-tag-base {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px !important;
    font-size: 12px !important;
    border-radius: 4px;
    white-space: nowrap;
  }

  .lvl-anchor {
    min-width: 95px;
    border: 1px solid;
    font-weight: bold;
    text-transform: capitalize;
  }

  .lvl-international {
    color: #9c27b0;
    border-color: #9c27b0;
    background: rgba(156, 39, 176, 0.1);
  }

  .lvl-major {
    color: #000000;
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
  }

  .lvl-national {
    color: #3f51b5;
    border-color: #3f51b5;
    background: rgba(63, 81, 181, 0.1);
  }

  .lvl-regional {
    color: #009688;
    border-color: #009688;
    background: rgba(0, 150, 136, 0.1);
  }

  .lvl-local {
    color: var(--waoc-red);
    border-color: var(--waoc-red);
    background: rgba(238, 0, 0, 0.08);
  }

  .lvl-activity {
    color: #b58500;
    border-color: #b58500;
    background: rgba(181, 133, 0, 0.1);
  }

  .tag-league {
    border: 1px solid var(--waoc-red);
    color: var(--waoc-red);
  }

  /* --- HERO --- */


  .waoc-hero {
    width: 100%;
    height: min(300px, 30vh);
    overflow: hidden;
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }


  /* The "Breathe" Animation */
  @keyframes breathe {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.08);
    }

    /* Subtle zoom */
    100% {
      transform: scale(1);
    }
  }

  .waoc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* Apply the animation here */
    animation: breathe 20s ease-in-out infinite;

    transition: transform 0.8s ease;
  }

  .waoc-hero:hover .waoc-hero-img {
    transform: scale(1.03);
  }

  @media (max-width: 1019px) {
    .waoc-hero {
      height: 250px;
    }
  }

  @media (max-width: 600px) {
    .waoc-hero {
      height: 220px;
    }
  }

  .waoc-hero-credit {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* User can click "through" it */
  }

  /* Show credit when hovering over the hero container */
  .waoc-hero:hover .waoc-hero-credit {
    opacity: 1;
  }

  /****************************************/

  /*********************************/
  /* v224: Perfect Equal-Width Row */
  .equal-height-row {
    display: flex;
    flex-direction: row;
    /* Default side-by-side */
    gap: 20px;
    /* Modern spacing */
    margin-top: 24px;
    width: 100%;
  }

  .equal-height-row .info-sub-card-wrapper {
    flex: 1;
    /* This forces equal width and keeps them on one line */
    display: flex;
    /* Ensures the inner card also stretches vertically */
  }

  .info-sub-card {
    width: 100%;
    /* Fill the flex wrapper */
    padding: 24px !important;
    background: var(--waoc-paper);
    border-radius: 4px;
    border-top: 4px solid var(--waoc-red);
    /* Modern top-border look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  /* Mobile Responsiveness: Stack them when screen is small */
  @media (max-width: 768px) {
    .equal-height-row {
      flex-direction: column;
    }
  }

  /* Image styling for 2026 look */
  .parko-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .parko-img:hover {
    transform: scale(1.02);
  }


  /* v226: Full-bleed image inside a card */
  .image-container.waoc-card {
    padding: 0 !important;
    /* Remove padding so image touches edges */
    overflow: hidden;
    /* Clips the image to the card's rounded corners */
    display: flex;
    flex-direction: column;
  }

  .image-container.waoc-card img {
    width: 100%;
    height: auto;
    display: block;
    /* Removes the tiny gap at the bottom of images */
    margin: 0;
  }