* {

    font-family: "Playfair display", serif;

}



p {

    font-family: "Playfair display", serif;

    margin: 0 !important;

    padding: 0;

}



.about-page .aboutSec span {

    color: var(--orange);

}



.about-page .main {

    display: flex;

    flex-direction: column;

    align-items: center;

}



.about-page .aboutSec {

    padding: 72px 20px 20px 20px;

    max-width: 1480px;

    justify-self: center;

}



.about-page .aboutSec.Sec-1 {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 64px;

    height: fit-content;

}



.about-page .desc .title {

    font-size: 32px;

    font-weight: 500;

}



.about-page .caption {

    font-size: 14px;

    font-weight: 500;

}



.about-page .Sec-1 .grid-img {

    overflow: hidden;

    border-radius: 16px;

}



.about-page .Sec-1 .grid-col:nth-child(1) .grid-img {

    height: 350px;

    align-items: start;

    display: flex;

}



.about-page .grid-img img {

    width: 100%;

    animation: scaleOut 0.3s ease-in-out forwards;

}



.about-page .grid-img img:hover {

    animation: scaleIn 0.3s ease-in-out forwards;

}



.about-page .intro-text {

    font-size: 64px;

    font-weight: 500;

    line-height: 1;

}



.about-page .intro-text span {

    font-size: 128px;

    font-weight: 500;

}



.about-page .Sec-1 .grid-col:nth-child(2) {

    background: linear-gradient(180deg,

            rgba(255, 50, 50, 1) 0%,

            rgba(170, 18, 18, 1) 100%);

    padding: 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-direction: column;

    height: 100%;

    border-radius: 32px;

    gap: 40px;

    padding: 20px 16px 32px;

}



.about-page .Sec-1 .grid-col:nth-child(2) .card {
    background: rgba(255, 255, 255, .3);
    border: unset;
    display: grid;

    grid-template-columns:repeat(2, 1fr);

    gap: 12px;

    /*background: unset;*/

    padding: 24px;

    border-radius: 20px;
    
        width: 100%;

}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .icon-wrap {
      width:100%;
    max-width: 150px;
    height: 120px;
    border-radius: 22px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }
  .icon-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.9) !important;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }


.about-page .Sec-1 .grid-col .card-title {

    grid-column: 1 / 3;

    font-size: 24px;

    font-weight: 700;

    text-align: center;

    color: var(--baseblack);
    
        height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
        background: rgba(255, 255, 255, 0.8);

    padding: 16px;
    width:100%;
    max-height: 230px;
    border-radius: 20px;
    


}

.about-page .Sec-1 .grid-col .card-title span{
    background-size: 200%;
   -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* fallback */
    -webkit-text-fill-color: transparent;
    font-size: 74px;
    display: block;
    font-weight: 800;
    font-family: sans-serif;
        animation: 5s linear infinite alternate animate-background;
}

@keyframes animate-background {
    0% {
        background-position: 0
    }

    to {
        background-position: 100%
    }
}



.about-page .sub-cards {
justify-self: center;
    display: flex;

    max-width: 150px;

    flex-direction: column;

    gap: 8px;

    text-align: center;

    font-size: 16px;

    color: var(--basewhite);

    background: #0000004d;

    /* 30% opatcity */

    padding: 16px;

    border-radius: 20px;

}



.about-page .sub-cards img {

    border-radius: 14px;

}







.about-page .aboutSec.Sec-2 {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

}



.about-page .Sec-2 .title-txt {

    font-size: 56px;

    font-weight: 700;

    color: #b8b8b8;

}



.about-page .ytContainer {

    border-radius: 32px;

    overflow: hidden;

    width: fit-content;

    height: fit-content;

    padding: 0%;

    margin: 0%;

}



.about-page .Sec-2 .grid-col:nth-child(2) {

    display: flex;

    align-items: start;

    justify-content: flex-end;

    position: relative;

}



.about-page .Sec-2 .sec-2Img {

    position: absolute;

    pointer-events: none;

}



.about-page .Sec-2 .sec-2Img:nth-child(1) {

    bottom: 1px;

    left: -140px;

}



