/* =========================================================
   Shop Local Youngstown About Page
   WordPress / OceanWP integration
   ========================================================= */

/* Remove theme elements that interfere with the full-width page. */
body.sly-about-page .page-header,
body.sly-about-page #right-sidebar,
body.sly-about-page .widget-area {
    display: none !important;
}

/* Force the page content to span the full viewport width. */
body.sly-about-page #main,
body.sly-about-page #content-wrap,
body.sly-about-page #primary,
body.sly-about-page .content-area,
body.sly-about-page article.page,
body.sly-about-page .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    float: none !important;
}

body.sly-about-page #content-wrap.container {
    width: 100% !important;
    max-width: none !important;
}

body.sly-about-page .entry-content > p:empty {
    display: none;
}


/* =========================================================
   Design tokens and component foundation
   ========================================================= */

body.sly-about-page .sly-about {
    --sly-ink: #172033;
    --sly-muted: #485568;
    --sly-blue: #1665d8;
    --sly-blue-dark: #0e4fae;
    --sly-green: #168a62;
    --sly-gold: #f3b63f;
    --sly-soft: #f5f8fc;
    --sly-line: #dce4ee;
    --sly-white: #ffffff;
    --sly-shadow: 0 18px 55px rgba(31, 55, 89, 0.10);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--sly-white);
    color: var(--sly-ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.sly-about-page .sly-about,
body.sly-about-page .sly-about * {
    box-sizing: border-box;
}

body.sly-about-page .sly-about a {
    color: inherit;
}

body.sly-about-page .sly-about h1,
body.sly-about-page .sly-about h2,
body.sly-about-page .sly-about h3,
body.sly-about-page .sly-about h4,
body.sly-about-page .sly-about p,
body.sly-about-page .sly-about blockquote {
    font-family: inherit;
}

body.sly-about-page .sly-about h1,
body.sly-about-page .sly-about h2,
body.sly-about-page .sly-about h3,
body.sly-about-page .sly-about h4 {
    color: var(--sly-ink);
    font-style: normal;
    text-transform: none;
}

body.sly-about-page .sly-about a:focus-visible,
body.sly-about-page .sly-about button:focus-visible {
    outline: 3px solid var(--sly-gold);
    outline-offset: 4px;
}


/* =========================================================
   Shared layout and typography
   ========================================================= */

body.sly-about-page .sly-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

body.sly-about-page .sly-section {
    padding: 80px 0;
}

body.sly-about-page .sly-section--soft {
    background: var(--sly-soft);
}

body.sly-about-page .sly-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--sly-blue-dark);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.sly-about-page .sly-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--sly-gold);
}

body.sly-about-page .sly-heading {
    max-width: 780px;
    margin: 0;
    color: var(--sly-ink);
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

body.sly-about-page .sly-heading--section {
    font-size: clamp(31px, 4vw, 48px);
}

body.sly-about-page .sly-lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--sly-muted);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.7;
}


/* =========================================================
   Buttons
   ========================================================= */

body.sly-about-page .sly-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

body.sly-about-page .sly-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.sly-about-page .sly-btn:hover {
    transform: translateY(-2px);
}

body.sly-about-page .sly-btn--primary {
    background: #3b82e8;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(59, 130, 232, 0.24);
}

body.sly-about-page .sly-btn--primary:hover {
    background: #2872d5;
    color: #ffffff !important;
}

body.sly-about-page .sly-btn--secondary {
    border-color: var(--sly-line);
    background: var(--sly-white);
    color: var(--sly-ink);
}

body.sly-about-page .sly-btn--secondary:hover {
    border-color: #aebdd0;
    background: var(--sly-white);
    color: var(--sly-ink);
    box-shadow: 0 10px 24px rgba(31, 55, 89, 0.08);
}


/* =========================================================
   Hero
   ========================================================= */

body.sly-about-page .sly-hero {
    position: relative;
    padding: 82px 0 108px;
    background:
        linear-gradient(
            140deg,
            #ffffff 0%,
            #f7faff 58%,
            #edf5ff 100%
        );
}

body.sly-about-page .sly-hero::before,
body.sly-about-page .sly-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

body.sly-about-page .sly-hero::before {
    top: -170px;
    right: -170px;
    width: 360px;
    height: 360px;
    background: rgba(243, 182, 63, 0.18);
}

body.sly-about-page .sly-hero::after {
    bottom: -160px;
    left: -130px;
    width: 260px;
    height: 260px;
    background: rgba(22, 138, 98, 0.10);
}

