/* --- Basic Reset and Typography --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333333;
    color: #dddddd;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- RESPONSIVE IMAGE STYLES --- */
img {
    max-width: 100%; 
    height: auto; 
    display: block; 
    border-radius: 8px;
    margin-bottom: 15px; 
}



/* ------------------------------------------------------------------- */
/* --- 1. Full-Width Header and Menu --- */
/* ------------------------------------------------------------------- */


.site-header {
    background-color: #365492; /* Signature Blue */
    padding: 42px 0 20px 0; /* Lowering the content from the top */
}

.header-content {
    max-width: 1200px; /* Matches your footer/content width */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Logo and Menu now share a baseline */
}


/* --- NEW: Hamburger Toggle Style (Hidden on Desktop) --- */
.menu-toggle {
    display: none; 
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 2100; /* Ensure button stays on top of menu */
}


.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Right-aligns icons and menu */
    gap: 15px; /* Gap between icons and menu */
}


.social-links-top {
    display: flex;
    gap: 5px; /* Matches your original footer spacing */
}

.social-links-top img {
    width: 30px; /* Full size as requested */
    height: 30px;
    margin: 2px 4px 7px 0px; 
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: block;
}

.social-links-top img:hover {
    transform: scale(1.2);
}

.site-title {
    margin: 0;
}

.site-title img {
    /* Minimum: 220px, Preferred: 25vw, Maximum: 320px */
    width: clamp(250px, 25vw, 320px); 
    height: auto;
    margin: 0px 20px 0px 20px; /* Keeping your preferred margin */
    display: block;
}







/* --- Desktop Segmented Menu & Submenu --- */
@media (min-width: 769px) {
    .site-menu {
        display: block;
    }

    .site-menu ul {
        display: inline-flex; 
        list-style: none;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.4); 
        border-radius: 8px; 
        background-color: rgba(255, 255, 255, 0.05);
    }

    /* This 'relative' setting is the anchor for the submenu */
    .site-menu li {
        margin: 0; 
        position: relative; 
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .site-menu li:last-child {
        border-right: none;
    }




.site-menu li a {
    display: block;
    /* Font scales between 0.85rem (small) and 1.1rem (desktop) */
    font-size: clamp(0.8rem, 1.2vw, 1.0rem); 
    
    /* Padding scales between 12px and 45px */
    padding: 10px clamp(10px, 3vw, 45px); 
    
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap; /* Prevents "Journal" or "Dungeon" from splitting into two lines */
}






    .site-menu .current-sel {
        transition: background-color 0.2s ease;
    }

    .site-menu li a:hover {
        background-color: #ffffff;
        color: #365492; 
    }

/* --- Fix for Rounded Hover Highlights --- */

/* Rounds the left side of the 'Home' button highlight */
.site-menu ul li:first-child a {
    border-radius: 8px 0 0 8px;
}

/* Rounds the right side of the 'Dungeon' button highlight */
.site-menu ul li:last-child a {
    border-radius: 0 8px 8px 0;
}

/* Keeps the dropdown list items from inheriting those rounds */
.site-menu .dropdown-menu li a {
    border-radius: 0 !important;
}

    /* --- FIXED SUBMENU LOGIC --- */
    .site-menu .dropdown-menu {
        display: none !important; /* Hidden by default */
        position: absolute;
        top: 100%; 
        left: 0;
        min-width: 200px;
        background-color: #365492; /* Matches header blue */
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        z-index: 3000;
        padding: 0;
    }

    /* Show submenu only when hovering over the parent 'li' */
    .site-menu li.dropdown:hover .dropdown-menu {
        display: block !important;
    }

    /* Styles for the links INSIDE the dropdown */
    .site-menu .dropdown-menu li {
        border-right: none; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .site-menu .dropdown-menu li a {
        padding: 10px 15px;
        text-align: left;
    }

    .site-menu .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff; /* Keep text white on dropdown hover */
    }
}



/* ------------------------------------------------------------------- */
/* --- 2. Main Content Area (Two Primary Columns) --- */
/* ------------------------------------------------------------------- */
.main-content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    gap: 30px;
}

/* Spacing between Hero and White Content */
.page-hero + .main-content-area {
    margin-top: 10px; 
    margin-bottom: 15px; 
}


