/*
Theme Name: NewsMag
Description: Main stylesheet for NewsMag theme — Authentic magazine style
*/

/* ===================================================
   GOOGLE FONTS & FONT-FACE
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&family=Oswald:wght@400;500;600;700&family=Bebas+Neue&family=Roboto:wght@300;400;500;700&family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Nunito:wght@300;400;600;700&family=Raleway:wght@300;400;500;600;700&family=Ubuntu:wght@300;400;500;700&family=Playfair+Display:wght@400;700&family=Merriweather:wght@300;400;700&family=Source+Sans+Pro:wght@300;400;600;700&family=PT+Serif:wght@400;700&display=swap');

@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome/fontawesome-webfont.eot?v=4.7.0');
    src: url('fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
         url('fonts/fontawesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
         url('fonts/fontawesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),
         url('fonts/fontawesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans', Arial, Verdana, sans-serif;
    font-size: 0.9375rem;  /* 15px */
    color: #333;
    background: #f4f4f4;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }

a { text-decoration: none; color: #444; transition: color 0.2s ease; }
a:hover { color: #c0392b; }
img { max-width: 100%; height: auto; display: block; }

.clear { clear: both; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ===================================================
   BUTTONS & MORE-LINK
=================================================== */
.button, a.button, a.more-link,
#main-content input[type="submit"],
input[type="submit"] {
    background-color: #c0392b;
    color: #fff !important;
    padding: 5px 14px;
    font: 700 11px/22px 'Droid Sans', Arial, sans-serif;
    display: inline-block;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: background 0.2s ease;
}
.button:hover, a.button:hover, a.more-link:hover,
#main-content input[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #922b21 !important;
    color: #fff !important;
}

/* Form inputs */
textarea, input[type=text], input[type=password],
input[type=email], input[type=url], input[type=search], select {
    border: 1px solid #ddd;
    border-top-color: #ccc;
    border-left-color: #ccc;
    background: #f9f9f9;
    color: #444;
    font: 400 13px/1.5 'Droid Sans', sans-serif;
    padding: 8px 10px;
    margin-bottom: 7px;
    border-radius: 3px;
    transition: all 0.3s ease;
}
textarea:focus, input[type=text]:focus, input[type=password]:focus,
input[type=email]:focus, input[type=url]:focus, input[type=search]:focus,
select:focus { background: #fff; border-color: #c0392b; outline: none; }

/* ===================================================
   WRAPPER & CONTAINER
=================================================== */
.wrapper-outer {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.background-cover {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #e0e0e0;
    z-index: 0;
    background-size: cover;
}

#wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ===================================================
   TOP NAV BAR
=================================================== */
/* Top Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#top-nav {
    background: #fcfcfc;
    border-bottom: 1px solid #e8e8e8;
    min-height: 35px;
    line-height: 35px;
    position: relative;
    z-index: 99;
}

#top-nav .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.today-date {
    display: inline-block;
    background: #1abc9c;
    color: #fff;
    padding: 0 12px;
    font-size: 11px;
    line-height: 35px;
    margin-right: 10px;
}

.top-menu {
    flex: 1;
}

.top-menu ul { list-style: none; margin: 0; padding: 0; }
.top-menu ul li { float: left; position: relative; }

.top-menu ul li a {
    display: block;
    padding: 0 10px;
    font-size: 11px;
    color: #666;
    line-height: 35px;
    border-right: 1px solid #e8e8e8;
}

.top-menu ul li a:hover { color: #1abc9c; }

/* Search in top bar */
.search-block {
    margin: 0 10px;
    position: relative;
}

.search-block form { display: flex; align-items: center; }

.search-block input[type=text] {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    padding: 5px 10px;
    font-size: 11px;
    color: #888;
    width: 160px;
    height: 27px;
    line-height: 27px;
    margin-bottom: 0;
    border-radius: 2px 0 0 2px;
    outline: none;
}

.search-block input[type=text]:focus { background: #fff; }

.search-block .search-button {
    background: #1abc9c;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 10px;
    height: 27px;
    line-height: 27px;
    font-size: 12px;
    border-radius: 0 2px 2px 0;
    transition: background 0.2s;
}
.search-block .search-button:hover { background: #16a085; }

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #888;
    color: #fff;
    font-size: 11px;
    border-radius: 2px;
    margin: 0 1px;
}

.social-icons a:hover { background: #1abc9c; }

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header#theme-header {
    background: #fff;
    border-top: 4px solid #c0392b;
}

.header-content {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    flex: 1;
    min-width: 200px;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #1abc9c;
    line-height: 1.2;
}

.logo h1 a { color: #1abc9c; }

.logo span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.e3lan-top {
    flex-shrink: 0;
}

.e3lan-top img { max-width: 100%; }

/* Slide-out open (mobile menu toggle) */
#slide-out-open {
    display: none;
    float: left;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: #666;
    background: #fff;
    border: 1px solid #e8e8e8;
    margin: 10px 0;
    padding: 0;
}

#slide-out-open span { display: block; width: 18px; height: 2px; background: #666; margin: 4px auto; }
#slide-out-open span:before, #slide-out-open span:after { content: ''; display: block; width: 18px; height: 2px; background: #666; margin: 3px 0; }

/* Slide-out (mobile menu) */
#slide-out {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #1e1e1e;
    z-index: 99999;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0,0,0,0.5);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.4s ease;
    -moz-transition: -moz-transform 0.4s ease;
    transition: transform 0.4s ease;
}

#slide-out-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}
#slide-out-close:hover {
    color: #c0392b;
}

#slide-out #mobile-menu {
    margin-top: 50px;
}
#slide-out #mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#slide-out #mobile-menu ul li {
    position: relative;
    border-bottom: 1px solid #2a2a2a;
}
#slide-out #mobile-menu ul li a {
    display: block;
    padding: 12px 18px;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}
#slide-out #mobile-menu ul li a:hover {
    background-color: #c0392b;
    color: #fff;
}
#slide-out #mobile-menu ul li.has-sub > a {
    padding-right: 50px;
}
#slide-out .mobile-menu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #888;
    cursor: pointer;
    border-left: 1px solid #2a2a2a;
    transition: background-color 0.2s, color 0.2s;
    z-index: 10;
}
#slide-out .mobile-menu-toggle:hover {
    background-color: #222;
    color: #fff;
}
#slide-out #mobile-menu ul li ul {
    background-color: #141414;
    padding-left: 15px;
}
#slide-out #mobile-menu ul li ul li a {
    padding: 10px 18px;
    font-size: 12px;
    text-transform: none;
}

/* Slide-out active behaviors */
body.slide-out-active {
    overflow: hidden;
}
body.slide-out-active #wrapper {
    transform: translateX(250px);
}
body.slide-out-active #slide-out {
    transform: translateX(0);
}
body.slide-out-active #wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999999;
    pointer-events: auto;
    transition: opacity 0.4s ease;
}

#slide-out .search-mobile { padding: 10px; background: #111; margin-top: 10px; }
#slide-out .search-mobile form { display: flex; }
#slide-out .search-mobile input[type=text] {
    flex: 1;
    background: #333;
    border: 1px solid #444;
    color: #ccc;
    padding: 8px;
    font-size: 12px;
    border-radius: 2px 0 0 2px;
    margin-bottom: 0;
    outline: none;
}
#slide-out .search-mobile .search-button {
    background: #1abc9c;
    border: none;
    color: #fff;
    padding: 0 10px;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
}

#slide-out .social-icons { padding: 10px; justify-content: center; gap: 3px; }
#slide-out .social-icons a { background: #444; }