.about-page .Sec-2 .sec-2Img:nth-child(2) {
display: none;
    top: 1px;

    right: -50px;

}



.about-page .aboutSec.Sec-3 {

    display: grid;

    grid-template-columns: .5fr 1.5fr;

    gap: 40px;

}

.about-page .aboutSec.Sec-4{
    padding:unset;
}



.about-page .Sec-3 .caption-holder {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 24px;

    grid-column: 1/3;

}





.about-page .flag-slider {

    width: 100%;

    max-width: 790px;

    height: 72px;

    overflow: hidden;

    border-radius: 1000px;

    position: relative;

}



@keyframes flagScroll {

    to {

        left: -138px;

    }

}



@keyframes flagScrollreverse {

    to {

        right: -138px;

    }

}



.about-page .flag {

    position: absolute;

    left: 100%;

    animation-name: flagScroll;

    animation-duration: 4s;

    animation-timing-function: linear;

    animation-iteration-count: infinite;

}



.about-page .flag2 {

    position: absolute;

    right: 100%;

    animation-name: flagScrollreverse;

    animation-duration: 4s;

    animation-timing-function: linear;

    animation-iteration-count: infinite;

}



.about-page .flag-slider.me-5 {

    margin-right: 64px !important;

}



.about-page .flag-slider.ms-5 {

    margin-left: 64px !important;

}



.about-page .Sec-3 .grid-col:nth-child(2) {

    text-align: center;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 32px;

    border: 1px solid #ddd;

    border-radius: 24px;

    padding: 20px;

}



.about-page .Sec-3 .grid-col p {

    font-size: 40px;

    font-weight: 500;

    max-width: 474px;

    text-align: center;

}



.about-page .certificate-container {

    position: relative;

    height: 170px;

    width: 315px;

}



.about-page .certificate-container .image-wrapper {

    position: absolute;

    border-radius: 100px;

    overflow: hidden;

}



.about-page .certificate-container .image1 {

    left: 1px;

    top: 1px;

}



.about-page .certificate-container .image2 {

    right: 1px;

    bottom: 1px;

}



.about-page .flipcard-container {

    perspective: 1000px;

    max-width: 400px;

    height: 480px;

    width: 100%;

}



.about-page .flipcard {

    width: 100%;

    height: 100%;

    position: relative;

    transform-style: preserve-3d;

    transition: transform 0.8s;

}



.about-page .flipcard-container:hover .flipcard {

    transform: rotateY(180deg);

}



.about-page .cardFront,

