.category-header {
    position: relative;
    width: 100%;
    color: white;
    font-family: var(--font-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    min-height : 488px;
    max-height : 560px;
    overflow: hidden;
}

 @media (max-width: 500px) {

  .category-header h1,
  .event-header h1 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    line-height: 1.2;
    margin-top: 1rem; 
    margin-bottom: 0.8rem; 
  }

  .category-header h1{
    font-size: clamp(1.6rem, 5vw, 2rem) !important;
    margin-top: 1rem !important;
    margin-bottom: 0.8rem !important; 
  }

  .category-header p{
    font-size: 0.8rem; 
    line-height: 1.4;   
    margin: 0 auto;     
    max-width: 90%; 
 
  }

  .category-header .breadcrumb{
    font-size: 0.75rem; 
    top: 1rem;
    left: 1rem;
  }
  
}


/* Dark overlay layer */
/* .category-header .overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
} */

.category-header .overlay {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Container for text inside header */
.category-header__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

/* Breadcrumb top-left (small, responsive) */
.category-header .breadcrumb {
    position: absolute;
    top: 1rem;
    z-index: 2;
    font-size: 1.4rem;
    font-family: var(--font-secondary);
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    padding-left : 5.56%;
    margin-bottom: 2rem;
    max-width: 100%;
}
@media (max-width: 767px) {
    .category-header .breadcrumb {
        text-align: left;
        margin-bottom: 1.5rem;
        font-size : 0.8rem;
    }
}
.category-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* Headline + paragraph */
.category-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0 0 1rem 0;
    font-family: var(--font-primary);
    color: inherit;
     line-height: 1.2;
}
.category-header h1 span {
    color: var(--clr-yellow);
}

.category-header p {
    max-width: 100%;
    margin-inline: 5.56%;
    font-size: 1.6rem;
    line-height: 1.2;
    font-family: var(--font-secondary);
    color: inherit;
    text-align : justify;
}

.category-hero_content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

/* Categories bar with horizontal scroll and styled scrollbar */
.categories-bar {
    /* padding: 10px 0;
    margin: 0 auto 30px auto; */
    margin-inline: 5.56%;
    margin-block: 1rem;
    max-width: 90vw;
    overflow-x: auto;
    font-family: var(--font-secondary);
    position: relative;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    padding-top: 80px;
    margin-bottom: 40px;
}

/* custom scrollbar styling for horizontal bar */
.categories-bar::-webkit-scrollbar {
    height: 3px;
}
.categories-bar::-webkit-scrollbar-thumb {
    background: var(--clr-yellow);
    border-radius: 2px;
}
.categories-bar::-webkit-scrollbar-track {
    background: #fff;
    scrollbar-width: thin;
}

/* categories list layout */
.categories-bar ul {
    display: flex;
    list-style: none;
    margin: 0;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0;
    width: max-content;
    min-width: max-content;
}

.categories-bar a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    /* padding: 5px 10px; */
    padding-inline : 0.2rem;
    white-space: nowrap;
    font-size: 2rem;
    transition: color 0.2s;
    display: block;
    font-family: var(--font-primary);
    /* margin-right: 1.2rem; */
    letter-spacing: normal; 
    font-weight : 700;
}
.categories-bar a.active {
    color: var(--clr-yellow);
}

/* Brands / logos grid and related styles (kept from original file) */
.brands-section {
    background-color: #fff;
    color: black;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-primary);
    max-height: 600px;
    overflow-y : auto;
    scrollbar-width: thin;
    scrollbar-color: #000 #333;
}

.brands-section::-webkit-scrollbar{
    width : 4px;
}

.brands-section::-webkit-scrollbar-track{
    background: #333;
}

.brands-section::-webkit-scrollbar-thumb{
    background: black;
    border-radius : 2px;
}

.brands-section::-webkit-scrollbar-thumb:hover{
    background: #111;
}

.brands-section h1 {
   margin-top : 20px;
   font-size : 4rem;
   margin-bottom : 0;
}

/* .logo-container {
    display: grid;
    gap: 10px;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-content: center;
    padding-bottom : 1.5rem;
}
.logo-card {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 0.5rem;
    margin:0.25rem;
    transition: background-color 0.3s ease;
} */

.logo-container {
    display: grid;
    gap: 10px;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-content: center;
    padding-bottom : 1.5rem;
    padding-inline: 5.56%;
}
/* .logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px;
    height: 100px;
    padding: 0.5rem;
    margin: 0.25rem auto;
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin : 1rem;
    padding : 1rem;
} */
 .logo-card {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: fit-content;
    padding: 0;
    margin: 0.5rem auto;
    transition: background-color 0.3s ease;
}

.logo-card img {
    width: 100%;
    height: 100%;
    max-width: 280px;
    object-fit: contain;
    margin: 0;
    padding: 0;
    display: block;
}

/* Broadway CTA section */

.broadway-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top : 5rem;
}
.broadway-logo {
    width: 100%;
    /* max-width: 1200px;
    max-height : 694px; */
    height: auto;
}
@keyframes fadeSlideUp {
    0% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 1; }
}
.cta-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    background: transparent;
    opacity: 0;
    transform: translateY(20%);
    animation: fadeSlideUp 2s ease-out forwards;
    animation-delay: 2s;
}

