/* --- DOCTRINE SECTOR: WIDESCREEN COMMAND --- */

/* 1. BASE HULL */
body {
    background-image: url('../assets/doctrine-vista.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    /* DIMMER SWITCH (0.0 = Bright, 1.0 = Dark) */
    background-color: rgba(0, 0, 0, 0.2); 
    background-blend-mode: multiply;
    
    font-family: "Snell Roundhand", cursive;
    color: #00e5ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* 2. MASTHEAD LOGO */
.sector-logo {
    width: 300px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    filter: sepia(100%) saturate(300%) hue-rotate(130deg) drop-shadow(0 0 15px #00e5ff);
}

/* 3. TITLES */
.site-title, h1 {
    font-size: 3.5rem !important;
    text-align: center;
    margin-top: 10px;
    color: #00e5ff !important;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
}

/* 4. DOCTRINE CONTAINER (The Area holding the text) */
.doctrine-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;      /* Center them */
    
    /* --- WIDTH CONTROL --- */
    width: 95%;      
    max-width: 1600px; 
    padding: 20px;
}

/* 5. THE PILLARS (The Text Lines) */
.pillar {
    background: transparent;
    border: none;
    box-shadow: none;
    
    /* --- STRETCH CONTROL --- */
    width: 100%; 
    text-align: center; 
    padding: 10px;
    margin-bottom: 20px; 
}

/* 6. TEXT STYLING */
.pillar h2 {
    font-size: 2.2rem; 
    margin-bottom: 10px;
    color: #00e5ff; 
    text-shadow: 0 0 20px #00e5ff; 
    width: 100%;
}

.pillar p {
    font-size: 1.8rem; 
    line-height: 1.4;
    color: #00e5ff !important; 
    text-shadow: 0 0 8px #000000;
    width: 100%;
}

/* 7. ROMAN NUMERALS */
.numeral {
    font-family: "Courier New", monospace !important;
    font-weight: bold;
    font-style: normal;
    margin-right: 15px;
    color: #00e5ff;
}

/* 8. BUTTONS */
.btn {
    display: inline-block;
    font-family: "Snell Roundhand", cursive;
    font-size: 1.5rem;
    color: #00e5ff !important; 
    border: 1px solid #00e5ff; 
    text-decoration: none;
    padding: 10px 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn:hover {
    background: rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 20px #00e5ff;
    color: #ffffff !important; 
}

/* 9. NAVIGATION DECK */
.nav-deck {
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-top: 20px;
    margin-bottom: 20px; 
}

/* --- THE CANON DECK (Manifesto) --- */

.canon-deck {
    width: 95%;
    max-width: 900px;
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.05), transparent);
    border-top: 1px solid rgba(0, 229, 255, 0.3);
}

.canon-title {
    font-family: "Snell Roundhand", cursive;
    font-size: 2.5rem !important;
    color: #00e5ff !important;
    text-shadow: 0 0 20px #00e5ff;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.9;
}

/* The Poetry Text */
.canon-text p {
    font-family: "Snell Roundhand", cursive;
    font-size: 1.8rem !important;
    line-height: 1.8;
    color: #00e5ff !important;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* THE FINAL COMMAND - UPDATED WITH HIGH RANKING SELECTOR */
.canon-text .canon-outro {
    /* SIZE UPDATE: Now overriding the paragraph rule */
    font-size: 3.5rem !important; 
    
    font-weight: bold;
    color: #00e5ff !important;
    text-transform: none !important;
    letter-spacing: 1px !important; 
    
    margin-top: 15px;
    text-shadow: 0 0 30px #00e5ff !important;
    border-bottom: 2px solid #00e5ff;
    display: inline-block;
    padding-bottom: 15px;
    line-height: 1.2;
}

/* The Divider Line */
.sector-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), #00e5ff, rgba(0,0,0,0));
    margin-top: 50px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.5;
}