/* --- 3. Column Sizing and Styling --- */
.main-column {
    flex: 7;
    background-color: #333333;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
}

.sidebar-column {
    flex: 3;
    background-color: #333333;
    padding: 20px 0; 
    border-radius: 0px;
    border-left: 1px solid #7a7a7a; 
    margin-left: -30px;
}

.sidebar-column .content-entry {
    margin-left: 20px; 
    width: calc(100% - 20px); 
}

.main-column article:first-child h2, 
.sidebar-column article:first-child h3 {
    margin-top: 0;
}

/* ------------------------------------------------------------------- */
/* --- 4. Content Entry Styling & Typography --- */
/* ------------------------------------------------------------------- */
.content-entry {
    padding: 0; 
    margin-bottom: 20px; 
    border: none; 
    background-color: transparent; 
}

.main-column p {
    font-size: 17px; 
}

.sidebar-column p {
    font-size: 17px; 
}

.clicker {
  color: #70d980;
  font-size: 16px; 
  font-weight: bold;
}

.journsbar {
  width: 100%;
}

.content-entry a h2,
.content-entry a h3 {
    color: inherit; 
    text-decoration: none;
    margin-top: 0; 
}

.content-entry a:hover h2,
.content-entry a:hover h3 {
    color: #3498db; 
}

.chillthree {
    margin: 0px 0px 15px 0px;
}

.content-divider {
    border: 0;
    height: 1px;
    background-color: #7a7a7a;
    margin: 30px 0;
    width: 100%; 
}

.sec-divider {
    border: 0;
    height: 1px;
    background-color: #7a7a7a;
    margin: 20px 0px 0px;
}

.sidebar-column .sec-divider {
    margin-left: 0; 
    width: 100%; 
}

.singularity-divider {
    border: 0;
    height: 1px;
    background-color: #7a7a7a;
    margin: 20px 0;
    width: 100%; 
}

.link-divider {
    border: 1px solid #6a6a6a;
    margin: 0px 0px 10px;
}


/* ------------------------------------------------------------------- */
/* --- 5. CSS GRID for the Secondary Content --- */
/* ------------------------------------------------------------------- */
.secondary-content-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

.secondary-content-grid .content-entry:nth-child(odd) {
    border-right: 1px solid #7a7a7a; 
    padding-right: 20px;
}

.secondary-content-grid .content-entry {
    margin-bottom: 10px; 
    padding-left: 0; 
    padding-right: 0; 
}

.sidebar-column button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
    margin-top: 10px;
}


/* ------------------------------------------------------------------- */
/* --- 5b. CSS GRID for boxed Secondary Content, sans border --- */
/* ------------------------------------------------------------------- */

.boxed-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 20px;
}

.boxed-content-grid .content-entry:nth-child(odd) {
    //padding-right: 20px;
}

.boxed-content-grid .content-entry {
    margin-bottom: 20px; 
    padding-left: 0; 
    padding-right: 0; 
}





/* ------------------------------------------------------------------- */
/* --- 5. Journal Page Components --- */
/* ------------------------------------------------------------------- */
.calendar-archive,
.entry-quick-links {
    margin-bottom: 20px; 
    padding: 15px;
    border: 1px solid #dcdcdc; 
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 100%; 
    margin-left: 20px;
    box-sizing: border-box;
}

