
/* =========================================================
   ST. AUGUSTINE SCHOOL — PARENT TESTIMONIALS
   File: /assets/css/parent-feedback.css
   ========================================================= */


/* =========================
   PAGE BASE
========================= */

.sas-feedback-page {
    padding: 0 0 90px;
    background: #f7f9f7;
    min-height: 70vh;
}

.sas-feedback-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HERO
========================= */

.sas-feedback-hero {
    padding: 65px 20px 45px;
    text-align: center;
    background: #0b4935;
    color: #ffffff;
}

.sas-feedback-hero .sas-feedback-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #e8bd4c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.sas-feedback-hero h1 {
    margin: 0 0 15px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
}

.sas-feedback-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================
   MAIN TWO-COLUMN LAYOUT
========================= */

.sas-feedback-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    grid-template-areas: "list form";
    align-items: start;
    gap: 30px;
}

.sas-feedback-list-column {
    grid-area: list;
    min-width: 0;
}

.sas-feedback-form-column {
    grid-area: form;
    min-width: 0;
}


/* =========================
   SECTION HEADINGS
========================= */

.sas-feedback-section-heading {
    margin-bottom: 22px;
}

.sas-feedback-section-heading .sas-feedback-eyebrow,
.sas-feedback-section-heading .sas-feedback-section-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #b18a35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sas-feedback-section-heading h2 {
    margin: 0 0 9px;
    color: #174b36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 600;
}

.sas-feedback-section-heading p {
    margin: 0;
    color: #778078;
    font-size: 14px;
    line-height: 1.7;
}

.sas-feedback-count {
    margin-top: 10px;
    color: #174b36;
    font-size: 14px;
    font-weight: 700;
}


/* =========================
   TESTIMONIAL CARDS
========================= */

