/*
    Theme Name: Accelerate Child
    Template: accelerate
    Version: 1.0.0
*/

@font-face {
    font-family: 'Epilogue';
    src: url('assets/fonts/epilogue.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Epilogue', sans-serif;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: 'Epilogue', sans-serif;
}

h1 {
    font-weight: 700;
}

h1.codexHeader {
    font-weight: 500;
    color: #599951;
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 500;
}

hr {
    border: 2px #599951 solid;
    margin-bottom: 50px;
}

#main {
    padding-top: 0;
}

.heroSlider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.heroTrack {
    display: flex;
    transition: transform 400ms ease;
}

.heroSlide {
    min-width: 100%;
}

.heroSlideImg {
    width: 100%;
    aspect-ratio: 1580 / 600;
    object-fit: cover;
    display: block;
}

.heroDots {
    position: absolute;
    left: 20px;
    right: auto;
    bottom: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.heroDot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.heroDot.is-active {
    background: rgba(255, 255, 255, 1);
}

.siteFooter {
    background: #6b6b6b;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footerHeading {
    margin-bottom: 1.25rem;
}

.footerInner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr 320px;
    gap: 2rem;
    align-items: stretch;
}

.footerColumn {
    min-width: 0;
}

.footerMenuColumn,
.footerImageColumn,
.footerQuoteColumn {
    background: transparent;
}

.footerHeading {
    margin: 0 0 1.25rem 0;
    font-size: 2rem;
    font-weight: 400;
    color: #2f2f2f;
}

.footerMenu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footerMenu li {
    margin-bottom: 0.6rem;
}

.footerMenu a {
    text-decoration: none;
    color: #2f2f2f;
    font-weight: 500;
    text-transform: uppercase;
}

.footerMenuColumn,
.footerQuoteBox {
    border-radius: 6px;
}

.footerMenuColumn {
    background: #e8e8e8;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footerImageColumn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footerImage {
    width: 50%;
    max-width: 50%;
    height: auto;
    display: flex;
    align-self: center;
    background: #fff;
    padding: 0.5rem;
    box-sizing: border-box;
}

.footerQuoteBox {
    background: #e8e8e8;
    padding: 2rem;
    height: 100%;
    box-sizing: border-box;
    font-style: italic;
    line-height: 1.5;
    color: #555;
}

.mainContent ul,
.mainContent li,
.applicationPage ul,
.applicationPage li {
    list-style-type: disc !important;
    margin-left: 1.5rem;
    padding-left: 1.25rem;
}

.partnerContainer {
    display: grid;
    grid-template-columns: 160px 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.partnerLogoBox {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.partnerLogoImg {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.partnerTextBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partnerTextBox p {
    line-height: 1.5;
}

.partnerMediaBox {
    display: flex;
}

.partnerSlideImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partnerSlider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.partnerTrack {
    display: flex;
    transition: transform 400ms ease;
    will-change: transform;
}

.partnerSlide {
    min-width: 100%;
}

.partnerLogoGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 20%));
    gap: 4rem;
    justify-content: center;
    align-items: center;
}

