/* Article / SEO page layout on brand chrome */

.article-shell {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.page-hero {
    text-align: center;
    margin-bottom: 36px;
}

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.page-hero .hebrew {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.page-hero .subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.content {
    background: var(--surface);
    padding: 48px 40px;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

:is(html.theme-dark, body.theme-dark) .content {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 36px 0 14px;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 28px 0 12px;
}

.content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 16px;
    color: var(--charcoal);
}

.content ul,
.content ol {
    margin: 0 0 20px 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content li {
    margin-bottom: 8px;
}

.content a {
    color: var(--primary-gold);
    font-weight: 500;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content .last-updated {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.cta-block {
    text-align: center;
    padding: 28px 20px;
    background: var(--cream);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    margin: 36px 0 8px;
}

.cta-block p {
    margin-bottom: 18px;
}

.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none !important;
    margin: 0 6px 10px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cta-primary {
    background: var(--deep-blue);
    color: #fff !important;
}

.cta-primary:hover {
    background: #1a252f;
    transform: translateY(-1px);
}

:is(html.theme-dark, body.theme-dark) .cta-primary {
    background: var(--primary-gold);
    color: #0a1421 !important;
}

:is(html.theme-dark, body.theme-dark) .cta-primary:hover {
    background: var(--amber);
}

.cta-secondary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c89b5a 100%);
    color: #fff !important;
}

.cta-secondary:hover {
    transform: translateY(-1px);
}

.sister-section {
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.sister-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.sister-section > p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 1rem;
}

.sister-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sister-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sister-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.15);
    text-decoration: none;
    transform: translateY(-2px);
}

.sister-card strong {
    display: block;
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.sister-card span {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

.more-pages {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.more-pages a {
    color: var(--primary-gold);
    font-weight: 500;
    text-decoration: none;
}

.more-pages a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq details {
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: var(--cream);
}

.faq summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--charcoal);
    list-style: none;
}

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

.faq summary::before {
    content: '+ ';
    color: var(--primary-gold);
}

.faq details[open] summary::before {
    content: '− ';
}

.faq details p {
    margin: 12px 0 4px;
    font-size: 1rem;
    color: var(--charcoal);
}

/* Support donation blocks */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.donation-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 12px;
    border-radius: 14px;
    border: 1px solid var(--surface-border);
    background: var(--cream);
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 600;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.donation-option:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.18);
    text-decoration: none;
    color: var(--charcoal);
}

.donation-option .amount {
    font-size: 1.35rem;
    color: var(--primary-gold);
}

.donation-option .label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.support-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 8px;
}

.note,
.highlight {
    background: var(--cream);
    border-left: 4px solid var(--primary-gold);
    padding: 18px 20px;
    margin: 20px 0;
    border-radius: 0 12px 12px 0;
}

.note p,
.highlight p {
    margin-bottom: 0;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 28px;
}

.donation-options {
    display: grid;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto 28px;
}

.donation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none !important;
    color: #fff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donation-button.one-time {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c89b5a 100%);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

.donation-button.recurring {
    background: var(--deep-blue);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.25);
}

:is(html.theme-dark, body.theme-dark) .donation-button.recurring {
    background: #0a1421;
}

.donation-button:hover {
    transform: translateY(-2px);
}

.donation-button .button-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
}

.donation-button .button-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.footer-note {
    text-align: center;
    color: var(--gray);
    margin-top: 8px;
}

.contact-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--surface-border);
}

.content .section {
    margin-bottom: 8px;
}

.content .section h2 {
    margin-top: 36px;
}

.content .section:first-of-type h2,
.content > h2:first-child {
    margin-top: 0;
}

.page-hero h1 img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .article-shell {
        padding: 28px 16px 64px;
    }

    .content,
    .sister-section {
        padding: 32px 24px;
    }

    .sister-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .content,
    .sister-section {
        padding: 28px 18px;
    }

    .cta-primary,
    .cta-secondary {
        display: block;
        margin: 0 0 10px;
    }
}