.cardBack {

    width: 100%;

    height: 100%;

    position: absolute;

    backface-visibility: hidden;

    top: 0;

    left: 0;

    border-radius: 32px;

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

    overflow: hidden;

    background: white;

    padding: 20px;

    background-image: url(assests/images/card\ bg.png);

    background-repeat: no-repeat;

    background-position: bottom;

    background-size: contain;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.about-page .cardFront {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: start;

}



.about-page .cardBack {

    transform: rotateY(180deg);

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    background: #f9f9f9;

    padding: 20px;

}



.about-page .card-col {

    width: 45%;

    margin: 5px;

}



.about-page .card-col img {

    width: 100%;

    height: auto;

    object-fit: cover;

    border-radius: 8px;

}



.about-page .Sec-3 .grid-col:nth-child(1) {

    text-align: center;

    display: flex;

    justify-content: center;

}



.about-page .Sec-4 {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 80px;

}



.about-page .Sec-4 .title {

    font-size: 40px;

    font-weight: 500;

    text-align: center;

}



.about-page .Sec-4 .grid-col:first-child {

    grid-column: 1 / -1;

    /* Span the full width of the grid */

    display: flex;

    justify-content: center;

}



.about-page .Sec-4 .image-wrapper {

    width: 100%;

    /*height: 270px;

  overflow: hidden;

  border-radius: 32px;*/

    display: flex;

    justify-content: center;

    align-items: start;

}



.about-page .Sec-4 .grid-col {

    /*max-width: 300px;*/

    text-align: center;

}



.about-page .Sec-4 .caption {

    font-size: 24px;

}



@media (max-width:1024px) and (min-width:769px) {

    .about-page .Sec-1 .grid-column {

        grid-column: 1/4;

    }



}



@media (max-width:1500px) {

    .about-page .Sec-1 .grid-col:nth-child(2) .card {

        padding: 8px;

    }



    .about-page .sub-cards {

        padding: 8px;

    }



    .about-page .Sec-2 .grid-col:nth-child(1) .title img {

        width: 300px;

    }



    .about-page .Sec-2 .title-txt {

        font-size: 32px;



    }



    .about-page .ytContainer {

        width: 600px;

    }



    .about-page .aboutSec.Sec-3 {

        grid-template-columns: 1fr 1fr;

    }



    .about-page .image-wrapper img {

        width: unset;

        max-width: 100%;

        height: auto;

    }



    .about-page .Sec-4 .grid-col:first-child {

        justify-self: center;



    }



    .yt-iframe {

        width: 100%;

    }

}



@media (max-width:1024px) {

    .about-page .teams{
        flex-direction:column;
    }
    
    .about-page .teams .glance{
        max-width:unset !important;
    }

    .about-page .aboutSec.Sec-1 {

        grid-template-columns: 1fr 1fr;

    }



    .about-page .Sec-1 .grid-col:nth-child(2) {

        grid-column: 1/ span2;

        grid-row: 2;

        flex-direction: row;

        padding: 24px;

    }



    .about-page .Sec-1 .grid-col:nth-child(3) {

        grid-column: 2;

        grid-row: 1;

    }



    .about-page .Sec-1 .grid-col:nth-child(2) .card {

        padding: 24px;

        flex-direction: column;

        align-items: center;



    }



    .about-page .Sec-1 .grid-col:nth-child(2) .grid-img {

        max-width: 500px;

    }



    .about-page .sub-cards {

        padding: 24px;

        max-width: 200px

    }



    .about-page .Sec-1 .grid-col:nth-child(2) .grid-img {

        flex-shrink: 2;

        order: 2;

    }



    .about-page .Sec-1 .grid-col:nth-child(2) .card {

        order: 1;

        flex-shrink: 1;

    }



    .about-page .aboutSec.Sec-2 {

        grid-template-columns: 1fr;

        gap: 20px;

    }



    .about-page .Sec-2 .sec-2Img:nth-child(1) {

        left: -19px;

    }





    .about-page .Sec-2 .sec-2Img:nth-child(2) {

        right: 45px;

    }



    .about-page .Sec-2 .grid-col {

        display: flex;

        align-items: center;



    }



    .about-page .ytContainer {

        width: 600px;

    }



    .about-page .Sec-2 .grid-col:first-child {

        padding: 16px;

        background: rgba(0, 0, 0, .03);

        border-radius: 32px;

    }



    .about-page .Sec-2 .grid-col:first-child .caption {

        max-width: 500px;



    }



    .about-page .aboutSec.Sec-3 {

        grid-template-columns: 1fr;

    }



    .about-page .Sec-3 .grid-col:nth-child(1) {

        grid-row: 2;

    }



    .about-page .Sec-3 .grid-col:nth-child(2) {

        grid-row: 1;

    }



}



@media only screen and (max-width: 768px) {

    .about-page .Sec-4 img {
        width: 100% !important;
        font-size:10px;
    }

    .about-page .Sec-2 .sec-2Img {

        display: none;

    }



    .about-page .aboutSec.Sec-1 {

        grid-template-columns: 1fr;

        gap: 16px;

    }



    .about-page .intro-text {

        font-size: 40px;

    }



    .about-page .intro-text span {

        font-size: 64px;

    }



    .about-page .Sec-1 .grid-col:nth-child(3) {

        display: flex;

        flex-direction: column;

        grid-column: 1;

        grid-row: 2;

    }



    .about-page .Sec-1 .grid-col:nth-child(3) .grid-img {

        order: 2;

        max-height: 300px;

        display: flex;

        align-items: center;

    }



    .about-page .Sec-1 .grid-col:nth-child(2) {

        grid-column: 1;

        grid-row: 3;

    }



    .about-page .Sec-1 .grid-col:nth-child(1) {

        display: grid !important;

        grid-template-columns: 1fr 1fr;

        grid-template-rows: 1fr 1fr;

        gap: 16px;

    }



    .about-page .Sec-1 .grid-col:nth-child(1) .about-text.desc {

        grid-column: 1;

        grid-row: 2;

    }



    .about-page .Sec-1 .grid-col:nth-child(1) .grid-img {

        grid-column: 2;

        grid-row: 1/span3;

    }



    .about-page .ytContainer {

        width: 100%;

        height: 200px;

    }



    .yt-iframe {

        width: 100%;

        height: 100%;

    }



    .about-page .Sec-2 .sec-2Img:nth-child(1) {

        width: 150px;

        left: -28px;

    }



    .about-page .Sec-2 .sec-2Img:nth-child(2) {

        width: 100px;

    }



    .about-page .Sec-4 {

        grid-template-columns: 1fr 1fr;

        gap: 24px;

    }



    .about-page .flag-slider {

        display: none;

    }



    .about-page .Sec-2 .grid-col:first-child {

        flex-direction: column;

        align-items: center;

        text-align: center;

        padding: 0;

    }



    .about-page .Sec-1 .grid-col:nth-child(2) .grid-img {

        display: none;

    }



    .about-page .Sec-1 .grid-col:nth-child(2) .card {

        flex-direction: row;

    }



    .about-page .Sec-4 .grid-col {

        width: 100%;

    }



    .about-page .Sec-4 .caption {

        font-size: 16px;



    }

}



@media (max-width:532px) {

    .about-page .Sec-1 .grid-col:nth-child(1) {

        grid-template-columns: 1fr;

        grid-template-rows: unset;

    }



    .about-page .Sec-1 .grid-col:nth-child(1) .grid-img {

        grid-column: unset;

        grid-row: unset;

    }



    .about-page .certificate-container .image1 {

        left: 32px;

    }



    .about-page .certificate-container .image2 {

        right: 32px;

    }

}



/* =====================================================
   PAGE-WIDE RESPONSIVE FIXES
   ===================================================== */

/* Never allow sideways scrolling on the page */
.about-page {
    overflow-x: clip;
}

.about-page img {
    max-width: 100%;
}

/* Centre sections on wide screens (justify-self has no effect in block layout) */
.about-page > .aboutSec {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.about-page > .teams {
    margin-left: auto;
    margin-right: auto;
}

/* Hero order on desktop: intro → Dr. Vimala → books card
   (tablet/mobile already show Dr. Vimala before the books card) */
@media (min-width: 1025px) {
    .about-page .Sec-1 .grid-col:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }

    .about-page .Sec-1 .grid-col:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }
}

