/* ============================================================
   IMAGE SOURCES PAGE
   ============================================================ */

/* ── Hero ── */
.sd-hero {
    position: relative;
    width: 100%;
    height: 35vh;
    min-height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(-1 * var(--nav-height));
}

.sd-hero__canvas { position: absolute; inset: 0; z-index: 0; }
.sd-hero__canvas canvas { width: 100% !important; height: 100% !important; display: block; }

.sd-hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.sd-hero__content {
    position: relative; z-index: 2; text-align: center;
    max-width: 780px; padding: 0 1.5rem;
    padding-top: var(--nav-height);
}

.sd-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 700; line-height: 1.3;
    color: #fff; margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.sd-hero__subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    letter-spacing: 0.06em;
}

.sd-hero__fade {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 100px; z-index: 2; pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

[data-theme="light"] .sd-hero__fade {
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(236,232,244,0.2) 25%, rgba(236,232,244,0.5) 55%, #ece8f4 100%);
}

/* ── Page container ── */
.is-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

/* ── Shared title style ── */
.is-policy__title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.is-policy__title-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: 0.04em;
}

/* ── Our practice box ── */
.is-policy {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.is-policy p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.is-policy ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.25rem;
    padding: 0;
}

.is-policy ul li {
    display: block;
    padding-left: 14px;
    position: relative;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.is-policy ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

.is-policy a {
    color: var(--accent);
    text-decoration: none;
}

.is-policy a:hover { text-decoration: underline; }

/* ── Takedown box ── */
.is-takedown {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
}

.is-takedown__body {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.is-takedown__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(147,102,255,0.10);
    border: 1px solid rgba(147,102,255,0.25);
    border-radius: var(--radius-sm);
    padding: 9px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(183,148,255,0.9);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.is-takedown__cta:hover {
    background: rgba(147,102,255,0.18);
    border-color: rgba(147,102,255,0.4);
}

.is-takedown__note {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 10px;
    opacity: 0.7;
}

/* ── Footer ── */
.is-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.55;
    text-align: center;
    letter-spacing: 0.04em;
}

/* ── Light theme ── */
[data-theme="light"] .is-policy,
[data-theme="light"] .is-takedown {
    background: #fff;
    border-color: rgba(139,92,246,0.10);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

[data-theme="light"] .is-takedown__cta {
    color: #7c3aed;
    background: rgba(147,102,255,0.06);
    border-color: rgba(147,102,255,0.2);
}

[data-theme="light"] .is-takedown__cta:hover {
    background: rgba(147,102,255,0.12);
    border-color: rgba(147,102,255,0.35);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .is-container { padding: 2rem 1rem 4rem; }
    .is-policy { padding: 1.25rem; }
    .is-takedown { padding: 1.25rem; }
    .sd-hero { min-height: 200px; }
    .sd-hero__title { font-size: clamp(1.2rem, 5vw, 1.6rem); }
}