/* =========================
   GLOBAL RESET
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Times New Roman", serif 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #ffffff;
    color: #222;
}


/* =========================
   TOP BAR
========================= */
.top-bar {
    background:#222;
    color:#fff;
    font-size:14px;
    padding:6px 15px;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

.top-bar a {
    color:#fff;
    margin-right:10px;
    text-decoration:none;
}


/* =========================
   NAVBAR
========================= */
.main-navbar {
    background:#fff;
    position:sticky;
    top:0;
    z-index:9999;
}

.header-logo {
    max-width:100%;
    height:auto;
}


/* =========================
   MENU – DESKTOP
========================= */
@media (min-width:992px) {

    .main-menu {
        display:flex;
        justify-content:center;
        gap:20px;
    }

    .main-menu .nav-link {
        font-size:16px;
        font-weight:100;
        padding:8px 12px;
        text-decoration:none;
        white-space:nowrap;
    }
}


/* =========================
   MENU – MOBILE
========================= */
@media (max-width:991px) {

    .main-menu {
        display:block;
    }

    .main-menu .nav-link {
        display:block;
        padding:14px 16px;
        text-align:left;
        border-bottom:1px solid #eee;
    }
}









/* ======================================
   SIDEBAR – MODERN PROFESSIONAL UI
   (Design only – no layout change)
====================================== */

.sidebar-col {
    padding-left: 30px;
}

/* main box */
.sidebar {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    overflow: hidden;
}

/* each widget */
.sidebar-widget {
    padding: 22px;
    border-bottom: 1px solid #f1f1f1;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

/* title */
.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 14px;
    color: #222;
    letter-spacing: .3px;
}

/* list */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* spacing between links */
.sidebar-links li {
    margin-bottom: 0px;
}

/* links */
.sidebar-links a {
    padding: 2px 0;
    line-height: 1.4;
}

/* hover effect */
.sidebar-links a:hover {
   background: none;
    text-decoration: underline;
}

/* mobile */
@media (max-width:768px){
    .sidebar-col {
        padding-left: 0;
        margin-top: 25px;
    }
}







/* ===============================
   REMOVE SIDEBAR LINK UNDERLINE
================================ */

.sidebar-links a,
.sidebar-links a:link,
.sidebar-links a:visited,
.sidebar-links a:hover,
.sidebar-links a:active {
    text-decoration: none !important;
}












/* =========================
   PAGE CONTENT
========================= */
.page-container p {
    line-height:1.7;
    font-size:16px;
}


/* =========================
   CARDS
========================= */
.card {
    border-radius:6px;
}


/* =========================
   FOOTER
========================= */
.site-footer {
    font-size:14px;
}

.footer-links {
    list-style:none;
    padding:0;
}

.footer-links li {
    margin-bottom:6px;
}


/* =========================
   BLOG
========================= */
.blog-box {
    border:1px solid #e5e7eb;
    border-radius:8px;
    background:#fff;
    transition:.2s;
}

.blog-box:hover {
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.blog-img {
    width:100%;
    height:240px;
    object-fit:cover;
}


/* =========================
   MOBILE
========================= */
@media (max-width:768px) {

    .sidebar-col {
        padding-left:0;
        margin-top:25px;
    }

    .sidebar-widget {
        padding:14px;
    }
}










/* ===============================
   INNER PAGE – WHITE BACKGROUND
   (CONTENT + SIDEBAR ONLY)
================================ */

/* Main page content area */
.page-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
}

/* Sidebar box stays white */
.sidebar {
    background: #ffffff;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .page-container {
        padding: 20px;
    }
}




.page-container {
    margin-top: 30px;
    margin-bottom: 30px;
}



img {
    max-width: 100%;
    height: auto;
}














/* ================= COOKIE CONSENT ================= */

#cookie-consent{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(0,0,0,0.65);
    display:none;
    justify-content:center;
    align-items:center;
    padding:15px;
    z-index:9999;
}

.cookie-box{
    background:#ffffff;
    max-width:900px;
    width:100%;
    padding:15px 20px;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.cookie-box p{
    margin:0;
    font-size:14px;
    color:#222;
    line-height:1.5;
}

.cookie-actions{
    display:flex;
    gap:10px;
    flex-shrink:0;
}

.cookie-actions button{
    padding:8px 16px;
    border-radius:4px;
    border:none;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
}

#accept-cookies{
    background:#c00000;
    color:#fff;
}

#reject-cookies{
    background:#fff;
    color:#c00000;
    border:1px solid #c00000;
}

/* MOBILE */
@media(max-width:768px){
    .cookie-box{
        flex-direction:column;
        text-align:center;
    }
}













/* ===== CMS ADMIN BAR ===== */

#cmsAdminBar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:38px;
    background:#111;
    color:#fff;
    z-index:99999;
    font-family:system-ui,Segoe UI,Roboto,Arial;
    font-size:14px;
    box-shadow:0 2px 6px rgba(0,0,0,.25);
}

.cmsAdminBar-inner{
    max-width:1200px;
    margin:auto;
    height:100%;
    display:flex;
    align-items:center;
    gap:18px;
    padding:0 15px;
}

#cmsAdminBar a{
    color:#ddd;
    text-decoration:none;
    padding:4px 8px;
    border-radius:4px;
}

#cmsAdminBar a:hover{
    background:#2a2a2a;
    color:#fff;
}

#cmsAdminBar .logo{
    font-weight:600;
    margin-right:12px;
    color:#fff;
}

#cmsAdminBar .logout{
    margin-left:auto;
    background:#b42323;
    color:#fff !important;
}



body.admin-bar{
    margin-top:38px;
}






/* ===== POPUP===== */

/* ===== MODERN ANNOUNCEMENT POPUP ===== */

#sitePopup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
    backdrop-filter: blur(3px);
}

.popupBox{
    width:520px;
    max-width:92%;
    background:#ffffff;
    border-radius:14px;
    padding:28px 30px;
    position:relative;
    box-shadow:0 25px 60px rgba(0,0,0,0.25);
    animation:popupScale .25s ease-out;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.popupBox h3{
    font-size:22px;
    font-weight:600;
    margin-bottom:15px;
    color:#c00000;
}

.popupContent{
    font-size:15.5px;
    line-height:1.8;
    color:#333;
}

.popupContent a{
    color:#c00000;
    font-weight:500;
    text-decoration:none;
}

.popupContent a:hover{
    text-decoration:underline;
}

/* Close button */
.popupClose{
    position:absolute;
    top:14px;
    right:16px;
    font-size:22px;
    background:#f3f3f3;
    width:32px;
    height:32px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all .2s ease;
}

.popupClose:hover{
    background:#c00000;
    color:#fff;
}

/* Animation */
@keyframes popupScale{
    from{
        transform:scale(0.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/* Mobile */
@media(max-width:576px){
    .popupBox{
        padding:22px;
    }
    .popupBox h3{
        font-size:18px;
    }
}








