/*
 * Main Stylesheet - Revamped for Blue/Green Modern Theme
 * Theme: Mind, Life, Relationships
 */

/* --- Global Variables --- */
:root {
    --primary-blue: #2980b9;
    --secondary-green: #27ae60;
    --light-bg: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-color: #343a40;
    --heading-color: #212529;
    --white: #ffffff;
    --border-color: #dee2e6;
    --primary-font: 'Open Sans', sans-serif; /* Example: Define a modern font */
    --heading-font: 'Montserrat', sans-serif; /* Example: Define heading font */
}


/* --- Base & Reset --- */
html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-family: sans-serif; }
body { margin: 0; color: var(--text-color); font-family: var(--primary-font); font-size: 15px; font-weight: 400; line-height: 1.6; background-color: var(--white); }
aside, footer, header, nav, section { display: block; }
video { display: inline-block; vertical-align: baseline; }
[hidden], template { display: none; }
a { background: transparent; color: var(--primary-blue); text-decoration: none; transition: color 0.2s ease-in-out; }
a:active, a:hover { outline: 0; color: var(--secondary-green); }
strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); color: var(--heading-color); margin-top: 0; margin-bottom: 0.75rem; font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.25em; margin:.67em 0; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: .9rem; }
img { border: 0; max-width: 100%; height: auto; display: block; }
button, input, select { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type=button] { -webkit-appearance: button; cursor: pointer; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { height: auto; }
input[type=search] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Helpers */
.cboth { clear: both; }
.fleft { float: left; }
.fright { float: right; }
.tf { text-transform: uppercase; }
.bsize { box-sizing: border-box; }
.white-space { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb-full { overflow: hidden; }
.thumb-full > img { height: 100% !important; min-height: 100% !important; width: 100% !important; -o-object-fit: cover; object-fit: cover; }
.clearfix::after { content: ""; display: table; clear: both; }

@media screen {
    *, h1 { margin: 0; padding: 0; box-sizing: border-box; } /* Apply box-sizing globally */
    a:focus, img { outline: 0; }
    a:link { text-decoration: none; }
    img { border: none; display: block; }
    ul { list-style: none; }
    body { line-height: 1.6; } /* Adjusted line height */

    /* --- Layout: Container --- */
    .container { margin: 0 auto; position: relative; width: 1170px; max-width: 96%; } /* Added max-width */

    /* --- Header --- */
    .header-menu-top { background-color: var(--light-bg); border-bottom: 1px solid var(--border-color); }
    .header-menu-top .container { height: 35px; line-height: 35px; }
    .header-menu-top-left ul li { float: left; position: relative; }
    .header-menu-top-left ul li:before { background-color: var(--border-color); content: ""; height: 12px; position: absolute; right: -1px; top: 11px; width: 1px; }
    .header-menu-top-left ul li:last-child:before { display: none; }
    .header-menu-top-left ul li a { color: var(--text-color); display: block; font-size: 14px; padding: 0 10px; }
    .header-menu-top-left ul li a:hover { color: var(--primary-blue); }
    .header-menu-top-left ul li:first-child a { padding-left: 0; }
    .header-menu-top .menu li a img { height: 18px; margin-top: 8px; vertical-align: top; width: 18px; display: inline-block; margin-right: 5px; }

    .header-social { position: absolute; right: 0; top: 0; }
    .header-social a { color: var(--dark-gray); float: left; height: 35px; line-height: 35px; text-align: center; width: 35px; transition: color 0.2s ease; }
    .header-social a:hover { color: var(--primary-blue); }

    .header-top .container { height: 110px; /* from style.integration.css */ background: var(--light-bg); /* from style.integration.css */ }
    .logo { height: 70px; margin-top: 20px; float: left; /* Ensure logo floats left */ }
    .logo a { display: block; height: 100%; }
    .logo a img { height: 100%; max-width: 100%; display: block; }
    h1.logo a { color: var(--heading-color); font-size: 40px; line-height: 70px; font-weight: 700; }
    h1.logo a span { color: var(--primary-blue); } /* Primary color for emphasis */

    .header-banner { height: 90px; position: absolute; right: 0; top: 10px; }
    .header-banner img { height: 100%; display: block; }

    /* --- Main Navigation --- */
    .header-bottom { background-color: var(--primary-blue); }
    .header-bottom .container { height: 45px; line-height: 45px; }
    .icon-home { background: url(../images/icon/home.png) 50% no-repeat; display: block; height: 45px; width: 45px; float: left; } /* Ensure home icon floats */
    .icon-home-active { background: url(../images/icon/home.png) center center no-repeat var(--secondary-green); } /* Green for active home */

    .collap-main-nav,
    .main-nav-inner > ul > li.current-menu-item > a,
    .main-nav-inner > ul > li.current > a,
    .main-nav-inner > ul > li:hover > a { /* Target the link on hover */
        background-color: var(--secondary-green); /* Green for active/hover */
        color: var(--white);
    }

    .collap-main-nav { cursor: pointer; display: none; height: 45px; width: 45px; float: left; background-color: var(--secondary-green); /* Match hover state */ }
    .collap-main-nav img { margin: 11px auto 0; display: block; }
    .close-nav { display: none; background-color: var(--heading-color); color: var(--white); cursor: pointer; font-size: 12px; height: 40px; line-height: 40px; text-align: center; }
    .close-nav i { font-size: 16px; margin-right: 10px; }

    .main-nav { float: left; } /* Float main nav left */
    .main-nav-inner > ul > li { float: left; position: relative; }
    .collap-nav-second ul li a, .main-nav-inner > ul > li a { color: var(--white); display: block; padding: 0 15px; /* Slightly increased padding */ font-size: 15px; transition: background-color 0.2s ease, color 0.2s ease; }
    .main-nav-inner > ul > li a:hover { color: var(--white); background-color: var(--secondary-green); } /* Consistent hover */
    .main-nav ul.menu li a svg{ height: 18px; margin-top: 13px; vertical-align: top; width: 18px; display: inline-block; margin-right: 5px; fill: currentColor; }

    /* Submenus */
    .block-archive-head ul,
    .collap-nav-second ul,
    .main-nav-inner > ul > li ul {
        background-color: var(--primary-blue); /* Match main nav */
        box-shadow: 0 4px 8px rgba(0, 0, 0, .15); /* Softer shadow */
        left: 0;
        line-height: 35px;
        min-width: 220px; /* Slightly wider */
        opacity: 0;
        position: absolute;
        text-transform: none;
        top: calc(100% + 15px); /* Increase distance */
        transition: all .3s ease-in-out;
        visibility: hidden;
        z-index: 10000;
        border-top: 3px solid var(--secondary-green); /* Green accent */
    }
    .block-archive-head:hover ul,
    .collap-nav-second:hover ul,
    .main-nav-inner > ul > li:hover > ul { /* Target direct child ul */
        opacity: 1;
        top: 100%;
        visibility: visible;
    }
    .block-archive-head ul li,
    .collap-nav-second ul li,
    .main-nav-inner > ul > li ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
        border-top: none;
    }
     .block-archive-head ul li:first-child,
    .collap-nav-second ul li:first-child,
    .main-nav-inner > ul > li ul li:first-child { border-top: none; }
     .block-archive-head ul li:last-child,
    .collap-nav-second ul li:last-child,
    .main-nav-inner > ul > li ul li:last-child { border-bottom: none; }

    .block-archive-head ul li a,
    .collap-nav-second ul li a,
    .main-nav-inner > ul > li ul li a {
        white-space: nowrap;
        color: var(--white);
        padding: 5px 15px; /* Adjusted padding */
        font-size: 14px;
    }
    .block-archive-head ul li a:hover,
    .collap-nav-second ul li a:hover,
    .main-nav-inner > ul > li ul li a:hover {
        background-color: var(--secondary-green); /* Green hover */
        color: var(--white);
    }

    /* Nested Submenus (Level 3+) */
    @media screen and (min-width: 1190px) { /* Apply only on desktop */
        .menu ul li.menu-item-has-children ul { display: none; left: 100%; position: absolute; top: 0; z-index: 100; border-top: none; /* Remove top border for nested */ }
        .menu ul li.menu-item-has-children ul ul { top: 5px; left: 100%; } /* Adjust position slightly */
        .menu ul li.menu-item-has-children:hover > ul { display: block; /* Use > to target direct child */ }
    }

    .collap-nav-second { background-color: var(--secondary-green); color: var(--white); cursor: pointer; font-size: 24px; /* Slightly smaller icon */ height: 45px; line-height: 45px; /* Center icon vertically */ position: absolute; right: 45px; /* Position next to search */ text-align: center; top: 0; width: 45px; }
    .collap-nav-second ul { box-shadow: -3px 3px 8px rgba(0, 0, 0, .15); left: auto; right: 0; }
    .collap-nav-second ul li a { font-size: 14px; text-align: left; } /* Ensure text aligns left */

    .header-bottom .search-btn { color: var(--white) !important; float: right; font-size: 18px; /* Slightly larger */ margin-right: 0; /* Positioned by collap-nav-second */ height: 45px; width: 45px; line-height: 45px; text-align: center; cursor: pointer; transition: background-color 0.2s ease; }
    .header-bottom .search-btn:hover { background-color: var(--secondary-green); }

    /* --- Super Search Overlay --- */
    .super-search { display: none; } /* Use 'hide' class for JS toggle */
    .super-search.active { background: rgba(255, 255, 255, 0.98); /* Slightly transparent white */ border: none; display: block !important; height: 100%; overflow: hidden; overflow-y: auto; /* Allow scroll if content overflows */ position: fixed; left: 0; /* Changed from right */ top: 0; width: 100%; z-index: 88888888888; }
    .super-search.active .quick-search { margin: 10vh auto; /* Center vertically better */ width: 90%; max-width: 700px; /* Limit max width */ }
    .super-search .search-input { background-image: none; background: transparent; border: 0; border-bottom: 2px solid var(--medium-gray); /* Underline effect */ border-radius: 0; box-shadow: none; color: var(--heading-color) !important; /* Dark text */ display: block; font-size: 48px; /* Adjust size */ font-weight: 300; /* Lighter weight */ height: auto; /* Adjust height based on font */ line-height: 1.4; padding: 15px 0; transition: border-color .2s ease-in-out; width: 100%; outline: none; }
    .super-search .search-input:focus { border-bottom-color: var(--primary-blue); }
    .super-search .search-btn.active { /* This is the close button */ color: var(--dark-gray); cursor: pointer; display: inline-block; font-size: 36px; /* Adjust size */ position: absolute; right: 30px; top: 30px; background: none; border: none; padding: 0; }
    .super-search .search-btn.active:hover { color: var(--primary-blue); }

    /* --- Featured Home Posts --- */
    .featured-home-post-item { height: 430px; margin-right: 10px; margin-top: 10px; position: relative; width: calc(50% - 5px); float: left; overflow: hidden; }
    .featured-home-post-item:nth-child(n+2) { height: 210px; width: calc(25% - 7.5px); }
    .featured-home-post-item:nth-child(3), .featured-home-post-item:nth-child(5) { float: right; margin-right: 0; }
    .featured-home-post-item .item-thumbnail img { transition: transform 0.4s ease; } /* Add transition from thumbnail style */
    .featured-home-post-item:hover .item-thumbnail img { transform: scale(1.05); /* Subtle scale on hover */ }

    .featured-home-post-item-info {
        background: linear-gradient(180deg, hsla(0,0%,7%,0) 0, hsla(0,0%,7%,.1) 20%, hsla(0,0%,7%,.85) 100%); /* Adjusted gradient */
        bottom: 0;
        left: 0; /* Ensure it starts from left */
        padding: 60px 15px 15px; /* Adjusted padding */
        position: absolute;
        width: 100%;
        box-sizing: border-box; /* Include padding in width */
    }
    .featured-home-post-item-title { font-size: 18px; font-weight: 700; line-height: 1.4; font-family: var(--heading-font); margin-bottom: 5px; } /* Use heading font */
    .featured-home-post-item:nth-child(n+2) .featured-home-post-item-title { font-size: 16px; } /* Smaller title for smaller blocks */
    .featured-home-post-item-title a { color: var(--white); display: block; }
    .featured-home-post-item-title a:hover { text-decoration: underline; }
    .featured-home-post-item-date { color: rgba(255, 255, 255, 0.8); font-size: 13px; margin-top: 5px; }
    .featured-home-post-item-date span { margin-right: 10px; }
    .featured-home-post-item-date span i { margin-right: 5px; }
    .featured-home-post-item-des {
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        max-height: 0; /* Use max-height for transition */
        line-height: 1.5;
        margin-top: 10px;
        padding: 0;
        overflow: hidden; /* Hide overflow */
        opacity: 0; /* Fade in */
        transition: max-height .3s ease-in-out, opacity .3s ease-in-out;
        -moz-transition: max-height .3s ease-in-out, opacity .3s ease-in-out;
        -webkit-transition: max-height .3s ease-in-out, opacity .3s ease-in-out;
        -o-transition: max-height .3s ease-in-out, opacity .3s ease-in-out;
    }
    .featured-home-post-item:hover .featured-home-post-item-des {
        max-height: 60px; /* Adjust based on desired lines */
        opacity: 1;
        transition: max-height .4s ease-in-out, opacity .4s ease-in-out .1s; /* Delay opacity */
        -moz-transition: max-height .4s ease-in-out, opacity .4s ease-in-out .1s;
        -webkit-transition: max-height .4s ease-in-out, opacity .4s ease-in-out .1s;
        -o-transition: max-height .4s ease-in-out, opacity .4s ease-in-out .1s;
    }
    @media screen and (max-width: 767px) {
        .featured-home-post-item:hover .featured-home-post-item-des { max-height: 0; opacity: 0; } /* Disable description expansion on mobile hover */
        .featured-home-post-item .featured-home-post-item-des { display: none; } /* Hide it completely */
    }


    /* --- Main Content Area --- */
    .primary { width: calc(100% - 320px); float: left; } /* Slightly wider sidebar gap */
    .sidebar { width: 300px; float: right; }

    .block-post-wrap-item { margin-top: 10px; width: calc(50% - 5px); float: left; margin-bottom: 10px; /* Add bottom margin */ }
    .block-post-wrap-item:nth-child(2n+2) { float: right; margin-right: 0; }
    .block-post-wrap-head { font-weight: 700; height: 45px; line-height: 45px; border-bottom: 2px solid var(--primary-blue); margin-bottom: 15px; } /* Style the block header */
    .block-post-wrap-head a { color: var(--heading-color); display: block; font-size: 18px; /* Larger heading */ font-family: var(--heading-font); }
    .block-post-wrap-head a:hover { color: var(--primary-blue); }

    .post1-item-list a, .post1-item-title a { color: var(--heading-color); display: block; }
    .post1-item-list a:hover, .post1-item-title a:hover { color: var(--primary-blue); }

    .block-post-wrap-content { background-color: transparent; /* Remove background */ margin-top: 0; padding: 0; } /* Remove padding/margin */
    .post1-item { width: 100%; margin-bottom: 20px; /* Add space below items */ }
    .post1-item:nth-child(n+2) { margin-top: 10px; width: calc(50% - 5px); float: left; } /* Grid for smaller items */
    .post1-item:nth-child(n+3) { float: right; margin-right: 0; }

    .post1-item-thumb { display: block; height: 220px; width: 100%; margin-bottom: 10px; } /* Add bottom margin */
    .post1-item:nth-child(n+2) .post1-item-thumb { height: 120px; }
    .post1-item-title { font-size: 17px; font-weight: 700; margin-top: 0; margin-bottom: 8px; line-height: 1.4; font-family: var(--heading-font); } /* Adjusted */
    .post1-item:nth-child(n+2) .post1-item-title { font-size: 15px; }
    .post1-item-des { font-size: 14px; line-height: 1.6; margin-top: 2px; color: var(--text-color); }
    .post1-item .post1-item-des { height: auto; max-height: calc(1.6em * 3); overflow: hidden; } /* Limit description to 3 lines */
    .post1-item:nth-child(n+2) .post1-item-des { max-height: calc(1.6em * 2); } /* Limit to 2 lines for smaller items */

    .post1-item-list { font-size: 14px; font-weight: 700; margin-top: 15px; } /* Add margin */
    .post1-item-list li { margin-bottom: 8px; } /* Space between list items */
    .post1-item-list a i { color: var(--primary-blue); margin-right: 7px; }
    .post1-item-bottom { padding-top: 8px; }

    /* --- Sidebar --- */
    .sidebar-item { margin-top: 10px; margin-bottom: 30px; /* Add bottom margin */ }
    .search-input {
        background: var(--white) url(../images/icon/search.png) top 50% right 10px no-repeat; /* Center icon */
        background-size: 18px 18px; /* Control icon size */
        border: 1px solid var(--border-color);
        height: 45px;
        outline: 0;
        padding: 0 40px 0 15px; /* Adjust padding for icon */
        width: 100%;
        border-radius: 4px; /* Rounded corners */
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .search-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.2); }

    .sidebar-item-head { background-color: var(--heading-color); height: 40px; line-height: 40px; margin-bottom: 15px; /* Add space below head */ }
    .sidebar-item-head span { background-color: var(--primary-blue); color: var(--white); display: inline-block; font-weight: 700; padding: 0 15px; position: relative; font-size: 16px; font-family: var(--heading-font); } /* Use heading font */
    .sidebar-item-head span:after, .sidebar-item-head span:before { content: ""; position: absolute; top: 0; z-index: 10; height: 0; width: 0; border-style: solid; }
    .sidebar-item-head span i { color: rgba(255, 255, 255, 0.8); margin-right: 7px; }
    /* Arrow effect */
    .sidebar-item-head span:before {
        /* Triangle pointing from main background */
        border-width: 20px 0 20px 10px; /* height/2, 0, height/2, width */
        border-color: transparent transparent transparent var(--heading-color);
        right: -10px; /* Position correctly */
    }
    .sidebar-item-head span:after {
         /* Triangle pointing from span background */
        border-width: 20px 0 20px 10px;
        border-color: transparent transparent transparent var(--primary-blue);
        right: -9px; /* Overlap slightly */
         z-index: 11; /* Ensure it's above :before */
     }

    .sidebar-item-content { background-color: var(--light-bg); margin-top: 0; padding: 15px; border: 1px solid var(--border-color); border-top: none; /* Remove top border as header has bottom margin */ }
    .sidebar-item-content > .post1-item-list { line-height: 1.7; } /* Adjust line height */
    .sidebar-item-content > .post1-item-list li { margin-bottom: 5px; } /* Adjust spacing */
    .sidebar-item-content > .post1-item-list:nth-child(n+2) { margin-top: 10px; } /* Space between groups */

    .sidebar-new-item { width: 100%; display: flex; /* Use flexbox */ align-items: center; }
    .sidebar-new-item:nth-child(n+2) { margin-top: 15px; } /* Increase spacing */
    .sidebar-new-item-thumb { height: 55px; width: 75px; flex-shrink: 0; margin-right: 10px; } /* Use flex properties */
    .sidebar-new-item-info { flex-grow: 1; } /* Allow info to take remaining space */
    .sidebar-new-item-info .post1-item-title { font-size: 14px; line-height: 1.4; margin-bottom: 3px; } /* Adjust title */
    .sidebar-new-item-des { color: var(--dark-gray); font-size: 13px; }
    .sidebar-new-item-des i { margin-right: 5px; font-size: 12px; }

    .sidebar-video-item { height: 180px; position: relative; width: 100%; margin-bottom: 10px; /* Add bottom margin */ }
    .sidebar-video-item:nth-child(n+2) { height: 75px; margin-right: 10px; margin-top: 10px; width: calc(33.33333% - 6.66667px); float: left; } /* Grid layout */
    .sidebar-video-item:nth-child(4), .sidebar-video-item:nth-child(7), .sidebar-video-item:nth-child(10) { margin-right: 0; } /* Correct last item in row */
    .sidebar-video-item i.fa-play-circle, .sidebar-video-item i.fa-play-circle-o { /* Target play icons */ color: hsla(0, 0%, 100%, .8); font-size: 40px; left: 50%; margin-left: -20px; /* Adjust centering */ margin-top: -20px; position: absolute; top: 50%; z-index: 100; transition: color 0.2s ease, transform 0.2s ease; }
    .sidebar-video-item:nth-child(n+2) i.fa-play-circle, .sidebar-video-item:nth-child(n+2) i.fa-play-circle-o { font-size: 30px; margin-left: -15px; margin-top: -15px; }
    .sidebar-video-item:focus i.fa-play-circle, .sidebar-video-item:hover i.fa-play-circle,
    .sidebar-video-item:focus i.fa-play-circle-o, .sidebar-video-item:hover i.fa-play-circle-o { color: var(--primary-blue); transform: scale(1.1); }

    .popup-hidden { display: none; }
    .sidebar-video-item-popup iframe, .sidebar-video-item-popup p { display: block !important; }
    .sidebar-item-ads img { width: 100%; height: auto; } /* Ensure ads are responsive */

    /* --- Footer --- */
    .footer { background-color: var(--heading-color); color: rgba(255, 255, 255, 0.7); margin-top: 30px; /* Add margin before footer */ }
    .footer-top .container { padding: 40px 0 30px; /* Adjusted padding */ }
    .footer-item { float: left; margin-right: 20px; width: calc(25% - 15px); }
    .footer-item:nth-child(4n+4) { float: right; margin-right: 0; }
    .footer-item-head { color: var(--white); font-size: 16px; font-weight: 700; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); text-transform: uppercase; font-family: var(--heading-font); }

    .footer-item-content { margin-top: 0; } /* Removed top margin */
    .footer-about-content { color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.7; }
    .footer-about-content p { margin-top: 10px; }
    .footer-about-content p:first-child { margin-top: 0; }

    .footer-item-content .post1-item-list a { color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 400; transition: color 0.2s ease; }
    .footer-item-content .post1-item-list a:hover { color: var(--primary-blue); }
    .footer-item-content .sidebar-new-item-des { color: rgba(255, 255, 255, 0.6); font-size: 12px; } /* Lighter color for date/meta */
    .footer-item-content ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .footer-item-content ul li a { color: rgba(255, 255, 255, 0.8); display: block; padding: 10px 0; font-size: 14px; transition: color 0.2s ease; }
    .footer-item-content ul li a:hover { color: var(--primary-blue); }
    .footer-item-content ul li:first-child a { padding-top: 0; }
    .footer-item-content ul li:last-child { border-bottom: none; }
    .footer-item-content ul li:last-child a { padding-bottom: 0; }

    .footer-bottom { color: rgba(255, 255, 255, 0.6); background-color: #1a1a1a; /* Slightly darker bottom bar */ }
    .footer-bottom .container { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } /* Use flexbox */
    .footer-bottom-left { text-align: left; }
    .footer-bottom-right { text-align: right; }
    .footer-bottom-right ul { padding: 0; margin: 0; }
    .footer-bottom-right li { float: left; margin-left: 15px; }
    .footer-bottom-right li a { color: rgba(255, 255, 255, 0.6) !important; display: block; font-weight: 400; padding: 0; transition: color 0.2s ease; }
    .footer-bottom-right li a:hover { color: var(--white) !important; }
    .footer-bottom-right li:last-child { margin-left: 0; }

    /* --- Archive & Single Pages --- */
    .block-archive-head { margin-top: 20px; position: relative; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
    .block-archive-head > span { background-color: var(--primary-blue); color: var(--white); display: inline-block; font-weight: 700; height: auto; line-height: 1.5; padding: 8px 15px; font-size: 18px; font-family: var(--heading-font); }
    .block-archive-head:hover > span { /* No change on hover needed */ }
    .block-archive-head span i { margin-right: 8px; }
    /* Archive head dropdown remains the same as main nav dropdown */
    .block-archive-head ul li a { color: var(--white); display: block; padding: 5px 13px; }
    .block-archive-head ul li a:hover { background-color: var(--secondary-green); }

    .featured-new-item { margin-top: 10px; position: relative; display: block; height: 390px; width: 550px; float: left; overflow: hidden; margin-bottom: 10px; /* Add spacing */ }
    .featured-new-item:nth-child(n+2) { float: right; height: 190px; width: calc(100% - 560px); }
    .featured-new-item .item-thumbnail img { transition: transform 0.4s ease; }
    .featured-new-item:hover .item-thumbnail img { transform: scale(1.05); }

    .featured-new-item-title { /* Combined title and date */
        background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .75) 100%);
        bottom: 0;
        left: 0;
        position: absolute;
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
    .featured-new-item-title h2 { color: var(--white); font-size: 18px; font-weight: 700; padding: 0; margin: 0 0 5px 0; line-height: 1.4; font-family: var(--heading-font); }
    .featured-new-item:nth-child(n+2) .featured-new-item-title h2 { font-size: 16px; }
    .featured-new-item-title .featured-home-post-item-date { padding: 0; margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 13px; }
    .featured-new-item-title a:hover h2 { text-decoration: underline; }

    .archive-pro-wrap { margin-top: 20px; }

    .new-item { margin-top: 10px; margin-bottom: 30px; /* Add bottom margin */ display: flex; /* Use flex */ flex-wrap: wrap; }
    .new-item-thumb { height: 200px; width: 350px; flex-shrink: 0; margin-right: 20px; margin-bottom: 10px; /* Margin for wrap */ }
    .new-item-info { flex-grow: 1; min-width: 250px; /* Ensure info doesn't get too squeezed */ }
    .new-item-title { font-size: 20px; /* Larger title */ list-style: none; /* Removed 'outside' */ margin-bottom: 5px; font-weight: 700; font-family: var(--heading-font); }
    .new-item-title a { color: var(--heading-color); }
    .new-item-title a:hover { color: var(--primary-blue); }
    .new-item-date { color: var(--dark-gray); font-size: 14px; margin-top: 3px; margin-bottom: 10px; }
    .new-item-date i { margin-right: 5px; }
    .new-item-des { margin-top: 6px; line-height: 1.6; font-size: 15px; }
    .new-item-morelink { margin-top: 15px; }
    .new-item-morelink a { background-color: var(--primary-blue); color: var(--white); display: inline-block; height: 35px; line-height: 35px; padding: 0 15px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: background-color 0.2s ease; }
    .new-item-morelink a:hover { background-color: var(--secondary-green); }
    .new-item-morelink a i { font-size: 13px; margin-left: 8px; }

    /* Pagination */
    .pagination { clear: both; line-height: 35px; padding: 20px 0; text-align: center; margin-top: 20px; } /* Centered pagination */
    .pagination a, .pagination span { background: var(--light-bg); border: 1px solid var(--border-color); color: var(--text-color); display: inline-block; font-size: 14px; height: 35px; line-height: 33px; /* Adjust for border */ margin: 0 3px; /* Adjusted margin */ margin-top: 10px; padding: 0 13px; transition: all .2s ease-in-out; border-radius: 4px; font-weight: 600; }
    .pagination .current, .pagination a:hover { background-color: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); }
    ul.pagination { display: inline-block; padding: 0; margin: 0; text-align: center; width: auto; } /* Adjust ul styles */
    ul.pagination li { display: inline-block; margin: 0; }
    ul.pagination li span, ul.pagination li a { margin: 0 3px; } /* Apply margin to items */
    ul.pagination li.active span { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); }

    /* Breadcrumbs */
    .block-breakcrumb { border-bottom: 1px solid var(--border-color); margin-top: 10px; padding-bottom: 10px; margin-bottom: 20px; font-size: 14px; color: var(--dark-gray); }
    .block-breakcrumb a { color: var(--primary-blue); }
    .block-breakcrumb a:hover { color: var(--secondary-green); }
    .block-breakcrumb span { margin: 0 5px; } /* Separator */

    /* Single Post */
    .single-title { color: var(--heading-color); /* Darker title */ font-size: 32px; /* Larger title */ line-height: 1.3; margin-top: 15px; margin-bottom: 15px; font-family: var(--heading-font); }
    .box-share { margin: 20px 0; } /* Add space around share buttons */
    .single-content { font-size: 16px; line-height: 1.7; margin-top: 20px; color: var(--text-color); }
    .single-content p { margin-bottom: 1.5em; /* More space between paragraphs */ padding: 0; }
    .single-content p:first-child { padding-top: 0; }
    .single-content p:last-child { margin-bottom: 0; padding-bottom: 0; }
    .single-content img { height: auto !important; margin: 20px auto; display: block; max-width: 100% !important; width: auto !important; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } /* Add subtle shadow/radius */
    .single-content figure.image { display: block; margin: 20px 0; }
    .single-content figure.image img { margin: 0 auto; }
    .single-content figure.image figcaption { background: var(--light-bg); font-size: 90%; padding: 10px; text-align: center; color: var(--dark-gray); border-top: 1px solid var(--border-color); }
    .single-content figure.table { margin: 20px 0; height: auto!important; max-width: 100%!important; overflow-x: auto; } /* Ensure table scrolls if needed */
    .single-content input { max-width: 100%; outline: none; border: 1px solid var(--border-color); padding: 8px 12px; border-radius: 4px; }
    .single-content input:focus { border-color: var(--primary-blue); }

    /* Single Content Lists, Tables, Blockquotes etc. */
    .primary .single-content ul, .primary .single-content ol { list-style: disc; margin-bottom: 25px; padding-left: 25px; }
    .primary .single-content ul li, .primary .single-content ol li { font-weight: 400; list-style: disc; margin-bottom: 0.5em; }
    .primary .single-content ol, .primary .single-content ol li { list-style: decimal; }
    .primary .single-content table { background-color: transparent; border: 1px solid var(--border-color); border-collapse: collapse; margin-bottom: 1.5rem; max-width: 100%; width: 100%; font-size: 15px; }
    .primary .single-content table caption { caption-side: top; color: var(--dark-gray); font-size: 90%; font-weight: 500; padding: 10px 0; text-align: center; }
    .primary .single-content table th { border: 1px solid var(--border-color); border-bottom-width: 2px; padding: .75rem; vertical-align: bottom; background-color: var(--light-bg); font-weight: 700; text-align: left; }
    .primary .single-content table td { border: 1px solid var(--border-color); padding: .75rem; vertical-align: top; }
    .primary .single-content table tbody tr:nth-child(odd) td { /* Optional zebra striping */ /* background-color: var(--light-bg); */ }
    .primary .single-content table tbody tr th { border-bottom-width: 1px; }
    .primary .single-content blockquote { border-left: 5px solid var(--primary-blue); font-style: italic; margin: 1.5rem 0 1.5rem 0; padding: 10px 20px; background-color: var(--light-bg); }
    .primary .single-content blockquote p { font-size: 16px; line-height: 1.7; margin-bottom: 0; color: var(--heading-color); }
    .primary .single-content blockquote cite { display: block; margin-top: 10px; font-size: 14px; color: var(--dark-gray); }

    .single-comment { margin-top: 30px; }
    .single-new-related-content { margin-top: 30px; } /* Related posts section */
    .single-new-related-content h3 { /* Style related posts title */ margin-bottom: 20px; font-size: 20px; border-bottom: 2px solid var(--primary-blue); padding-bottom: 10px; }
    .single-new-related-content ul { list-style: none; padding: 0; margin: 0; }
    .single-new-related-content li { margin-bottom: 15px; }
    .single-new-related-content li a { color: var(--heading-color); font-weight: 600; }
    .single-new-related-content li a:hover { color: var(--primary-blue); }


    /* --- Thumbnail Hover Effects --- */
    .item-thumbnail { display: block; -o-perspective: 1000; perspective: 1000; position: relative; overflow: hidden; /* Hide overflowing elements */ }
    .item-thumbnail img { height: auto; transition: all .4s ease; width: 100%; display: block; }
    .item-thumbnail img, .item-thumbnail:hover img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
    .item-thumbnail:hover img { filter: brightness(75%); -webkit-filter: brightness(75%); -moz-filter: brightness(75%); -ms-filter: brightness(75%); transform: scale(1.1); }
    .thumbnail-hoverlay {
        animation-fill-mode: forwards;
        background-color: var(--primary-blue);
        position: absolute;
        transform: rotateX(90deg);
        transform-origin: bottom;
        transition: all .4s ease;
        bottom: 0; box-sizing: border-box; left: 0; opacity: 0; right: 0; top: 0;
    }
    .thumbnail-hoverlay-icon {
        position: absolute;
        transform: translateY(-60px) scale(1.5);
        transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Add bounce effect */
        bottom: 0; box-sizing: border-box; left: 0; opacity: 0; right: 0; top: 0;
    }
    .thumbnail-hoverlay-icon .fa {
        border: 2px solid var(--white); /* Thicker border */
        color: var(--white);
        font-size: 24px; /* Larger icon */
        height: 50px; /* Larger circle */
        left: 50%;
        line-height: 46px; /* Adjust line-height */
        margin-left: -25px; /* Adjust margin */
        margin-top: -25px; /* Adjust margin */
        position: absolute;
        text-align: center;
        top: 50%;
        border-radius: 50%; /* Make it a circle */
        width: 50px; /* Larger circle */
        transform: none; /* Remove rotation */
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
    }
    .thumbnail-hoverlay-icon .fa:before { display: inline-block; transform: none; /* Remove rotation */ }
    .item-thumbnail:hover .thumbnail-hoverlay { opacity: .6; /* Adjusted opacity */ transform: rotateX(0); }
    .item-thumbnail:hover .thumbnail-hoverlay-icon { opacity: 1; transform: translateY(0) scale(1); }


    /* --- Font Awesome Base (Retained from Original) --- */
    /*!
     *  Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
     *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
     */
    @font-face { font-family: 'FontAwesome'; src: url('../fonts/fontawesome-webfont.eot?v=4.3.0'); src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg'); font-weight: normal; font-style: normal; font-display: swap; /* Improve font loading */ }
    .fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transform: translate(0, 0); }
    /* ... (Keep all original .fa-xxx:before content definitions) ... */
    .fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-times:before,.fa-close:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before,.fa-facebook-f:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-users:before,.fa-group:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-undo:before,.fa-rotate-left:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-tachometer:before,.fa-dashboard:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-o:before,.fa-star-half-empty:before,.fa-star-half-full:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-yen:before,.fa-rmb:before,.fa-jpy:before,.fa-cny:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}
    .fa-lg { font-size: 1.33333333em; line-height: .75em; vertical-align: -15%; }
    .fa-2x { font-size: 2em; }
    .fa-3x { font-size: 3em; }
    .fa-4x { font-size: 4em; }
    .fa-5x { font-size: 5em; }
    .fa-fw { width: 1.28571429em; text-align: center; }
    .fa-ul { padding-left: 0; margin-left: 2.14285714em; list-style-type: none; }
    .fa-ul > li { position: relative; }
    .fa-li { position: absolute; left: -2.14285714em; width: 2.14285714em; top: .14285714em; text-align: center; }
    .fa-li.fa-lg { left: -1.85714286em; }
    .fa-border { padding: .2em .25em .15em; border: solid .08em var(--border-color); border-radius: .1em; }
    .fa-spin { -webkit-animation: fa-spin 2s infinite linear; animation: fa-spin 2s infinite linear; }
    .fa-pulse { -webkit-animation: fa-spin 1s infinite steps(8); animation: fa-spin 1s infinite steps(8); }
    @-webkit-keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } }
    @keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } }
    .fa-rotate-90 { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); }
    .fa-rotate-180 { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); }
    .fa-rotate-270 { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; -webkit-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate(270deg); }
    .fa-flip-horizontal { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; -webkit-transform: scale(-1, 1); -ms-transform: scale(-1, 1); transform: scale(-1, 1); }
    .fa-flip-vertical { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; -webkit-transform: scale(1, -1); -ms-transform: scale(1, -1); transform: scale(1, -1); }
    :root .fa-rotate-90, :root .fa-rotate-180, :root .fa-rotate-270, :root .fa-flip-horizontal, :root .fa-flip-vertical { filter: none; }
    .fa-stack { position: relative; display: inline-block; width: 2em; height: 2em; line-height: 2em; vertical-align: middle; }
    .fa-stack-1x, .fa-stack-2x { position: absolute; left: 0; width: 100%; text-align: center; }
    .fa-stack-1x { line-height: inherit; }
    .fa-stack-2x { font-size: 2em; }
    .fa-inverse { color: var(--white); }

    /* --- Fancybox Base (Retained from Original - Colors might need adjustment if used heavily) --- */
    /* Note: Fancybox styles are generally self-contained. Theme colors aren't usually applied directly here. */
    #fancybox-close, #fancybox-left-ico, #fancybox-right-ico { background-image: url(/images/fancybox.png); } /* Ensure image path is correct */
    #fancybox-loading, #fancybox-overlay, #fancybox-wrap { position: fixed; /* Use fixed for overlay */ top: 0; left: 0; }
    #fancybox-loading { cursor: pointer; display: none; height: 40px; left: 50%; margin-left: -20px; margin-top: -20px; overflow: hidden; top: 50%; width: 40px; z-index: 111104; }
    #fancybox-loading div { background-image: url(/images/fancybox.png); height: 480px; width: 40px; }
    #fancybox-overlay { background: rgba(0, 0, 0, 0.7); /* Dark overlay */ display: none; width: 100%; height: 100%; z-index: 111100; }
    #fancybox-tmp { border: 0; display: none; margin: 0; overflow: auto; padding: 0; }
    #fancybox-wrap { display: none; outline: 0; padding: 20px; z-index: 111101; position: fixed; /* Ensure wrap is fixed */ }
    #fancybox-outer { background: var(--white); position: relative; box-shadow: 0 5px 15px rgba(0, 0, 0, .2); border-radius: 4px; height: 100%; width: 100%; }
    #fancybox-content { border: 0 solid var(--white); height: 0; outline: 0; overflow: hidden; padding: 0; position: relative; width: 0; z-index: 111102; }
    #fancybox-content > div { max-height: 100%; max-width: 100%; }
    #fancybox-hide-sel-frame { background: transparent; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 111101; }
    #fancybox-close { background-position: -40px 0; cursor: pointer; display: none; height: 30px; position: absolute; right: -15px; top: -15px; width: 30px; z-index: 111103; }
    #fancybox-error { color: var(--text-color); font: 400 14px/22px Arial; margin: 0; padding: 15px; }
    #fancybox-img { border: none; display: block; height: auto; line-height: 0; margin: 0; max-height: none !important; max-width: none !important; outline: 0; padding: 0; vertical-align: top; width: 100%; }
    #fancybox-frame { -webkit-overflow-scrolling: touch; border: none; display: block; height: 100%; width: 100%; z-index: 0; }
    #fancybox-left, #fancybox-right { background: transparent; bottom: 0; cursor: pointer; display: none; height: 100%; outline: 0; position: absolute; width: 35%; z-index: 111102; }
    #fancybox-left { left: 0; }
    #fancybox-right { right: 0; }
    #fancybox-left-ico, #fancybox-right-ico { cursor: pointer; display: block; height: 30px; left: -9999px; margin-top: -15px; position: absolute; top: 50%; width: 30px; z-index: 111102; background-color: rgba(0,0,0,0.3); border-radius: 50%; }
    #fancybox-left-ico { background-position: -40px -30px; }
    #fancybox-right-ico { background-position: -40px -60px; }
    #fancybox-left:hover span, #fancybox-right:hover span { background-color: rgba(0,0,0,0.6); }
    #fancybox-left:hover span { left: 20px; }
    #fancybox-right:hover span { left: auto; right: 20px; }
    #fancybox-title { font-family: Helvetica, Arial, sans-serif; font-size: 13px; z-index: 111102; }
    .fancybox-title-inside { color: var(--text-color); padding: 10px; position: relative; text-align: center; background: var(--light-bg); border-top: 1px solid var(--border-color); }
    .fancybox-title-outside { color: var(--white); padding-top: 10px; text-align: center; } /* Title outside frame */
    .fancybox-title-over { background: rgba(0, 0, 0, .8); bottom: 0; color: var(--white); left: 0; position: absolute; padding: 10px; display: block; width: 100%; box-sizing: border-box; } /* Title over image */
    /* Float title style removed - less common now */
    .fancybox-hidden { display: none; }


    /* --- Misc Components --- */
    #cfacebook { right: 70px !important; } /* Adjust if necessary */

    /* Tags */
    .list-tag { margin: 15px 0; }
    .list-tag .tag-list-title { display: inline-block; padding-right: 7px; font-weight: 600; color: var(--heading-color); }
    .list-tag a {
        background: var(--light-bg); /* Light background */
        border: 1px solid var(--border-color);
        border-left: 3px solid var(--primary-blue); /* Blue accent on left */
        border-radius: 3px;
        color: var(--text-color); /* Darker text */
        display: inline-block;
        font-size: 13px; /* Slightly larger */
        line-height: 24px; /* Adjust line height */
        height: auto; /* Auto height */
        margin: 0 5px 5px 0; /* Adjusted margin */
        padding: 2px 10px; /* Adjusted padding */
        position: relative;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    .list-tag a:before, .list-tag a:after { display: none; } /* Remove arrow/dot effect */
    .list-tag a:hover {
        background: var(--primary-blue);
        color: var(--white);
        border-color: var(--primary-blue);
    }
    .list-tag a:first-child { margin-left: 0; }

    /* Contact Form & Alerts */
    .contact-form .contact-form-group .contact-button { background-color: var(--primary-blue); border-color: var(--primary-blue); color: var(--white); outline: none; transition: background-color 0.2s ease, border-color 0.2s ease; padding: 10px 20px; border-radius: 4px; font-weight: 600; }
    .contact-form .contact-form-group .contact-button:focus, .contact-form .contact-form-group .contact-button:hover { background-color: var(--secondary-green); border-color: var(--secondary-green); }
    .alert { border: 1px solid transparent; border-radius: 4px; /* Rounded corners */ margin-bottom: 20px; padding: 15px; font-size: 15px; }
    .alert-success { background-color: #d4edda; border-color: #c3e6cb; color: #155724; } /* Bootstrap 4 success */
    .alert-danger { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; } /* Bootstrap 4 danger */
    .alert-info { background-color: #d1ecf1; border-color: #bee5eb; color: #0c5460; } /* Bootstrap 4 info */
    .alert-warning { background-color: #fff3cd; border-color: #ffeeba; color: #856404; } /* Bootstrap 4 warning */

    /* Embedded Content */
    .embed-responsive { display: block; height: 0; overflow: hidden; padding: 0; position: relative; }
    .embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video { border: 0; bottom: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
    .embed-responsive-16by9 { padding-bottom: 56.25%; }
    .embed-responsive-4by3 { padding-bottom: 75%; } /* Add 4:3 ratio */

    /* Admin Bar Offset */
    .show-admin-bar .main-nav.main-nav-active { /* Adjust fixed nav if admin bar shows */ top: 32px; /* WP Default */ height: calc(100% - 32px); }
    @media screen and (max-width: 782px) {
      .show-admin-bar .main-nav.main-nav-active { top: 46px; height: calc(100% - 46px); }
    }


    /* Language Switcher */
    .language_bar_chooser.dropdown-menu li.active { background: var(--primary-blue); }
    .language_bar_chooser.dropdown-menu li.active a { color: var(--white); }
    .language-wrapper .dropdown .btn { align-items: center; display: inline-flex; /* Changed to inline-flex */ gap: 5px; padding: 0 15px; background: none; border: none; color: var(--text-color); height: 35px; line-height: 35px; }
    .language-wrapper .dropdown .btn:hover { color: var(--primary-blue); }
    .language-wrapper .dropdown .btn.dropdown-toggle:after { border-bottom: 0; border-left: .3em solid transparent; border-right: .3em solid transparent; border-top: .3em solid; content: ""; display: inline-block; margin-left: .255em; vertical-align: .255em; }

    /* Cookie Consent */
    body .cookie-consent .cookie-consent-body { max-width: 1170px; margin: auto; /* Center it */ }

    /* Gallery */
    .container .gallery-wrap .gallery-item .gallery-detail a:hover { color: var(--primary-blue) !important; }

    /* Slider */
    .carousel--nav .owl-dots { bottom: 10px; text-align: center; width: 100%; position: absolute; } /* Example dot styling */
    .carousel--nav .owl-dot { display: inline-block; margin: 0 5px; }
    .carousel--nav .owl-dot span { display: block; width: 10px; height: 10px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; transition: background 0.2s ease; }
    .carousel--nav .owl-dot.active span, .carousel--nav .owl-dot:hover span { background: var(--white); }
    .carousel--nav.inside .owl-next, .carousel--nav.inside .owl-prev { /* Adjust nav arrows if needed */ }

    .slider-item .slider-item-header { width: 95.5%; /* Original value */ }

    /* BB Social Sharing */
    .bb-social-sharing { display: inline-flex; gap: .5rem; /* Increased gap */ }
    .bb-social-sharing .bb-social-sharing__item { align-items: center; border: 1px solid var(--border-color); /* Use theme border */ border-radius: 50%; display: inline-flex; height: 38px; justify-content: center; line-height: 36px; text-align: center; width: 38px; transition: all 0.2s ease; }
    .bb-social-sharing .bb-social-sharing__item a,
    .bb-social-sharing .bb-social-sharing__item button { color: var(--dark-gray); line-height: 16px; transition: color 0.2s ease; }
    .bb-social-sharing .bb-social-sharing__item:last-child { margin-inline-end: 0; }
    .bb-social-sharing .bb-social-sharing__item:hover { background-color: var(--primary-blue); border-color: var(--primary-blue); }
    .bb-social-sharing .bb-social-sharing__item:hover a, .bb-social-sharing .bb-social-sharing__item:hover button { color: var(--white); }
    .bb-social-sharing .bb-social-sharing__item button { background: transparent; border: none; outline: none; padding: 0; display: flex; /* Ensure icon centers */ align-items: center; justify-content: center; }
    .bb-social-sharing .bb-social-sharing__item button:hover { cursor: pointer; }
    .bb-social-sharing .bb-social-sharing__item svg { height: 1.1rem; width: 1.1rem; fill: currentColor; }

    /* Contact Form Refined */
    .contact-form .contact-column-12, .contact-form .contact-column-6 { position: static !important; }
    form.contact-form { margin-top: 30px; }
    form.contact-form .contact-form-group { margin-bottom: 15px; }
    form.contact-form .form-label { display: inline-block; font-weight: 600; margin-bottom: 5px; max-width: 100%; font-size: 14px; color: var(--heading-color); }
    form.contact-form .form-label.required:after { color: var(--primary-blue); content:" *"; margin-left: 2px; }
    form.contact-form .contact-form-group .form-control {
        background-color: var(--white);
        background-image: none;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); /* Softer inset shadow */
        color: var(--text-color);
        display: block;
        font-size: 15px;
        height: 40px; /* Slightly taller inputs */
        line-height: 1.5;
        padding: 8px 12px; /* Adjusted padding */
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        width: 100%;
    }
     form.contact-form .contact-form-group textarea.form-control { height: auto; min-height: 120px; }
    form.contact-form .contact-form-group .form-control:focus { border-color: var(--primary-blue); outline: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 2px rgba(41, 128, 185, 0.2); }
    form.contact-form .contact-button { background-color: var(--primary-blue) !important; border-color: var(--primary-blue) !important; margin-top: 15px; opacity: 1; }
    form.contact-form .contact-button:hover { background-color: var(--secondary-green) !important; border-color: var(--secondary-green) !important; }

    /* Facebook Comments */
    .fb-comments.fb_iframe_widget > span,
    .fb-comments.fb_iframe_widget iframe { max-width: 100% !important; width: 100% !important; } /* Ensure FB comments are responsive */
    .fb_iframe_widget > span { overflow: visible !important; } /* Allow dropdowns etc. */
    .fb-comments.fb_iframe_widget iframe { left: 0 !important; position: relative !important; }


    /* --- Responsive Adjustments --- */

    @media screen and (max-width: 1190px) {
        .container { width: 960px; max-width: 96%; }
        .header-banner, .icon-home { display: none; } /* Hide banner and home icon */
        .close-nav, .collap-main-nav { display: block; } /* Show mobile nav toggles */
        .main-nav { background-color: var(--heading-color); /* Dark background for mobile nav */ box-shadow: 3px 0 6px rgba(0, 0, 0, .2); height: 100%; left: -280px; /* Start off-screen */ opacity: 0; position: fixed; top: 0; transition: all .4s ease-in-out; visibility: hidden; width: 280px; /* Wider mobile nav */ z-index: 100000; }
        .main-nav-active { left: 0; opacity: 1; visibility: visible; } /* Slide in */
        .main-nav-inner { width: 100%; height: calc(100% - 40px); /* Leave space for close button */ left: 0; overflow-y: auto; position: absolute; top: 40px; } /* Position below close */
        .main-nav-inner > ul > li { float: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
        .main-nav-inner > ul > li > a { border: none; line-height: 45px; padding: 0 20px; } /* Adjust padding */
        .main-nav-inner > ul > li.current-menu-item > a,
        .main-nav-inner > ul > li:hover > a { background-color: var(--primary-blue); /* Blue for active/hover */ }
        .main-nav-inner > ul > li ul { box-shadow: none; line-height: 1.5; min-width: 100%; position: relative; top: 0; width: 100%; opacity: 1; visibility: visible; background: rgba(0,0,0,0.1); padding-left: 0; border-top: none; } /* Indent submenus */
        .main-nav-inner > ul > li ul li a { font-size: 14px; padding: 10px 20px 10px 35px; /* Add indentation */ white-space: normal; color: rgba(255,255,255,0.8); }
        .main-nav-inner > ul > li ul li a:hover { background-color: var(--secondary-green); color: var(--white); }
        @media screen and (max-width: 1189px) { .menu li.menu-item-has-children ul { padding-left: 0; } } /* Override desktop padding */

        .featured-home-post-item { height: 350px; }
        .featured-home-post-item:nth-child(n+2) { height: 170px; }
        .block-post-wrap-item { width: 100%; margin-right: 0; float: none; } /* Stack blocks */
        .block-post-wrap-item:nth-child(2n+2) { float: none; }

        .featured-new-item { width: 100%; height: 300px; } /* Stack featured news */
        .featured-new-item:nth-child(n+2) { float: left; height: 190px; width: calc(50% - 5px); margin-top: 10px; } /* Grid for smaller */
        .featured-new-item:nth-child(3) { float: right; margin-right: 0; }

        .new-item { flex-direction: column; } /* Stack thumb and info */
        .new-item-thumb { float: none !important; height: 300px; width: 100%; margin-right: 0; }
        .new-item-info { margin-left: 0; margin-top: 15px; }
        .primary { width: calc(100% - 310px); } /* Keep sidebar */
        .sidebar { width: 300px; }
    }

    @media screen and (max-width: 890px) {
        .container { width: 720px; max-width: 96%; }
        .header-top .container { height: 90px; }
        .logo { height: 55px; margin-top: 17.5px; }
        h1.logo a { font-size: 36px; line-height: 55px; }
        .collap-nav-second { right: 0; } /* Move second nav toggle to edge */
        .header-bottom .search-btn { margin-right: 45px; } /* Space for second toggle */

        .featured-home-post-item { height: 300px; width: 100%; margin-right: 0; } /* Stack large featured */
        .featured-home-post-item:nth-child(n+2) { height: 170px; width: calc(50% - 5px); margin-right: 10px; } /* Grid small featured */
        .featured-home-post-item:nth-child(3) { float: right; margin-right: 0; }

        .primary, .sidebar { width: 100%; float: none; margin-top: 20px; } /* Stack content and sidebar */
        .footer-item { margin-right: 0; width: calc(50% - 10px); margin-bottom: 20px; } /* 2 columns footer */
        .footer-item:nth-child(2n+2) { float: right; }
        .footer-item:nth-child(n+3) { margin-top: 0; } /* Reset top margin for second row */
        .footer-item:nth-child(4n+4){ float: right; margin-right: 0; } /* Keep last item right */

        .footer-bottom .container { flex-direction: column; text-align: center; padding: 15px 0; }
        .footer-bottom-left { margin-bottom: 10px; }
        .footer-bottom-right { text-align: center; }
        .footer-bottom-right li { float: none; display: inline-block; margin: 0 8px; }
        .footer-bottom-right li:last-child { margin-right: 8px; }

        .featured-new-item:nth-child(n+2) { height: 150px; }
    }

    @media screen and (max-width: 767px) {
        /* Additional mobile tweaks if needed, like font sizes */
         .single-title { font-size: 26px; }
         .super-search .search-input { font-size: 30px; }
         .super-search .search-btn.active { font-size: 28px; top: 20px; right: 20px; }
    }

    @media screen and (max-width: 590px) {
        .container { width: 96%; }
        .header-menu-top { display: none; } /* Hide top menu */
        .header-top .container { height: 70px; }
        .logo { height: 45px; margin-top: 12.5px; }
        h1.logo a { font-size: 30px; line-height: 45px; }
        .header-banner { display: none; } /* Ensure banner is hidden */
        .header-bottom .container { height: 40px; line-height: 40px; }
        .collap-main-nav { height: 40px; width: 40px; }
        .collap-main-nav img { margin-top: 9px; height: 22px; }
        .collap-nav-second { height: 40px; width: 40px; line-height: 40px; font-size: 20px; }
        .header-bottom .search-btn { height: 40px; width: 40px; line-height: 40px; margin-right: 40px; font-size: 16px; }

        .featured-home-post-item { height: 250px; }
        .featured-home-post-item:nth-child(n+2) { height: 145px; width: calc(50% - 5px); margin-right: 10px; }
        .featured-home-post-item:nth-child(3) { float: right; margin-right: 0; }

        .footer-item { width: 100%; float: none; margin-right: 0; } /* Stack footer items */
        .footer-item:nth-child(n+2) { margin-top: 20px; }

        .featured-new-item { height: 220px; width: 100%; }
        .featured-new-item:nth-child(n+2) { float: left; height: 130px; width: calc(50% - 5px); }
        .featured-new-item:nth-child(3) { float: right; margin-right: 0; }

        .new-item-thumb { height: 220px; }
        .new-item-title { font-size: 18px; }
        .single-title { font-size: 24px; }

        /* Adjust sidebar video grid for smaller screens */
        .sidebar-video-item:nth-child(n+2) { width: calc(50% - 5px); } /* 2 columns */
        .sidebar-video-item:nth-child(even) { margin-right: 0; } /* Clear right margin on even items */
        .sidebar-video-item:nth-child(odd) { margin-right: 10px; } /* Add right margin on odd items */
        .sidebar-video-item:nth-child(4), .sidebar-video-item:nth-child(7), .sidebar-video-item:nth-child(10) { margin-right: 10px; } /* Reset specific clears */
        .sidebar-video-item:nth-child(2n+3) { /* Add top margin for rows after first */ margin-top: 10px; }
        .sidebar-video-item:nth-child(2) { margin-top: 10px; } /* Ensure first small one has margin */

    }
} /* End @media screen */