/* =========================================
           THE MANIFESTO BESPOKE STYLES
           ========================================= */
body.manifesto-page {
    background: linear-gradient(135deg, #01120e 0%, #010a08 100%);
    /* Deepest Midnight */
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.minimal-nav-bar {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.nav-return-link {
    font-family: var(--font-heading, 'Cinzel', serif);
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.nav-return-link:hover {
    color: var(--tenant-primary-color, #e6b34a);
}

.doctrine-container {
    max-width: 760px;
    /* Perfect reading width for desktop */
    margin: 150px auto 100px auto;
    padding: 0 30px;
    flex: 1;
}

.doctrine-main-title {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 3.5rem;
    color: var(--tenant-primary-color, #e6b34a);
    text-transform: uppercase;
    letter-spacing: 8px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.title-separator {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(230, 179, 74, 0.5), transparent);
    margin: 0 auto 80px auto;
}

.doctrine-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: riseUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered load animation */
.doctrine-section:nth-child(1) {
    animation-delay: 0.2s;
}

.doctrine-section:nth-child(2) {
    animation-delay: 0.4s;
}

.doctrine-section:nth-child(3) {
    animation-delay: 0.6s;
}

.doctrine-section:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 25px;
}

.roman-numeral {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.8rem;
    color: rgba(230, 179, 74, 0.4);
    font-weight: 400;
}

.section-title {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 500;
}

.doctrine-text {
    font-family: var(--font-primary, 'Manrope', sans-serif);
    font-size: 1.15rem;
    line-height: 2;
    color: #a3a3a3;
    font-weight: 300;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
}

/* Targeted Emphasis - Replaces the volatile ::first-line */
.emphasis-text {
    color: #ffffff;
    font-weight: 500;
    font-style: normal;
}

.doctrine-signature {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: right;
    opacity: 0;
    animation: riseUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.2s;
}

.sig-role {
    font-family: var(--font-primary, 'Manrope', sans-serif);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.sig-name {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.5rem;
    color: var(--tenant-primary-color, #e6b34a);
    letter-spacing: 2px;
    margin: 0;
}

/* Responsive Architecture */
@media (max-width: 768px) {
    .doctrine-container {
        margin: 100px auto 60px auto;
        padding: 0 25px;
    }

    .doctrine-main-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .title-separator {
        height: 50px;
        margin-bottom: 50px;
    }

    .section-header {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }

    .roman-numeral {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .doctrine-text {
        font-size: 1.05rem;
        line-height: 1.8;
        text-align: left;
        /* Justify removed for cleaner mobile reading */
    }

    .doctrine-signature {
        text-align: left;
        margin-top: 60px;
    }
}