/* =============================================================
 OASIS TRUST — SITE DESIGN SETTINGS
 Change the values below to restyle EVERY public page.
 No build system, commands, or database changes required.
 ============================================================= */
:root {
    --color-primary: #123f3b;
    /* brand green */
    --color-primary-deep: #082b2a;
    /* topbar/footer */
    --color-accent: #dcae60;
    /* highlights and actions */
    --color-accent-hover: #f0c783;
    --color-text: #18312f;
    --color-muted: #5f7270;
    --color-background: #fffefa;
    --color-surface: #f3f6f0;
    --color-border: #dce6df;
    --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
    --container-width: 1240px;
    --section-spacing: 88px;
    --corner-radius: 16px;
    --button-radius: 8px;
    --header-height: 85px;
    --card-shadow: 0 18px 50px rgba(17,55,49,.085);
}

/* The header stays visible on desktop and mobile while scrolling. */
.site-header {
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid var(--color-border);
    background:rgba(255,254,250,.97);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px)
}

html {
    scroll-padding-top:calc(var(--header-height) + 18px)
}

body {
    overflow-x:hidden
}

:focus-visible {
    outline:3px solid var(--color-accent);
    outline-offset:4px
}

::selection {
    background:var(--color-accent);
    color:var(--color-primary-deep)
}

.topline {
    background:var(--color-primary-deep)
}

.brand-text strong {
    letter-spacing:-.045em
}

.brand img {
    border-radius:14px
}

.nav-item,.nav-login {
    font-size:13px;
    letter-spacing:.015em
}

.nav-item.active {
    color:var(--color-primary);
    box-shadow:inset 0 -3px var(--color-accent)
}

.header-action {
    border-radius:var(--button-radius);
    box-shadow:0 8px 20px rgba(9,48,44,.12)
}

.hero {
    min-height:660px;
    background:var(--color-primary-deep)
}

.hero-shade {
    background:linear-gradient(91deg,rgba(6,35,33,.96) 0%,rgba(9,41,38,.84) 44%,rgba(9,43,40,.36) 100%)
}

.hero-photo {
    background-position:center 43%
}

.hero h1 {
    max-width:850px;
    letter-spacing:-.055em;
    font-weight:500
}

.hero-eyebrow {
    letter-spacing:.2em
}

.hero-bottom {
    background:rgba(8,43,42,.84)
}

.trust-strip {
    background:#eacf97
}

.section h2,.page-hero h1 {
    color:var(--color-primary-deep)
}

.section-heading h2 {
    max-width:780px
}

.section-copy p,.service-row p {
    font-size:15.5px
}

.institution-card {
    box-shadow:var(--card-shadow);
    border:1px solid var(--color-border);
    transition:transform .25s ease,box-shadow .25s ease
}

.institution-card:hover {
    transform:translateY(-5px);
    box-shadow:0 22px 55px rgba(17,55,49,.14)
}

.institution-card .card-photo {
    height:245px
}

.card-content h3 {
    color:var(--color-primary-deep)
}

.image-frame>img,.service-row img,.contact-image img {
    box-shadow:var(--card-shadow)
}