/* Main Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#main-nav {
    background: #222;
    border-bottom: 3px solid #1abc9c;
    min-height: 42px;
    position: relative;
    z-index: 98;
}

#main-nav.fixed-enabled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#main-nav .container {
    display: flex;
    align-items: center;
}

.main-nav-logo {
    display: inline-block;
    margin: 0 10px 0 0;
    line-height: 0;
}

.main-nav-logo img { max-height: 40px; width: auto; }

.main-menu {
    flex: 1;
}

.main-menu ul { list-style: none; margin: 0; padding: 0; }

.main-menu > ul > li {
    float: left;
    position: relative;
}

.main-menu > ul > li > a {
    display: block;
    padding: 0 14px;
    color: #ddd;
    font-size: 13px;
    line-height: 42px;
    text-transform: uppercase;
    font-weight: bold;
}

.main-menu > ul > li > a:hover,
.main-menu > ul > li.current-menu-item > a {
    background: #1abc9c;
    color: #fff;
}

.main-menu ul li ul {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    background: #222;
    min-width: 200px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.main-menu ul li:hover > ul { display: block; }

.main-menu ul li ul li {
    float: none;
    border-bottom: 1px solid #333;
}

.main-menu ul li ul li a {
    display: block;
    padding: 8px 14px;
    color: #ccc;
    font-size: 12px;
}

.main-menu ul li ul li a:hover {
    background: #1abc9c;
    color: #fff;
}

.random-article {
    display: inline-block;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #ddd;
    font-size: 18px;
    background: rgba(255,255,255,0.05);
}

.random-article:hover {
    background: #1abc9c;
    color: #fff;
}

/* Dropdown */
.main-menu ul li ul {
    display: none;
    position: absolute;
    top: 44px;
    left: 0;
    background: #2a2a2a;
    min-width: 210px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border-top: 2px solid #c0392b;
}

.main-menu ul li:hover > ul { display: block; }

.main-menu ul li ul li { float: none; border-bottom: 1px solid #333; }

.main-menu ul li ul li a {
    display: block;
    padding: 9px 14px;
    color: #bbb;
    font-size: 12px;
    line-height: 1.4;
    text-transform: none;
    font-weight: 400;
}
.main-menu ul li ul li a:hover { background: #c0392b; color: #fff; padding-left: 20px; }

/* Sub-sub menu */
.main-menu ul li ul li ul {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 2px solid #c0392b;
}

/* ===================================================
   BREAKING NEWS TICKER
=================================================== */
#breaking-news {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: none;
    border-right: none;
    margin: 12px 0;
    height: 38px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.breaking-news-title {
    background: #c0392b;
    color: #fff;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 38px;
    height: 38px;
    flex-shrink: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.breaking-news-title .fa { margin-right: 4px; }

#breaking-news ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 38px;
}

#breaking-news ul li {
    display: none;
    padding: 0 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 38px;
    font-size: 13px;
    animation: tickerFade 0.5s ease;
}

#breaking-news ul li:first-child { display: block; }

#breaking-news ul li a { color: #333; font-size: 13px; }
#breaking-news ul li a:hover { color: #c0392b; }

@keyframes tickerFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Ticker separator line on right of label */
.breaking-news-title::after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

/* ===================================================
   FEATURED POSTS SLIDER / GRID
=================================================== */
#featured-posts {
    margin-bottom: 30px;
    overflow: hidden;
    display: block;
    position: relative;
}

#featured-posts .featured-post {
    display: none;
    float: left;
    position: relative;
    overflow: hidden;
    padding-left: 1px;
}

#featured-posts .featured-post.fea-1,
#featured-posts .featured-post.fea-2,
#featured-posts .featured-post.fea-3,
#featured-posts .featured-post.fea-4,
#featured-posts .featured-post.fea-5,
#featured-posts .featured-posts-single-slide .featured-post {
    display: block;
}

.featured-post-1,
.featured-post-2 {
    width: 50%;
}

.featured-post-3,
.featured-post-4,
.featured-post-5 {
    width: 33.33333333%;
    padding-top: 1px;
}

#featured-posts .featured-post.featured-post-1,
#featured-posts .featured-post.featured-post-3 {
    padding-left: 0;
}

#featured-posts .featured-post-inner {
    height: 215px;
    position: relative;
    line-height: 0;
    color: #FFF;
    background-position: center;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}

#featured-posts .featured-post img {
    max-width: 100%;
    height: auto;
}

.featured-cover {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    -webkit-transition: all .2s linear;
       -moz-transition: all .2s linear;
        -ms-transition: all .2s linear;
         -o-transition: all .2s linear;
            transition: all .2s linear;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,1) 100%);
    background:    -moz-linear-gradient(top, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,1) 100%);
    background:     -ms-linear-gradient(top, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,1) 100%);
    background:      -o-linear-gradient(top, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,1) 100%);
    background:         linear-gradient(to top, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,1) 100%);
}

.featured-cover a {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-cover a span { display: none; }

#featured-posts .featured-post-inner:hover .featured-cover { opacity: 1; }

.featured-title {
    position: absolute;
    width: 100%;
    bottom: -60px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
    line-height: 20px;
    padding: 20px;
    -webkit-transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
         -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
}

.featured-title h2 {
    margin-bottom: 15px;
    text-shadow: rgba(0,0,0,.6) 0 0 5px;
    font-size: 20px;
    line-height: 26px;
}

.featured-title h3 {
    font-size: 10pt;
    opacity: 0;
    min-height: 40px;
    -webkit-transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
         -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
}

.featured-title span.tie-date { font-size: 9pt; }

.featured-title a { color: #FFF; }

#featured-posts .featured-post-inner:hover .featured-title { bottom: 0; }
#featured-posts .featured-post-inner:hover .featured-title h3 { opacity: .8; }

/* Nav arrows - top right like original theme */
#featured-posts .flex-direction-nav a {
    width: 40px;
    height: 40px;
    margin: 0;
    color: #FFF;
    display: block;
    position: absolute;
    top: 5px;
    right: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    background: #222;
    border: none;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    transition: background 0.2s;
}

#featured-posts .flex-direction-nav .flex-next { right: 5px !important; }
#featured-posts .flex-direction-nav .flex-prev { right: 50px !important; left: auto !important; }

#featured-posts:hover .flex-next,
#featured-posts:hover .flex-prev { opacity: 0.8; }

#featured-posts .flex-next:hover,
#featured-posts .flex-prev:hover { background: #c0392b; }

/* Featured posts-single-slide wrapper (created by JS) */
.featured-posts-single-slide {
    overflow: hidden;
}

/* ===================================================
   MAIN CONTENT LAYOUT
=================================================== */
#main-content {
    padding: 30px 0 40px;
    overflow: hidden;
    background: #fff;
}

#main-content.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#featured-posts {
    width: 100%;
    flex: 0 0 100%;
}

/* ===================================================
   CATEGORY BOXES — SHARED
=================================================== */
.cat-box {
    margin-bottom: 35px;
}

.cat-box-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 3px 0;
    overflow: hidden;
}

