/* Styles for core/sobriety_medallion_maker.html */
.smm { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1rem 0; }
.smm-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.smm h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-primary, #1a1a1a);
}
.smm-lead { font-size: 1.1rem; color: var(--text-muted, #555); line-height: 1.55; margin-bottom: 1.5rem; }
.smm-checks { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.smm-checks li { padding: 0.35rem 0 0.35rem 1.75rem; position: relative; color: var(--text-primary, #333); font-size: 0.95rem; }
.smm-checks li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0.4rem; color: var(--accent-green, #28a745); }
.smm-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-dark, #1e4d8b);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-btn, 10px);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: none;
    --heading-color: currentColor;
}
.smm-cta-primary:hover {color: #fff; }
.smm-hero-image {
    position: relative;
}
.smm-hero-image img {
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}

/* Quick tool */
.smm-tool {
    background: var(--bg-light, #f8f9fa);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    margin-bottom: 4rem;
    text-align: center;
}
.smm-tool h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.smm-tool p.sub { color: var(--text-muted, #666); margin-bottom: 1.5rem; }
.smm-tool form {
    display: flex;
    gap: 0.5rem;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.smm-tool input, .smm-tool select {
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--card-bg, #fff);
    color: var(--text-primary, #1a1a1a);
}
.smm-tool input { flex: 1; min-width: 140px; }
.smm-tool button {
    background: var(--primary-dark, #1e4d8b);
    color: #fff;
    border: none;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    --heading-color: currentColor;
}

/* Style showcase */
.smm-showcase { margin-bottom: 4rem; }
.smm-showcase h2 { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 0.4rem; }
.smm-showcase > p { text-align: center; color: var(--text-muted, #666); margin-bottom: 2.25rem; }
.smm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}
.smm-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}
.smm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.smm-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.smm-card .smm-label { padding: 0.75rem 0.5rem; font-weight: 600; font-size: 0.85rem; color: var(--text-primary, #333); }

/* How it works */
.smm-how { margin-bottom: 4rem; }
.smm-how h2 { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 2rem; }
.smm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.smm-step {
    text-align: center;
    padding: 1.5rem 1rem;
}
.smm-step .num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-dark, #1e4d8b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    --heading-color: currentColor;
}
.smm-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.smm-step p { color: var(--text-muted, #666); font-size: 0.9rem; line-height: 1.5; }

/* Upgrades */
.smm-extras { margin-bottom: 4rem; }
.smm-extras h2 { text-align: center; font-size: 1.6rem; font-weight: 800; margin-bottom: 1.5rem; }
.smm-extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.smm-extra {
    display: block; padding: 1.5rem; border-radius: 18px; text-decoration: none; color: inherit;
    border: 2px solid #e8d48b; background: #fffbea;
}
.smm-extra:hover { border-color: #d4af37; }
.smm-extra i { font-size: 1.5rem; color: #b8902a; margin-bottom: 0.6rem; }
.smm-extra h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.smm-extra p { color: var(--text-muted, #666); font-size: 0.9rem; line-height: 1.5; margin-bottom: 0.75rem; }
.smm-extra-link { font-weight: 700; color: var(--brand-text, #1e4d8b); font-size: 0.9rem; }
[data-theme="dark"] .smm-extra { background: var(--bg-card, #1f1f1f); border-color: #6b5a1e; }
[data-theme="dark"] .smm-extra h3 { color: #f5f5f5; }
[data-theme="dark"] .smm-extra p { color: #c8c8c8; }
[data-theme="dark"] .smm-extra-link { color: #8fb8ee; }

/* Explainer */
.smm-explainer { background: var(--bg-light, #f8f9fa); border-radius: 24px; padding: 3rem 2rem; margin-bottom: 4rem; }
.smm-explainer h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.smm-explainer p { color: var(--text-primary, #333); line-height: 1.7; margin-bottom: 1rem; font-size: 1rem; }

/* FAQ */
.smm-faq { margin-bottom: 4rem; }
.smm-faq h2 { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 2rem; }
.smm-faq details {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.smm-faq summary {
    font-weight: 700;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary, #1a1a1a);
}
.smm-faq summary::-webkit-details-marker { display: none; }
.smm-faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--brand-text, #1e4d8b); transition: transform 0.2s; }
.smm-faq details[open] summary::after { transform: rotate(45deg); }
.smm-faq details p { margin-top: 0.75rem; color: var(--text-muted, #555); line-height: 1.6; font-size: 0.95rem; }

/* Bottom CTA */
.smm-bottom-cta {
    background: var(--panel-ink);
    color: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    --heading-color: currentColor;
}
.smm-bottom-cta h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.smm-bottom-cta p { opacity: 0.92; margin-bottom: 1.5rem; font-size: 1rem; }
.smm-bottom-cta a {
    display: inline-block;
    background: var(--card-bg, #fff);
    color: var(--brand-text, #1e4d8b);
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-btn, 10px);
    font-weight: 700;
    font-size: 1.05rem;
}

[data-theme="dark"] .smm-tool { background: var(--bg-card, #1f1f1f); }
[data-theme="dark"] .smm-tool input,
[data-theme="dark"] .smm-tool select { background: var(--bg-card, #2a2a2a); color: #f5f5f5; }
[data-theme="dark"] .smm-card { background: var(--bg-card, #1f1f1f); }
[data-theme="dark"] .smm-explainer { background: var(--bg-card, #1f1f1f); }
[data-theme="dark"] .smm-faq details { background: var(--bg-card, #1f1f1f); }

@media (max-width: 800px) {
    .smm-hero { grid-template-columns: 1fr; text-align: center; }
    .smm-checks { text-align: left; display: inline-block; }
    .smm-steps { grid-template-columns: 1fr; }
    .smm-tool form { flex-direction: column; }
    .smm-tool input, .smm-tool select, .smm-tool button { width: 100%; }
}