.page-hero {
    background:linear-gradient(112deg,#123f3b,#082b2a) !important;
    color:#fff;
    position:relative;
    overflow:hidden
}

.page-hero::after {
    content:"";
    position:absolute;
    right:-9vw;
    top:-120px;
    width:440px;
    height:440px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
    box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 170px rgba(255,255,255,.025);
    pointer-events:none
}

.page-hero .wrap {
    position:relative;
    z-index:1
}

.page-hero h1 {
    color:#fff
}

.page-hero p {
    color:#e0ede6
}

.eyebrow {
    color:#b48742
}

.eyebrow-light {
    color:#edc47b
}

.service-row {
    border-bottom:1px solid var(--color-border)
}

.service-row img {
    border-radius:var(--corner-radius)
}

.gallery-item,.moment {
    box-shadow:0 12px 24px rgba(8,43,42,.1)
}

.notice-card {
    background:#fff;
    padding:24px 27px;
    margin-bottom:14px;
    border:1px solid var(--color-border);
    border-radius:var(--corner-radius);
    box-shadow:0 7px 18px rgba(8,43,42,.04);
    transition:box-shadow .2s
}

.notice-card:hover {
    box-shadow:var(--card-shadow)
}

.notice-icon {
    background:#eaf2eb;
    color:var(--color-primary)
}

.empty-notice {
    border:1px solid var(--color-border)
}

.footer-cta {
    background:var(--color-primary)
}

.footer {
    background:var(--color-primary-deep)
}

/* About & institutions: editorial visual hierarchy with unchanged text */
.editorial-label {
    display:inline-block;
    padding:7px 12px;
    background:#e8efe8;
    color:var(--color-primary);
    border-radius:100px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:17px
}

.story-panel {
    background:#fff;
    border:1px solid var(--color-border);
    border-radius:var(--corner-radius);
    padding:30px 34px;
    box-shadow:var(--card-shadow)
}

.story-panel p:last-child {
    margin-bottom:0
}

.story-highlight {
    border-left:4px solid var(--color-accent);
    padding-left:20px;
    margin:22px 0;
    color:var(--color-primary-deep);
    font:normal clamp(19px,2.2vw,26px)/1.45 var(--font-heading)
}

.about-visual {
    position:relative
}

.about-visual img {
    width:100%;
    min-height:465px;
    object-fit:cover;
    border-radius:var(--corner-radius);
    box-shadow:var(--card-shadow)
}

.about-image-caption {
    position:absolute;
    bottom:20px;
    left:20px;
    right:20px;
    max-width:340px;
    background:rgba(8,43,42,.9);
    color:#fff;
    border-radius:10px;
    padding:17px 20px;
    font-size:13px
}

.purpose-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px
}

.purpose-card {
    background:#fff;
    border:1px solid var(--color-border);
    border-radius:var(--corner-radius);
    padding:34px 30px;
    box-shadow:var(--card-shadow)
}

.purpose-card .purpose-number {
    display:block;
    font:normal 36px var(--font-heading);
    color:#b58b4d;
    margin-bottom:14px
}

.purpose-card h3 {
    font:normal 28px var(--font-heading);
    color:var(--color-primary-deep);
    margin-bottom:12px
}

.purpose-card p {
    font-size:15px;
    line-height:1.85;
    margin-bottom:0
}

.service-row {
    align-items:center;
    gap:55px;
    padding:50px 0
}

.service-row h3 {
    color:var(--color-primary-deep)
}

.service-row img {
    width:100%;
    object-fit:cover
}

@media(max-width:900px) {
    .purpose-grid {
        grid-template-columns:1fr
    }
    .purpose-card {
        padding:25px
    }
    .service-row {
        gap:25px
    }
}

@media(max-width:640px) {
    .hero {
        min-height:0
    }
    .hero h1 {
        font-size:clamp(40px,10.2vw,54px)
    }
    .story-panel {
        padding:24px 21px
    }
    .about-visual img {
        min-height:320px
    }
    .about-image-caption {
        bottom:12px;
        left:12px;
        right:12px
    }
    .notice-card {
        padding:20px 16px
    }
    .footer-grid {
        gap:22px
    }
}

@media(prefers-reduced-motion:reduce) {
    .institution-card {
        transition:none
    }
}

/* Your site-specific CSS overrides can be added below. */
/* ABOUT & SERVICES — FULL SOURCE CONTENT, MODERN EDITORIAL LAYOUT */
.ot-content-section {
    background:var(--color-background)
}

.ot-section-intro {
    max-width:790px;
    margin-bottom:42px
}

.ot-section-intro h2 {
    margin:0 0 14px
}

.ot-section-intro>p {
    max-width:630px;
    line-height:1.85;
    color:var(--color-muted)
}

.ot-reading-stack {
    display:grid;
    gap:20px
}

.ot-reading-card {
    display:grid;
    grid-template-columns:minmax(200px,31%) 1fr;
    gap:40px;
    padding:38px 42px;
    background:#fff;
    border:1px solid var(--color-border);
    border-radius:var(--corner-radius);
    box-shadow:0 10px 35px rgba(12,48,44,.045)
}

.ot-chapter span {
    color:#b18a4c;
    font-weight:800;
    font-size:12px;
    letter-spacing:.16em
}