/* Hero heading scales smoothly with the screen instead of jumping */
.about-page .intro-text {
    font-size: clamp(36px, 4.25vw, 64px);
}

.about-page .intro-text span {
    font-size: clamp(54px, 8.5vw, 128px);
}

/* Video keeps 16:9 at every width below large desktop */
@media (max-width: 1500px) {
    .about-page .ytContainer {
        width: 100%;
        max-width: 640px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .about-page .yt-iframe {
        width: 100%;
        height: 100%;
        display: block;
    }
}

/* Small laptops */
@media (max-width: 1280px) {
    .about-page .aboutSec.Sec-1 {
        gap: 40px;
    }

    .about-page .Sec-4 {
        gap: 40px 32px;
    }

    .about-page .teams {
        gap: 40px !important;
    }

    .about-page .Sec-3 .grid-col p {
        font-size: 34px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .about-page .aboutSec {
        padding: 56px 20px 20px;
    }

    .about-page .aboutSec.Sec-1 {
        gap: 32px;
    }

    .about-page .Sec-1 .grid-col:nth-child(2) {
        gap: 24px;
        padding: 24px;
    }

    .about-page .Sec-2 .grid-col:nth-child(2) {
        align-items: center !important;
        justify-content: center;
        gap: 16px;
    }

    .about-page .teams {
        padding: 56px 20px !important;
        align-items: stretch;
    }

    .about-page .Sec-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-page .Sec-4 .caption {
        font-size: 20px;
    }

    .about-page .teams .glance {
        width: 100%;
    }

    .about-page .Sec-3 .grid-col p {
        font-size: 30px;
    }
}

/* Hero middle (red) column stacks vertically on narrow screens */
@media (max-width: 650px) {
    .about-page .Sec-1 .grid-col:nth-child(2) {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-page .aboutSec {
        padding: 48px 16px 16px;
    }

    .about-page .desc .title {
        font-size: 26px;
    }

    /* Hero: heading + text on the left, kids photo on the right */
    .about-page .Sec-1 .grid-col:nth-child(1) {
        grid-template-rows: auto 1fr;
    }

    .about-page .Sec-1 .grid-col:nth-child(1) .grid-img {
        grid-row: 1 / 3;
        height: 100%;
        min-height: 260px;
    }

    .about-page .Sec-1 .grid-col:nth-child(1) .grid-img img,
    .about-page .Sec-1 .grid-col:nth-child(3) .grid-img img {
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .about-page .Sec-1 .grid-col:nth-child(2) {
        padding: 16px;
        border-radius: 24px;
    }

    .about-page .Sec-1 .grid-col:nth-child(2) .card {
        padding: 12px;
    }

    .about-page .Sec-1 .grid-col .card-title {
        font-size: 20px;
    }

    .about-page .sub-cards {
        padding: 12px;
        font-size: 14px;
    }

    /* 30 years + video */
    .about-page .Sec-2 .grid-col:nth-child(1) .title img {
        width: 240px;
    }

    .about-page .Sec-2 .title-txt {
        font-size: 26px;
    }

    .about-page .ytContainer {
        border-radius: 20px;
    }

    /* Accreditation + global standards */
    .about-page .Sec-3 .grid-col p {
        font-size: 26px;
    }

    .about-page .Sec-3 .grid-col:nth-child(2) {
        gap: 20px;
        padding: 24px 16px;
    }

    .about-page .flipcard-container {
        height: 440px;
    }

    .about-page .certificate-container {
        width: 100%;
        max-width: 315px;
    }

    /* Academic ecosystem + at a glance */
    .about-page .teams {
        padding: 48px 16px !important;
        gap: 32px !important;
    }

    .about-page .Sec-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .about-page .Sec-4 .title {
        font-size: 28px;
    }

    .about-page .Sec-4 .caption {
        font-size: 16px;
        padding-top: 8px;
    }

    .about-page .teams .glance {
        border-radius: 24px !important;
        padding: 16px !important;
    }

    .about-page .teams .glance h3 {
        font-size: 28px !important;
    }
}

/* Small phones: hero stacks fully */
@media (max-width: 532px) {
    .about-page .Sec-1 .grid-col:nth-child(1) .grid-img {
        grid-row: auto;
        height: 300px;
        min-height: 0;
    }

    .about-page .Sec-1 .grid-col:nth-child(2) .card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .about-page .sub-cards {
        max-width: none;
        width: 100%;
    }

    .about-page .Sec-2 .grid-col:nth-child(1) .title img {
        width: 200px;
    }

    .about-page .Sec-3 .grid-col p {
        font-size: 22px;
    }

    .about-page .flipcard-container {
        height: 420px;
    }

    .about-page .Sec-4 .title {
        font-size: 24px;
    }
}



/* =====================================================
   LEADERSHIP – Organisational Structure (Section 2)
   ===================================================== */

.about-page .leadership {
    --ld-red: #e02828;
    --ld-red-dark: #aa1212;
    --ld-ink: #1d1d1f;
    --ld-muted: #6b6b70;
    --ld-line: #ececef;
    --ld-soft: #fff4f2;

    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 72px 20px 20px;
}

.about-page .leadership .ld-head {
    text-align: center;
    margin-bottom: 32px;
}

.about-page .leadership .ld-eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ld-red);
    margin-bottom: 8px !important;
}

.about-page .leadership .ld-title {
    font-size: 40px;
    font-weight: 500;
    color: var(--ld-ink);
    margin: 0;
}

.about-page .leadership .ld-title em {
    font-style: normal;
    color: var(--orange);
}

/* Founder banner */
.about-page .leadership .ld-founder {
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 56px;
    padding: 12px 32px 12px 12px;
    border-radius: 1000px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 50, 50, 1) 0%, rgba(170, 18, 18, 1) 100%);
    box-shadow: 0 12px 32px rgba(170, 18, 18, .22);
}

