/* --- NEW FULL-WIDTH CSS --- */

/* 1. Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* 2. Brand Colors */
:root {
    --paper: #f9f7f2;
    --ink: #0a0e14;
    --gold: #b39359;
    --oxford: #002147;
}

/* 3. NUCLEAR OPTION: Remove OJS White Box Limits */
.pkp_structure_page {
    background-color: var(--paper) !important;
}

.pkp_structure_content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.pkp_structure_main {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Hide the default breadcrumbs and titles */
.pkp_site_name_wrapper, 
.pkp_page_title, 
.pkp_navigation_breadcrumbs { 
    display: none !important; 
}

/* 4. Your Custom Design (Updated for Full Screen) */
.legalis-canvas {
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    color: var(--ink);
    font-family: 'Montserrat', sans-serif;
    
    /* Make it fill the whole screen height */
    min-height: 85vh; 
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers everything vertically */
    text-align: center;
    padding: 80px 20px;
    box-sizing: border-box;
}

/* Font Styles */
.brand-decree {
    font-family: 'Cinzel', serif;
    font-size: clamp(16px, 4vw, 22px);
    letter-spacing: 0.5em;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--oxford);
}

.h-decree {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--oxford);
}
.h-decree span {
    font-style: italic;
    color: var(--gold);
}

.sub-decree {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    color: #444;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.text-block {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.btn-portal {
    background: var(--oxford);
    color: #fff !important;
    padding: 18px 45px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-portal:hover {
    background: #000;
    transform: translateY(-2px);
}