.partnerLogoItem {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnerLogoItem img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.partnerLogoLink img {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.partnerLogoLink:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.partnerSingle {
    padding: 2rem 0;
}

.partnerSingleHeader {
    margin-bottom: 1.5rem;
}

.partnerSingleTitle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 1.5rem 0;
}

.partnerSingleTitleLogo {
    width: 110px;
    max-width: 110px;
    max-height: 110px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.partnerSingleTitleText {
    display: block;
    line-height: 1.1;
}


.partnerSingleGrid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}

.partnerSingleText,
.partnerSingleMedia {
    min-width: 0;
}

.partnerSingleMedia {
    width: 100%;
    overflow: hidden;
}

.partnerSingleMedia img,
.partnerSingleImage,
.partnerSlideImg {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.partnerSingleNav {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.partnerExternalLink {
    margin-top: 1.5rem;
}

.partnerExternalLink a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #77cc6d;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.partnerExternalLink a:hover {
    background: #599951;
}

.partnerSlider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.partnerTrack {
    display: flex;
    transition: transform 400ms ease;
    will-change: transform;
}

.partnerSlide {
    min-width: 100%;
}

.partnerSlideImg {
    width: 100%;
    height: auto;
    display: block;
}


.partnerDots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.partnerDot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.partnerDot.is-active {
    background: rgba(255, 255, 255, 1);
}

.recentWorkSingle {
    padding: 2rem 0;
}

.recentWorkHeader {
    margin-bottom: 1.5rem;
}

.recentWorkGrid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.recentWorkText,
.recentWorkMedia {
    min-width: 0;
}

.recentWorkStudent {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #599951;
}

.recentWorkInfo,
.recentWorkMainText {
    margin-bottom: 1.5rem;
}

.recentWorkMedia {
    width: 100%;
    overflow: hidden;
}

.recentWorkFeatureImage {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.supervisorGroupHeading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.supervisorKeywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.75rem;
}

.supervisorKeywordPill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f0f0f0;
    font-size: 0.875rem;
    line-height: 1;
}

.partnerHeadingLogo {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.partnerHeadingText {
    line-height: 1.2;
}

.supervisorGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.supervisorCard {
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 1.5rem;
    border-radius: 12px;
}

.supervisorImg {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.supervisorName {
    margin: 0 0 0.25rem 0;
}

.supervisorRole,
.supervisorInstitution {
    margin: 0 0 0.25rem 0;
    opacity: 0.85;
}

.supervisorInfo p {
    margin: 0.75rem 0 0 0;
}

.projectGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.projectCard {
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    border-radius: 12px;
}

.projectImg {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    margin-bottom: 0.9rem;
}

.projectStudent {
    margin: 0 0 0.5rem 0;
}

.projectInfo p {
    margin: 0.5rem 0 0 0;
}

.applicationPage {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.applicationCard {
    border: 2px solid #7a7a7a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    box-sizing: border-box;
}

.applicationCard h2,
.applicationCard h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.applicationTopRow {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.applicationProposalCard,
.applicationDownloadCard {
    margin-bottom: 0;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.applicationDownloadCard {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.applicationInterviewCard,
.applicationManagementCard {
    min-height: 220px;
}

.applicationJacsCard {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

.docDownloadButton {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.3rem;
    background: #599951;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: background 0.2s ease;
}

.docDownloadButton i {
    font-size: 1.2rem;
}

.docDownloadButton:hover {
    background: #41753d;
}

.docDownloadButton:hover {
    background: #41753d;
}

.docIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #599951;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.docText {
    line-height: 1.2;
}



@media (max-width: 1024px) {
    .partnerLogoGrid {
        grid-template-columns: repeat(4, 1fr);
    }

    .partnerContainer {
        grid-template-columns: 120px 1fr 260px;
    }
}

@media (max-width: 900px) {
    .supervisorGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projectGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footerInner {
        grid-template-columns: 1fr;
    }

    .footerQuoteBox,
    .footerImage {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .partnerSingleGrid {
        grid-template-columns: 1fr;
    }

    .partnerSingleTitle {
        flex-direction: column;
        align-items: flex-start;
    }

    .partnerSingleText,
    .partnerSingleMedia {
        flex: 0 0 100%;
    }

    .partnerContainer {
        grid-template-columns: 1fr;
    }

    .partnerLogoBox,
    .partnerMediaBox {
        max-width: 320px;
    }

    .partnerContainer {
        flex-direction: column;
    }

    .partnerContainer p,
    .partnerContainer img {
        flex: 0 0 100%;
    }

    .applicationTopRow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .supervisorGrid {
        grid-template-columns: 1fr;
    }

    .projectGrid {
        grid-template-columns: 1fr;
    }

    .partnerLogoGrid {
        grid-template-columns: 1fr;
    }

    .recentWorkGrid {
        grid-template-columns: 1fr;
    }

}