.sas-testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.sas-testimonial-card {
    position: relative;
    padding: 25px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e9eee9;
    border-radius: 15px;
    box-shadow: 0 5px 22px rgba(24, 62, 43, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sas-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(24, 62, 43, 0.09);
}

.sas-testimonial-card.is-featured {
    border-color: rgba(177, 138, 53, 0.45);
}


/* Featured label */

.sas-testimonial-featured {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 30px;
    background: #fbf4e3;
    color: #997126;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* Testimonial rating */

.sas-testimonial-stars,
.sas-testimonial-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 12px;
    color: #c49a3a;
    font-size: 17px;
    letter-spacing: 2px;
}

.sas-testimonial-stars span {
    color: #d9ded9;
}

.sas-testimonial-stars span.filled {
    color: #c49a3a;
}


/* Parent message */

.sas-testimonial-message {
    margin: 0;
    color: #58645b;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}


/* Parent information */

.sas-testimonial-parent {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin-top: 12px;
}

.sas-testimonial-avatar {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f1eb;
    color: #174b36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
}

.sas-testimonial-parent-info,
.sas-testimonial-parent-details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 6px;
    row-gap: 3px;
    min-width: 0;
}

.sas-testimonial-parent-info h3,
.sas-testimonial-parent-details strong {
    margin: 0;
    color: #263b2e;
    font-size: 15px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.sas-testimonial-parent-info span,
.sas-testimonial-parent-details span {
    color: #818b83;
    font-size: 12px;
    overflow-wrap: anywhere;
}


/* Testimonial date */

.sas-testimonial-date {
    display: block;
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid #edf0ed;
    color: #9aa29b;
    font-size: 11px;
}


/* =========================
   SCHOOL'S PUBLIC REPLY
========================= */

.sas-testimonial-school-reply {
    position: relative;
    width: calc(100% - 42px);
    margin: 18px 0 0 42px;
    padding: 14px 17px 14px 20px;
    border-left: 3px solid #b18a35;
    border-radius: 0 10px 10px 0;
    background: #f0f5f1;
}

.sas-testimonial-school-reply::before {
    content: "↳";
    position: absolute;
    top: 8px;
    left: -30px;
    color: #174b36;
    font-size: 23px;
    font-weight: 700;
}

.sas-testimonial-school-reply strong {
    display: block;
    margin-bottom: 7px;
    color: #174b36;
    font-size: 13px;
    font-weight: 800;
}

.sas-testimonial-school-reply p {
    margin: 0;
    color: #59665d;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}


/* =========================
   EMPTY STATE
========================= */

.sas-feedback-empty {
    padding: 45px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #d7e1d8;
    border-radius: 15px;
}

.sas-feedback-empty-icon {
    margin-bottom: 13px;
    color: #b18a35;
    font-size: 34px;
}

.sas-feedback-empty h3 {
    margin: 0 0 9px;
    color: #174b36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.sas-feedback-empty p {
    margin: 0;
    color: #778078;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   PAGINATION
========================= */

.sas-feedback-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.sas-feedback-pagination a,
.sas-feedback-pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid #e1e8e1;
    border-radius: 8px;
    background: #ffffff;
    color: #31523d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sas-feedback-pagination a:hover {
    border-color: #174b36;
    background: #174b36;
    color: #ffffff;
}

.sas-feedback-pagination .active,
.sas-feedback-pagination .is-active {
    border-color: #174b36;
    background: #174b36;
    color: #ffffff;
}

.sas-pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* =========================
   FORM COLUMN
========================= */

.sas-feedback-form-column {
    position: sticky;
    top: 25px;
}

.sas-feedback-form-section {
    width: 100%;
}

.sas-feedback-form-card {
    width: 100%;
    padding: 29px;
    background: #ffffff;
    border: 1px solid #e8eee8;
    border-radius: 17px;
    box-shadow: 0 8px 30px rgba(24, 62, 43, 0.065);
}

.sas-feedback-form-heading {
    margin-bottom: 23px;
}

.sas-feedback-form-heading .sas-feedback-eyebrow,
.sas-feedback-form-heading .sas-feedback-form-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #b18a35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.sas-feedback-form-heading h2 {
    margin: 0 0 9px;
    color: #174b36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 600;
}

.sas-feedback-form-heading p {
    margin: 0;
    color: #78827a;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================
   FORM FIELDS
========================= */

.sas-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.sas-feedback-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sas-feedback-field label {
    color: #34483a;
    font-size: 13px;
    font-weight: 700;
}

.sas-feedback-field input,
.sas-feedback-field select,
.sas-feedback-field textarea {
    width: 100%;
    min-height: 47px;
    padding: 12px 14px;
    border: 1px solid #dfe7df;
    border-radius: 9px;
    outline: none;
    background: #fbfcfb;
    color: #263b2e;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sas-feedback-field textarea {
    min-height: 135px;
    resize: vertical;
    line-height: 1.7;
}

.sas-feedback-field input:focus,
.sas-feedback-field select:focus,
.sas-feedback-field textarea:focus {
    border-color: #58836a;
    box-shadow: 0 0 0 3px rgba(49, 105, 69, 0.09);
    background: #ffffff;
}

.sas-feedback-field input::placeholder,
.sas-feedback-field textarea::placeholder {
    color: #a5ada6;
}

.sas-feedback-field small {
    color: #929b93;
    font-size: 11px;
    line-height: 1.6;
}


/* Consent */

.sas-feedback-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #68736b;
    font-size: 12px;
    line-height: 1.65;
}

.sas-feedback-consent input {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #174b36;
}

.sas-feedback-consent span {
    min-width: 0;
}

.sas-feedback-consent label {
    cursor: pointer;
}


/* Submit button */

.sas-feedback-submit {
    display: inline-flex;
    width: 100%;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border: 0;
    border-radius: 9px;
    background: #174b36;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sas-feedback-submit:hover {
    transform: translateY(-2px);
    background: #103b29;
}

.sas-feedback-privacy {
    margin: 0;
    color: #929b93;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
}


/* =========================
   SUCCESS / ERROR MESSAGES
========================= */

.sas-feedback-success {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #cce4d1;
    border-radius: 10px;
    background: #f0f8f1;
    color: #245d35;
    font-size: 13px;
    line-height: 1.7;
}

.sas-feedback-success strong {
    display: block;
    margin-bottom: 3px;
}

.sas-feedback-success h2 {
    margin: 0 0 9px;
    color: #174b36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.sas-feedback-success p {
    margin: 0;
}

.sas-feedback-errors {
    margin-bottom: 20px;
    padding: 15px 18px;
    border: 1px solid #f0cccc;
    border-radius: 10px;
    background: #fff4f4;
    color: #a33a3a;
    font-size: 13px;
    line-height: 1.7;
}

.sas-feedback-errors ul {
    margin: 7px 0 0;
    padding-left: 19px;
}

.sas-feedback-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================
   HOME LINK
========================= */

.sas-feedback-home-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    color: #174b36;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.sas-feedback-home-link:hover {
    color: #b18a35;
}


/* =========================
   TABLET
   Comfortable single-column layout
========================= */

@media (max-width: 900px) {
    .sas-feedback-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "list"
            "form";
        gap: 35px;
    }

    .sas-feedback-form-column {
        position: static;
    }

    .sas-feedback-form-card {
        padding: 25px;
    }

    .sas-testimonial-card {
        padding: 22px;
    }
}


