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

/* ===================================================
   GOOGLE FONTS & FONT-FACE
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;800&family=Oswald:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'BebasNeueRegular';
    src: url('fonts/BebasNeue/BebasNeue-webfont.eot');
    src: url('fonts/BebasNeue/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/BebasNeue/BebasNeue-webfont.woff') format('woff'),
         url('fonts/BebasNeue/BebasNeue-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@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: 'Inter', 'Open Sans', Arial, Verdana, sans-serif;
    font-size: 0.875rem;  /* 14px */
    color: #333;
    background: #e8e8e8;
    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 'Inter', 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 'Inter', 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: 1060px;
    margin: 0 auto;
    background: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 18px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}

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

/* ===================================================
   TOP NAV BAR
=================================================== */
/* Top Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#top-nav {
    background: transparent;
    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: transparent;
    color: inherit;
    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; }

.header-content {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.logo {
    float: left;
}

.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;
}

/* 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 16px;
    color: #ddd;
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 42px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: color 0.2s, background 0.2s;
}

.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;
}

.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: #e0e0e0;
    font-size: 12px;
    font-weight: 700;
    line-height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.main-menu > ul > li:hover > a,
.main-menu > ul > li.current-menu-item > a,
.main-menu > ul > li.current-menu-parent > a {
    background: #c0392b;
    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;
}

/* Random article button */
.random-article {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #bbb;
    font-size: 18px;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
    transition: all 0.2s;
}
.random-article:hover { background: #c0392b; color: #fff; }

/* ===================================================
   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 {
    position: relative;
    margin: 0 0 20px;
    overflow: hidden;
    background: #000;
}

.featured-posts-container {
    position: relative;
    overflow: hidden;
}

.featured-slide { overflow: hidden; display: none; }
.featured-slide:first-child { display: block; }
.featured-slide.active { display: block; }

.featured-grid-1 { overflow: hidden; }
.featured-structure { overflow: hidden; }

/* Grid layout: 1 big left + 1 tall right + 3 small bottom-right */
.featured-one {
    float: left;
    width: 50%;
    height: 380px;
    position: relative;
    overflow: hidden;
}
.featured-two {
    float: right;
    width: 50%;
    height: 380px;
    position: relative;
    overflow: hidden;
}
.featured-three {
    float: left;
    width: 25%;
    height: 190px;
    position: relative;
    overflow: hidden;
}
.featured-four {
    float: left;
    width: 25%;
    height: 190px;
    position: relative;
    overflow: hidden;
}
.featured-five {
    float: left;
    width: 25%;
    height: 190px;
    position: relative;
    overflow: hidden;
}
.featured-six {
    float: left;
    width: 25%;
    height: 190px;
    position: relative;
    overflow: hidden;
}

.featured-item {
    position: relative;
    overflow: hidden;
    display: block;
    background: #111;
    height: 100%;
    outline: 1px solid rgba(0,0,0,0.3);
}

.featured-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.featured-item a { display: block; height: 100%; }
.featured-item a:hover img { transform: scale(1.04); opacity: 0.9; }

/* Gradient overlay */
.featured-item .featured-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Featured title container */
.featured-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px 18px 18px;
    pointer-events: none;
    z-index: 2;
}

.featured-title .tie-category {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-bottom: 7px;
    letter-spacing: 1.2px;
    pointer-events: auto;
}

