/* ============================================
   DIGITAL MEETUP: AUTISM & ADHD — Shared Story Theme
   Uses the Sweden-Protests visual system
   ============================================ */

/* Keep the same page baseline as Sweden Protests */
body.story-page.project-page {
    background: #fff;
    color: var(--color-text);
}

.project-main {
    padding-bottom: 80px;
}

/* Hero focal point: center on Lovette */
body.project-page .project-hero .s-hero__bg {
    object-position: center 65%;
}

/* ============================================
   ARTICLE LAYOUT BRIDGE
   ============================================ */
.project-content {
    padding: 0 0 12px;
}

.project-article.s-article {
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 24px 0;
}

.project-article p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FIGURES
   ============================================ */
.project-figure.s-figure {
    margin-top: 30px;
}

/* Lead photo — centered, wider and cropped shorter */
.project-article > .project-figure:first-of-type {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
}

.project-article > .project-figure:first-of-type img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center 50%;
    border-radius: 14px;
}

/* ============================================
   SIGNUP FORM
   ============================================ */
.meetup-signup {
    margin: 48px 0;
    padding: 40px 44px;
    background: #FAF7F2;
    border-radius: 18px;
    border: 1px solid rgba(153, 90, 59, 0.1);
    box-shadow: 0 6px 24px rgba(23, 17, 10, 0.06);
}

.meetup-signup__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: var(--color-text);
    margin: 0 0 28px;
}

.meetup-signup__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meetup-signup__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meetup-signup__field label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.meetup-signup__field input {
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background: #fff;
    border: 1px solid rgba(153, 90, 59, 0.2);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.meetup-signup__field input:focus {
    border-color: var(--color-primary-dark);
    box-shadow: 0 0 0 3px rgba(153, 90, 59, 0.1);
}

.meetup-signup__field input::placeholder {
    color: #b0a090;
}

.meetup-signup__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.meetup-signup__checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--color-primary-dark);
    cursor: pointer;
}

.meetup-signup__checkbox label {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.65;
    color: #6b5c4c;
    cursor: pointer;
}

.meetup-signup__btn {
    align-self: flex-start;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary-dark);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.meetup-signup__btn:hover {
    background: #7a4830;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 90, 59, 0.25);
}

/* Honeypot field */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   CTA SECTION — matches about page exactly
   Overrides home.css .cta-section (bg image, overlays)
   ============================================ */
.project-article .cta-section {
    padding: 40px 0 100px 0 !important;
    min-height: auto !important;
    background-color: transparent !important;
    background-image: none !important;
    align-items: center !important;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 44px 0 0;
}

.project-article .cta-section::before,
.project-article .cta-section::after {
    display: none !important;
    content: none !important;
}

.project-article .cta-section .brxe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 56px;
    text-align: center;
    background: linear-gradient(135deg, #995A3B 0%, #BD9450 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(153, 90, 59, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-article .cta-section .brxe-heading {
    font-family: "Playfair Display", serif;
    font-weight: 900;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 12px 0;
}

.project-article .cta-section .brxe-text p {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 12px 0;
}

.project-article .cta-section .brxe-text p span {
    color: #fff;
}

.cta-contact-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.cta-contact-row .brxe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: 8px;
    background-color: #fff;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 180px;
}

.cta-contact-row .brxe-button:hover {
    background-color: #2d4a3e !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-buttons {
    display: flex !important;
    gap: 20px;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    margin-top: -10px;
    width: 100% !important;
    position: relative;
    left: 0 !important;
    transform: translateX(0) !important;
    text-align: center !important;
}

.cta-buttons .brxe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: "Inter", sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px;
    text-decoration: none;
    border-radius: 8px;
    background-color: #fff !important;
    color: #1a1a1a !important;
    border: none !important;
    outline: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 250px !important;
    flex: none !important;
}

.cta-buttons .brxe-button:hover {
    background-color: #E8D5B7 !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .project-main {
        padding-bottom: 68px;
    }

    .project-article.s-article {
        padding: 44px 24px 0;
    }

    .meetup-signup {
        margin: 36px 0;
        padding: 28px 24px;
    }

    .meetup-signup__btn {
        width: 100%;
        text-align: center;
    }

    .project-article .cta-section {
        margin: 30px 0 0;
        padding: 60px 0 !important;
    }

    .project-article .cta-section .brxe-container {
        padding: 0 20px;
    }

    .project-article .cta-section .brxe-heading {
        font-size: 32px;
    }

    .project-article .cta-section .brxe-text p {
        font-size: 16px;
    }

    .cta-contact-row {
        margin: 0 0 12px 0 !important;
        width: 100%;
    }

    .cta-contact-row .brxe-button {
        width: 100% !important;
        min-width: unset;
        margin: 0 !important;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px !important;
        margin: 0 !important;
    }

    .cta-buttons .brxe-button {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .project-article.s-article {
        padding: 36px 20px 0;
    }

    .meetup-signup {
        padding: 24px 20px;
    }

    .project-article .cta-section {
        margin: 24px 0 0;
    }
}

