@charset "utf-8";

/* ====================================================================================
   CTA Buttons (.main_contact)
==================================================================================== */

#contents ul.main_contact {
    margin: 70px auto 0;
    display: flex;
    justify-content: center;
    gap: 0 30px;
}

#contents ul.main_contact li a {
    height: 80px;
    padding: 0 45px;
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: 0.2em;
}

#contents ul.main_contact li.mail a {
    background-color: var(--color-cta-coral);
}

#contents ul.main_contact li.document a {
    background-color: var(--color-cta-teal);
}

#contents ul.main_contact li a::before {
    content: "";
    margin-right: 15px;
    display: inline-block;
}

#contents ul.main_contact li.mail a::before {
    width: 33px;
    height: 22px;
    background: url(../images/common/icon_mail.svg) left top / 100% auto no-repeat;
}

#contents ul.main_contact li.document a::before {
    width: 25px;
    height: 28px;
    background: url(../images/common/icon_paper.svg) left top / 100% auto no-repeat;
}

@media screen and (max-width: 768px) {
    #contents ul.main_contact {
        margin: 5vh auto 0;
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        gap: 2vh 0;
    }

    #contents ul.main_contact li a {
        height: 9vh;
        padding: 0 5vw;
        font-size: clamp(18px, 4.4vw, 22px);
        font-weight: 500;
        line-height: 1.0;
        letter-spacing: 0.2em;
    }

    #contents ul.main_contact li a::before {
        margin-right: 3vw;
    }

    #contents ul.main_contact li.mail a::before {
        width: 7vw;
        height: 3vh;
        background: url(../images/common/icon_mail.svg) left center / 100% auto no-repeat;
    }

    #contents ul.main_contact li.document a::before {
        width: 5vw;
        height: 4vh;
        background: url(../images/common/icon_paper.svg) left center / 100% auto no-repeat;
    }
}

/* ====================================================================================
   Accordion (.details)
==================================================================================== */

.details {
    margin-bottom: 20px;
}

.details-summary {
    position: relative;
    display: block;
    padding: 15px 30px;
    background: #fff;
    box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 0.3);
}

.details-summary:hover {
    cursor: pointer;
}

.details-summary .btn {
    position: absolute;
    top: 37%;
    right: 30px;
    width: 18px;
    height: 18px;
    transform-origin: center center;
    transition-duration: 0.2s;
}

.details-summary .btn:before,
.details-summary .btn:after {
    content: "";
    background-color: var(--color-cta-teal);
    border-radius: 10px;
    width: 18px;
    height: 4px;
    position: absolute;
    top: 7px;
    left: 0;
    transform-origin: center center;
}

.details-summary .btn:before {
    width: 4px;
    height: 18px;
    top: 0;
    left: 7px;
}

.details[open] > .details-summary .btn {
    transform: rotate(-180deg);
}

.details[open] > .details-summary .btn:before {
    content: none;
}

.details-summary::-webkit-details-marker {
    display: none;
}

.details-content {
    padding: 30px;
    background: var(--color-bg-light);
}

.details-content table {
    width: 100%;
    margin-top: 30px;
    white-space: normal;
}

.details-content table tr th {
    padding: 10px 35px;
    background: var(--color-bg-table-header);
    border-right: 10px solid var(--color-bg-light);
    border-bottom: 10px solid var(--color-bg-light);
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
}