body.sly-about-page .sly-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(390px, 0.92fr);
    gap: 70px;
    align-items: center;
}

body.sly-about-page .sly-hero-copy {
    position: relative;
    z-index: 2;
}

body.sly-about-page .sly-powered {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    color: var(--sly-muted);
    font-size: 14px;
}

body.sly-about-page .sly-powered a {
    color: var(--sly-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

body.sly-about-page .sly-powered a:hover {
    text-decoration: underline;
}


/* =========================================================
   Hero illustration
   ========================================================= */

body.sly-about-page .sly-visual {
    position: relative;
    min-height: 500px;
}

body.sly-about-page .sly-visual-panel {
    position: absolute;
    inset: 28px 0 0 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--sly-shadow);
    backdrop-filter: blur(12px);
}

body.sly-about-page .sly-city {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 230px;
}

body.sly-about-page .sly-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 245px;
    padding: 17px 18px;
    border: 1px solid rgba(225, 232, 242, 0.95);
    border-radius: 18px;
    background: var(--sly-white);
    box-shadow: 0 17px 38px rgba(31, 55, 89, 0.13);
}

body.sly-about-page .sly-card-float strong {
    display: block;
    color: var(--sly-ink);
    font-size: 15px;
    font-weight: 800;
}

body.sly-about-page .sly-card-float span {
    display: block;
    margin-top: 2px;
    color: var(--sly-muted);
    font-size: 12px;
}

body.sly-about-page .sly-card-float--one {
    top: 0;
    left: 0;
}

body.sly-about-page .sly-card-float--two {
    top: 110px;
    right: -14px;
}

body.sly-about-page .sly-card-float--three {
    top: 230px;
    left: -15px;
}

body.sly-about-page .sly-card-float--four {
    top: 344px;
    right: 18px;
}


/* =========================================================
   Icons
   ========================================================= */

body.sly-about-page .sly-icon {
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #edf4ff;
    color: var(--sly-blue);
}

body.sly-about-page .sly-icon--green {
    background: #eaf8f3;
    color: var(--sly-green);
}

body.sly-about-page .sly-icon--gold {
    background: #fff7e4;
    color: #9b6500;
}

body.sly-about-page .sly-icon svg {
    width: 23px;
    height: 23px;
}


/* =========================================================
   Introduction and mission
   ========================================================= */

body.sly-about-page .sly-intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 84px;
    align-items: start;
}

body.sly-about-page .sly-copy p {
    margin: 0 0 20px;
    color: var(--sly-muted);
    font-size: 18px;
}

body.sly-about-page .sly-copy strong {
    color: var(--sly-ink);
}

body.sly-about-page .sly-mission {
    padding: 31px;
    border: 1px solid var(--sly-line);
    border-radius: 22px;
    background: var(--sly-white);
    box-shadow: 0 16px 45px rgba(31, 55, 89, 0.06);
}

body.sly-about-page .sly-mission-label {
    margin: 0 0 14px;
    color: var(--sly-blue-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.sly-about-page .sly-mission blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sly-ink);
    font-size: clamp(25px, 3vw, 35px);
    font-style: normal;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}


/* =========================================================
   Goals
   ========================================================= */

body.sly-about-page .sly-goals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 46px;
}

body.sly-about-page .sly-goal {
    padding: 28px;
    border: 1px solid var(--sly-line);
    border-radius: 18px;
    background: var(--sly-white);
}

body.sly-about-page .sly-goal h3 {
    margin: 18px 0 9px;
    color: var(--sly-ink);
    font-size: 21px;
    font-weight: 800;
}

body.sly-about-page .sly-goal p {
    margin: 0;
    color: var(--sly-muted);
}


/* =========================================================
   Section headings
   ========================================================= */

body.sly-about-page .sly-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 42px;
}

body.sly-about-page .sly-section-head > p {
    max-width: 500px;
    margin: 0;
    color: var(--sly-muted);
    font-size: 18px;
}


/* =========================================================
   Feature cards
   ========================================================= */

body.sly-about-page .sly-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body.sly-about-page .sly-feature {
    min-height: 255px;
    padding: 29px;
    border: 1px solid var(--sly-line);
    border-radius: 20px;
    background: var(--sly-white);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.sly-about-page .sly-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(31, 55, 89, 0.08);
}

body.sly-about-page .sly-feature h3 {
    margin: 20px 0 8px;
    color: var(--sly-ink);
    font-size: 22px;
    font-weight: 800;
}