/* =========================
   MOBILE
   Form first, testimonials below
========================= */

@media (max-width: 700px) {
    .sas-feedback-page {
        padding-bottom: 55px;
    }

    .sas-feedback-container {
        width: min(100% - 30px, 560px);
    }

    .sas-feedback-hero {
        padding: 43px 8px 30px;
    }

    .sas-feedback-hero h1 {
        font-size: 35px;
    }

    .sas-feedback-hero p {
        font-size: 14px;
    }

    .sas-feedback-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "form"
            "list";
        gap: 38px;
    }

    .sas-feedback-form-column {
        position: static;
    }

    .sas-feedback-form-card {
        padding: 23px 19px;
    }

    .sas-feedback-form-heading h2 {
        font-size: 25px;
    }

    .sas-feedback-section-heading h2 {
        font-size: 27px;
    }

    .sas-testimonial-card {
        padding: 20px;
    }

    .sas-testimonial-parent {
        align-items: center;
        gap: 10px;
    }

    .sas-testimonial-parent-info,
    .sas-testimonial-parent-details {
        column-gap: 5px;
        row-gap: 3px;
    }

    .sas-testimonial-parent-info h3,
    .sas-testimonial-parent-details strong {
        font-size: 14px;
    }

    .sas-testimonial-parent-info span,
    .sas-testimonial-parent-details span {
        font-size: 12px;
    }

    .sas-testimonial-school-reply {
        width: calc(100% - 25px);
        margin-left: 25px;
        padding: 13px 14px 13px 16px;
    }

    .sas-testimonial-school-reply::before {
        left: -22px;
        font-size: 20px;
    }

    .sas-testimonial-school-reply strong {
        font-size: 12px;
    }

    .sas-testimonial-school-reply p {
        font-size: 12px;
    }

    .sas-feedback-pagination {
        gap: 6px;
    }

    .sas-feedback-pagination a,
    .sas-feedback-pagination span {
        min-width: 35px;
        min-height: 38px;
        padding: 0 9px;
    }

    .sas-pagination-numbers {
        gap: 6px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {
    .sas-feedback-container {
        width: calc(100% - 24px);
    }

    .sas-feedback-hero h1 {
        font-size: 30px;
    }

    .sas-testimonial-card {
        padding: 17px;
    }

    .sas-testimonial-parent {
        gap: 9px;
    }

    .sas-testimonial-avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .sas-testimonial-parent-info h3,
    .sas-testimonial-parent-details strong {
        font-size: 13px;
    }

    .sas-testimonial-featured {
        font-size: 8px;
    }

    .sas-testimonial-school-reply {
        width: calc(100% - 20px);
        margin-left: 20px;
    }
}