.details-content table tr td {
    padding: 10px 35px;
    background: #fff;
    border-bottom: 10px solid var(--color-bg-light);
    font-size: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.details-content>ul.main_contact {
    margin: 50px auto 30px !important;
}

@media screen and (max-width: 900px) {
    .details-summary {
        padding: 20px;
    }

    .details-content {
        padding: 20px;
    }

    .details-content table tr th {
        display: block;
        width: 100%;
        padding: 10px 20px;
        border-right: none;
        border-bottom: none;
        font-size: 3vw;
    }

    .details-content table tr td {
        display: block;
        width: 100%;
        padding: 10px 20px;
        border-bottom: none;
        font-size: 3vw;
    }
}

@media screen and (max-width: 768px) {
    .details-summary {
        padding-right: 56px;
    }

    .details-summary .btn {
        top: 50%;
        right: 18px;
        transform: translateY(-50%);
    }

    .details[open] > .details-summary .btn {
        transform: translateY(-50%) rotate(-180deg);
    }
}

/* ====================================================================================
   Contact Cards Alignment
==================================================================================== */

.contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card .contact-cta {
    margin-top: auto;
}

/* ====================================================================================
   Two-Column Box Layout
==================================================================================== */

.content-box {
    display: flex;
    justify-content: space-between;
}

.content-box p.img {
    width: max(550px, 42%);
    margin: 0 min(40px, 4%) 0 0;
}

.content-box .txt {
    width: max(750px, 53%);
}

.content-box .txt ul {
    margin: 10px 0 40px;
    padding: 0 0 0 1em;
}

.content-box .txt ul li {
    padding: 0 0 0 1.3em;
    text-indent: -1.3em;
}

.content-box .txt ul li span {
    margin-right: 0.3em;
    color: var(--color-cta-teal);
}

@media screen and (max-width: 900px) {
    .content-box {
        display: block;
    }

    .content-box p.img {
        width: 80%;
        margin: 0 auto 4vh;
    }

    .content-box .txt {
        width: auto;
    }

    .content-box .txt ul {
        margin: 1vh 0 4vh;
        padding: 0;
    }
}

/* ====================================================================================
   Tables (Tuition/General)
==================================================================================== */

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 12px 20px;
    background: var(--color-bg-table-header);
    border: 1px solid #bbb;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}

.data-table td {
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #bbb;
    font-size: 18px;
}

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

    .data-table th,
    .data-table td {
        padding: 10px 15px;
        font-size: clamp(13px, 3.6vw, 15px);
    }
}

/* ====================================================================================
   Link Hub / Reading Cards
==================================================================================== */

.link-hub {
    margin-top: 70px;
    padding: 40px;
    background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
    border: 1px solid #efe5dd;
    border-radius: 24px;
    box-shadow: 0 22px 45px rgba(140, 117, 97, 0.08);
}

.link-hub-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(135, 193, 185, 0.14);
    color: var(--color-cta-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.link-hub-title {
    margin: 18px 0 12px !important;
    text-align: left !important;
    font-size: 30px !important;
    line-height: 1.5 !important;
}

.link-hub-lead {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.9;
}

.link-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.link-card {
    display: block;
    height: 100%;
    padding: 24px 24px 22px;
    background: #fff;
    border: 1px solid #efe5dd;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(140, 117, 97, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.link-card:hover {
    filter: none;
    transform: translateY(-4px);
    border-color: rgba(135, 193, 185, 0.55);
    box-shadow: 0 20px 38px rgba(140, 117, 97, 0.12);
}

.link-card-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-cta-coral);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.link-card-title {
    margin-bottom: 10px;
    color: var(--color-text-strong);
    font-size: 20px;
    line-height: 1.6;
}

.link-card-text {
    font-size: 14px;
    line-height: 1.9;
}

.link-card-more {
    margin-top: 18px;
    color: var(--color-cta-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.link-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.link-hub-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    padding: 16px 28px;
    border-radius: 999px;
    background: var(--color-cta-coral);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.link-hub-action.secondary {
    background: var(--color-cta-teal);
}

@media screen and (max-width: 768px) {
    .link-hub {
        margin-top: 7vh;
        padding: 7vw 5vw;
        border-radius: 18px;
    }

    .link-hub-title {
        font-size: clamp(22px, 5vw, 28px) !important;
    }

    .link-hub-lead {
        font-size: clamp(14px, 3.5vw, 15px);
        line-height: 1.8;
    }

    .link-card-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .link-card {
        padding: 6vw 5vw;
        border-radius: 16px;
    }

    .link-card-title {
        font-size: clamp(18px, 4.3vw, 21px);
    }

    .link-card-text {
        font-size: clamp(13px, 3.4vw, 14px);
    }

    .link-hub-actions {
        gap: 10px;
    }

    .link-hub-action {
        width: 100%;
        min-width: 0;
        padding: 15px 20px;
        font-size: clamp(14px, 3.5vw, 15px);
    }
}