.about-page .leadership .ld-founder-photo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .2);
}

.about-page .leadership .ld-founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.about-page .leadership .ld-founder-role {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
}

.about-page .leadership .ld-founder-name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

/* Group heading: line – red pill – line */
.about-page .leadership .ld-group-block + .ld-group-block {
    margin-top: 64px;
}

.about-page .leadership .ld-group-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 36px;
}

.about-page .leadership .ld-pill {
    flex-shrink: 0;
    padding: 14px 40px;
    border-radius: 1000px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 50, 50, 1) 0%, rgba(170, 18, 18, 1) 100%);
    box-shadow: 0 12px 32px rgba(170, 18, 18, .22);
}

.about-page .leadership .ld-group-title::before,
.about-page .leadership .ld-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ld-line);
}

/* Grid of cards – columns stretch to fill the full row width */
.about-page .leadership .ld-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Two-person group (International Business): two wide cards spanning the full row,
   photo on the left, details on the right. Desktop only – tablet/mobile use the normal cards. */
@media (min-width: 1025px) {
    .about-page .leadership .ld-grid--duo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page .leadership .ld-grid--duo .ld-card {
        flex-direction: row;
        min-height: 380px;
    }

    .about-page .leadership .ld-grid--duo .ld-photo {
        width: 40%;
        flex-shrink: 0;
        aspect-ratio: auto;
        align-self: stretch;
    }

    .about-page .leadership .ld-grid--duo .ld-card-body {
        padding: 28px 30px;
        justify-content: center;
    }

    .about-page .leadership .ld-grid--duo .ld-name {
        font-size: 28px;
    }

    .about-page .leadership .ld-grid--duo .ld-role {
        font-size: 15px;
    }

    .about-page .leadership .ld-grid--duo .ld-bio-wrap {
        max-height: 13.6em;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .about-page .leadership .ld-grid--duo .ld-photo {
        width: 36%;
    }

    .about-page .leadership .ld-grid--duo .ld-card-body {
        padding: 24px;
    }

    .about-page .leadership .ld-grid--duo .ld-name {
        font-size: 24px;
    }
}

.about-page .leadership .ld-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ld-line);
    border-radius: 28px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-page .leadership .ld-card:hover {
    transform: translateY(-4px);
    border-color: rgba(224, 40, 40, .25);
    box-shadow: 0 18px 40px rgba(170, 18, 18, .12);
}