.ot-chapter h2 {
    font:normal clamp(27px,2.7vw,38px)/1.18 var(--font-heading);
    margin:13px 0;
    color:var(--color-primary-deep)
}

.ot-prose p,.ot-prose li {
    line-height:1.9;
    color:var(--color-text);
    font-size:15px
}

.ot-prose p:last-child {
    margin-bottom:0
}

.ot-prose ul {
    padding-left:22px;
    margin:15px 0
}

.ot-prose li {
    margin-bottom:9px
}

.ot-profile-card {
    background:white;
    border:1px solid var(--color-border);
    box-shadow:var(--card-shadow);
    padding:35px 44px;
    border-radius:var(--corner-radius)
}

.ot-profile-card .card-header {
    border-bottom:1px solid var(--color-border);
    margin-bottom:25px;
    padding-bottom:18px
}

.ot-profile-card h5 {
    font-size:21px;
    color:var(--color-primary-deep);
    margin:28px 0 10px
}

.ot-profile-card .card-header h5 {
    margin:0 0 6px
}

.ot-profile-card p {
    font-size:15px;
    line-height:1.85
}

.ot-profile-card .row {
    display:grid;
    grid-template-columns:minmax(0,1fr) 260px;
    gap:35px;
    align-items:center
}

.ot-profile-card .row img {
    border-radius:14px;
    width:100%;
    height:auto;
    max-width:260px
}

.ot-profile-card .table {
    width:100%;
    border-collapse:collapse;
    font-size:14px;
    margin:15px 0 30px
}

.ot-profile-card .table th,.ot-profile-card .table td {
    padding:14px 16px;
    border-bottom:1px solid var(--color-border);
    text-align:left;
    vertical-align:top;
    overflow-wrap:anywhere
}

.ot-profile-card .table th {
    width:38%;
    font-weight:700;
    color:var(--color-primary-deep);
    background:#f3f6f0
}

.ot-profile-card .trustee-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
    margin-top:25px
}

.ot-profile-card .trustee {
    border:1px solid var(--color-border);
    border-radius:14px;
    padding:13px;
    background:#fff;
    text-align:center
}

.ot-profile-card .trustee-photo {
    width:100%;
    height:165px;
    background-color:#edf1ec;
    background-position:center top;
    background-size:cover;
    border-radius:9px
}

.ot-profile-card .trustee h6 {
    font-size:14px;
    color:var(--color-primary-deep);
    margin:14px 0 5px;
    line-height:1.45
}

.ot-profile-card .trustee small {
    color:var(--color-muted);
    font-size:12px
}

.ot-admission-alert {
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:65px;
    background:#fff7e8;
    border:1px solid #efd29c;
    padding:22px 24px;
    border-radius:var(--corner-radius)
}

.ot-admission-alert strong {
    color:#5a3d12
}

.ot-admission-alert p {
    margin:3px 0 0;
    font-size:14px;
    color:#5a4b30
}

.ot-alert-dot {
    color:#bb7b21
}

.ot-admission-alert .btn {
    margin-left:auto;
    white-space:nowrap
}

.ot-campus {
    padding:0 0 70px;
    margin-bottom:75px;
    border-bottom:1px solid var(--color-border)
}

.ot-campus:last-child {
    padding-bottom:0;
    margin-bottom:0;
    border:0
}

