#header nav {
    display: none;
}

/* Hide referral/gift code fields */
.ml-form-fieldRow:has(input[name*="gift_code"]),
.ml-form-fieldRow:has(input[name*="gift-code"]),
.ml-form-fieldRow:has(input[name*="referral"]),
.ml-form-fieldRow:has(input[name*="ref_code"]),
.ml-form-fieldRow:has(input[name*="referred_by"]) {
    display: none !important;
}

/* Gift confirmation styling */
.cedar-gift-confirmation {
    padding: 2rem;
    text-align: left;
}

.cedar-gift-confirmation h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.cedar-gift-confirmation > p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

.gift-message-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gift-message-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gift-message-text {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.copy-btn {
    align-self: flex-end;
    background: #4a7c59;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #5a9c69;
}

.gift-note {
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
    margin-top: 1.5rem;
}

/* Join confirmation styling */
.cedar-join-confirmation {
    padding: 2rem;
    text-align: left;
}

.cedar-join-confirmation h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.cedar-join-confirmation > p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

.referral-section {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.referral-section p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.referral-section .referral-header {
    color: #333 !important;
    font-size: 1.1rem;
}

.cedar-join-confirmation .referral-section {
    background: rgba(0, 0, 0, 0.05);
}

.cedar-join-confirmation .referral-section p,
.cedar-join-confirmation .referral-section li {
    color: #333 !important;
}

.referral-section ul {
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.referral-section li {
    margin-bottom: 0.6rem;
}

.referral-link-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 4px;
}

.referral-link {
    flex: 1;
    color: #89b4d5;
    font-size: 0.85rem;
    word-break: break-all;
}

.copy-link-btn {
    flex-shrink: 0;
}

.excited-note {
    color: #a0aec0;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Scroll padding for anchor links */
html {
    scroll-padding-top: 120px;
}

#join, #share {
    scroll-margin-top: 120px;
}

/* Secondary button - softer style */
.button.secondary {
    background-color: transparent !important;
    border-color: rgba(137, 180, 213, 0.6) !important;
    color: #89b4d5 !important;
}

.button.secondary:hover {
    background-color: rgba(137, 180, 213, 0.15) !important;
    border-color: #89b4d5 !important;
    color: #a8cde8 !important;
}

.more.scrolly {
    display: none;
}

#cta .inner {
    justify-content: center;
}

.rounded {
    border-radius: 50%;
    margin: 10px auto;
}

.shadowed {
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 1);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 1);
}

.constrained {
    max-width: 60%;
    max-height: auto;
    display: block;
    margin: 0 auto
}

.wrapper.style3 {
    background-color: var(--section-three);
    /* color: var(--green-web); */
    color: var(--magnolia);
}

/* Example: Change background color and text color */
.section-three {
    background-color: #f0f0f0;  /* Light grey background */
    color: #333333;             /* Dark text */
}

/* Banner tagline styling */
#banner .tagline {
    font-style: italic;
    opacity: 0.9;
    margin-top: 0.5rem;
}

#banner .subhead {
    font-size: 1.1em;
    margin-bottom: 0.25rem;
}

/* Mobile banner adjustments */
@media (max-width: 768px) {
    #banner {
        height: 100vh;
        min-height: 100vh;
        padding: 1rem;
    }

    #banner .inner {
        padding-top: 0;
    }

    #banner .banner-image img {
        min-width: 180px !important;
        max-width: 200px;
    }

    #banner h2 {
        font-size: 1.2em;
        padding: 0.2em 0.5em;
        margin-bottom: 0.5rem;
    }

    #banner .subhead {
        font-size: 0.95em;
        margin-bottom: 0.25rem;
    }

    #banner .tagline {
        font-size: 0.85em;
        margin-bottom: 1rem;
    }

    #banner .actions {
        margin-top: 0.5rem;
    }
}

/* CTA Section - override theme defaults */
#cta.wrapper {
    padding: 4rem 2rem;
    background: transparent !important;
    color: #5a6270;
}

#cta .inner {
    display: block !important;
    max-width: 900px;
    margin: 0 auto;
}

#cta header.major {
    display: block !important;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

#cta header.major h2 {
    margin: 0;
    color: #4a5568;
}

#cta .cta-subhead {
    font-size: 1.1rem;
    color: #6a7280;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

#cta .cta-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 60%;
    margin: 1.5rem auto;
}

#cta h3 {
    color: #4a5568;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* CTA Block - form + FAQ side by side */
.cta-block {
    display: grid !important;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.cta-block:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cta-block {
        grid-template-columns: 1fr;
    }
}

.cta-form-container {
    padding: 0;
}

.cta-form-container h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.gift-note {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* FAQ Sidebar */
.cta-faq {
    padding: 0;
}

.cta-faq h4 {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

.cta-faq details {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-faq details:last-child {
    border-bottom: none;
}

.cta-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #5a6270;
    list-style: none;
}

.cta-faq summary::-webkit-details-marker {
    display: none;
}

.cta-faq summary::before {
    content: "+ ";
    color: #aaa;
}

.cta-faq details[open] summary::before {
    content: "− ";
}

.cta-faq details p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6a7280;
}