/* ===== ABOUT PAGE — CLASSIFIED DOCUMENT ===== */

/* Override the right page to look like aged paper with classified doc feel */
.book-page-right {
    background: #f0e8d0 !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E") !important;
    position: relative;
    box-shadow: inset 0 0 60px rgba(100, 70, 20, 0.12), inset 0 0 20px rgba(160, 110, 30, 0.08) !important;
}

/* Horizontal ruled lines like real paper */
.book-page-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 31px,
        rgba(150, 120, 60, 0.12) 31px,
        rgba(150, 120, 60, 0.12) 32px
    );
    pointer-events: none;
    z-index: 0;
}

/* Red margin line on the right (RTL doc) */
.book-page-right::after {
    content: '';
    position: absolute;
    top: 0;
    right: 52px;
    bottom: 0;
    width: 1.5px;
    background: rgba(180, 50, 50, 0.35);
    pointer-events: none;
    z-index: 0;
}

.page-content {
    position: relative;
    z-index: 1;
}

/* ── Classified banner top ── */
.chapter-title {
    display: none; /* hidden — replaced by classified header below */
}

.chapter-subtitle {
    display: none;
}

.page-divider {
    display: none;
}

/* Inject classified header via about-content wrapper */
.about-content {
    direction: rtl;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Classified TOP stamp banner */
.about-content::before {
    content: 'סודי ביותר';
    display: block;
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 6px;
    color: #fff;
    background: #8b1a1a;
    padding: 5px 0;
    margin-bottom: 22px;
    border: 2px solid #6a1010;
    box-shadow: 0 2px 6px rgba(100,0,0,0.25);
    text-transform: uppercase;
}

/* Classified BOTTOM stamp banner */
.about-content::after {
    content: 'סודי ביותר';
    display: block;
    text-align: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 6px;
    color: #fff;
    background: #8b1a1a;
    padding: 5px 0;
    margin-top: 22px;
    border: 2px solid #6a1010;
    box-shadow: 0 2px 6px rgba(100,0,0,0.25);
    text-transform: uppercase;
}

/* File header block above first paragraph */
.about-file-header {
    font-family: 'Heebo', monospace;
    font-size: 11.5px;
    color: #3a2a10;
    border: 1px solid rgba(100, 70, 20, 0.4);
    border-right: 3px solid #8b1a1a;
    padding: 10px 14px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.35);
    line-height: 1.9;
    direction: rtl;
}

.about-file-header span {
    color: #8b1a1a;
    font-weight: 700;
    margin-left: 4px;
}

/* Redacted text effect */
.redacted {
    background: #1a1a1a;
    color: #1a1a1a;
    border-radius: 2px;
    padding: 0 4px;
    user-select: none;
    letter-spacing: 1px;
}

/* Big CLASSIFIED diagonal watermark */
.page-content {
    position: relative;
    overflow: hidden;
}

.classified-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 80px;
    color: rgba(139, 26, 26, 0.07);
    letter-spacing: 8px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* ── Body text ── */
.about-content p {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 15.5px;
    line-height: 2.05;
    color: #1e1408;
    margin-bottom: 1.1em;
    position: relative;
    z-index: 1;
}

/* No drop-cap — classified docs are plain */
.about-content p:first-child::first-letter {
    font-size: inherit;
    font-weight: inherit;
    float: none;
    margin-left: 0;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
}

/* ── Quote block styled as an interrogation excerpt ── */
.about-quote {
    border-right: none;
    border: 1px solid rgba(100, 70, 20, 0.35);
    border-right: 3px solid #8b1a1a;
    padding: 12px 16px;
    margin: 24px 0;
    font-style: italic;
    font-size: 15px;
    color: #2a1a08;
    line-height: 1.9;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
    direction: rtl;
}

/* Small "תמליל חקירה" label above quote */
.about-quote::before {
    content: '◾ תמליל חקירה — קטע מצונזר';
    display: block;
    font-style: normal;
    font-family: 'Heebo', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8b1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* ── Bottom metadata strip ── */
.about-doc-footer {
    font-family: 'Heebo', sans-serif;
    font-size: 10px;
    color: rgba(50, 30, 10, 0.45);
    border-top: 1px solid rgba(100, 70, 20, 0.3);
    padding-top: 8px;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    direction: rtl;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* ── Page number stamp ── */
.classified-page-num {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Heebo', sans-serif;
    font-size: 10px;
    color: rgba(80, 50, 20, 0.4);
    letter-spacing: 3px;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
    .book-page-right::after {
        right: 30px; /* Adjust margin line for smaller screens */
    }

    .about-content {
        max-width: 100%;
    }

    .about-content::before,
    .about-content::after {
        font-size: 11px;
        letter-spacing: 4px;
        padding: 4px 0;
        margin-bottom: 18px;
    }

    .about-content::after {
        margin-top: 18px;
    }

    .about-file-header {
        font-size: 10px;
        padding: 8px 12px;
        margin-bottom: 16px;
    }

    .classified-watermark {
        font-size: 60px;
        letter-spacing: 6px;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.9;
    }

    .about-quote {
        font-size: 13.5px;
        padding: 10px 14px;
        margin: 20px 0;
    }

    .about-quote::before {
        font-size: 8.5px;
        letter-spacing: 1.5px;
    }

    .about-doc-footer {
        font-size: 9px;
        flex-direction: column;
        gap: 5px;
    }

    .classified-page-num {
        font-size: 9px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .book-page-right::after {
        right: 20px;
    }

    .about-content::before,
    .about-content::after {
        font-size: 10px;
        letter-spacing: 3px;
        padding: 3px 0;
        margin-bottom: 15px;
    }

    .about-content::after {
        margin-top: 15px;
    }

    .about-file-header {
        font-size: 9px;
        padding: 7px 10px;
        margin-bottom: 14px;
        line-height: 1.7;
    }

    .classified-watermark {
        font-size: 45px;
        letter-spacing: 4px;
    }

    .about-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .about-quote {
        font-size: 12.5px;
        padding: 9px 12px;
        margin: 16px 0;
        line-height: 1.7;
    }

    .about-quote::before {
        font-size: 8px;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    .classified-page-num {
        font-size: 8px;
        bottom: 12px;
        letter-spacing: 2px;
    }
}
