/* --- 1. GLOBAL DEFAULTS --- */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "EB Garamond", Georgia, serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.main-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto; 
    padding: 20px 20px 100px 20px; 
    box-sizing: border-box;
}

/* --- 2. BRANDED HEADER WITH HOVER BOX --- */
#site-header {
    margin-top: 15px; 
    text-align: center;
    display: block;
    text-transform: uppercase;
}

#site-header a {
    font-family: "EB Garamond", Georgia, serif; 
    font-weight: 900;
    color: #ff0080; 
    text-decoration: none;
    font-size: 1.1em;
    letter-spacing: 0px;
    padding: 10px 15px;
    border: 3px solid transparent;
    transition: all 0.1s ease-in-out;
    display: inline-block;
}

#site-header a:hover {
    border-color: #ff0080;
    background-color: #ff0080;
    color: #ffffff;
}

/* --- 3. GLOBAL LINK BRANDING --- */
a, a:visited {
    color: #ff0080;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

/* --- 4. ANNEX TITLE & SUBTITLE FORMATTING --- */
h1.article-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.9;
    font-size: 6em; 
    letter-spacing: -5px;
    color: #000;
    margin-top: 10px !important; 
    margin-bottom: 30px !important;
}

/* RESTORED: Ornate Subtitle (Cursive Style) */
h2.subtitle {
    font-family: "Great Vibes", 'Brush Script MT', cursive !important;
    font-size: 4.5em !important; 
    color: #ff0080 !important;
    font-weight: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.1 !important;
    margin-top: -0.1em !important; 
    margin-bottom: 0 !important;
    text-align: center; /* Centered for Annex look */
}

/* --- 5. THE ANNEX LIST BOXES --- */
.annex-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.link-item a {
    font-family: "Helvetica Neue", sans-serif;
    font-weight: 900;
    font-size: 2.5em !important; 
    letter-spacing: -2px;
    line-height: 0.9;
    text-transform: uppercase;
    display: block;
    color: #ff0080;
    border: 3px solid #ff0080; 
    padding: 25px 40px; 
    box-sizing: border-box;
}

.link-item a:hover {
    background-color: #ff0080;
    color: #fff;
}

/* --- 6. MOBILE REFINEMENT --- */
@media screen and (max-width: 600px) {
    .main-content { 
        padding: 10px 20px 80px 20px !important; 
    }
    
    #site-header { 
        margin-top: 10px !important; 
    }

    h1.article-title {
        font-size: 3.5em !important;
        letter-spacing: -3px !important;
        margin-top: 5px !important;
        display: block !important;
    }

    /* Specifically scaled subtitle for mobile */
    h2.subtitle { 
        font-size: 2.5em !important; 
        line-height: 1.2 !important;
        margin-top: 0.2em !important;
    }

    .annex-list {
        width: 75% !important; 
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .link-item a {
        font-size: 1.8em !important;
        padding: 20px !important;
        letter-spacing: -1.5px !important;
        word-wrap: break-word !important;
        display: block !important;
    }
}