.academy-page,
.academy-page * {
    box-sizing: border-box;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
}

.academy-page {
    width: 100%;
    padding: 24px 0 30px;
    background: #ffffff;
    color: #111111;
}

.academy-shell {
    width: calc(100% - 40px);
    max-width: calc(var(--content-width) - 40px);
    margin: 0 auto;
}

.academy-introduction-strip,
.academy-engagement-strip {
    width: 100%;
    border-bottom: 4px solid #d4af37;
    background: var(--ceig-navy);
    color: #ffffff;
}

.academy-introduction-strip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 15px 22px 16px;
}

.academy-introduction-strip h2,
.academy-introduction-strip p,
.academy-engagement-strip h2 {
    margin: 0;
    color: inherit;
    font-size: 13pt;
    line-height: 1.35;
}

.academy-introduction-strip h2,
.academy-engagement-strip h2,
.academy-launch-date {
    font-weight: 700;
}

.academy-introduction-strip h2 {
    text-align: center;
}

.academy-introduction-strip > p:not(.academy-launch-date) {
    font-weight: 400;
    text-align: center;
    hyphens: none;
}

.academy-launch-date {
    color: #d4af37 !important;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.academy-hero-image,
.academy-feature-visual {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
}

.academy-hero-image {
    width: 100%;
    margin-top: 20px;
    aspect-ratio: 2200 / 360;
}

.academy-hero-image img,
.academy-feature-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.academy-feature-list {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.academy-feature-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    min-width: 0;
}

.academy-feature-row-card-first .academy-feature-visual {
    grid-column: 2;
    grid-row: 1;
}

.academy-feature-row-card-first .academy-feature-card {
    grid-column: 1;
    grid-row: 1;
}

.academy-feature-visual {
    min-width: 0;
    aspect-ratio: 1100 / 384;
}

.academy-feature-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 18px 24px;
    background: var(--ceig-navy);
    color: #ffffff;
}

.academy-feature-card h2 {
    width: 100%;
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.academy-feature-card h2 span {
    display: inline-block;
    max-width: 100%;
    padding-bottom: 5px;
    border-bottom: 4px solid #d4af37;
    color: inherit;
    font: inherit;
}

.academy-feature-card p {
    width: 100%;
    margin: 0;
    color: #ffffff;
    font-size: 13pt;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: none;
}

.academy-engagement-strip {
    margin-top: 20px;
    padding: 12px 18px;
}

.academy-engagement-strip h2 {
    text-align: center;
}

.academy-enquiry-section {
    width: 100%;
    padding: 18px 20px 20px;
    border: 1px solid rgba(0, 32, 91, 0.22);
    border-top: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 22, 62, 0.08);
}

.academy-enquiry-introduction {
    margin: 0 0 16px;
    color: var(--ceig-navy);
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.academy-enquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
    width: 100%;
}

.academy-form-field {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.academy-form-field-full {
    grid-column: 1 / -1;
}

.academy-form-field label {
    color: #111111;
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.3;
}

.academy-enquiry-form input[type="text"],
.academy-enquiry-form input[type="email"],
.academy-enquiry-form select,
.academy-enquiry-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #bfc9d8;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    font-size: 13pt;
    line-height: 1.35;
}

.academy-enquiry-form input[type="text"],
.academy-enquiry-form input[type="email"],
.academy-enquiry-form select {
    min-height: 42px;
}

.academy-enquiry-form textarea {
    min-height: 126px;
    resize: vertical;
}

.academy-enquiry-form input:focus,
.academy-enquiry-form select:focus,
.academy-enquiry-form textarea:focus {
    border-color: var(--ceig-navy);
    outline: 3px solid rgba(212, 175, 55, 0.4);
    outline-offset: 1px;
}

.academy-announcements {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    color: #111111;
    font-size: 13pt;
    line-height: 1.4;
    text-align: center;
}

.academy-announcements input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--ceig-navy);
}

.academy-form-actions {
    display: flex;
    justify-content: center;
}

.academy-form-actions button {
    min-width: 190px;
    padding: 9px 20px;
    border: 2px solid #d4af37;
    background: var(--ceig-navy);
    color: #ffffff;
    font-size: 13pt;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.academy-form-actions button:hover,
.academy-form-actions button:focus-visible {
    background: #00327f;
    box-shadow: 0 8px 18px rgba(0, 22, 62, 0.2);
}

.academy-form-actions button:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}

.academy-privacy-note {
    margin: 0;
    color: #111111;
    font-size: 11pt;
    line-height: 1.4;
    text-align: center;
}

.academy-privacy-note a {
    color: var(--ceig-navy);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.academy-form-message {
    width: 100%;
    margin: 0 0 15px;
    padding: 10px 13px;
    border: 1px solid;
    font-size: 11pt;
    line-height: 1.45;
}

.academy-form-message p,
.academy-form-message ul,
.academy-form-message li {
    font-size: 11pt;
}

.academy-form-message p {
    margin: 0 0 5px;
    font-weight: 700;
}

.academy-form-message ul {
    margin: 0;
    padding-left: 20px;
}

.academy-form-message-success {
    border-color: #7fa88a;
    background: #f2f8f3;
    color: #173d22;
}

.academy-form-message-error {
    border-color: #bb8585;
    background: #fff5f5;
    color: #6a1818;
}

.academy-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 980px) {
    .academy-introduction-strip {
        gap: 8px;
    }

    .academy-launch-date {
        text-align: center;
        white-space: normal;
    }

    .academy-feature-card {
        padding: 16px 20px;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    .academy-feature-visual {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        aspect-ratio: auto;
    }

    .academy-feature-visual img {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .academy-page {
        padding-top: 18px;
    }

    .academy-shell {
        width: calc(100% - 24px);
    }

    .academy-feature-row {
        grid-template-columns: 1fr;
    }

    .academy-feature-row .academy-feature-visual,
    .academy-feature-row-card-first .academy-feature-visual {
        grid-column: 1;
        grid-row: 1;
    }

    .academy-feature-row .academy-feature-card,
    .academy-feature-row-card-first .academy-feature-card {
        grid-column: 1;
        grid-row: 2;
    }

    .academy-feature-card {
        min-height: 180px;
    }

    .academy-enquiry-form {
        grid-template-columns: 1fr;
    }

    .academy-form-field-full {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .academy-introduction-strip,
    .academy-engagement-strip {
        padding-right: 13px;
        padding-left: 13px;
    }

    .academy-feature-card,
    .academy-enquiry-section {
        padding-right: 15px;
        padding-left: 15px;
    }

    .academy-form-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .academy-form-actions button {
        transition: none;
    }
}