.cta-stats p {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.6;
}
.stats-line-one span { margin: 0 0.5rem; }
.cta-stats .yellow { color: #fcb900; }
.cta-stats .blue { color: #00aaff; }
.cta-stats .purple { color: #b084f4; }

.list-btn {
    background: transparent;
    border: 1px solid white;
    padding: 0.8em 1.5em;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 700;
    font-family: var(--font-primary);
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.list-btn:hover { background: white; color: black; }

@media (min-width: 600px) {
    .logo-container { grid-template-columns: repeat(4, 1fr); }
    .logo-card { max-height : 100%; padding : 0.5rem; margin : 0.25rem;}
    .categories-bar a { font-size: 3.75rem; padding-inline : 0.75rem; }
    .categories-bar ul { gap: 0.3rem; }
}
@media (min-width: 900px) {
    .logo-container { grid-template-columns: repeat(4, 1fr); }
    .categories-bar ul { justify-content: center; }
}
@media (max-width: 767px) {
    .cta-stats p { margin: 0; line-height: 0.8; }
    .cta-overlay-content { padding-top: 20px; gap: 0.3rem; transform: translateY(20%); }
    .list-btn { padding: 0.3rem 0.4rem; margin-top: 0; font-size: 0.5rem; }
    .list-btn:hover { background: #fff; }
    .stats-line-one span, .stats-line-two span { font-size: 0.5rem; margin: 0; }
    /* .logo-card { height: 50px; width: 80%; } */
    /* .logo-card {
        max-height: 30px;
        max-width: 100%;
        padding: 0.25rem;
        margin: 0.25rem;
    } */
    
}

/* No-brands fallback */
.no-brands {
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
    font-size: 1.8rem;
    color: #888;
    width: 100%;
    text-align: center;
    min-height: 120px;
}


@keyframes sequence-controller {
  0% { opacity: 1; } 
  100% { opacity: 1; }
}
/* 
.broadway-cta-section {
    padding: 40px 0;
} */





.cta-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    text-align: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    background: transparent; 

    opacity: 0;
    transform: translateY(20%);
    animation: fadeSlideUp 10s ease-out infinite;
}


.cta-stats p {
    font-family: var(--font-primary);
    /* font-size: clamp(1.864rem, 3vw, 2.5rem); */
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
}

.stats-line-one{
    display: flex;
    justify-content: space-between;
}

.stats-line-one span {
    margin: 0 0.5rem;
    font-size : clamp(1.491rem, 3vw, 2.2rem);
}

.stats-line-two span{
    font-size : clamp(2.1rem, 3vw, 2.5rem);
}

.cta-stats .yellow { color: #fcb900; }
.cta-stats .blue { color: #00aaff; }
.cta-stats .purple { color: #b084f4; }

.list-btn {
  /* margin-top: 1.5rem; */
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.list-btn:hover {
  background: #fff;
  color: #000;
}
.categories-bar li a{
        font-size : 4rem;
    }

@media (max-width: 768px) {

    .brands-section {
        max-height : 160px;
        overflow-y : auto;
        scrollbar-width: thin;
        scrollbar-color: #000 #333;
    }

    .brands-section::-webkit-scrollbar{
        width : 3px;
    }

    .brands-section::-webkit-scrollbar-track{
        background: #333;
    }

    .brands-section::-webkit-scrollbar-thumb{
        background: black;
        border-radius : 2px;
    }

    .brands-section::-webkit-scrollbar-thumb:hover{
        background: #111;
    }
    
    .brands-section h1{
        margin-top : 5px;
        margin-bottom : 0;
        font-size:2rem;
    }

    .logo-container{
        padding-bottom : 1rem;
        padding-inline : 4.1%;
    }

    .broadway-wrapper{
        padding-block : 2.5rem;
        padding-inline : 0;
    }

    .categories-bar{
        padding-top : 40px ;
        padding-bottom : 20px;
    }

    .categories-bar li a{
        font-size : 2rem;
    }

    .category-header{
        min-height : 332px;
    }

    .categories-bar a.active {
        color: var(--clr-yellow);
    }

    .category-header p{
        font-size : 0.8rem;
    }

    /* 2. Adjust overlay container for better spacing */
    .cta-overlay-content {
        gap: 0.3rem; /* Increase space between text and button */
        padding-top: 20px; /* Centering is handled by flexbox */
        transform: translateY(10); /* Adjust transform if needed */
    }

    /* 3. Set a single, readable font size for the stats */
    .cta-stats p {
        line-height: 0.8;
        letter-spacing : normal;
        margin: 0;
    }
    .stats-line-one span {
        font-size : clamp(1rem, 3vw, 1.491rem)
    }
    .stats-line-two span {
        font-size : clamp(1.3rem, 3vw, 1.864px);
    }

    /* 4. REMOVE the tiny font-size override on the spans */
    .stats-line-one span, 
    .stats-line-two span {
        margin: 0 0.25em; /* Use 'em' for spacing relative to font size */
        /* font-size: 0.5rem; <-- REMOVED THIS LINE */
    }

    /* 5. Make the button readable */
    .list-btn {
        font-size: 0.6rem;
        padding: 0.3rem 0.5rem;
        margin-top: 0;
    }

    .list-btn:hover {
        background: #fff;
    }
    .logo-card {
        height: fit-content;
        width: fit-content;
        padding: 0;
        margin: 0.5rem;
        background-color: transparent;
    }
    .logo-card img {
        width: 100%;
        height: 100%;
        max-width: 150px;
        margin: 0;
        padding: 0;
    }
}

@media(max-width:499px){
    .broadway-logo{
        width : 100%;
        height : auto;
    }

    .cta-stats p {
        line-height: 1;
        letter-spacing : normal;
        margin: 0;
    }
    .stats-line-one span{
        font-size : 0.65rem;
    }
    .cta-stats .purple{
        font-size : 0.95rem;
    }
    .cta-overlay-content {
        transform: translateY(15%);
    }
    .list-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.5rem;
    }
}

@media(max-width : 480px) and (min-width : 768px){
    .logo-container{
        gap : 15px;
    }
}