body.sly-about-page .sly-feature p {
    margin: 0;
    color: var(--sly-muted);
}

body.sly-about-page .sly-feature a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--sly-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

body.sly-about-page .sly-feature a:hover {
    text-decoration: underline;
}


/* =========================================================
   Benefits
   ========================================================= */

body.sly-about-page .sly-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body.sly-about-page .sly-benefit-panel {
    padding: 42px;
    border-radius: 24px;
}

body.sly-about-page .sly-benefit-panel--residents {
    background: #eaf2ff;
}

body.sly-about-page .sly-benefit-panel--business {
    background: #e8f7f0;
}

body.sly-about-page .sly-benefit-panel h3 {
    margin: 18px 0 10px;
    color: var(--sly-ink);
    font-size: 29px;
    font-weight: 800;
}

body.sly-about-page .sly-benefit-panel > p {
    margin: 0;
    color: var(--sly-muted);
    font-size: 17px;
}

body.sly-about-page .sly-checks {
    display: grid;
    gap: 14px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

body.sly-about-page .sly-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--sly-ink);
}

body.sly-about-page .sly-checks li::before {
    content: "✓";
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--sly-white);
    color: var(--sly-green);
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(31, 55, 89, 0.08);
}


/* =========================================================
   Contribution panel
   ========================================================= */

body.sly-about-page .sly-submit-wrap {
    padding: 48px;
    border: 2px solid var(--sly-ink);
    border-radius: 28px;
    background: #ffffff;
    color: var(--sly-ink);
    box-shadow: 0 16px 45px rgba(31, 55, 89, 0.08);
}

body.sly-about-page .sly-submit-wrap .sly-heading,
body.sly-about-page .sly-submit-wrap h2 {
    color: var(--sly-ink) !important;
}

body.sly-about-page .sly-submit-wrap .sly-eyebrow {
    color: var(--sly-blue-dark) !important;
}

body.sly-about-page .sly-submit-wrap .sly-lead,
body.sly-about-page .sly-submit-wrap > p:not(.sly-eyebrow) {
    color: var(--sly-muted) !important;
}

body.sly-about-page .sly-submit-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