.entry-quick-links h3 {
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.entry-quick-links li {
    margin: 8px 0;
}

.entry-quick-links li a {
    color: #365492; 
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.entry-quick-links li a:hover {
    color: #2c3e50; 
    text-decoration: underline;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 5px; 
    list-style: none; 
    padding: 10px 0 0 0;
    margin: 5px 0 0 0;
}

.month-grid li {
    margin: 0;
    padding: 0;
    text-align: center; 
}

.month-grid li a {
    display: block;
    padding: 7px 0;
    background-color: #e0e0e0; 
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: #365492;
    transition: background-color 0.2s;
}

.month-grid li a:hover {
    background-color: #bdc3c7; 
    color: #2c3e50;
}

.journal-entry {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #bdc3c7; 
}

.journal-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.year-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0; 
    border-bottom: 1px solid #e0e0e0; 
    padding-bottom: 5px;
}

.year-list li {
    margin-bottom: 5px;
}

.month-grid-heading {
    font-size: 16px;
    margin: 10px 0 5px 0; 
    color: #333;
    font-weight: bold;
}

.journal-image {
      margin-top: 23px;
      margin-bottom: 23px;
}

.journal-return {
      text-align: right;
      margin-right: 8px;
}

/* --- CURRENT SELECTION HIGHLIGHT --- */
.current-selection {
    font-weight: bold;
    color: #365492; 
}

.month-grid .current-selection {
    background-color: #365492; 
    color: white; 
    border: 1px solid #365492; 
}

.month-grid .current-selection:hover {
    background-color: #365492; 
    color: white; 
    cursor: default; 
}

.year-list .current-selection {
    color: #2c3e50; 
    text-decoration: underline;
}



/* ------------------------------------------------------------------- */
/* --- Transparent Area --- */
/* ------------------------------------------------------------------- */

div.transblue {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(200, 200, 255, 0.15);
    // border: 1px solid #8c8cac; 
    border-radius: 8px;
    max-width: 100%;
}


div.transpurple {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(240, 180, 255, 0.15);
    // border: 1px solid #8c8cac; 
    border-radius: 8px;
    max-width: 100%;
}



div.transarctic {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(200, 200, 255, 0.2);
    // border: 1px solid #a0a0c0; 
    border-radius: 8px;
    max-width: 100%;
}


div.transbodger {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(100, 100, 108, 0.4);
    // border: 1px solid #646464; 
    border-radius: 8px;
    max-width: 100%;
}


div.transbrown {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(170, 150, 130, 0.2);
    border: 1px solid #6c5c40; 
    border-radius: 8px;
    max-width: 100%;
}


div.transgreen {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(130, 170, 150, 0.5);
    // border: 1px solid #8EA27D; 
    border-radius: 8px;
    max-width: 100%;
}


div.transaqua {
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 15px;
    background-color: rgba(100, 130, 160, 0.4);
    // border: 1px solid #8EA27D; 
    border-radius: 8px;
    max-width: 100%;
}



div.plaingrey {
    margin: 6px 0px 6px 0px;
    padding: 15px;
    background-color: rgba(200, 200, 200, 0.2);
    border: 1px solid #dcdcdc; 
    border-radius: 8px;
    max-width: 100%;
}

div.cartography {
    margin: 6px 0px 6px 0px;
    padding: 15px;
    background-color: #fff2cf;
    border: 1px solid #dcdcdc; 
    border-radius: 8px;
    max-width: 100%;
}

div.cartographyblue {
    margin: 0px 0px 6px 0px;
    padding: 15px;
    background-color: #e2f2ff;
    // border: 1px solid #dcdcdc; 
    border-radius: 12px;
    max-width: 100%;
}

div.helengreen {
    margin: 0px 0px 6px 0px;
    padding: 20px;
    background-color: rgba(200, 230, 200, 0.3);
    // border: 1px solid #dcdcdc; 
    border-radius: 12px;
    max-width: 100%;
}

div.specialgrey {
    margin: 0px 0px 0px 0px;
    padding: 15px;
    background-color: rgba(200, 200, 200, 0.2);
    // border: 1px solid #dcdcdc; 
    border-radius: 12px;
    max-width: 100%;
}

div.specialdark {
    margin: 10px 0px 0px 0px;                   
    padding: 5px 20px 10px 20px;
    background-color: rgba(30, 30, 30, 0.2);
    //border: 4px solid #777;
    border-radius: 8px;
    max-width: 100%;
}


div.specialfade {
    margin: 10px 0px 0px 0px;                   
    padding: 5px 20px 10px 20px;
    background-image: linear-gradient(rgba(65,65,65,1), rgba(0,0,0,0));
    //border: 1px solid #777;
    border-radius: 8px;
    max-width: 100%;
}


.light-divider {
    border: 0;
    height: 1px;
    background-color: #bdc3c7;
    margin: 10px 0px 10px 0px;
}

.map-divider {
    border: 0;
    height: 1px;
    background-color: #bfb28f;
    margin: 10px 0px 10px 0px;
}

.bluemap-divider {
    border: 0;
    height: 1px;
    background-color: #b2c2df;
    margin: 8px 0px 8px 0px;
}



/* ------------------------------------------------------------------- */
/* --- Video --- */
/* ------------------------------------------------------------------- */

video {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px; /* Matches your image/container style */
    //border: 4px solid #555;
    //box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 17px 0px 20px 0px;
}


/* ------------------------------------------------------------------- */
/* --- Bodger's Fact File --- */
/* ------------------------------------------------------------------- */


.fact-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.intro-text {
    flex: 1; /* Takes up all available space to the left */
}

.intro-text h3 {
    margin-top: 0;
    color: #ddd; /* bright text for contrast */
}

.intro-text p {
    font-family: Arial,sans-serif;
    color: #ddd;
}

.profile-pic {
    width: 240px; /* Slightly larger since it has its own space now */
    object-fit: cover;
    border-radius: 8px; /* Matching the container's 10px radius */
    border: 4px solid #777;
    flex-shrink: 0; /* Prevents the image from being squished */
}


.fact-file {
    max-width: 100%;
    background-color: #505050; /* Matches your container color */
    padding: 25px;
    border-radius: 10px;
    color: #ccc;
    font-family: 'Roboto', sans-serif;
}

.fact-row {
    display: flex; /* Magic alignment fix */
    justify-content: flex-start;
    align-items: baseline; /* Keeps text aligned at the bottom */
    padding: 10px 0;
    border-bottom: 1px solid #777; /* Subtle separator line */
}

.fact-label {
    flex: 0 0 45%; /* Label takes up 45% of the width */
    font-weight: bold;
    color: #ccc;
    position: relative;
    padding-left: 15px;
}

/* Adds the bullet point from your mockup */
.fact-label::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #ee9970;
}