/* Photo, with initials fallback if the image is missing */
.about-page .leadership .ld-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe1dc, #ffc9c0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page .leadership .ld-photo::before {
    content: attr(data-initials);
    font-family: "Inter", sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: var(--ld-red-dark);
    opacity: .6;
}

.about-page .leadership .ld-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .4s ease;
}

.about-page .leadership .ld-card:hover .ld-photo img {
    transform: scale(1.04);
}

.about-page .leadership .ld-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.about-page .leadership .ld-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--ld-ink);
    margin: 0 0 4px;
    line-height: 1.2;
}

.about-page .leadership .ld-role {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ld-red);
}

.about-page .leadership .ld-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 16px 0 18px;
}

.about-page .leadership .ld-tags li {
    font-family: "Inter", sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ld-red-dark);
    background: var(--ld-soft);
    border: 1px solid rgba(224, 40, 40, .2);
    padding: 5px 10px;
    border-radius: 1000px;
}

/* Bio preview, expandable */
.about-page .leadership .ld-bio-wrap {
    position: relative;
    max-height: 9.6em;
    overflow: hidden;
    padding-top: 16px;
    border-top: 1px solid var(--ld-line);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #3a3a3e;
}

.about-page .leadership .ld-bio-wrap.is-clipped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.about-page .leadership .ld-card.is-open .ld-bio-wrap {
    max-height: none;
}

.about-page .leadership .ld-card.is-open .ld-bio-wrap::after {
    display: none;
}

