/* =========================================
   ALEXANDER CHRISTIAN ACADEMY
   ========================================= */

:root {
    --blue: #123b70;
    --dark-blue: #082747;
    --silver: #c7ccd1;
    --light-gray: #f5f6f7;
    --gray: #666666;
    --white: #ffffff;
}


/* BASIC */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: #222;
    background: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
.school-title {
    font-family: "Montserrat", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    background: var(--white);
    border-bottom: 4px solid var(--blue);
}

.header-container {
    max-width: 1200px;
    min-height: 150px;
    margin: auto;
    padding: 15px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO / SCHOOL NAME */

.school-brand {
    display: flex;
    align-items: center;
    gap: 30px;
}

.school-logo {
    width: 85px;
    height: 105px;
    object-fit: contain;
}

.school-title {
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: 700;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    padding: 10px 0;

    color: #111;
    font-size: 14px;
    font-weight: 600;

    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}


/* =========================================
   HOME HERO
   ========================================= */


.home-hero {
    min-height: 430px;

    background:
        linear-gradient(
            rgba(8, 39, 71, 0.48),
            rgba(8, 39, 71, 0.48)
        ),
        #71879c;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: var(--white);
    
    
}

.hero-content {
    padding: 70px 25px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 14px;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.hero-button {
    display: inline-block;

    padding: 11px 24px;

    background: var(--white);
    color: var(--dark-blue);

    font-weight: 600;
    font-size: 14px;
}

.hero-button:hover {
    background: var(--silver);
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
    padding: 75px 25px;
}

.section-container {
    max-width: 1100px;
    margin: auto;
}


/* CENTERED INTRO */

.simple-welcome {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.simple-welcome h2 {
    color: var(--dark-blue);
    font-size: 34px;
    margin-bottom: 16px;
}

.simple-welcome > p {
    color: var(--gray);
    font-size: 16px;
}

.title-line {
    width: 55px;
    height: 3px;

    margin: 0 auto 24px;

    background: var(--silver);
}


/* =========================================
   QUICK LINKS
   ========================================= */

.quick-section {
    padding: 60px 25px;
    background: var(--light-gray);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.quick-item {
    padding: 35px 40px;

    background: var(--white);

    border-right: 1px solid #dddddd;
}

.quick-item:last-child {
    border-right: none;
}

.quick-item h3 {
    color: var(--dark-blue);
    font-size: 20px;
    margin-bottom: 10px;
}

.quick-item p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.quick-item span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.quick-item:hover h3,
.quick-item:hover span {
    color: #1d5797;
}


/* =========================================
   NEWS & EVENTS
   ========================================= */

.home-updates {
    margin-top: 45px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--silver);
}

.home-update {
    padding: 35px 45px;
}

.home-update:first-child {
    border-right: 1px solid var(--silver);
}

.update-label {
    color: var(--blue);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 15px;
}

.home-update h3 {
    color: var(--dark-blue);
    font-size: 20px;
    margin-bottom: 8px;
}

.home-update p {
    color: var(--gray);
    margin-bottom: 18px;
}

.home-update > a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: var(--dark-blue);
    color: var(--white);
}

.footer-content {
    max-width: 1100px;
    min-height: 120px;

    margin: auto;
    padding: 30px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-content strong {
    font-family: "Montserrat", Arial, sans-serif;
}

.footer-content p {
    font-size: 12px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 850px) {

    .header-container {
        min-height: auto;
        flex-direction: column;
        gap: 15px;
    }

    .school-brand {
        gap: 15px;
    }

    .school-logo {
        width: 65px;
        height: 80px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .home-hero {
        min-height: 350px;
        
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .quick-grid,
    .home-updates {
        grid-template-columns: 1fr;
    }

    .quick-item {
        border-right: none;
        border-bottom: 1px solid #dddddd;
    }

    .home-update:first-child {
        border-right: none;
        border-bottom: 1px solid var(--silver);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
/* =========================================
   NEWS & EVENTS PAGE
   ========================================= */

.page-heading {
    background: #123b70;
    color: white;
    text-align: center;
    padding: 55px 20px;
}

.page-heading h1 {
    font-size: 36px;
    margin-bottom: 5px;
}

.page-heading p {
    font-size: 14px;
}


/* NEWS AREA */

.news-page-section {
    background: #f5f6f7;
    padding: 65px 25px;
}

.news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.news-heading h2 {
    color: #082747;
    font-size: 28px;
}

.calendar-link {
    color: #123b70;
    font-size: 14px;
    font-weight: 600;
}


/* BLOG POSTS */

.news-list {
    background: white;
}

.news-item {
    padding: 30px 35px;
    border-bottom: 1px solid #dddddd;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date-text {
    color: #123b70;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.news-item h3 {
    color: #082747;
    font-size: 21px;
    margin-bottom: 8px;
}

.news-item p {
    color: #666666;
}


/* CALENDAR CALLOUT */

.calendar-callout {
    padding: 50px 25px;
    background: #082747;
    color: white;
}

.calendar-callout-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.calendar-callout h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.calendar-callout p {
    font-size: 14px;
    opacity: .85;
}

.calendar-button {
    background: white;
    color: #082747;
    padding: 11px 22px;
    font-weight: 600;
    white-space: nowrap;
}


/* MOBILE */

@media (max-width: 700px) {

    .news-heading,
    .calendar-callout-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-heading h1 {
        font-size: 30px;
    }
}
/* =========================================
   ABOUT PAGE
   ========================================= */

.about-section {
    padding: 65px 25px;
}

.light-section {
    background: #f5f6f7;
}

.about-content {
    max-width: 800px;
}

.about-content h2 {
    color: #082747;
    font-size: 30px;
    margin-bottom: 15px;
}

.about-content p {
    color: #666666;
    margin-bottom: 16px;
}

.left-line {
    margin-left: 0;
    margin-right: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 30px;
    border-top: 3px solid #123b70;
}

.value-item h3 {
    color: #082747;
    margin-bottom: 10px;
}

.value-item p {
    color: #666666;
    font-size: 14px;
}

@media (max-width: 700px) {

    .values-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   ACADEMICS PAGE
   ========================================= */

.academics-section {
    padding: 65px 25px;
}

.academics-content {
    max-width: 800px;
}

.academics-content h2 {
    color: #082747;
    font-size: 30px;
    margin-bottom: 15px;
}

.academics-content p {
    color: #666666;
    margin-bottom: 16px;
}


/* PROGRAM BOXES */

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.program-item {
    background: white;
    padding: 30px;
    border-top: 3px solid #123b70;
}

.program-item h3 {
    color: #082747;
    margin-bottom: 12px;
}

.program-item p {
    color: #666666;
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 700px) {

    .program-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   ADMISSIONS PAGE
   ========================================= */

.admissions-section {
    padding: 65px 25px;
}

.admissions-content {
    max-width: 800px;
}

.admissions-content h2 {
    color: #082747;
    font-size: 30px;
    margin-bottom: 15px;
}

.admissions-content p {
    color: #666666;
    margin-bottom: 16px;
}


/* ADMISSIONS STEPS */

.admissions-steps {
    margin-top: 45px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.admission-step {
    background: white;
    padding: 28px;
}

.step-number {
    display: block;

    color: #123b70;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;

    margin-bottom: 15px;
}

.admission-step h3 {
    color: #082747;
    font-size: 18px;
    margin-bottom: 10px;
}

.admission-step p {
    color: #666666;
    font-size: 14px;
}


/* BOTTOM CONTACT AREA */

.admissions-contact {
    background: #123b70;
    color: white;
    padding: 45px 25px;
}

.admissions-contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.admissions-contact h2 {
    font-size: 26px;
    margin-bottom: 5px;
}

.admissions-contact p {
    font-size: 14px;
}

.admissions-button {
    background: white;
    color: #082747;

    padding: 11px 22px;

    font-weight: 600;
    white-space: nowrap;
}


/* MOBILE */

@media (max-width: 800px) {

    .admissions-steps {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .admissions-steps {
        grid-template-columns: 1fr;
    }

    .admissions-contact-content {
        flex-direction: column;
        align-items: flex-start;
    }

}
/* =========================================
   NEWS & EVENTS PAGE
   ========================================= */


/* PAGE TITLE */

.page-heading {
    background: #123b70;
    color: white;
    text-align: center;
    padding: 55px 20px;
}

.page-heading h1 {
    font-size: 36px;
    margin-bottom: 5px;
}

.page-heading p {
    font-size: 14px;
}


/* =========================================
   NEWS / BLOG AREA
   ========================================= */

.news-page-section {
    background: #f5f6f7;
    padding: 65px 25px;
}

.news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.news-heading h2 {
    color: #082747;
    font-size: 28px;
}

.calendar-link {
    color: #123b70;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.calendar-link:hover {
    text-decoration: underline;
}


/* BLOG POSTS */

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.news-item {
    background: white;
    padding: 30px;
    border-top: 3px solid #123b70;
}


/* BLOG IMAGE PLACEHOLDER */

.placeholder-image {
    width: 100%;
    height: 220px;

    background: #e5e7e9;
    color: #777;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 600;
}


/* REAL SANITY BLOG IMAGE LATER */

.news-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}


/* BLOG DATE */

.news-date-text {
    color: #123b70;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}


/* BLOG TITLE */

.news-item h3 {
    color: #082747;
    font-size: 21px;
    margin-bottom: 10px;
}


/* BLOG DESCRIPTION */

.news-item p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 15px;
}


/* READ MORE */

.news-item a {
    color: #123b70;
    font-size: 13px;
    font-weight: 600;
}

.news-item a:hover {
    text-decoration: underline;
}


/* =========================================
   EVENTS AREA
   ========================================= */

.events-preview {
    padding: 70px 25px;
    background: white;
}


/* EVENTS LIST */

.events-list {
    max-width: 900px;
    margin: 40px auto 0;
}


/* SINGLE EVENT */

.event-item {
    display: flex;
    align-items: flex-start;

    gap: 25px;

    padding: 25px 0;

    border-bottom: 1px solid #dddddd;
}

.event-item:first-child {
    border-top: 1px solid #dddddd;
}


/* EVENT DATE BOX */

.event-date {
    width: 80px;
    min-width: 80px;

    background: #123b70;
    color: white;

    text-align: center;

    padding: 10px 5px;
}


/* MONTH */

.event-month {
    display: block;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* DAY */

.event-day {
    display: block;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;

    line-height: 1.2;
}


/* EVENT DETAILS */

.event-details {
    flex: 1;
    min-width: 0;
}

.event-details h3 {
    color: #082747;
    font-size: 20px;
    margin-bottom: 7px;
}

.event-details p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 5px;
}


/* =========================================
   CALENDAR BUTTON
   ========================================= */

.calendar-center {
    text-align: center;
    margin-top: 40px;
}

.calendar-button {
    display: inline-block;

    background: #123b70;
    color: white;

    padding: 12px 24px;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}

.calendar-button:hover {
    background: #082747;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 750px) {

    .news-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .event-item {
        gap: 15px;
    }

    .event-date {
        width: 65px;
        min-width: 65px;
    }

    .page-heading h1 {
        font-size: 30px;
    }

}


@media (max-width: 450px) {

    .event-item {
        flex-direction: column;
    }

    .event-date {
        width: 70px;
    }

}
/* =========================================
   CONTACT PAGE
   ========================================= */

.contact-section {
    background: #f5f6f7;
    padding: 65px 25px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}


/* =========================================
   SCHOOL CONTACT INFORMATION
   ========================================= */

.contact-info h2,
.contact-form-area h2 {
    color: #082747;
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-detail {
    margin-bottom: 28px;
}

.contact-detail h3 {
    color: #082747;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-detail p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 3px;
}

.staff-link {
    display: inline-block;
    margin-top: 8px;

    color: #123b70;
    font-size: 14px;
    font-weight: 600;
}

.staff-link:hover {
    text-decoration: underline;
}


/* =========================================
   CONTACT FORM
   ========================================= */

.contact-form-area {
    background: white;
    padding: 35px;
    border-top: 4px solid #123b70;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #082747;
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    display: block;

    width: 100%;
    padding: 11px 12px;

    border: 1px solid #cccccc;
    background: white;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #123b70;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}


/* SEND BUTTON */

.contact-button {
    display: inline-block;

    background: #123b70;
    color: white;

    border: none;

    padding: 12px 25px;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.contact-button:hover {
    background: #082747;
}


/* FORM NOTE */

.form-note {
    margin-top: 15px;

    color: #888888;
    font-size: 12px;
}


/* =========================================
   MAP
   ========================================= */

.map-section {
    padding: 60px 25px;
    background: white;
}

.map-placeholder {
    width: 100%;
    min-height: 300px;

    background: #e5e7e9;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


@media (max-width: 500px) {

    .contact-section {
        padding: 45px 20px;
    }

    .contact-form-area {
        padding: 25px 20px;
    }

    .contact-info h2,
    .contact-form-area h2 {
        font-size: 24px;
    }

    .contact-button {
        width: 100%;
    }

}
/* =========================================
   STAFF & FACULTY PAGE
   ========================================= */

.staff-section {
    background: #f5f6f7;
    padding: 65px 25px;
}


/* STAFF GRID */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* STAFF CARD */

.staff-card {
    background: white;
    border-top: 3px solid #123b70;
}


/* STAFF PHOTO */

.staff-photo {
    width: 100%;
    height: 260px;

    background: #e5e7e9;
    color: #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 600;
}


/* REAL SANITY PHOTO LATER */

.staff-photo {
    width: 100%;
    height: 320px;

    background: #e5e7e9;
    color: #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 600;
}
.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}


/* STAFF INFORMATION */

.staff-info {
    padding: 25px;
}

.staff-info h2 {
    color: #082747;
    font-size: 20px;
    margin-bottom: 5px;
}


/* POSITION */

.staff-position {
    color: #123b70;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}


/* GRADE / SUBJECT */

.staff-subject {
    color: #777777;
    font-size: 13px;
    margin-bottom: 15px;
}


/* BIO */

.staff-bio {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* SEND MESSAGE BUTTON */

.staff-message-button {
    display: inline-block;

    background: #123b70;
    color: white;

    padding: 10px 18px;

    font-size: 13px;
    font-weight: 600;
}

.staff-message-button:hover {
    background: #082747;
}


/* =========================================
   BOTTOM CONTACT SECTION
   ========================================= */

.staff-contact-section {
    background: #082747;
    color: white;
    padding: 45px 25px;
}

.staff-contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.staff-contact-content > div {
    flex: 1;
    min-width: 0;
}

.staff-contact-content h2 {
    font-size: 25px;
    margin-bottom: 5px;
}

.staff-contact-content p {
    font-size: 14px;
    opacity: 0.85;
}


/* CONTACT BUTTON */

.staff-contact-button {
    display: inline-block;

    background: white;
    color: #082747;

    padding: 11px 22px;

    font-size: 14px;
    font-weight: 600;

    flex-shrink: 0;
    white-space: nowrap;
}

.staff-contact-button:hover {
    background: #e5e7e9;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-photo {
        height: 300px;
    }

    .staff-contact-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .staff-contact-button {
        margin-top: 10px;
    }

}
/* =========================================
   SANITY HOMEPAGE CONTENT
   ========================================= */

.home-news-image,
.home-event-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}


/* ANNOUNCEMENTS */

.announcement-section {
    background: #f5f6f7;
    padding: 25px;
}

.announcement-item {
    background: white;
    border-left: 4px solid #123b70;
    padding: 20px 25px;
    margin-bottom: 15px;
}

.announcement-item:last-child {
    margin-bottom: 0;
}

.announcement-item h2 {
    color: #082747;
    font-size: 20px;
    margin-bottom: 8px;
}

.announcement-item p {
    color: #666666;
}

.announcement-item.important {
    border-left-width: 7px;
}

.announcement-button,
.event-link {
    display: inline-block;
    margin-top: 12px;
    color: #123b70;
    font-weight: 600;
}
/* =========================================
   SCHOOL CALENDAR PAGE
   ========================================= */

.calendar-section {
    background: #f5f6f7;
    padding: 65px 25px;
}

.calendar-heading {
    margin-bottom: 35px;
}

.calendar-heading h2 {
    color: #082747;
    font-size: 28px;
    margin-bottom: 12px;
}


/* =========================================
   EVENT LIST
   ========================================= */

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* INDIVIDUAL EVENT */

.calendar-event {
    background: white;

    display: grid;
    grid-template-columns: 90px 1fr auto;

    gap: 25px;
    align-items: start;

    padding: 25px;

    border-left: 4px solid #123b70;
}


/* =========================================
   DATE BOX
   ========================================= */

.calendar-date-box {
    background: #123b70;
    color: white;

    width: 80px;

    text-align: center;
    padding: 12px 5px;
}

.calendar-month {
    display: block;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.calendar-day {
    display: block;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;

    line-height: 1.2;
}


/* =========================================
   EVENT INFORMATION
   ========================================= */

.calendar-event-content {
    min-width: 0;
}

.calendar-full-date {
    color: #123b70;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 7px;
}

.calendar-event-content h3 {
    color: #082747;

    font-size: 22px;

    margin-bottom: 8px;
}

.calendar-location {
    color: #555555;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 10px;
}

.calendar-description {
    color: #666666;

    font-size: 14px;
    line-height: 1.6;

    margin-bottom: 12px;
}


/* =========================================
   EVENT IMAGE
   ========================================= */

.calendar-event-image {
    width: 220px;
    max-width: 220px;
}

.calendar-event-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 250px;

    object-fit: contain;
}


/* =========================================
   EVENT BUTTON
   ========================================= */

.calendar-event-button {
    display: inline-block;

    background: #123b70;
    color: white;

    padding: 9px 17px;

    margin-top: 5px;

    font-size: 13px;
    font-weight: 600;
}

.calendar-event-button:hover {
    background: #082747;
}


/* =========================================
   FEATURED EVENT
   ========================================= */

.calendar-event.featured-event {
    border-left-width: 7px;
}


/* =========================================
   NO EVENTS MESSAGE
   ========================================= */

.calendar-empty {
    background: white;

    padding: 40px;

    text-align: center;
}

.calendar-empty h3 {
    color: #082747;
    margin-bottom: 8px;
}

.calendar-empty p {
    color: #666666;
}


/* =========================================
   BOTTOM CONTACT AREA
   ========================================= */

.calendar-note-section {
    background: white;
    padding: 60px 25px;
}

.calendar-note {
    max-width: 700px;
    margin: 0 auto;

    text-align: center;
}

.calendar-note h2 {
    color: #082747;

    font-size: 26px;

    margin-bottom: 10px;
}

.calendar-note p {
    color: #666666;

    margin-bottom: 22px;
}

.calendar-contact-button {
    display: inline-block;

    background: #123b70;
    color: white;

    padding: 11px 22px;

    font-size: 14px;
    font-weight: 600;
}

.calendar-contact-button:hover {
    background: #082747;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 850px) {

    .calendar-event {
        grid-template-columns: 75px 1fr;
    }

    .calendar-event-image {
        grid-column: 2;

        width: 100%;
        max-width: 350px;

        margin-top: 10px;
    }

    .calendar-date-box {
        width: 65px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 550px) {

    .calendar-section {
        padding: 45px 20px;
    }

    .calendar-event {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .calendar-date-box {
        width: 75px;
    }

    .calendar-event-image {
        grid-column: 1;

        width: 100%;
        max-width: 100%;
    }

    .calendar-event-content h3 {
        font-size: 20px;
    }

}
/* =========================================
   FULL BLOG POST PAGE
   ========================================= */

.post-section {
    background: #f5f6f7;
    padding: 55px 25px 70px;
}

.post-container {
    max-width: 850px;
    margin: 0 auto;
}


/* =========================================
   BACK TO NEWS
   ========================================= */

.back-to-news {
    display: inline-block;

    color: #123b70;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 30px;
}

.back-to-news:hover {
    text-decoration: underline;
}


/* =========================================
   FULL POST
   ========================================= */

.full-post {
    background: white;
    padding: 45px 55px;
}


/* =========================================
   POST HEADER
   ========================================= */

.post-header {
    text-align: center;
    margin-bottom: 35px;
}

.post-date {
    color: #123b70;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 12px;
}

.post-header h1 {
    color: #082747;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 38px;
    line-height: 1.2;

    margin-bottom: 12px;
}

.post-author {
    color: #777777;
    font-size: 14px;
}


/* =========================================
   FEATURED IMAGE
   ========================================= */

.post-featured-image {
    width: 100%;
    margin-bottom: 35px;
    text-align: center;
}

.post-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 600px;

    object-fit: contain;

    margin: 0 auto;
}


/* =========================================
   BLOG CONTENT
   ========================================= */

.post-body {
    max-width: 720px;
    margin: 0 auto;
}

.post-body p {
    color: #444444;

    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 22px;
}

.post-body h2 {
    color: #082747;

    font-size: 27px;

    margin-top: 35px;
    margin-bottom: 15px;
}

.post-body h3 {
    color: #082747;

    font-size: 22px;

    margin-top: 30px;
    margin-bottom: 12px;
}

.post-body h4 {
    color: #082747;

    font-size: 18px;

    margin-top: 25px;
    margin-bottom: 10px;
}


/* IMAGES INSIDE THE ARTICLE */

.post-body-image {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 30px auto;
}


/* QUOTES */

.post-body blockquote {
    border-left: 4px solid #123b70;

    margin: 30px 0;
    padding: 10px 0 10px 22px;

    color: #555555;
    font-size: 17px;
    font-style: italic;
    line-height: 1.7;
}


/* =========================================
   BOTTOM AREA
   ========================================= */

.post-bottom {
    background: white;
    padding: 30px 25px 50px;
}


/* =========================================
   ERROR MESSAGE
   ========================================= */

.post-error {
    text-align: center;
    padding: 50px 20px;
}

.post-error h1 {
    color: #082747;
    margin-bottom: 12px;
}

.post-error p {
    color: #666666;
    margin-bottom: 20px;
}

.post-error a {
    color: #123b70;
    font-weight: 600;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .post-section {
        padding: 40px 18px 55px;
    }

    .full-post {
        padding: 30px 22px;
    }

    .post-header h1 {
        font-size: 29px;
    }

    .post-body p {
        font-size: 15px;
    }

    .post-featured-image img {
        max-height: none;
    }

}
.read-more-link {
    display: inline-block;
    margin-top: 8px;

    color: #123b70;
    font-size: 14px;
    font-weight: 700;
}

.read-more-link:hover {
    text-decoration: underline;
}
/* =========================================
   FEATURED BLOG IMAGE
   ========================================= */

.post-featured-image {
    width: 100%;
    margin: 0 auto 35px;
    text-align: center;
}

.post-featured-image img {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 250px;

    height: auto;

    object-fit: contain;

    margin: 0 auto;
}
/* =========================================
   MOBILE NAVIGATION
   ========================================= */

/* Hide hamburger on desktop */
.mobile-menu-button {
    display: none;
}


/* PHONE / SMALL TABLET */
@media (max-width: 768px) {

    .site-header {
        padding: 0;
    }


    /* KEEP LOGO, NAME, AND BUTTON ON ONE ROW */

    .header-container {
        position: relative;

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;

        align-items: center;
        justify-content: space-between;

        min-height: 82px;

        padding: 10px 14px;
        gap: 10px;
    }


    /* SCHOOL BRAND */

    .school-brand {
        display: flex;
        flex-direction: row;
        align-items: center;

        flex: 1;

        min-width: 0;

        gap: 10px;
    }


    .school-logo {
        width: 55px;
        height: 60px;

        object-fit: contain;

        flex-shrink: 0;
    }


    .school-title {
        color: #082747;

        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;

        margin: 0;

        max-width: 190px;
    }


    /* HAMBURGER */

    .mobile-menu-button {
        display: block;

        flex-shrink: 0;

        background: transparent;
        border: none;

        color: #082747;

        font-size: 30px;
        line-height: 1;

        padding: 8px;

        cursor: pointer;
    }


    /* HIDE NAV UNTIL MENU OPENS */

    .main-nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        gap: 0;

        padding: 0;

        border-top: 3px solid #123b70;

        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);

        z-index: 1000;
    }


    /* SHOW NAV */

    .main-nav.open {
        display: flex;
    }


    /* MENU LINKS */

    .main-nav a {
        display: block;

        width: 100%;

        padding: 13px 20px;

        text-align: left;

        border-bottom: 1px solid #eeeeee;
    }


    .main-nav a:last-child {
        border-bottom: none;
    }


    .main-nav a.active {
        background: #f3f4f5;
        color: #123b70;
    }

}
/* =========================================
   PHONE / SMALL TABLET
   ========================================= */

@media (max-width: 768px) {

    /* HEADER */

    .site-header {
        padding: 0;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;

        flex-wrap: nowrap;

        padding: 12px 16px;

        min-height: 85px;
    }


    /* SCHOOL BRAND */

    .school-brand {
        display: flex;
        align-items: center;

        flex: 1;

        min-width: 0;
    }


    .school-logo {
        width: 58px;
        height: 58px;

        object-fit: contain;

        flex-shrink: 0;
    }


    .school-title {
        font-size: 17px;
        line-height: 1.25;

        margin-left: 10px;

        max-width: 190px;
    }


    /* HAMBURGER */

    .mobile-menu-button {
        display: block;

        flex-shrink: 0;

        background: none;
        border: none;

        color: #082747;

        font-size: 30px;
        line-height: 1;

        cursor: pointer;

        padding: 8px;

        margin-left: 10px;
    }


    /* NAVIGATION */

    .main-nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: #ffffff;

        flex-direction: column;

        padding: 0;

        border-top: 3px solid #123b70;

        z-index: 1000;

        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    }


    /* SHOW WHEN OPEN */

    .main-nav.open {
        display: flex;
    }


    /* MENU LINKS */

    .main-nav a {
        display: block;

        width: 100%;

        padding: 14px 20px;

        text-align: left;

        border-bottom: 1px solid #eeeeee;
    }


    .main-nav a:last-child {
        border-bottom: none;
    }


    .main-nav a.active {
        background: #f3f4f5;
        color: #123b70;
    }

}