/* ===========================
   BRAND STORIES CARDS
=========================== */

.brand-card {
    position: relative;
    padding: clamp(7px, 4vw, 20px);
    border-radius: 2rem;
    background: #1b1b1b;
    min-height: clamp(120px, 15vw, 180px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* BIG NUMBER */
.brand-bg-number {
    font-family: "Syne", system-ui, sans-serif;
    position: absolute;
    bottom: -75px;
    left: -50px;
    font-size: clamp(220px, 22vw, 280px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #ff8a00, #ff5f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

/* TITLE */
.brand-card-title {
    position: relative;
    z-index: 2;
    font-family: "PP-Monument_Extd_BLACK", system-ui, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 2.1rem);
    color: #ffffff;
    max-width: 100%;
    margin: 0;
}

/* HOVER FEEL */
.brand-card:hover .brand-bg-number {
    opacity: 1;
}

.sub-title {
    font-size: clamp(1.0rem, 2vw, 2rem);
}

/* ===========================
   TEAM MEMBER CARDS - IMPROVED RESPONSIVE
=========================== */

.team-card {
    background-color: #1b1b1b;
}

/* Image styling - responsive */
.team-img {
    border-radius: 2rem;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Text column styling */
.text-column {
    width: 100%;
}

.team-name {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.team-description {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: #e0e0e0;
}

/* DESKTOP (large screens): proper spacing and alignment */
@media (min-width: 993px) {
    .team-img {
        max-width: 350px;
    }
    
    .team-card .col-md-4 {
        padding: 1.5rem;
    }
    
    .team-card .col-md-7 {
        padding: 2rem 2.5rem;
        display: flex;
        align-items: center;
    }
}

/* TABLET (medium screens): balanced layout */
@media (max-width: 992px) and (min-width: 769px) {
    .team-card {
        padding: 1.5rem !important;
    }
    
    .team-img {
        max-width: 280px;
    }
    
    .team-card .col-md-4 {
        padding: 1rem;
    }
    
    .team-card .col-md-7 {
        padding: 1.5rem;
        display: flex;
        align-items: center;
    }
    
    .team-description {
        font-size: 0.95rem;
    }
}

/* MOBILE & SMALL TABLETS: stack vertically, centered */
@media (max-width: 768px) {
    .team-card {
        padding: 1.5rem !important;
    }
    
    .team-card .row {
        gap: 1.5rem;
    }
    
    .team-card .col-md-4,
    .team-card .col-md-7 {
        padding: 0 !important;
    }
    
    .team-img {
        max-width: 220px;
        margin-bottom: 0.5rem;
    }
    
    .text-column {
        text-align: center !important;
        padding: 0 0.5rem;
    }
    
    /* Override text-md-end on mobile */
    .text-column.text-md-end {
        text-align: center !important;
    }
    
    .team-name {
        font-size: 1.6rem;
    }
    
    .team-role {
        font-size: 1rem;
    }
    
    .team-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* VERY SMALL MOBILE: tighter spacing */
@media (max-width: 480px) {
    .team-card {
        padding: 1rem !important;
    }
    
    .team-card .row {
        gap: 1rem;
    }
    
    .team-img {
        max-width: 180px;
    }
    
    .team-name {
        font-size: 1.4rem;
    }
    
    .team-role {
        font-size: 0.9rem;
    }
    
    .team-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}