.about-page .leadership .ld-bio {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.about-page .leadership .ld-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-page .leadership .ld-points li {
    position: relative;
    padding-left: 14px;
    font-family: inherit;
}

.about-page .leadership .ld-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    bottom: .3em;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 50, 50, 1), rgba(170, 18, 18, 1));
}

.about-page .leadership .ld-more {
    align-self: flex-start;
    margin-top: 12px;
    padding: 6px 0;
    border: 0;
    background: none;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ld-red);
    cursor: pointer;
}

.about-page .leadership .ld-more[hidden] {
    display: none;
}

.about-page .leadership .ld-more:hover {
    text-decoration: underline;
}

.about-page .leadership .ld-more:focus-visible {
    outline: 2px solid var(--ld-red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Touch devices: no hover lift / zoom */
@media (hover: none) {
    .about-page .leadership .ld-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--ld-line);
    }

    .about-page .leadership .ld-card:hover .ld-photo img {
        transform: none;
    }
}

/* Tablet: two equal columns that fill the width */
@media (max-width: 1024px) {
    .about-page .leadership {
        padding: 56px 20px 20px;
    }

    .about-page .leadership .ld-title {
        font-size: 34px;
    }

    .about-page .leadership .ld-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .about-page .leadership .ld-photo {
        aspect-ratio: 4 / 3.4;
    }
}

/* Mobile: compact horizontal card – photo beside name & role, details below */
@media (max-width: 640px) {
    .about-page .leadership {
        padding: 48px 16px 16px;
    }

    .about-page .leadership .ld-head {
        margin-bottom: 24px;
    }

    .about-page .leadership .ld-eyebrow {
        font-size: 11px;
    }

    .about-page .leadership .ld-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .about-page .leadership .ld-founder {
        padding: 8px 18px 8px 8px;
        gap: 12px;
        margin-bottom: 40px;
    }

    .about-page .leadership .ld-founder-photo {
        width: 52px;
        height: 52px;
        border-width: 2px;
    }

    .about-page .leadership .ld-founder-role {
        font-size: 10px;
    }

    .about-page .leadership .ld-founder-name {
        font-size: 18px;
    }

    .about-page .leadership .ld-group-block + .ld-group-block {
        margin-top: 40px;
    }

    .about-page .leadership .ld-group-title {
        gap: 12px;
        margin-bottom: 24px;
    }

    .about-page .leadership .ld-pill {
        padding: 10px 24px;
        font-size: 19px;
        box-shadow: 0 8px 20px rgba(170, 18, 18, .2);
    }

    .about-page .leadership .ld-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-page .leadership .ld-card {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 16px;
        align-items: center;
        padding: 16px;
        border-radius: 22px;
    }

    .about-page .leadership .ld-card-body {
        display: contents;
    }

    .about-page .leadership .ld-photo {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 88px;
        height: 88px;
        aspect-ratio: 1;
        border-radius: 18px;
    }

    .about-page .leadership .ld-photo::before {
        font-size: 28px;
    }

    .about-page .leadership .ld-name {
        grid-column: 2;
        align-self: end;
        font-size: 19px;
        margin: 0 0 2px;
    }

    .about-page .leadership .ld-role {
        grid-column: 2;
        align-self: start;
        font-size: 13px;
        line-height: 1.35;
    }

    .about-page .leadership .ld-tags,
    .about-page .leadership .ld-bio-wrap,
    .about-page .leadership .ld-more {
        grid-column: 1 / -1;
    }

    .about-page .leadership .ld-tags {
        margin: 14px 0;
    }

    .about-page .leadership .ld-tags li {
        font-size: 10px;
        padding: 4px 9px;
    }

    .about-page .leadership .ld-bio-wrap {
        font-size: 14px;
        padding-top: 14px;
        max-height: 8.6em;
    }

    .about-page .leadership .ld-more {
        justify-self: start;
        margin-top: 8px;
        padding: 8px 0;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .about-page .leadership .ld-card {
        grid-template-columns: 72px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px;
    }

    .about-page .leadership .ld-photo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .about-page .leadership .ld-name {
        font-size: 17px;
    }

    .about-page .leadership .ld-founder-name {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .leadership .ld-card,
    .about-page .leadership .ld-photo img {
        transition: none;
    }
}