body.sly-about-page .sly-submit {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-height: 170px;
    padding: 22px;
    border: 1px solid #cfd9e7;
    border-radius: 17px;
    color: var(--sly-ink) !important;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(31, 55, 89, 0.05);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

body.sly-about-page .sly-submit:nth-child(1) {
    background: #eaf3ff;
    border-color: #bad3f5;
}

body.sly-about-page .sly-submit:nth-child(2) {
    background: #edf8f5;
    border-color: #bce1d6;
}

body.sly-about-page .sly-submit:nth-child(3) {
    background: #fff6df;
    border-color: #edd59a;
}

body.sly-about-page .sly-submit:nth-child(4) {
    background: #fff0e7;
    border-color: #efc8ae;
}

body.sly-about-page .sly-submit:nth-child(5) {
    background: #fbeef6;
    border-color: #e7c3d8;
}

body.sly-about-page .sly-submit:hover {
    transform: translateY(-4px);
    color: var(--sly-ink) !important;
    border-color: var(--sly-ink);
    box-shadow: 0 14px 30px rgba(31, 55, 89, 0.12);
    filter: saturate(1.05);
}

body.sly-about-page .sly-submit strong {
    color: var(--sly-ink) !important;
    font-size: 17px;
    font-weight: 800;
}

body.sly-about-page .sly-submit > span:not(.sly-icon) {
    color: var(--sly-muted) !important;
    font-size: 13px;
    line-height: 1.5;
}

body.sly-about-page .sly-submit .sly-icon {
    border: 1px solid rgba(23, 32, 51, 0.10);
    background: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   Trust section
   ========================================================= */

body.sly-about-page .sly-trust {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 75px;
    align-items: center;
}

body.sly-about-page .sly-trust-steps {
    display: grid;
    gap: 16px;
}

body.sly-about-page .sly-trust-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 17px;
    padding: 20px;
    border: 1px solid var(--sly-line);
    border-radius: 17px;
    background: var(--sly-white);
}

body.sly-about-page .sly-num {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #eef4ff;
    color: var(--sly-blue-dark);
    font-size: 20px;
    font-weight: 900;
}

body.sly-about-page .sly-trust-step h3 {
    margin: 2px 0 3px;
    color: var(--sly-ink);
    font-size: 19px;
    font-weight: 800;
}

body.sly-about-page .sly-trust-step p {
    margin: 0;
    color: var(--sly-muted);
}


/* =========================================================
   Final call to action
   Explicit colors prevent OceanWP overrides.
   ========================================================= */

body.sly-about-page .sly-final {
    padding: 82px 0;
    background:
        linear-gradient(
            135deg,
            var(--sly-blue),
            var(--sly-blue-dark)
        );
    color: var(--sly-white);
    text-align: center;
}

body.sly-about-page .sly-final .sly-heading,
body.sly-about-page .sly-final h2 {
    max-width: 860px;
    margin: 0 auto;
    color: var(--sly-white) !important;
}

body.sly-about-page .sly-final .sly-lead {
    max-width: 700px;
    margin: 20px auto 0;
    color: #e4efff !important;
}

body.sly-about-page .sly-final .sly-btns {
    justify-content: center;
}

/* Make the first bottom CTA visually primary. */
body.sly-about-page .sly-final .sly-btns .sly-btn:first-child {
    border-color: var(--sly-white);
    background: var(--sly-white);
    color: var(--sly-blue-dark) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body.sly-about-page .sly-final .sly-btns .sly-btn:first-child:hover {
    background: #f2f6ff;
    color: var(--sly-blue-dark) !important;
}

/* Keep the second bottom CTA secondary. */
body.sly-about-page .sly-final .sly-btns .sly-btn:nth-child(2) {
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
    color: var(--sly-white) !important;
}

body.sly-about-page .sly-final .sly-btns .sly-btn:nth-child(2):hover {
    border-color: var(--sly-white);
    background: rgba(255, 255, 255, 0.12);
    color: var(--sly-white) !important;
}


/* =========================================================
   Footer note
   ========================================================= */

body.sly-about-page .sly-footer-note {
    padding: 25px 0;
    color: var(--sly-muted);
    font-size: 14px;
    text-align: center;
}

body.sly-about-page .sly-footer-note a {
    color: var(--sly-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

body.sly-about-page .sly-footer-note a:hover {
    text-decoration: underline;
}


/* =========================================================
   Responsive layout
   ========================================================= */

@media (max-width: 980px) {
    body.sly-about-page .sly-hero-grid,
    body.sly-about-page .sly-intro-grid,
    body.sly-about-page .sly-trust {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    body.sly-about-page .sly-visual {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    body.sly-about-page .sly-goals,
    body.sly-about-page .sly-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.sly-about-page .sly-submit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.sly-about-page .sly-submit:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    body.sly-about-page .sly-shell {
        width: min(1160px, calc(100% - 28px));
    }

    body.sly-about-page .sly-section {
        padding: 64px 0;
    }

    body.sly-about-page .sly-hero {
        padding: 62px 0 80px;
    }

    body.sly-about-page .sly-hero-grid {
        gap: 38px;
    }

    body.sly-about-page .sly-heading {
        font-size: 42px;
    }

    body.sly-about-page .sly-heading--section {
        font-size: 35px;
    }

    body.sly-about-page .sly-visual {
        min-height: 470px;
    }

    body.sly-about-page .sly-visual-panel {
        inset: 22px 0 0 15px;
    }

    body.sly-about-page .sly-card-float {
        width: 222px;
        padding: 14px;
    }

    body.sly-about-page .sly-card-float--two {
        right: -8px;
    }

    body.sly-about-page .sly-card-float--three {
        left: -5px;
    }

    body.sly-about-page .sly-card-float--four {
        right: 2px;
    }

    body.sly-about-page .sly-goals,
    body.sly-about-page .sly-feature-grid,
    body.sly-about-page .sly-benefits,
    body.sly-about-page .sly-submit-grid {
        grid-template-columns: 1fr;
    }

    body.sly-about-page .sly-submit:last-child {
        grid-column: auto;
    }

    body.sly-about-page .sly-section-head {
        display: block;
    }

    body.sly-about-page .sly-section-head > p {
        margin-top: 18px;
    }

    body.sly-about-page .sly-submit-wrap,
    body.sly-about-page .sly-benefit-panel {
        padding: 29px;
    }

    body.sly-about-page .sly-btn {
        width: 100%;
    }
}


/* =========================================================
   Motion accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    body.sly-about-page .sly-about *,
    body.sly-about-page .sly-about *::before,
    body.sly-about-page .sly-about *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    body.sly-about-page .sly-btn:hover,
    body.sly-about-page .sly-feature:hover,
    body.sly-about-page .sly-submit:hover {
        transform: none;
    }
}