.fact-value {
    flex: 1; /* Takes up the remaining 55% space */
    padding-left: 20px;
    font-size: 1rem;
    color: #80cc80;
}


/* ------------------------------------------------------------------- */
/* --- Footer Styling --- */
/* ------------------------------------------------------------------- */

.site-footer {
    background-color: #365492;
    color: white;
    padding: 15px 0;
    margin-top: 0; 
    width: 100%;
}

.site-footer .content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    text-align: left; 
}

.site-footer .content-container p {
    margin: 0; 
}

.social-links {
    margin-bottom: 0; 
}

.social-links img {
    display: inline-block; 
    width: 30px; 
    height: 30px;
    margin: 0 2px; 
    margin-bottom: 0; 
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}



/* ------------------------------------------------------------------- */
/* --- 6. CORRECTED MOBILE RESPONSIVENESS (50% LEFT DRAWER) --- */
/* ------------------------------------------------------------------- */

@media (max-width: 768px) {
    .site-header {
        padding: 20px 0;
    }
    
    .header-content {
        display: block !important; /* Disables the desktop flexbox row */
        text-align: center;
        padding: 0;
        position: relative;
    }


.header-right {
        display: block !important; /* Stops the vertical social/menu stack */
    }

    .social-links-top {
        display: none !important; /* Kills the extra icons from Image 2 */
    }

    .site-title {
        margin: 0 auto;
        padding-top: 10px;
    }

    .site-title img {
        margin: 0 auto !important; /* Centers the logo */
        max-width: 250px; 
    }



/* --- 2. Fix Colors & Submenu (Image 3 & 4) --- */
    
    /* Restore white text for mobile menu */
    .site-menu ul li a {
        color: #ffffff !important; 
        text-decoration: none;
        font-size: 18px; 
    }


    .menu-toggle {
        display: block; /* Show the button on mobile */
    }

    /* Side-Drawer Menu */
    .site-menu {
        position: fixed;
        top: 0;
        left: -65%; /* Hidden further back so shadow doesn't peek */
        width: 60%;
        height: 100vh;
        background-color: #365492;
        transition: left 0.3s ease-in-out;
        z-index: 2000;
        padding-top: 100px; /* INCREASED: Space for the 'Close' button */
        text-align: left;
        box-shadow: none; /* No shadow when hidden */
        overflow-x: hidden;
    }

    .site-menu.active {
        left: 0; /* Slides into view */
        box-shadow: 2px 0 10px rgba(0,0,0,0.3); /* Shadow only when visible */
    }

    .site-menu ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .site-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .site-menu li a {
        display: block;
        padding: 12px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Books Submenu */
    .site-menu .dropdown-menu {
        display: none !important;
        position: static;
        background-color: #34495e;
        width: 100%;
        box-shadow: none;
        margin: 0;
    }

    .site-menu .dropdown-menu.active {
        display: block !important;
    }

    .site-menu .dropdown-menu li a {
        padding: 6px 30px; 
        font-size: 14px;   
        font-weight: normal;
    }

    /* Layout & Footer Fixes */
    .site-footer .content-container {
        flex-direction: column;
        text-align: center;
    }
    
    .site-footer .content-container p {
        margin-top: 10px;
    }
    
    .site-title img {
        max-width: 250px; 
        max-height: 70px;
    }
    
    .main-content-area {
        flex-direction: column;
        gap: 10px;
    }
    
    .sidebar-column {
        border-left: none;
        border-top: 1px solid #bdc3c7;
        padding: 20px;
        margin-left: 0;
    }
    
    .secondary-content-grid {
        grid-template-columns: 1fr;
    }
    
    .secondary-content-grid .content-entry:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }


    .boxed-content-grid {
        grid-template-columns: 1fr;
    }
    
    .boxed-content-grid .content-entry:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }



/* ---------------------------------------------------- */
/* --- Bodger's Fact File Pic Responsiveness 	    --- */
/* ---------------------------------------------------- */


     .profile-pic {
	flex: 100%;
	max-height: 400px;
    }


/* ---------------------------------------------------- */
/* --- Pagination Responsiveness 	            --- */
/* ---------------------------------------------------- */


#item-list {
    min-height: 500px;
}

.list-item {
    font-size: 1.2rem;
}



/* ---------------------------------------------------- */
/* --- Updated Mobile Social Section (Left Aligned) --- */
/* ---------------------------------------------------- */

.mobile-social-container {
    display: block;
    margin-top: 30px; /* Reduced margin to pull icons closer to 'Dungeon' */
    padding-left: 20px; /* Aligns icons with the text in your menu */
    text-align: left;
}


.mobile-social-icons {
    display: flex;
    justify-content: flex-start; /* Left justification */
    gap: 18px; /* Slightly wider gap for better tap targets */
}

.mobile-social-icons img {
    width: 26px; /* Slightly smaller to match the menu text weight */
    height: 26px;
    border-radius: 0;
    }
}


@media (min-width: 769px) {
    .mobile-social-container {
        display: none;
    }
}


/* --- HERO SECTION STYLES --- */
.page-hero {
    background-image: url('endlordsback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 5px; 
}

.page-hero .main-column,
.page-hero .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-hero a {
    color: inherit; 
}

.secondary-content-grid.single-content {
    grid-template-columns: 1fr;
    gap: 0;
}

.secondary-content-grid.single-content .content-entry:nth-child(odd) {
    border-right: none;
    padding-right: 0;
}

.secondary-content-grid.single-content .content-entry {
    margin-bottom: 30px; 
}

/* --- NEWSLETTER FORM STYLES --- */
.newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    margin-top: 15px;
}

.newsletter-form label {
    font-size: 16px; 
    font-weight: bold;
    margin-top: 5px;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    background-color: #4c4c4c;
    color: white;
    padding: 10px;
    border: 1px solid #8a8a8a; 
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box; 
}

.newsletter-form button {
    background-color: #365492; 
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 17px; 
}

.newsletter-form button:hover {
    background-color: #34495e; 
}

.newsletter-form .name-fields-group {
    display: flex;
    gap: 5px; 
    margin-bottom: 5px;
}

.newsletter-form .name-fields-group .name-input-col {
    display: flex;
    flex-direction: column;
    flex: 1; 
}

.newsletter-form .field-label {
    font-size: 10px;
    color: #555;
    margin-top: 2px;
}


/* --- Lightbox Styles --- */
.lightbox-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 5000; /* Higher than your menu and submenu */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark background */
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border: 3px solid white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: #ccc;
    font-size: 18px;
}