.featured-title h2 {
    font-family: 'BebasNeueRegular', Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

.featured-title h2 a { color: #fff; pointer-events: auto; }
.featured-title h2 a:hover { color: #ffd9d4; }

.featured-title .tie-date {
    display: inline-block;
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.featured-two .featured-title h2 { font-size: 22px; }
.featured-three .featured-title,
.featured-four .featured-title,
.featured-five .featured-title,
.featured-six .featured-title { padding: 10px 12px; }
.featured-three .featured-title h2,
.featured-four .featured-title h2,
.featured-five .featured-title h2,
.featured-six .featured-title h2 {
    font-size: 16px;
    line-height: 1.15;
}
.featured-three .featured-title .tie-date,
.featured-four .featured-title .tie-date,
.featured-five .featured-title .tie-date,
.featured-six .featured-title .tie-date { display: none; }

/* Slider navigation arrows */
.flex-direction-nav {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 10;
    pointer-events: none;
}

.flex-direction-nav li { list-style: none; }

.flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 48px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s;
    border: none;
}
.flex-direction-nav a:hover { background: #c0392b; }
.flex-direction-nav a::before { font-family: FontAwesome; }

.flex-direction-nav .flex-prev { left: 0; }
.flex-direction-nav .flex-prev::before { content: "\f104"; }
.flex-direction-nav .flex-next { right: 0; }
.flex-direction-nav .flex-next::before { content: "\f105"; }

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.slider-dot.active { background: #c0392b; }

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

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

#main-content .content {
    float: left;
    width: 668px;
}

#main-content #sidebar {
    float: right;
    width: 340px;
}

/* ===================================================
   CATEGORY BOXES — SHARED
=================================================== */
.cat-box {
    margin: 0 0 30px;
    clear: both;
}

/* Category box title strip */
.cat-box-title {
    padding: 0 0 6px;
    overflow: hidden;
    border-bottom: 3px solid #c0392b;
    margin-bottom: 12px;
}

.cat-box-title h2 {
    float: left;
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
    line-height: 1;
    margin: 0;
    padding-bottom: 5px;
    position: relative;
}

.cat-box-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c0392b;
}

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

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

/* Stripe line (legacy) */
.stripe-line {
    background: repeating-linear-gradient(
        90deg,
        #ddd 0px, #ddd 4px,
        transparent 4px, transparent 8px
    );
    height: 3px;
    overflow: hidden;
    margin-top: 5px;
    display: block;
    width: 100%;
}

/* Content box panels */
.cat-box-content {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-bottom: 3px solid #c0392b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    padding: 12px 10px;
}

/* Per-section accent colors */
.tie-cat-1 .cat-box-content,
.tie-cat-1 .cat-box-title { border-bottom-color: #c0392b; }
.tie-cat-1 .cat-box-title h2::after { background: #c0392b; }
.tie-cat-1 a.more-link { background-color: #c0392b; }

.tie-cat-6 .cat-box-content,
.tie-cat-6 .cat-box-title { border-bottom-color: #8e44ad; }
.tie-cat-6 .cat-box-title h2::after { background: #8e44ad; }
.tie-cat-6 a.more-link { background-color: #8e44ad; }

.tie-cat-8 .cat-box-content,
.tie-cat-8 .cat-box-title { border-bottom-color: #e74c3c; }
.tie-cat-8 .cat-box-title h2::after { background: #e74c3c; }
.tie-cat-8 a.more-link { background-color: #e74c3c; }

.tie-cat-9 .cat-box-content,
.tie-cat-9 .cat-box-title { border-bottom-color: #2980b9; }
.tie-cat-9 .cat-box-title h2::after { background: #2980b9; }
.tie-cat-9 a.more-link { background-color: #2980b9; }

.tie-cat-10 .cat-box-content,
.tie-cat-10 .cat-box-title { border-bottom-color: #27ae60; }
.tie-cat-10 .cat-box-title h2::after { background: #27ae60; }
.tie-cat-10 a.more-link { background-color: #27ae60; }

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

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

h2.post-box-title { font-size: 18px; line-height: 1.35; }
h3.post-box-title { font-size: 13px; line-height: 1.4; }

.cat-box p.post-meta,
.post-meta {
    color: #999;
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
    margin: 4px 0 0;
}

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

/* ===================================================
   LIST BOX (World section)
=================================================== */
.list-box { overflow: hidden; }

.list-box ul { overflow: hidden; }

.list-box li.first-news {
    float: left;
    width: 50%;
    clear: none;
    padding: 5px 12px 10px 5px;
}

.list-box li.other-news {
    float: right;
    width: 50%;
    clear: right;
    background: #f9f9f9;
    padding: 10px 12px;
    border-bottom: 1px solid #ececec;
    border-left: 3px solid #e8e8e8;
    transition: background 0.2s;
    overflow: hidden;
}

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

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

.list-box li.other-news .post-thumbnail {
    float: left;
    width: 80px;
    margin-right: 10px;
    flex-shrink: 0;
}

.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; }

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

.column2 li.first-news {
    padding: 0;
    margin-bottom: 5px;
}
.column2 li.first-news .post-thumbnail { margin: 0 0 10px; float: none; display: block; }
.column2 li.first-news .post-thumbnail img { width: 100%; height: auto; }
.column2 h2.post-box-title { font-size: 16px; line-height: 1.3; margin: 0 0 6px; }

.column2 li.other-news {
    background: #f9f9f9;
    padding: 9px 12px;
    border-bottom: 1px solid #ececec;
    border-left: 3px solid #e8e8e8;
    overflow: hidden;
    transition: background 0.2s;
}
.column2 li.other-news:hover { background: #f3f3f3; border-left-color: #c0392b; }

.column2 li.other-news .post-thumbnail {
    float: left;
    width: 75px;
    margin-right: 8px;
}
.column2 li.other-news .post-thumbnail img { width: 100%; height: auto; }

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

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

.group_items-box { width: 100% !important; overflow: hidden; }

.scroll-item { display: none; }
.scroll-item:nth-child(1),
.scroll-item:nth-child(2),
.scroll-item:nth-child(3) { display: block; }

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

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

.scroll-box .scroll-item .post-thumbnail { margin: 0 0 8px; }
.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: #f5f5f5;
    margin: 12px -15px -15px;
    padding: 6px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
    overflow: hidden;
}

.scroll-nav a {
    display: inline-block;
    min-width: 24px; height: 24px;
    line-height: 24px;
    text-align: center;
    border: 1px solid #ccc;
    color: #777;
    font-size: 11px;
    margin: 0 2px;
    border-radius: 2px;
    padding: 0 5px;
    transition: all 0.2s;
}
.scroll-nav a:hover { background: #ddd; }
.scroll-nav a.activeSlide { background: #c0392b; color: #fff; border-color: #c0392b; }

/* ===================================================
   PIC BOX (News in Picture / Grid)
=================================================== */
.pic-box:not(.pic-grid) .cat-box-content ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.pic-box:not(.pic-grid) .cat-box-content li { float: none; width: auto; padding: 0; position: relative; overflow: hidden; }
.pic-box li.first-pic { width: 50%; padding: 2px; }
.pic-box:not(.pic-grid) li.first-pic { grid-column: span 3; grid-row: span 2; width: auto; padding: 0; aspect-ratio: 9 / 4; }
.pic-box:not(.pic-grid) li:last-child:not(.first-pic) { grid-column: span 2; aspect-ratio: 3 / 1; }
.pic-box li { width: 16.67%; overflow: hidden; }
.pic-box:not(.pic-grid) li:not(.first-pic) { aspect-ratio: 3 / 2; }
.pic-box:not(.pic-grid) li .post-thumbnail { height: 100%; }
.pic-box:not(.pic-grid) li .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.pic-box.pic-grid ul {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}
.pic-box.pic-grid li {
    float: none;
    width: 25%;
    padding: 8px;
    display: flex;
    flex-direction: column;
}
.pic-box.pic-grid li .post-thumbnail {
    display: block;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
}
.pic-box.pic-grid li .post-box-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px 0;
}
.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: 11px;
    color: #999;
    margin-top: auto;
}
.pic-box.pic-grid li .post-meta .tie-date {
    color: #999;
}
.pic-box.pic-grid li .post-meta i {
    margin-right: 4px;
}
.pic-box li .post-thumbnail { display: block; }
.pic-box li .post-thumbnail img { width: 100%; height: auto; object-fit: cover; }

/* ===================================================
   WIDE BOX (Tech)
=================================================== */
.wide-box li { overflow: hidden; padding: 8px 0; }
.wide-box li.first-news { width: 100%; float: none; padding: 0 0 10px; }
.wide-box li.other-news {
    width: 50%;
    float: left;
    background: #f9f9f9;
    padding: 9px 12px;
    border-left: 3px solid #e8e8e8;
    border-bottom: 1px solid #ececec;
    transition: background 0.2s;
}
.wide-box li.other-news:hover { background: #f3f3f3; border-left-color: #2980b9; }

.wide-box li.first-news .post-thumbnail { margin: 0 0 12px; float: none; display: block; }
.wide-box li.first-news .post-thumbnail img { width: 100%; height: auto; }
.wide-box li.other-news .post-thumbnail { float: left; width: 80px; margin-right: 10px; }
.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 {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

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

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
}

.post-thumbnail a:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* 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 {
    float: right;
    width: 340px;
    padding-left: 18px;
}

#sidebar .widget {
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

/* Widget title strip */
#sidebar .widget-top {
    background: #222;
    padding: 10px 14px;
    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: 10px 12px; }

#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 list */
#sidebar .widget_categories .widget-container li a {
    color: #555;
}
#sidebar .widget_categories .widget-container li:hover { background: #fafafa; }

/* 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: 18px;
    padding-bottom: 30px;
    overflow: hidden;
    background: #fff;
}

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

/* 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: 'Inter', 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: 'Playfair Display', '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: 'Inter', 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: 'Inter', 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: 'Inter', 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: 'Inter', 'Open 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: 'Playfair Display', 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: 'Inter', 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: 8px 0 16px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 8px;
}
.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: #c0392b;
    color: #fff;
    border-radius: 2px;
}
.archive-wide li .more-link:hover { background: #922b21; }

/* ===================================================
   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 */
.webthemeshop-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 */
.webthemeshop-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) */
.webthemeshop-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; }

.webthemeshop-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: 28px 0 20px;
    color: #aaa;
    font-size: 12px;
    border-top: 3px 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: 14px;
    padding-bottom: 8px;
    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: 14px 0;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #222;
}

.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;
}
#featured-posts.tie-appear {
    opacity: 1;
    transform: none;
}
.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; }

    /* Featured slider: 1 big top + 2x2 bottom grid */
    .featured-structure { overflow: hidden; }
    .featured-one {
        float: none;
        width: 100%;
        height: 300px;
    }
    .featured-two {
        float: left;
        width: 50%;
        height: 180px;
    }
    .featured-three {
        float: left;
        width: 50%;
        height: 180px;
    }
    .featured-four {
        float: left;
        width: 50%;
        height: 180px;
    }
    .featured-five {
        float: left;
        width: 50%;
        height: 180px;
    }
    .featured-six {
        float: left;
        width: 50%;
        height: 180px;
    }

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

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

    /* Header & Logo */
    .header-content { flex-direction: column; text-align: center; gap: 8px; padding: 12px 10px; }
    .logo { width: 100%; float: none; text-align: center; margin: 0 0 8px 0; }
    .logo h1 { font-size: 24px; text-align: center; }
    .logo .logo-link { justify-content: center; }
    .logo span { text-align: center; }
    .logo .logo-text { align-items: center; }
    .logo .logo-icon img { max-height: 42px; }
    .logo .logo-title { font-size: 24px; }

    /* Top Nav */
    #top-nav { line-height: normal; padding: 6px 0; }
    #top-nav .container { flex-direction: row; flex-wrap: wrap; gap: 6px; justify-content: center; }
    .today-date { width: auto; text-align: center; margin: 0; line-height: 26px; padding: 0 10px; }
    .top-menu { width: 100%; text-align: center; margin: 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: 0; width: auto; max-width: 200px; min-width: 0; flex: 0 1 45%; }
    .search-block form { width: 100%; }
    .search-block input[type=text] { flex: 1; height: 26px; min-width: 0; }
    .social-icons { justify-content: center; margin: 0; }

    /* 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; }

    /* Grids & Content */
    .list-box li,
    .list-box li.first-news,
    .list-box li.other-news { float: none !important; width: 100% !important; border-left: none !important; padding: 10px 5px !important; }
    .column2 { float: none; width: 100%; margin-right: 0; margin-bottom: 20px; }
    .column2.last-column { margin-bottom: 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:not(.pic-grid) .cat-box-content ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .pic-box:not(.pic-grid) .cat-box-content li { flex: 1 1 33.33%; padding: 0; aspect-ratio: auto; }
    .pic-box li.first-pic { width: 100%; }
    .pic-box:not(.pic-grid) li.first-pic { flex: 0 0 100%; width: 100%; padding: 0; aspect-ratio: 3 / 2; }
    .pic-box:not(.pic-grid) li:last-child:not(.first-pic) { flex: 1 1 33.33%; aspect-ratio: auto; }
    .pic-box:not(.pic-grid) li .post-thumbnail { height: 100%; }
    .pic-box:not(.pic-grid) li .post-thumbnail img { height: 100%; }
    .pic-box.pic-grid li { width: 50%; }

    .featured-title h2 { font-size: 22px; }
    .featured-two .featured-title h2 { font-size: 18px; }
    .featured-three .featured-title h2,
    .featured-four .featured-title h2,
    .featured-five .featured-title h2,
    .featured-six .featured-title h2 { font-size: 14px; }

    /* 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%; }
    
    /* Comment Form Stacking */
    .form-fields-row { flex-direction: column; gap: 8px; }
    .form-field-wrap { width: 100%; min-width: 100%; }

    /* 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%; }
    .scroll-box .scroll-item:nth-child(2n) { margin-right: 0; }
}

@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 on small mobile: 1 top + 3x2 grid */
    .featured-one { float: none; width: 100%; height: 200px; }
    .featured-two { float: left; width: 50%; height: 140px; }
    .featured-three { float: left; width: 50%; height: 140px; }
    .featured-four { float: left; width: 50%; height: 140px; }
    .featured-five { float: left; width: 50%; height: 140px; }
    .featured-six { float: left; width: 50%; height: 140px; }
    .featured-title h2 { font-size: 18px; }
    .featured-two .featured-title h2 { font-size: 15px; }
    .featured-three .featured-title h2,
    .featured-four .featured-title h2,
    .featured-five .featured-title h2,
    .featured-six .featured-title h2 { font-size: 13px; }
    .featured-title { padding: 8px 10px; }
    .featured-title .tie-date { display: none; }
    .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 h2 { font-size: 15px; }

    .pic-box li { width: 50%; }
    .pic-box:not(.pic-grid) li { flex: 0 0 50%; }
    .pic-box.pic-grid li { width: 100%; }

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

    .archive-wide li .post-thumbnail { float: none; width: 100%; margin: 0 0 10px; }
    .archive-wide li .post-thumbnail img { width: 100%; height: auto; }
    .cat-link-sub li { width: 50%; }

    #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; }
}

/* ===================================================
   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; }

/* ===================================================
   PREMIUM POLISH — Design System (v2)
   Keeps the exact layout structure; refines
   typography, spacing, color and polish only.
=================================================== */

/* -- Color tokens ---------------------------------- */
:root {
    --accent:        #c0392b;
    --accent-dark:   #992d21;
    --accent-soft:   #fdf3f2;
    --ink:           #1b1b1b;
    --ink-2:         #444444;
    --ink-3:         #777777;
    --muted:         #9a9a9a;
    --line:          #e6e6e6;
    --line-soft:     #f0f0f0;
    --panel:         #fafafa;
    --nav-bg:        #1f1f1f;
    --footer-bg:     #181818;
}

/* -- Base typography & surfaces --------------------- */
html { scroll-behavior: smooth; }

body {
    background: #ececec;
    color: var(--ink-2);
    font-family: 'Inter', 'Open Sans', Arial, sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

img, video, iframe, embed, object { max-width: 100%; height: auto; }

a { color: var(--ink-2); }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

/* Consistent spacing scale */
.cat-box { margin-bottom: 30px; }

/* -- Wrapper & container ---------------------------- */
#wrapper { box-shadow: 0 0 30px rgba(0,0,0,0.28); }

/* ===================================================
   TOP NAV — premium bar
=================================================== */
#top-nav {
    background: transparent;
    border-bottom: 1px solid var(--line);
    min-height: 36px;
    line-height: 36px;
}

.today-date {
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0 14px;
    line-height: 36px;
    margin-right: 14px;
    color: inherit;
}

.top-menu ul li a {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    padding: 0 12px;
    letter-spacing: 0.4px;
    border-right: 1px solid var(--line);
    transition: color 0.2s ease, background 0.2s ease;
}
.top-menu ul li a:hover { color: var(--accent); background: #fff; }

/* Search */
.search-block input[type=text] {
    border: 1px solid #e2e2e2;
    background: #f4f4f4;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    border-radius: 3px 0 0 3px;
}
.search-block .search-button {
    background: var(--accent);
    border-radius: 0 3px 3px 0;
    height: 28px;
    line-height: 28px;
    font-size: 13px;
}
.search-block .search-button:hover { background: var(--accent-dark); }

/* Social icons */
.social-icons a {
    width: 25px; height: 25px;
    line-height: 25px;
    font-size: 11px;
    background: #999;
    border-radius: 3px;
    transition: background 0.2s ease, transform 0.15s ease;
}
.social-icons a:hover { background: var(--accent); transform: translateY(-1px); }

/* ===================================================
   HEADER — branding
=================================================== */
.header-content { padding: 8px 20px; }

.logo h1 { margin: 0; }
.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo-icon { display: inline-flex; align-items: center; }
.logo-icon img { max-height: 52px; width: auto; display: block; }
.logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
}
.logo .logo-title {
    font-family: 'BebasNeueRegular', 'Oswald', Arial, sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.logo .logo-desc {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}
.logo-link:hover .logo-title { color: var(--ink); }
.logo img { max-height: 52px; width: auto; }

/* ===================================================
   MAIN NAV
=================================================== */
#main-nav { background: var(--nav-bg); border-bottom: 3px solid var(--accent); min-height: 46px; }
#main-nav.fixed-enabled { box-shadow: 0 2px 8px rgba(0,0,0,0.25); }

.main-menu > ul > li > a {
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 46px;
    padding: 0 16px;
    letter-spacing: 0.7px;
    color: #d6d6d6;
    transition: background 0.2s ease, color 0.2s ease;
}
.main-menu > ul > li > a:hover,
.main-menu > ul > li.current-menu-item > a,
.main-menu > ul > li.current-menu-parent > a { background: var(--accent); color: #fff; }

.main-menu ul li ul { top: 46px; border-top: 2px solid var(--accent); }
.main-menu ul li ul li a { padding: 10px 16px; font-size: 12.5px; font-family: 'Poppins', 'Inter', Arial, sans-serif; text-transform: none; letter-spacing: 0.3px; }
.main-menu ul li ul li a:hover { padding-left: 22px; background: var(--accent); }

.main-nav-logo img { max-height: 42px; }

.random-article { width: 46px; height: 46px; line-height: 46px; font-size: 18px; }
.random-article:hover { background: var(--accent); }

/* ===================================================
   BREAKING NEWS BAR
=================================================== */
#breaking-news { border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0 22px; }
.breaking-news-title { background: var(--accent); letter-spacing: 1.2px; font-size: 11px; }
#breaking-news ul li a { color: var(--ink-2); font-weight: 500; }
#breaking-news ul li a:hover { color: var(--accent); }

/* ===================================================
   FEATURED SECTION
=================================================== */
#featured-posts { margin-bottom: 26px; background: #000; }

.featured-item { border: 2px solid #fff; outline: none; background: #141414; }
.featured-item a { background: transparent; }

/* Desktop grid heights — reset fixed cell sizes so the 100% on .featured-item
   (declared earlier in base CSS) doesn't collapse every cell to image ratio */
@media (min-width: 901px) {
    .featured-one { height: 380px; }
    .featured-two { height: 380px; }
    .featured-three,
    .featured-four,
    .featured-five,
    .featured-six { height: 190px; }
}

.featured-item .featured-overlay {
    height: 75%;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
}

.featured-title { padding: 24px 20px 18px; }

.featured-title .tie-date {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.featured-title h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}
.featured-one .featured-title h2 { font-size: 32px; }
.featured-two .featured-title h2 { font-size: 23px; }
.featured-three .featured-title,
.featured-four .featured-title,
.featured-five .featured-title,
.featured-six .featured-title { padding: 14px 14px 12px; }
.featured-three .featured-title h2,
.featured-four .featured-title h2,
.featured-five .featured-title h2,
.featured-six .featured-title h2 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.flex-direction-nav a { background: rgba(0,0,0,0.5); width: 40px; height: 52px; font-size: 24px; }
.flex-direction-nav a:hover { background: var(--accent); }

.slider-dots { bottom: 12px; }
.slider-dot { width: 9px; height: 9px; background: rgba(255,255,255,0.45); transition: all 0.2s ease; }
.slider-dot.active { background: var(--accent); transform: scale(1.15); }

/* ===================================================
   SECTION HEADINGS — editorial system
=================================================== */
.cat-box-title { padding: 0 0 10px; border-bottom: none; margin-bottom: 16px; }

.cat-box-title h2 {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1;
    padding: 0 0 9px;
}
.cat-box-title h2::after {
    height: 3px;
    bottom: -1px;
    background: var(--accent);
}
.cat-box-title h2 a { color: var(--ink); }

.cat-box-title .stripe-line {
    height: 3px;
    margin-top: 6px;
    background: repeating-linear-gradient(90deg, var(--line) 0px, var(--line) 5px, transparent 5px, transparent 9px);
}

.cat-box-content {
    border: 1px solid var(--line);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    padding: 16px 14px;
}

/* See-all */
.cat-box-title .see-all { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); line-height: 30px; }

/* ===================================================
   CARDS — consistent system
=================================================== */
.post-box-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.15px;
    margin: 0 0 6px;
}
.post-box-title a { color: var(--ink); transition: color 0.15s ease; }
.post-box-title a:hover { color: var(--accent); }

h2.post-box-title { font-size: 19px; line-height: 1.3; }
h3.post-box-title { font-size: 14px; line-height: 1.35; }

.post-meta { font-size: 11.5px; color: var(--muted); letter-spacing: 0.2px; }
.post-meta .tie-date { color: var(--muted); }
.post-meta .fa { color: var(--accent); }

/* Thumbnails — consistent crops */
.post-thumbnail { border-radius: 0; }
.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

/* LIST BOX (World) */
.list-box li.first-news { padding: 0 16px 12px 0; }
.list-box li.first-news .post-thumbnail img { aspect-ratio: 16 / 9; }
.list-box li.other-news { border-left: 3px solid var(--line); padding: 12px 14px; }
.list-box li.other-news:hover { border-left-color: var(--accent); background: var(--panel); }
.list-box li.other-news .post-thumbnail { width: 84px; margin-right: 12px; }
.list-box li.other-news .post-thumbnail img { aspect-ratio: 4 / 3; }
.list-box .entry { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

/* COLUMN2 */
.column2 h2.post-box-title { font-size: 16px; }
.column2 li.first-news .post-thumbnail img { aspect-ratio: 16 / 9; }
.column2 li.other-news { border-left: 3px solid var(--line); }
.column2 li.other-news:hover { border-left-color: var(--accent); }
.column2 li.other-news .post-thumbnail { width: 78px; margin-right: 10px; }
.column2 li.other-news .post-thumbnail img { aspect-ratio: 4 / 3; }

/* WIDE BOX (Tech) */
.wide-box li.other-news { border-left: 3px solid var(--line); }
.wide-box li.other-news:hover { border-left-color: var(--accent); background: var(--panel); }
.wide-box li.other-news .post-thumbnail { width: 84px; margin-right: 12px; }
.wide-box li.other-news .post-thumbnail img { aspect-ratio: 4 / 3; }
.wide-box li.first-news .post-thumbnail { float: left; width: 50%; margin: 0 18px 10px 0; display: block; }
.wide-box li.first-news .post-thumbnail img { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* SCROLL BOX */
.scroll-box .cat-box-content { padding: 18px; }
.scroll-box .scroll-item .post-thumbnail img { aspect-ratio: 16 / 10; }
.scroll-box .scroll-item .post-box-title { font-size: 14px; line-height: 1.35; }
.scroll-box .scroll-item .post-meta { font-size: 11px; }
.scroll-box .scroll-item .post-cat a { color: var(--accent); font-weight: 600; }

.scroll-nav { background: var(--panel); border-top: 1px solid var(--line); margin: 16px -18px -18px; }
.scroll-nav a { border-color: #d9d9d9; color: #666; }
.scroll-nav a.activeSlide { background: var(--accent); border-color: var(--accent); }

/* PIC BOX */
.pic-box:not(.pic-grid) li .post-thumbnail img { aspect-ratio: auto; }
.pic-box li .post-thumbnail img { aspect-ratio: 3 / 2; }
.pic-box.pic-grid li .post-thumbnail { border-radius: 0; }
.pic-box.pic-grid li .post-box-title { font-size: 14px; line-height: 1.35; }

/* ===================================================
   BUTTONS & MORE-LINK
=================================================== */
a.more-link, .button, a.button,
#main-content input[type="submit"], input[type="submit"] {
    background: var(--accent);
    font: 600 11px/22px 'Inter', Arial, sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 3px;
    box-shadow: none;
}
a.more-link:hover, .button:hover, a.button:hover,
#main-content input[type="submit"]:hover, input[type="submit"]:hover { background: var(--accent-dark) !important; }

/* Form inputs */
textarea, input[type=text], input[type=password],
input[type=email], input[type=url], input[type=search], select {
    border-color: #ddd;
    background: #fbfbfb;
    font-family: 'Inter', sans-serif;
    border-radius: 3px;
}
textarea:focus, input[type=text]:focus, input[type=password]:focus,
input[type=email]:focus, input[type=url]:focus, input[type=search]:focus,
select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(192,57,43,0.08); }

/* ===================================================
   SIDEBAR — balanced panel
=================================================== */
#sidebar { padding-left: 24px; }

#sidebar .widget {
    margin-bottom: 26px;
    border: 1px solid var(--line);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

#sidebar .widget-top {
    background: var(--nav-bg);
    padding: 11px 16px;
    border-bottom: none;
}
#sidebar .widget-top h4,
#sidebar .widget-top h3 {
    font-family: 'Oswald', 'BebasNeueRegular', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
#sidebar .widget-top h4 i, #sidebar .widget-top h3 i { margin-right: 6px; color: var(--accent); }

#sidebar .widget-container { padding: 12px 14px; }
#sidebar .widget-container ul li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
#sidebar .widget-container ul li a { font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
#sidebar .widget-container ul li a:hover { color: var(--accent); padding-left: 2px; }

#sidebar .widget.news-pic .widget-container li { padding: 10px 0; }
#sidebar .widget.news-pic .widget-container li .post-thumbnail {
    width: 74px;
    margin-right: 12px;
    border-radius: 3px;
}
#sidebar .widget.news-pic .widget-container li .post-thumbnail img { aspect-ratio: 4 / 3; }
#sidebar .widget.news-pic .widget-container li a { font-size: 13px; font-weight: 600; }
#sidebar .widget.news-pic .widget-container li .tie-date { font-size: 10.5px; color: var(--muted); }

#sidebar .widget_search .widget-container input[type=text],
#sidebar .widget_search .widget-container input[type=search] {
    border-radius: 3px 0 0 3px;
    height: 38px;
    font-size: 13px;
}
#sidebar .widget_search .widget-container button,
#sidebar .widget_search .widget-container input[type=submit] {
    background: var(--accent);
    height: 38px;
    font-size: 14px;
    border-radius: 0 3px 3px 0;
}
#sidebar .widget_search .widget-container button:hover { background: var(--accent-dark); }

#sidebar .tagcloud a { background: var(--panel); border: 1px solid var(--line); color: #555; font-size: 11px !important; }
#sidebar .tagcloud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===================================================
   MAIN CONTENT
=================================================== */
#main-content { padding: 24px 20px 30px; }

/* ===================================================
   SINGLE POST — editorial
=================================================== */
.single-post-title { font-family: 'Playfair Display', Georgia, serif; font-size: 34px; line-height: 1.22; letter-spacing: -0.3px; }
.post-entry { font-size: 16px; line-height: 1.85; color: #333; }
.post-category-label .cat-label { font-weight: 700; letter-spacing: 1.3px; }
.post-meta-bar { font-size: 12.5px; color: var(--muted); }

/* Page / Archive */
.page-head h1, .page-head h2 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--ink);
}
.archive-title { font-family: 'Oswald', Arial, sans-serif; font-size: 20px; letter-spacing: 1px; }

/* ===================================================
   FOOTER
=================================================== */
#footer-widgets-area {
    background: var(--footer-bg);
    padding: 38px 0 30px;
    color: #a8a8a8;
    border-top: 4px solid var(--accent);
}
#footer-widgets-area .container { gap: 30px; }
.footer-widgets-box h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 16px;
}
.footer-widgets-box ul li { padding: 7px 0; border-bottom: 1px solid #2b2b2b; }
.footer-widgets-box ul li a { font-size: 13px; color: #b5b5b5; }
.footer-widgets-box ul li a:hover { color: var(--accent); padding-left: 5px; }
#footer-widgets-area .tagcloud a { background: #262626; border: none; color: #aaa; }
#footer-widgets-area .tagcloud a:hover { background: var(--accent); color: #fff; }

.footer-bottom { background: #101010; padding: 16px 0; color: #7a7a7a; font-size: 12.5px; }
.footer-bottom .alignright ul li a { color: #8a8a8a; border-right-color: #2a2a2a; font-size: 12.5px; }
.footer-bottom .alignright ul li a:hover { color: var(--accent); }

/* ===================================================
   MOBILE MENU
=================================================== */
#slide-out { background: var(--nav-bg); }
#slide-out #mobile-menu ul li a { font-size: 13px; font-weight: 500; }
#slide-out #mobile-menu ul li a:hover { background: var(--accent); }

/* ===================================================
   PREMIUM RESPONSIVE REFINEMENTS
=================================================== */
@media (max-width: 1080px) {
    #sidebar { padding-left: 18px; }
}

@media (max-width: 900px) {
    #main-content #sidebar { padding-top: 26px; padding-left: 0; }
    .featured-one .featured-title h2 { font-size: 28px; }
}

@media (max-width: 768px) {
    .header-content { padding: 6px 10px 4px; gap: 6px; }
    .logo h1 { font-size: 24px; }
    .logo .logo-title { font-size: 24px; }
    .logo .logo-desc { font-size: 10px; }
    .logo .logo-icon img { max-height: 42px; }
    #top-nav { padding: 4px 0; }

    .cat-box-title h2 { font-size: 17px; }
    .cat-box-content { padding: 12px 10px; }

    .featured-title { padding: 16px 14px 12px; }
    .featured-one .featured-title h2 { font-size: 24px; }
    .featured-two .featured-title h2 { font-size: 19px; }
    .featured-three .featured-title h2,
    .featured-four .featured-title h2,
    .featured-five .featured-title h2,
    .featured-six .featured-title h2 { font-size: 14px; }

    .single-post-title { font-size: 26px; }
    .post-entry { font-size: 15.5px; }
    #main-content { padding: 16px 0 24px; }

    .pic-box li { width: 33.33%; }
    .pic-box:not(.pic-grid) li { flex: 0 0 33.33%; }
    .pic-box li .post-thumbnail img { aspect-ratio: 3 / 2; }
}

@media (max-width: 540px) {
    .logo h1 { font-size: 26px; }
    .logo .logo-title { font-size: 26px; }
    .logo .logo-desc { font-size: 10.5px; }
    .header-content { padding: 6px 8px 4px; }
    #main-content { padding: 12px 0 20px; }

    .featured-one .featured-title h2 { font-size: 20px; }
    .featured-two .featured-title h2 { font-size: 16px; }
    .featured-three .featured-title h2,
    .featured-four .featured-title h2,
    .featured-five .featured-title h2,
    .featured-six .featured-title h2 { font-size: 13px; }

    .cat-box-title h2 { font-size: 15px; letter-spacing: 0.8px; }
    .post-box-title { font-size: 14px; }
    h2.post-box-title { font-size: 17px; }
    h3.post-box-title { font-size: 13px; }

    .single-post-title { font-size: 22px; }
    .post-entry { font-size: 15px; }
    .archive-wide li h3.post-box-title { font-size: 16px; }

    .list-box li.other-news .post-thumbnail,
    .wide-box li.other-news .post-thumbnail { width: 76px; }
    .wide-box li.first-news .post-thumbnail { float: none; width: 100%; margin: 0 0 10px; }
}

@media (max-width: 380px) {
    .container { padding: 0 6px; }
    .logo h1 { font-size: 20px; letter-spacing: 1px; }
    .logo .logo-title { font-size: 20px; }
    .cat-box-content { padding: 10px 8px; }
    .featured-one { height: 180px; }
    .featured-two, .featured-three,
    .featured-four, .featured-five,
    .featured-six { height: 120px; }
    .featured-title { padding: 10px 10px 8px; }
    .featured-one .featured-title h2 { font-size: 18px; }
    .featured-three .featured-title h2,
    .featured-four .featured-title h2,
    .featured-five .featured-title h2,
    .featured-six .featured-title h2 { font-size: 12px; }
    .featured-title .tie-date { display: none; }
    .search-block input[type=text] { width: 120px; }
}

/* Slide-out mobile search button — align with accent */
#slide-out .search-mobile .search-button {
    background: var(--accent);
}
#slide-out .search-mobile .search-button:hover {
    background: #922b21;
}

/* ===================================================
   WIDER LAYOUT ON BIG SCREENS — reduce side gaps
=================================================== */
@media (min-width: 1180px) {
    #wrapper {
        max-width: 1280px;
        width: calc(100% - 8px);
        margin: 0 auto;
    }
    .container {
        max-width: 1280px;
    }
}
