/* Page-specific adjustments to the shared school layout. */
.hopetown-page #hopetown-title em {
    display: block;
    margin-top: 8px;
}

.hopetown-page .kasiga-hero h1 {
    font-size: clamp(36px, 3.2vw, 60px);
    letter-spacing: -1.5px;
}

.hopetown-page .kasiga-hero-image {
    right: 1%;
    width: 51%;
    padding: 18px 0;
}

.hopetown-page .kasiga-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.hopetown-page .kasiga-facilities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1160px;
    margin: 0 auto;
    gap: 20px;
}

.hopetown-page .kasiga-facility-row > div {
    min-height: 230px;
    padding: 24px 18px;
    gap: 14px;
    border-radius: 48px;
}

.hopetown-page .kasiga-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 58px 20px;
    padding-top: 38px;
}

.hopetown-page .kasiga-steps:before { display: none; }

.hopetown-page .kasiga-steps li {
    flex: 0 0 calc((100% - 60px) / 4);
    min-height: 230px;
    padding: 48px 22px 26px;
}

.hopetown-page .kasiga-step-icon {
    top: -34px;
    width: 68px;
    height: 68px;
    border-width: 2px;
    font-size: 25px;
}

.hopetown-page .kasiga-fees > .container { max-width: 1160px; }

.hopetown-fee-copy {
    color: var(--ks-muted);
    font-size: 16px;
    line-height: 1.85;
    margin: 24px 0;
}

.hopetown-page .hopetown-fees-table th,
.hopetown-page .hopetown-fees-table td {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px 22px;
}
.hopetown-page .hopetown-fees-table th:first-child { width: 28%; }
.hopetown-page .hopetown-fees-table tbody th { white-space: normal; }

@media (max-width: 991px) {
    .hopetown-page .kasiga-hero-image {
        right: auto;
        align-self: center;
        width: 100%;
        max-width: 760px;
        height: auto;
        aspect-ratio: 1.6;
        padding: 0 20px;
        margin: 12px 0 20px;
    }
    .hopetown-page .kasiga-hero h1 { font-size: clamp(36px, 8vw, 64px); }
    .hopetown-page .kasiga-steps li { flex-basis: calc((100% - 20px) / 2); }
    .hopetown-page .kasiga-facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .hopetown-page .kasiga-steps li { flex-basis: 100%; min-height: 0; }
    .hopetown-page .kasiga-facilities { grid-template-columns: 1fr; }
    .hopetown-page .kasiga-facility-row > div {
        min-height: 110px;
        padding: 18px 22px;
        border-radius: 22px;
    }
    .hopetown-page .hopetown-fees-table th,
    .hopetown-page .hopetown-fees-table td { padding: 16px 12px; font-size: 16px; }
}

.hopetown-page .kasiga-hero-image img { object-fit: contain; border-radius: 0; }
.hopetown-page .kasiga-about-grid { align-items: stretch; }
.hopetown-page .hopetown-about-photo { min-height: 430px; }
.hopetown-page .hopetown-about-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 30px;
}
@media (max-width: 991px) {
    .hopetown-page .hopetown-about-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
.hopetown-page .kasiga-steps li { flex-basis: calc((100% - 40px) / 3); }
.hopetown-page .kasiga-steps p { font-size: 16px; line-height: 1.75; }
.hopetown-page .kasiga-eyebrow { font-size: 14px; }
.hopetown-page .hopetown-fees-table th:first-child { width: 65%; }
.hopetown-fee-copy, .hopetown-review-copy { text-align: center; font-size: 16px; }
@media (max-width: 991px) { .hopetown-page .kasiga-steps li { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 575px) { .hopetown-page .kasiga-steps li { flex-basis: 100%; } }

.hopetown-page .kasiga-faq-list summary {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.hopetown-page .kasiga-faq-list details p {
    font-size: 18px;
    line-height: 1.8;
    color: #4d5d70;
}

@media (max-width: 575px) {
    .hopetown-page .kasiga-faq-list summary { font-size: 18px; }
    .hopetown-page .kasiga-faq-list details p { font-size: 16px; }
}

.hopetown-page .kasiga-fees h3 { margin: 30px 0 18px; color: var(--ks-navy); font-size: 24px; text-align: center; }
.hopetown-page .kasiga-fees p, .hopetown-page .hopetown-reviews p { font-size: 18px; line-height: 1.8; color: #4d5d70; }
.hopetown-page .hopetown-reviews p { text-align: center; }
.hopetown-page .kasiga-curriculum-heading p { font-size: 18px; line-height: 1.85; }
.hopetown-page .kasiga-about-copy h2 { white-space: normal; }
@media (min-width: 992px) { .hopetown-page .kasiga-facilities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