.ot-campus-cover {
    position:relative;
    overflow:hidden;
    border-radius:var(--corner-radius);
    background:linear-gradient(110deg,#0d403b,#236c5d);
    color:white;
    padding:47px 50px;
    margin-bottom:25px
}

.ot-campus-cover:after {
    content:'';
    position:absolute;
    width:330px;
    height:330px;
    border:1px solid #ffffff28;
    border-radius:50%;
    right:-60px;
    top:-100px;
    box-shadow:0 0 0 70px #ffffff08
}

.ot-campus-cover .ot-campus-title {
    position:relative;
    z-index:1;
    max-width:840px
}

.ot-campus-index {
    font-size:11px;
    letter-spacing:.2em;
    font-weight:800;
    color:#e6bd7d
}

.ot-campus-cover h1 {
    font:normal clamp(35px,4vw,55px)/1.15 var(--font-heading);
    margin:13px 0 18px;
    color:white
}

.ot-campus-cover h5 {
    font:italic 20px var(--font-heading);
    color:#edca91;
    margin:0 0 20px
}

.ot-campus-cover p {
    color:#e1eee9;
    line-height:1.9;
    font-size:15px;
    max-width:800px
}

.ot-campus-cover p:last-child {
    margin-bottom:0
}

.ot-letter {
    display:grid;
    grid-template-columns:minmax(0,1fr) 240px;
    gap:40px;
    align-items:start;
    background:white;
    border:1px solid var(--color-border);
    border-radius:var(--corner-radius);
    padding:40px;
    margin-top:22px;
    box-shadow:0 10px 30px rgba(13,48,43,.045)
}

.ot-letter h2 {
    font:normal clamp(27px,2.6vw,37px)/1.2 var(--font-heading);
    margin:5px 0 15px
}

.ot-letter h2 u {
    text-decoration:none
}

.ot-letter h4 {
    font-size:17px;
    color:var(--color-primary);
    line-height:1.55;
    margin:0 0 20px
}

.ot-letter p {
    font-size:14.5px;
    line-height:1.9;
    margin-bottom:16px
}

.ot-letter p:last-child {
    margin-bottom:0
}

.ot-letter figure {
    margin:0;
    position:sticky;
    top:110px
}

.ot-letter img {
    width:100%;
    height:270px;
    object-fit:cover;
    object-position:top;
    border-radius:12px;
    background:var(--color-surface)
}

.ot-letter figcaption {
    font-size:12px;
    color:var(--color-muted);
    line-height:1.5;
    margin-top:10px;
    text-align:center
}

.ot-info-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    margin-top:22px
}

.ot-info-card {
    background:#f2f6f0;
    border:1px solid var(--color-border);
    border-radius:var(--corner-radius);
    padding:32px
}

.ot-info-card h2,.ot-info-card h3 {
    font:normal 29px/1.2 var(--font-heading);
    margin:0 0 16px
}

.ot-info-card p {
    font-size:14px;
    line-height:1.85
}

.ot-info-card a {
    display:inline-flex;
    margin-top:9px;
    font-weight:800;
    color:var(--color-primary);
    border-bottom:1px solid var(--color-accent);
    padding-bottom:4px
}

.ot-info-card.ot-info-dark {
    background:var(--color-primary-deep);
    color:#fff
}

.ot-info-card.ot-info-dark h2,.ot-info-card.ot-info-dark p {
    color:#fff
}

.ot-info-card.ot-info-dark a {
    color:#f2cc82
}

@media(max-width:900px) {
    .ot-reading-card {
        grid-template-columns:1fr;
        gap:10px
    }
    .ot-profile-card .trustee-grid {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
    .ot-letter {
        grid-template-columns:1fr 185px;
        gap:24px;
        padding:28px
    }
    .ot-letter img {
        height:230px
    }
}

@media(max-width:640px) {
    .ot-reading-card {
        padding:25px 22px
    }
    .ot-profile-card {
        padding:25px 18px
    }
    .ot-profile-card .row {
        grid-template-columns:1fr
    }
    .ot-profile-card .row img {
        max-width:220px
    }
    .ot-profile-card .trustee-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px
    }
    .ot-profile-card .trustee-photo {
        height:145px
    }
    .ot-profile-card .table th,.ot-profile-card .table td {
        padding:12px 9px;
        font-size:12px
    }
    .ot-admission-alert {
        flex-wrap:wrap;
        padding:20px
    }
    .ot-admission-alert .btn {
        margin-left:0
    }
    .ot-campus-cover {
        padding:34px 24px
    }
    .ot-letter {
        grid-template-columns:1fr;
        padding:23px 20px
    }
    .ot-letter figure {
        position:static;
        max-width:245px
    }
    .ot-letter img {
        height:255px
    }
    .ot-info-grid {
        grid-template-columns:1fr
    }
    .ot-info-card {
        padding:24px
    }
    .ot-campus {
        margin-bottom:55px;
        padding-bottom:50px
    }
}