.cat-box-title h2 {
    float: left;
    margin-right: 10px;
    font-size: var(--cat-title-size, 20px);
    font-family: 'Bebas Neue', 'Oswald', arial, Georgia, serif;
    font-weight: 400;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.cat-box-title h2 a { color: #111; }
.cat-box-title h2 a:hover { color: #000; }

/* "See All" link right of title */
.cat-box-title .see-all {
    float: right;
    font-size: 11px;
    color: #888;
    line-height: 26px;
    margin-left: 10px;
    flex-shrink: 0;
}
.cat-box-title .see-all:hover { color: #c0392b; }

/* Stripe line */
.stripe-line {
    height: 12px;
    overflow: hidden;
    flex: 1;
    margin-top: 0;
    background-color: var(--stripe-color, #000000);
    -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAOCAYAAAAbvf3sAAAAJElEQVQoz2NgQAApJMxAhDjxmqRI1ESSM6Ro63b6aRoNJUKaAF/fCIkVjPvxAAAAAElFTkSuQmCC);
    mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAOCAYAAAAbvf3sAAAAJElEQVQoz2NgQAApJMxAhDjxmqRI1ESSM6Ro63b6aRoNJUKaAF/fCIkVjPvxAAAAAElFTkSuQmCC);
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
}

/* Content box panels */
.cat-box-content {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.04);
       -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.04);
            box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Per-section accent colors — top border accent */
.tie-cat-1 .cat-box-content { border-top: 3px solid #c0392b; }
.tie-cat-1 a.more-link { background-color: #c0392b; }

.tie-cat-6 .cat-box-content { border-top: 3px solid #8e44ad; }
.tie-cat-6 a.more-link { background-color: #8e44ad; }

.tie-cat-8 .cat-box-content { border-top: 3px solid #e74c3c; }
.tie-cat-8 a.more-link { background-color: #e74c3c; }

.tie-cat-9 .cat-box-content { border-top: 3px solid #2980b9; }
.tie-cat-9 a.more-link { background-color: #2980b9; }

.tie-cat-10 .cat-box-content { border-top: 3px solid #27ae60; }
.tie-cat-10 a.more-link { background-color: #27ae60; }

/* Entry text in cat boxes */
.cat-box .entry { font-size: 12px; }
.cat-box .entry p { line-height: 21px; margin-bottom: 12px; }
.cat-box .entry a.more-link { margin-top: 0; }

.cat-box li.first-news .inner-content { padding: 20px; overflow: hidden; }

.cat-box .post-thumbnail img.attachment-tie-small { max-width: 90px; height: auto; }

/* ===================================================
   POST BOX TITLES & META
=================================================== */
.post-box-title {
    font-family: 'Droid Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.45;
}

.post-box-title a { color: #1a1a1a; }
.post-box-title a:hover { color: #c0392b; }

h2.post-box-title { font-size: 20px; line-height: 26px; }
h3.post-box-title { font-size: 14px; line-height: 20px; }

p.post-meta {
    color: #888;
    margin: 7px 0;
    font-size: 85%;
    font-family: 'Droid Sans', sans-serif;
}

.cat-box p.post-meta { margin: 5px 0 0; font-size: 80%; }

p.post-meta span { display: inline-block; margin-right: 10px; }

.post-meta .tie-date { color: #aaa; }
.post-meta .fa { margin-right: 3px; color: #c0392b; }

li.first-news p.post-meta,
.list-box li.first-news p.post-meta,
.wide-box li.first-news p.post-meta {
    padding: 0;
    margin: 5px 0 10px;
    font-size: 85%;
}

/* ===================================================
   LIST BOX (World section)
=================================================== */
.list-box,
.wide-box {
    clear: both;
}

.list-box {
    overflow: hidden;
}

.list-box ul { overflow: hidden; }

.list-box li {
    overflow: hidden;
    padding: 10px;
    width: 50%;
    float: right;
    clear: right;
}

.list-box li.first-news {
    padding: 15px;
    float: left;
}

.list-box li.other-news {
    border-left: 3px solid #eaeaea;
}

/* Shared other-news styles for list-box AND column2 */
.cat-box.column2 li.other-news,
.list-box li.other-news {
    background: #f7f7f7;
    overflow: hidden;
    padding: 17px 20px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #eaeaea;
    -webkit-transition: all 0.4s;
       -moz-transition: all 0.4s;
         -o-transition: all 0.4s;
            transition: all 0.4s;
}

.cat-box.column2 li.other-news:hover,
.list-box li.other-news:hover {
    background: #f2f2f2;
}

.cat-box.column2 li.other-news {
    padding-top: 10px;
    padding-bottom: 10px;
}

.list-box li.other-news:hover { border-left-color: #c0392b; }

.list-box li.first-news .post-thumbnail {
    margin: 0 0 15px;
    float: none;
}
.list-box li.first-news .post-thumbnail img { width: 100%; height: auto; }

.list-box li.other-news .post-thumbnail {
    float: left;
}

.list-box .entry { font-size: 12px; color: #666; line-height: 1.6; margin-top: 6px; }
.list-box .entry p { margin-bottom: 8px; }

/* ===================================================
   COLUMN2 BOX (Fashion / Photography)
=================================================== */
.cat-box-container.columns-2 { overflow: hidden; }

.cat-box.column2 {
    float: left;
    width: 48%;
    margin-right: 4%;
}
.cat-box.column2.last-column { margin-right: 0; }

.cat-box.column2 li.first-news {
    border-bottom: 3px solid #eaeaea;
    padding: 0;
}
.cat-box.column2 li.first-news .post-thumbnail { margin: 0 0 10px; float: none; }
.cat-box.column2 li.first-news .post-thumbnail img { width: 100%; height: auto; }
.cat-box.column2 h2.post-box-title { font-size: 16px; line-height: 1.3; margin: 0 0 6px; }

.cat-box.column2 li.other-news:hover { border-left-color: #c0392b; }

.cat-box.column2 li.other-news .post-thumbnail {
    float: left;
}
.cat-box.column2 li.other-news .post-thumbnail img { width: 100%; height: auto; }

/* ===================================================
   SCROLL BOX
=================================================== */
.scroll-box { clear: both; }

.scroll-box .cat-box-content {
    padding: 20px;
    position: relative;
}

.group_items-box { overflow: hidden; }

.scroll-box .scroll-item .post-thumbnail { margin: 0 0 10px; }

.scroll-box .scroll-item {
    float: left;
    width: 31.33333333%;
    margin: 0 3% 10px 0;
}

.scroll-box .scroll-item:nth-child(3n) { margin-right: 0; }

.scroll-box .scroll-item .post-box-title { font-size: 13px; line-height: 1.35; }
.scroll-box .scroll-item .post-meta { margin: 4px 0 0; font-size: 11px; color: #aaa; }
.scroll-box .scroll-item .post-cat { margin-left: 6px; }
.scroll-box .scroll-item .post-cat a { color: #c0392b; }

/* Scroll nav pagination */
.scroll-nav {
    background: #f7f7f7;
    margin: 10px -20px -20px;
    padding: 5px;
    text-align: center;
}

.scroll-nav a {
    background: #b4b4b4;
    width: 10px;
    height: 10px;
    text-indent: -9999px;
    overflow: hidden;
    display: inline-block;
    margin: 2px;
    -webkit-transition: all 0.4s;
       -moz-transition: all 0.4s;
         -o-transition: all 0.4s;
            transition: all 0.4s;
    -webkit-border-radius: 50px;
       -moz-border-radius: 50px;
            border-radius: 50px;
}

.scroll-nav a:hover { background: #939393; }
.scroll-nav a.activeSlide { background: #666; }

/* ===================================================
   PIC BOX (News in Picture / Grid)
=================================================== */
.pic-box .cat-box-content {
    padding: 20px 0 13px;
}

.pic-box.pic-grid .cat-box-content {
    padding: 20px 0;
}

.pic-box .cat-box-content ul { margin: -2px; overflow: hidden; }
.pic-box .cat-box-content li { float: left; padding: 2px; position: relative; }
.pic-box li.first-pic { padding: 0; width: 50.94%; }
.pic-box li { width: 16.3%; overflow: hidden; }

.pic-box.cat-box li.first-pic .post-thumbnail,
.pic-box.pic-grid.cat-box li .post-thumbnail {
    position: relative;
    float: none;
}

.pic-box.cat-box li .post-thumbnail img.attachment-tie-small {
    max-width: 100%;
}

.pic-box.cat-box li .post-thumbnail {
    padding: 1px;
    margin: 0;
}

.pic-box.pic-grid ul {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.pic-box.pic-grid li {
    flex: 1 1 16.66%;
    padding: 8px;
}
.pic-box.pic-grid li .post-thumbnail {
    display: block;
    margin: 0 0 8px;
    overflow: hidden;
    position: relative;
}
.pic-box.pic-grid li .post-thumbnail img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}
.pic-box.pic-grid li .post-thumbnail:hover img {
    opacity: 0.85;
}
.pic-box.pic-grid li .post-box-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    max-height: 32px;
    overflow: hidden;
}
.pic-box.pic-grid li .post-box-title a {
    color: #222;
}
.pic-box.pic-grid li .post-box-title a:hover {
    color: #c0392b;
}
.pic-box.pic-grid li .post-meta {
    font-size: 10px;
    color: #999;
}
.pic-box.pic-grid li .post-meta .tie-date {
    color: #999;
}
.pic-box.pic-grid li .post-meta i {
    margin-right: 3px;
}

/* Grid full-width inside flex container */
.grid-fullwidth {
    width: 100%;
    flex: 0 0 100%;
}

/* Grid load more */
.grid-load-more-wrap {
    text-align: center;
    padding: 20px 0 10px;
}
.grid-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 40px;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #c0392b;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(192,57,43,0.3);
}
.grid-load-more-btn:hover {
    background: #a93226;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192,57,43,0.4);
}
.grid-load-more-btn:active {
    transform: translateY(0);
}
.grid-load-more-btn .fa {
    font-size: 12px;
    transition: transform 0.2s;
}
.grid-load-more-btn.loaded {
    opacity: 0.8;
    background: #27ae60;
    box-shadow: 0 2px 8px rgba(39,174,96,0.3);
}
.grid-load-more-btn.loaded:hover {
    background: #229954;
}

/* Grid big/small layout */
.pic-box.pic-grid li.grid-big {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 8px;
}
.pic-box.pic-grid li.grid-small {
    flex: 1 1 25%;
    max-width: 25%;
    padding: 8px;
}
.pic-box.pic-grid li.grid-big .post-thumbnail img {
    height: 250px;
    object-fit: cover;
}
.pic-box.pic-grid li.grid-small .post-thumbnail img {
    height: 150px;
    object-fit: cover;
}
.pic-box.pic-grid li.grid-big .post-box-title {
    font-size: 16px;
    max-height: none;
}
.pic-box.pic-grid li.grid-small .post-box-title {
    font-size: 12px;
    max-height: 32px;
}
.pic-box li .post-thumbnail { display: block; }
.pic-box li .post-thumbnail img { width: 100%; height: auto; }

/* ===================================================
   WIDE BOX (Tech)
=================================================== */
.wide-box ul { overflow: hidden; }

.wide-box li {
    overflow: hidden;
    padding: 10px 20px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #eaeaea;
    width: 50%;
    float: left;
    height: 78px;
    -webkit-transition: all 0.4s;
       -moz-transition: all 0.4s;
         -o-transition: all 0.4s;
            transition: all 0.4s;
}

.wide-box li.first-news {
    border-bottom: 3px solid #eaeaea;
    padding: 0;
    width: 100%;
    float: none;
    height: auto;
}

.wide-box li.other-news {
    background: #f7f7f7;
}

.wide-box li.other-news:hover {
    background: #f2f2f2;
    border-left-color: #2980b9;
}

.wide-box li .post-thumbnail,
.list-box li .post-thumbnail {
    float: left;
}

.wide-box li.first-news .post-thumbnail {
    width: 275px;
}
.wide-box li.first-news .post-thumbnail img { width: 100%; height: auto; }
.wide-box li.other-news .post-thumbnail { float: left; }
.wide-box li.other-news .post-thumbnail img { width: 100%; height: auto; }
.wide-box h2.post-box-title { margin: 0 0 5px; }

/* ===================================================
   POST THUMBNAIL & OVERLAY
=================================================== */
.post-thumbnail {
    margin-right: 15px;
    position: relative;
    line-height: 0;
}

.post-thumbnail a {
    display: block !important;
    background: #000;
    font-size: 0;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    max-width: 100%;
    -webkit-transition: all 0.4s;
       -moz-transition: all 0.4s;
         -o-transition: all 0.4s;
            transition: all 0.4s;
}

.post-thumbnail a:hover img {
    opacity: 0.3 !important;
}

.post-thumbnail img.attachment-tie-small,
.post-thumbnail img.avatar {
    max-width: 100px;
}

/* Cat-box specific thumbnail overrides */
.cat-box li .post-thumbnail {
    margin: 0 10px 0 0;
}

/* Play/link overlay icon */
.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px; height: 38px;
    background: rgba(192, 57, 43, 0.85);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    line-height: 38px;
    color: #fff;
    font-size: 14px;
    z-index: 2;
}

.overlay-icon::before { content: "\f0c1"; font-family: FontAwesome; }

.post-thumbnail a:hover .overlay-icon { opacity: 1; }

/* Tooltip */
.ttip { position: relative; cursor: pointer; }

/* ===================================================
   SIDEBAR
=================================================== */
#sidebar {
    width: 340px;
}

#sidebar .widget {
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Widget title strip */
#sidebar .widget-top {
    background: #222;
    padding: 12px 16px;
    border-bottom: 2px solid #c0392b;
    overflow: hidden;
}

#sidebar .widget-top h4,
#sidebar .widget-top h3 {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    display: inline;
}

#sidebar .widget-container { padding: 15px 16px; }

#sidebar .widget-container ul li {
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}
#sidebar .widget-container ul li:last-child { border-bottom: none; }

#sidebar .widget-container ul li a {
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
#sidebar .widget-container ul li a:hover { color: #c0392b; }

/* News-pic widget in sidebar */
#sidebar .widget.news-pic .widget-container li { padding: 8px 0; }

#sidebar .widget.news-pic .widget-container li .post-thumbnail {
    float: left;
    margin-right: 10px;
    width: 65px;
    flex-shrink: 0;
}
#sidebar .widget.news-pic .widget-container li .post-thumbnail img { width: 100%; height: auto; }

#sidebar .widget.news-pic .widget-container li .tie-date {
    display: block;
    font-size: 10px;
    color: #aaa;
    margin-top: 3px;
}

#sidebar .widget.news-pic .widget-container li a {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
}

/* Search widget in sidebar */
#sidebar .widget_search .widget-container form {
    display: flex;
}
#sidebar .widget_search .widget-container input[type=text] {
    flex: 1;
    margin-bottom: 0;
    border-radius: 0;
    font-size: 12px;
    height: 34px;
    padding: 6px 10px;
}
#sidebar .widget_search .widget-container button,
#sidebar .widget_search .widget-container input[type=submit] {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 0 12px;
    height: 34px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 0;
    transition: background 0.2s;
}
#sidebar .widget_search .widget-container button:hover { background: #922b21; }

/* Categories & Archives list */
#sidebar .widget_categories .widget-container li a,
#sidebar .widget_archive .widget-container li a {
    color: #555;
}
#sidebar .widget_categories .widget-container li:hover,
#sidebar .widget_archive .widget-container li:hover { background: #fafafa; }

/* Category/Archive post count badges */
#sidebar .widget_categories .widget-container li .count,
#sidebar .widget_archive .widget-container li .count {
    float: right;
    background: #c0392b;
    color: #fff;
    padding: 1px 8px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
}

/* Tags cloud */
#sidebar .tagcloud a {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 3px 9px;
    font-size: 11px !important;
    margin: 2px;
    border-radius: 2px;
    transition: all 0.2s;
}
#sidebar .tagcloud a:hover { background: #c0392b; color: #fff; }

.theiaStickySidebar { }

/* ===================================================
   SINGLE POST & PAGE
=================================================== */

/* Single layout container */
.single-post-container {
    padding-top: 30px;
    padding-bottom: 40px;
    overflow: hidden;
    background: #fff;
}

.single-content {
    float: left;
    width: 668px;
    padding: 0 25px;
}

/* Breadcrumb */
.post-breadcrumb {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 14px;
    line-height: 1.4;
}
.post-breadcrumb a { color: #888; }
.post-breadcrumb a:hover { color: #c0392b; }
.post-breadcrumb .sep { margin: 0 4px; color: #ccc; }
.post-breadcrumb .current-crumb { color: #555; }

/* Post Wrap */
.post-wrap { margin: 0; }

/* Post Head */
.post-head {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ececec;
}

/* Category label badge */
.post-category-label {
    margin-bottom: 10px;
}
.post-category-label .cat-label {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-family: 'Droid Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 3px 10px;
    border-radius: 2px;
    transition: background 0.2s;
}
.post-category-label .cat-label:hover { background: #922b21; }

/* Single post title */
.single-post-title {
    font-family: 'Oswald', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #0d0d0d;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

/* Meta bar */
.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-size: 12px;
    font-family: 'Droid Sans', sans-serif;
    color: #888;
    letter-spacing: 0.1px;
}
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }
.post-meta-bar i { color: #c0392b; font-size: 11px; }
.post-meta-bar a { color: #666; }
.post-meta-bar a:hover { color: #c0392b; }

/* Social share buttons (top) */
.post-share-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ececec;
}
.share-label {
    font-family: 'Droid Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.8px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 3px;
    font-family: 'Droid Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    transition: opacity 0.2s, transform 0.15s;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); color: #fff; }
.share-facebook  { background: #3b5998; }
.share-twitter   { background: #1da1f2; }
.share-whatsapp  { background: #25d366; }
.share-linkedin  { background: #0077b5; }
.share-pinterest { background: #bd081c; }

/* Featured image */
.post-featured-image {
    margin: 0 0 20px;
    line-height: 0;
}
.post-featured-image img.post-feat-img {
    width: 100%;
    height: auto;
    display: block;
}
.post-featured-image .wp-caption-text {
    background: #f5f5f5;
    font-size: 11px;
    color: #888;
    padding: 7px 10px;
    text-align: center;
    line-height: 1.5;
    border-bottom: 2px solid #e8e8e8;
}

/* Post entry content */
.post-entry {
    font-family: 'Droid Sans', Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.9;
    margin: 0 0 20px;
    color: #333;
}
.post-entry p { margin-bottom: 18px; }
.post-entry h2, .post-entry h3, .post-entry h4 {
    font-family: 'Oswald', Georgia, serif;
    font-weight: 700;
    margin: 26px 0 12px;
    color: #0d0d0d;
    line-height: 1.3;
}
.post-entry h2 { font-size: 24px; }
.post-entry h3 { font-size: 20px; }
.post-entry h4 { font-size: 16px; font-family: 'Droid Sans', sans-serif; }
.post-entry img { max-width: 100%; height: auto; }
.post-entry a { color: #c0392b; text-decoration: underline; text-underline-offset: 2px; }
.post-entry ul, .post-entry ol { margin: 10px 0 14px 22px; }
.post-entry ul { list-style: disc; }
.post-entry ol { list-style: decimal; }
.post-entry li { margin-bottom: 7px; line-height: 1.7; }
.post-entry blockquote {
    border-left: 4px solid #c0392b;
    margin: 24px 0;
    padding: 16px 22px;
    background: #fafafa;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    border-radius: 0 3px 3px 0;
}

/* Page links pagination */
.page-links {
    margin: 20px 0;
    font-size: 13px;
    color: #888;
}
.page-links span {
    display: inline-block;
    margin: 0 3px;
    padding: 4px 10px;
    background: #c0392b;
    color: #fff;
    border-radius: 2px;
}
.page-links a span {
    background: #f0f0f0;
    color: #555;
}
.page-links a span:hover { background: #c0392b; color: #fff; }

/* Archive pagination */
.pagination {
    margin: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #888;
}
.pagination a,
.pagination span.page-numbers {
    display: inline-block;
    margin: 0 2px;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #555;
    border-radius: 2px;
    text-decoration: none;
}
.pagination a:hover,
.pagination span.current {
    background: #c0392b;
    color: #fff;
}
.pagination span.current { font-weight: 700; }
.pagination .pages {
    display: none;
}

/* Tags section */
.post-tags-section {
    margin: 0 0 20px;
    padding: 14px 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.tags-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
}
.tags-label i { color: #c0392b; margin-right: 4px; }
.post-tag-item {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 4px 11px;
    font-size: 11px;
    border-radius: 2px;
    transition: all 0.2s;
}
.post-tag-item:hover { background: #c0392b; color: #fff; }

/* Social share bottom (big) */
.post-share-bottom {
    margin: 0 0 24px;
}
.post-share-bottom .share-inner {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 16px 18px;
    text-align: center;
}
.share-label-big {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 12px;
}
.share-buttons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.share-buttons-row .share-btn {
    padding: 8px 18px;
    font-size: 12px;
}

/* Author box */
.post-author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #c0392b;
    padding: 18px;
    margin: 0 0 26px;
    border-radius: 3px;
}
.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.author-info { flex: 1; }
.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
}
.author-name span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #c0392b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}
.author-name a { color: #111; }
.author-name a:hover { color: #c0392b; }
.author-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts-section {
    margin: 0 0 26px;
}
.related-posts-title {
    padding-bottom: 6px;
    border-bottom: 3px solid #c0392b;
    margin-bottom: 16px;
    overflow: hidden;
}
.related-posts-title h3 {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
    position: relative;
}
.related-posts-title h3::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c0392b;
}
.related-posts-grid {
    display: flex;
    gap: 16px;
}
.related-post-item {
    flex: 1;
}
.related-post-item .post-thumbnail {
    margin-bottom: 10px;
}
.related-post-item .post-thumbnail img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.related-post-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
}
.related-post-title a { color: #222; }
.related-post-title a:hover { color: #c0392b; }

/* Post Navigation (prev / next) */
.post-navigation {
    display: flex;
    gap: 12px;
    margin: 0 0 26px;
    border-top: 1px solid #ececec;
    padding-top: 20px;
}
.nav-previous, .nav-next {
    flex: 1;
}
.nav-next { text-align: right; }
.nav-previous a, .nav-next a {
    display: block;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    padding: 12px 16px;
    border-radius: 2px;
    transition: all 0.2s;
    color: #333;
    height: 100%;
}
.nav-previous a:hover, .nav-next a:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}
.nav-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #c0392b;
    margin-bottom: 4px;
}
.nav-previous a:hover .nav-label,
.nav-next a:hover .nav-label { color: rgba(255,255,255,0.8); }
.nav-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* Page head (archive, page templates) */
.page-head {
    overflow: hidden;
    margin: 0 0 18px;
    padding: 6px 0;
    border-bottom: 3px solid #c0392b;
}
.page-head h1, .page-head h2 {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 20px;
    color: #111;
    float: left;
    font-weight: 600;
    text-transform: uppercase;
}
.page-head h1.page-title, .page-head h2.page-title {
    float: left;
    margin: 0;
}
.page-head .stripe-line {
    float: left;
    margin: 8px 0 0 10px;
    width: auto;
    flex: 1;
}
.archive-meta {
    clear: both;
    color: #999;
    font-size: 12px;
    padding: 8px 0 0;
    line-height: 1.6;
}

/* Cat link sub categories */
.cat-link-sub {
    list-style: none;
    margin: 0 0 20px;
    padding: 10px 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}
.cat-link-sub li {
    float: left;
    width: 33.333%;
    font-size: 12px;
    color: #888;
    line-height: 20px;
    padding: 2px 0;
}
.cat-link-sub li .fa { margin-right: 4px; color: #c0392b; }
.cat-link-sub li a { color: #333; }
.cat-link-sub li a:hover { color: #c0392b; }


/* ===================================================
   ARCHIVE LIST
=================================================== */
.archive-title {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 3px solid #c0392b;
    text-transform: uppercase;
}

.archive-wide {
    list-style: none;
    margin: 0;
    padding: 0;
}
.archive-wide li {
    overflow: hidden;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.archive-wide li:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.08); }
.archive-wide li:last-child { border-bottom: none; }
.archive-wide li .post-thumbnail {
    float: left;
    width: 200px;
    margin: 0 16px 0 0;
}
.archive-wide li .post-thumbnail img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.archive-wide li h3.post-box-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
}
.archive-wide li h3.post-box-title a { color: #222; }
.archive-wide li h3.post-box-title a:hover { color: #c0392b; }
.archive-wide li .post-meta {
    font-size: 11px;
    color: #aaa;
    margin: 0 0 8px;
}
.archive-wide li .post-meta span { margin-right: 10px; }
.archive-wide li .post-meta .tie-date { color: #bbb; }
.archive-wide li .post-meta .fa { margin-right: 3px; }
.archive-wide li .entry {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.archive-wide li .entry p { margin-bottom: 8px; }
.archive-wide li .more-link {
    display: inline-block;
    font-size: 11px;
    padding: 5px 12px;
    text-decoration: none;
    background: #F88C00;
    color: #fff;
    border-radius: 2px;
}
.archive-wide li .more-link:hover { background: #e67e22; }

/* ===================================================
   404
=================================================== */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 h1 { font-size: 80px; color: #c0392b; margin-bottom: 10px; font-family: 'Oswald', sans-serif; }
.error-404 h2 { font-size: 24px; color: #444; margin-bottom: 18px; }
.error-404 p { color: #999; margin-bottom: 18px; }

/* ===================================================
   COMMENTS — Premium Stylish Design
=================================================== */
.comments-area {
    margin: 0 0 30px;
}

/* Comments Header */
.comments-header {
    margin-bottom: 20px;
}
.comments-title {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comments-title i { color: #c0392b; font-size: 18px; }
.comments-title span { color: #c0392b; }
.comments-title-line {
    height: 3px;
    background: #c0392b;
    width: 100%;
    margin-bottom: 20px;
}

/* Comment List */
.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.commentlist > li {
    margin-bottom: 0;
    padding: 0;
    border: none;
}

/* Individual Comment Card */
.theme-comment-item {
    margin-bottom: 14px;
}
.comment-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px;
    transition: border-left-color 0.2s, box-shadow 0.2s;
}
.comment-card:hover {
    border-left-color: #c0392b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Post Author Comment Special Style */
.theme-comment-item.is-post-author .comment-card {
    background: #fffbf9;
    border-left-color: #c0392b;
    border-color: #f5ddd9;
}

/* Avatar */
.comment-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.comment-avatar-img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    display: block;
}
.comment-author-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #c0392b;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Comment Body */
.comment-body-wrap {
    flex: 1;
    min-width: 0;
}

/* Meta Row: name + date */
.comment-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.comment-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
}
.comment-author-name a { color: #222; }
.comment-author-name a:hover { color: #c0392b; }
.post-author-tag {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
    border-radius: 2px;
}
.comment-date-time {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}
.comment-date-time i { color: #c0392b; }
.comment-date-time a { color: #aaa; }
.comment-date-time a:hover { color: #c0392b; }
.comment-edit-link {
    font-size: 11px;
    color: #aaa;
    margin-left: auto;
    transition: color 0.2s;
}
.comment-edit-link:hover { color: #c0392b; }

/* Pending moderation notice */
.comment-pending {
    background: #fff8e6;
    border: 1px solid #ffe0a0;
    border-radius: 3px;
    font-size: 12px;
    color: #c87f00;
    padding: 6px 10px;
    margin-bottom: 8px;
}
.comment-pending i { margin-right: 5px; }

/* Comment Text */
.comment-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}
.comment-text p { margin-bottom: 6px; }
.comment-text p:last-child { margin-bottom: 0; }

/* Comment Footer: Reply link */
.comment-footer-row {
    margin-top: 10px;
}
.comment-reply-wrap .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 4px 12px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.comment-reply-wrap .comment-reply-link:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}
.comment-reply-wrap .comment-reply-link::before {
    font-family: FontAwesome;
    content: "\f112";
}

/* Nested children */
.commentlist .children {
    list-style: none;
    margin: 10px 0 0 40px;
    padding: 0;
}
.commentlist .children .comment-card {
    background: #fafafa;
    border-left-width: 3px;
}

/* Hidden overflow comments (controlled by JS) */
.theme-comment-item.comment-hidden {
    display: none;
}

/* View More Button */
#comment-view-more-wrap {
    text-align: center;
    margin: 10px 0 20px;
}
.comment-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #c0392b;
    border: 2px solid #c0392b;
    border-radius: 3px;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s;
}
.comment-view-more-btn:hover {
    background: #c0392b;
    color: #fff;
}
.comment-view-more-btn i {
    transition: transform 0.3s;
}
.comment-view-more-btn.expanded i {
    transform: rotate(180deg);
}
.btn-count {
    background: #c0392b;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    padding: 2px 8px;
    font-weight: 700;
    transition: background 0.2s;
}
.comment-view-more-btn:hover .btn-count {
    background: #fff;
    color: #c0392b;
}

/* Comments Pagination */
.comments-pagination {
    margin: 15px 0;
    text-align: center;
}
.comments-pagination a,
.comments-pagination span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 2px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 13px;
    color: #555;
    transition: all 0.2s;
}
.comments-pagination a:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.comments-pagination span.current { background: #c0392b; color: #fff; border-color: #c0392b; }

/* No Comments */
.no-comments {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    padding: 20px;
    border: 1px dashed #e0e0e0;
    border-radius: 4px;
}

/* ── Comment Form ── */
.comment-respond-area {
    margin-top: 30px;
    border-top: 3px solid #c0392b;
    padding-top: 24px;
}
.reply-title {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reply-title i { color: #c0392b; }
.reply-title small { font-size: 13px; font-weight: 400; text-transform: none; margin-left: auto; }
.reply-title small a { color: #c0392b; font-family: 'Open Sans', sans-serif; }
.reply-title-line { height: 3px; background: linear-gradient(90deg, #c0392b 0%, #e8e8e8 100%); margin-bottom: 20px; }

.logged-in-as {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 10px 14px;
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
}
.logged-in-as i { color: #c0392b; margin-right: 5px; }
.logged-in-as a { color: #c0392b; }

.theme-comment-form {
    background: #fff;
}

.form-fields-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.form-field-wrap {
    flex: 1;
    min-width: 180px;
}
.form-field-comment {
    width: 100%;
    flex: unset;
}
.form-field-wrap label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.form-field-wrap label i { color: #c0392b; margin-right: 5px; }
.form-field-wrap .required { color: #c0392b; }
.form-field-wrap input[type="text"],
.form-field-wrap input[type="email"],
.form-field-wrap input[type="url"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    color: #444;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}
.form-field-wrap input:focus {
    border-color: #c0392b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.07);
}
.form-field-wrap textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    color: #444;
    background: #fafafa;
    resize: vertical;
    min-height: 130px;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    font-family: 'Open Sans', sans-serif;
}
.form-field-wrap textarea:focus {
    border-color: #c0392b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.07);
}

.form-submit-row {
    margin-top: 14px;
}
.comment-submit-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 12px 32px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
    font-family: 'Open Sans', sans-serif;
}
.comment-submit-btn:hover {
    background: #922b21;
    transform: translateY(-1px);
}
.comment-submit-btn:active { transform: translateY(0); }

#respond { margin-top: 0; }
#respond label { display: none; }


/* ===================================================
   FOOTER WIDGET AREA
=================================================== */
#footer-widgets-area {
    background: #1a1a1a;
    padding: 40px 0 30px;
    color: #aaa;
    font-size: 13px;
    border-top: 4px solid #c0392b;
}

#footer-widgets-area .container {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-widgets-box {
    flex: 1;
    min-width: 200px;
}

.footer-widgets-box h3 {
    color: #fff;
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c0392b;
    letter-spacing: 0.5px;
}

.footer-widgets-box ul li {
    padding: 6px 0;
    border-bottom: 1px solid #2a2a2a;
}

.footer-widgets-box ul li a { color: #aaa; font-size: 12px; }
.footer-widgets-box ul li a:hover { color: #c0392b; padding-left: 4px; }

/* ===================================================
   FOOTER BOTTOM BAR
=================================================== */
.footer-bottom {
    background: #111;
    padding: 18px 0;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.alignleft { float: left; }
.alignright { float: right; }

.alignright ul { list-style: none; margin: 0; padding: 0; }
.alignright ul li { float: left; }
.alignright ul li a { color: #666; padding: 0 10px; border-right: 1px solid #333; font-size: 12px; }
.alignright ul li:last-child a { border-right: none; }
.alignright ul li a:hover { color: #c0392b; }

/* ===================================================
   SCROLL TO TOP
=================================================== */
#topcontrol {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 38px; height: 38px;
    line-height: 38px;
    text-align: center;
    background: #c0392b;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    display: none;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background 0.2s;
}
#topcontrol:hover { background: #922b21; }

/* ===================================================
   TIE-APPEAR ANIMATION
=================================================== */
.tie-appear {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.tie-appear.appeared {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   INNER CONTENT WRAPPER (columns)
=================================================== */
.inner-content { overflow: hidden; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1080px) {
    .container { padding: 0 15px; }
    #main-content .content { width: 62%; }
    #main-content #sidebar { width: 35%; }
}

@media (max-width: 900px) {
    #main-content .content { width: 100%; float: none; }
    #main-content #sidebar { width: 100%; float: none; padding-left: 0; padding-top: 20px; }
    .single-content { width: 100%; float: none; }

    .cat-box-container.columns-2 { overflow: visible; }

    .related-posts-grid { flex-wrap: wrap; }
    .related-post-item { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    #main-content { padding: 20px 0 30px; }
    .single-post-container { padding-top: 20px; padding-bottom: 30px; }
    .single-content { padding: 0 15px; }

    /* Header & Logo */
    .header-content { flex-direction: column; text-align: center; gap: 8px; padding: 15px 10px; }
    .logo { width: 100%; float: none; text-align: center; margin: 0 0 10px 0; }
    .logo h1 { font-size: 30px; text-align: center; }
    .logo span { text-align: center; }
    .e3lan-top { width: 100%; max-width: 100%; float: none; text-align: center; margin: 5px auto 0; min-width: 0; }
    .e3lan-top img { max-width: 100%; height: auto; display: inline-block; }

    /* Top Nav */
    #top-nav { line-height: normal; padding: 8px 0; }
    #top-nav .container { flex-direction: column; gap: 8px; justify-content: center; }
    .today-date { width: auto; text-align: center; margin: 0 auto; line-height: 28px; }
    .top-menu { width: 100%; text-align: center; margin: 4px 0; }
    .top-menu ul { display: inline-block; }
    .top-menu ul li { float: none; display: inline-block; }
    .top-menu ul li a { border-right: none; border-left: 1px solid #e8e8e8; line-height: 20px; }
    .top-menu ul li:first-child a { border-left: none; }
    .search-block { margin: 6px auto; width: 100%; max-width: 280px; }
    .search-block form { width: 100%; }
    .search-block input[type=text] { flex: 1; }
    .social-icons { justify-content: center; margin: 4px 0; }

    /* Featured slider on tablet */
    .featured-title h3,
    .featured-title span.tie-date { display: none; }
    #featured-posts .featured-post-inner { height: 200px; }
    .featured-title { bottom: 0; font-size: 75%; padding: 8px; }
    .featured-title h2 { margin-bottom: 0; }

    /* Content + Sidebar full width on mobile */
    #main-content { gap: 0; }
    #main-content .content { width: 100% !important; float: none !important; }
    #main-content #sidebar { width: 100% !important; float: none !important; padding-left: 0 !important; padding-top: 20px; }

    /* Main Menu Hide and Mobile menu activation */
    .main-menu { display: none !important; }
    #slide-out-open {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 44px;
        height: 44px;
        margin: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }
    #slide-out-open span,
    #slide-out-open span::before,
    #slide-out-open span::after {
        background: #fff;
        display: block;
        width: 20px;
        height: 2px;
        content: '';
        transition: all 0.3s ease;
    }
    #slide-out-open span {
        position: relative;
    }
    #slide-out-open span::before {
        position: absolute;
        top: -6px;
        left: 0;
    }
    #slide-out-open span::after {
        position: absolute;
        bottom: -6px;
        left: 0;
    }

    #slide-out {
        display: block !important;
    }

    #main-nav .container {
        justify-content: space-between;
        height: 44px;
        padding: 0 10px;
    }

    /* Breaking News */
    #breaking-news { height: 30px; margin: 8px 0; }
    .breaking-news-title { font-size: 9px; padding: 0 10px; line-height: 30px; height: 30px; letter-spacing: 0.5px; }
    .breaking-news-title .fa { margin-right: 2px; }
    #breaking-news ul { height: 30px; }
    #breaking-news ul li { padding: 0 10px; line-height: 30px; font-size: 11px; }
    #breaking-news ul li a { font-size: 11px; }
    .breaking-news-title::after { margin-left: 6px; }

    .cat-box-title { padding-left: 10px; }

    /* Grids & Content */
    .list-box li,
    .list-box li.first-news,
    .list-box li.other-news { float: none; width: 100%; margin-right: 0; margin-left: 0; }
    .list-box li.first-news { padding: 20px; }
    .list-box li.other-news { border: 0 none; }
    .cat-box.column2 { float: none; width: 100%; margin-right: 0; }
    .wide-box li, .wide-box li.other-news { float: none; width: 100%; border-left: none; }
    .pic-box li { float: none; width: 33.33%; }
    .pic-box li.first-pic { width: 100%; }
    .pic-box.pic-grid li.grid-big { flex: 1 1 100%; max-width: 100%; padding: 8px; }
    .pic-box.pic-grid li.grid-big .post-thumbnail img { height: 200px; }
    .pic-box.pic-grid li.grid-big .post-box-title { font-size: 16px; max-height: none; }
    .pic-box.pic-grid li.grid-small { flex: 1 1 50%; max-width: 50%; padding: 8px; }
    .pic-box.pic-grid li.grid-small .post-thumbnail img { height: 120px; }

    .featured-title h2 { font-size: 18px; }

    /* Single Post */
    .single-post-title { font-size: 22px; }
    .post-meta-bar { gap: 8px; font-size: 11px; justify-content: center; }
    .post-author-box { flex-direction: column; align-items: center; text-align: center; }
    .post-navigation { flex-direction: column; gap: 8px; }
    .nav-next { text-align: left; }
    .related-posts-grid { flex-direction: column; }
    .related-post-item { flex: 1 1 100%; }
    
    /* Single post */
    .single-content { padding: 0 15px; }
    .entry p { font-size: 14px; }
    .post-tags { margin: 15px 0; }
    .author-box { padding: 15px; }

    /* Comments */
    #comments { padding: 0 10px; }
    .commentlist li { padding: 12px 0; }
    .comment-respond-area { padding: 15px; }

    /* Comment Form Stacking */
    .form-fields-row { flex-direction: column; gap: 8px; }
    .form-field-wrap { width: 100%; min-width: 100%; }

    /* Sidebar */
    #sidebar .widget-container { padding: 10px; }

    /* Footer widgets */
    #footer-widgets-area .container { flex-direction: column; gap: 20px; }
    .footer-widgets-box { min-width: 100%; }

    .footer-bottom .container { flex-direction: column; text-align: center; }
    .alignleft, .alignright { float: none; margin: 4px 0; }
    .alignright ul { display: inline-block; }
    .alignright ul li { float: none; display: inline-block; }

    .scroll-box .scroll-item { width: 48%; margin-right: 4%; }
    .scroll-box .scroll-item:nth-child(2n) { margin-right: 0; }
    .scroll-box .scroll-item:nth-child(3n) { margin-right: 4%; }
}

@media (max-width: 540px) {
    .container { padding: 0 8px; }

    /* Breaking News */
    #breaking-news { height: 26px; margin: 6px 0; }
    .breaking-news-title { font-size: 8px; padding: 0 8px; line-height: 26px; height: 26px; }
    .breaking-news-title .fa { display: none; }
    #breaking-news ul { height: 26px; }
    #breaking-news ul li { padding: 0 8px; line-height: 26px; font-size: 10px; }
    #breaking-news ul li a { font-size: 10px; }
    .breaking-news-title::after { margin-left: 4px; }

    /* Featured slider */
    #featured-posts .featured-post { padding: 0 0 1px 1px !important; width: 50%; }
    #featured-posts .featured-post-inner { height: 140px; }
    #featured-posts .featured-post-1 { width: 100%; }
    #featured-posts .featured-post-1 .featured-post-inner { height: 220px; }
    #featured-posts .featured-post-1,
    #featured-posts .featured-post-2,
    #featured-posts .featured-post-4 { padding-left: 0 !important; }
    .single-post-title { font-size: 18px; }
    
    /* Share Buttons 2-column layout */
    .post-share { flex-wrap: wrap; justify-content: center; }
    .post-share-top .share-label { display: block; width: 100%; text-align: center; margin-bottom: 6px; }
    .share-buttons-row .share-btn,
    .post-share-top .share-btn { flex: 1 1 calc(50% - 6px); justify-content: center; min-width: 110px; box-sizing: border-box; text-align: center; }

    .cat-box-title { padding-left: 10px; }
    
    .cat-box li.first-news .inner-content { padding: 10px; }
    .list-box li.first-news { padding: 10px; }
    .list-box li.other-news .post-box-title { font-size: 12px; }
    .cat-box.column2 li.other-news,
    .list-box li.other-news,
    .wide-box li { padding-right: 10px; padding-left: 10px; }
    .wide-box li.first-news .post-thumbnail { float: none; width: 100%; margin: 0 0 10px; }
    .wide-box li.first-news h2.post-box-title { font-size: 15px; }

    .pic-box li { width: 50%; }
    .pic-box.pic-grid li.grid-big { flex: 1 1 100%; max-width: 100%; padding: 8px; }
    .pic-box.pic-grid li.grid-big .post-thumbnail img { height: 180px; }
    .pic-box.pic-grid li.grid-big .post-box-title { font-size: 16px; max-height: none; }
    .pic-box.pic-grid li.grid-small { flex: 1 1 50%; max-width: 50%; padding: 6px; }
    .pic-box.pic-grid li.grid-small .post-thumbnail img { height: 120px; }
    .pic-box.pic-grid li.grid-small .post-box-title { font-size: 12px; max-height: none; }
    .pic-box.pic-grid li .post-meta { font-size: 10px; }

    /* Scroll box */
    .scroll-box .scroll-item { float: none; width: 100% !important; margin: 0 0 15px !important; }
    .scroll-item { display: block !important; }

    /* Archive / search results */
    .archive-wide li .post-thumbnail { float: none; width: 100%; margin: 0 0 10px; }
    .archive-wide li .post-thumbnail img { width: 100%; height: auto; }
    .archive-wide li { padding: 12px 0; }
    .archive-wide li h3.post-box-title { font-size: 14px; }
    .cat-link-sub li { width: 50%; }

    /* Single post */
    .single-content { padding: 0 10px; }
    .entry p { font-size: 13px; }
    .post-tags { margin: 10px 0; }
    .post-tags a { font-size: 11px; padding: 3px 8px; }
    .author-box { padding: 12px; }
    .author-box .author-avatar { float: none; margin: 0 0 10px; text-align: center; }
    .author-description { margin-left: 0; text-align: center; }
    .author-box h3 { text-align: center; }

    /* Comments */
    #comments { padding: 0; }
    .commentlist li { padding: 10px 0; }
    .comment-author .avatar { width: 36px; height: 36px; }
    .comment-body { margin-left: 46px; }
    .commentlist .comment-meta { font-size: 10px; }
    .comment-respond-area { padding: 12px; }

    /* Sidebar */
    #sidebar .widget-container { padding: 8px; }

    /* Footer */
    .footer-widgets-box { margin-bottom: 15px; }
    .footer-widgets-box h3 { font-size: 14px; }
    .footer-bottom .container { font-size: 11px; }

    /* Page heading */
    .page-head { padding: 8px 0; }
    .page-title { font-size: 18px; }

    #main-nav .flex-direction-nav a { width: 30px; height: 40px; }
    .logo h1 { font-size: 24px; }
    
    /* Slide-out Menu close button placement */
    #slide-out-close { top: 15px; right: 15px; }
}

@media (max-width: 400px) {
    .container { padding: 0 5px; }
    
    /* Featured posts - single column */
    #featured-posts .featured-post { width: 100% !important; }
    #featured-posts .featured-post-inner { height: 180px; }
    #featured-posts .featured-post-1 .featured-post-inner { height: 200px; }
    .featured-title h2 { font-size: 14px; }

    /* Cat boxes full width */
    .pic-box li { width: 50%; padding: 2px; }
    .pic-box li.first-pic { width: 50%; padding: 2px; }
    .pic-box.pic-grid li.grid-big { flex: 1 1 100%; max-width: 100%; padding: 6px; }
    .pic-box.pic-grid li.grid-big .post-thumbnail img { height: 180px; }
    .pic-box.pic-grid li.grid-big .post-box-title { font-size: 14px; }
    .pic-box.pic-grid li.grid-small { flex: 1 1 50%; max-width: 50%; padding: 5px; }
    .pic-box.pic-grid li.grid-small .post-thumbnail img { height: 100px; }
    .pic-box.pic-grid li.grid-small .post-box-title { font-size: 11px; }
    .pic-box.pic-grid li .post-meta { font-size: 9px; }

    /* Cat links - single column */
    .cat-link-sub li { width: 100%; }

    /* Single post */
    .single-post-title { font-size: 16px; }
    .single-content { padding: 0 10px; }
    .post-meta-bar { font-size: 11px; gap: 8px; flex-wrap: wrap; }

    /* Share buttons - full width */
    .share-buttons-row .share-btn,
    .post-share-top .share-btn { flex: 1 1 100%; min-width: 0; }

    /* Related posts - single column */
    .related-post-item { flex: 1 1 100%; }

    /* Comments */
    .form-field-wrap input,
    .form-field-wrap textarea { font-size: 13px; }

    /* Footer */
    .footer-bottom .container { font-size: 10px; }
    .logo h1 { font-size: 20px; }
    .top-menu ul li a { font-size: 11px; }
    .cat-box-title { padding-left: 8px; }
}

/* ===================================================
   UTILITY
=================================================== */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
