/*
Theme Name: Geopolska
Theme URI: https://geopolska.pl/
Author: Geopolska Team
Author URI: https://geopolska.pl/
Description: Nowoczesny motyw WordPress dla bloga z ciekawostkami o geografii. Styl inspirowany szablonem Newsio z czerwoną paletą, siatką artykułów, sidebarem widgetowym i responsivem designem.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geopolska
Domain Path: /languages
Tags: news, blog, magazine, geography, red, custom-header, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar
*/

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a { color: #d32f2f; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #b71c1c; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 15px;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 15px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: #111;
    color: #bbb;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #222;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar .top-date { flex: 1; }
.top-bar .top-social a {
    color: #bbb;
    margin-left: 15px;
    font-size: 14px;
    transition: color 0.2s;
}
.top-bar .top-social a:hover { color: #d32f2f; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.site-branding .site-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
}
.site-branding .site-title a {
    color: #1a1a1a;
}
.site-branding .site-title span {
    color: #d32f2f;
}
.site-branding .site-description {
    font-size: 13px;
    color: #888;
    margin: 0;
}
.header-banner {
    flex: 1;
    max-width: 728px;
    min-height: 90px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.main-navigation {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.main-navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-nav-menu {
    display: flex;
    align-items: center;
}
.main-nav-menu > li {
    position: relative;
}
.main-nav-menu > li > a {
    display: block;
    color: #fff;
    padding: 15px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, color 0.2s;
}
.main-nav-menu > li > a:hover,
.main-nav-menu > li.current-menu-item > a {
    background-color: #d32f2f;
    color: #fff;
}
.main-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
.main-nav-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav-menu .sub-menu li a {
    display: block;
    padding: 12px 18px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.main-nav-menu .sub-menu li a:hover {
    background-color: #f9f9f9;
    color: #d32f2f;
    padding-left: 25px;
}
.nav-search {
    color: #fff;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    transition: color 0.2s;
}
.nav-search:hover { color: #d32f2f; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 12px;
    cursor: pointer;
}

/* ============================================
   TRENDING TICKER
   ============================================ */
.trending-ticker {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}
.trending-ticker .container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ticker-label {
    background-color: #d32f2f;
    color: #fff;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    border-radius: 3px;
}
.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-track {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track a {
    color: #555;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ticker-track a::before {
    content: '\2022';
    color: #d32f2f;
    font-size: 18px;
}
.ticker-track a:hover { color: #d32f2f; }

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HERO GRID
   ============================================ */
.hero-section {
    padding: 25px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}
.hero-main {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.hero-main .post-thumbnail {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-main:hover .post-thumbnail { transform: scale(1.05); }
.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}
.hero-side-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.hero-side-item .post-thumbnail {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-side-item:hover .post-thumbnail { transform: scale(1.05); }

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: #fff;
    z-index: 2;
}
.hero-overlay .post-category {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    border-radius: 2px;
}
.hero-overlay .post-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1.2;
}
.hero-side-item .hero-overlay .post-title {
    font-size: 1rem;
    margin-bottom: 5px;
}
.hero-overlay .post-title a { color: #fff; }
.hero-overlay .post-title a:hover { color: #f0f0f0; }
.hero-overlay .post-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    display: flex;
    gap: 15px;
}
.hero-overlay .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e5e5;
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #d32f2f;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    color: #1a1a1a;
}
.section-title a { color: #1a1a1a; }
.section-title a:hover { color: #d32f2f; }
.section-more a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
}
.section-more a:hover { color: #d32f2f; }

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */
.main-content-area {
    padding: 25px 0;
}
.content-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* ============================================
   POST CARD (GRID)
   ============================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.post-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.post-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.post-card .post-thumbnail-wrap {
    position: relative;
    overflow: hidden;
}
.post-card .post-thumbnail-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.post-card:hover .post-thumbnail-wrap img { transform: scale(1.05); }
.post-card .post-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    letter-spacing: 1px;
    border-radius: 2px;
    z-index: 2;
}
.post-card .post-body { padding: 18px; }
.post-card .post-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.35;
}
.post-card .post-title a { color: #1a1a1a; }
.post-card .post-title a:hover { color: #d32f2f; }
.post-card .post-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
.post-card .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-card .post-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}
.post-card .read-more {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #d32f2f;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.post-card .read-more:hover {
    color: #b71c1c;
    gap: 8px;
}

/* ============================================
   FEATURED NEWS ROW (4 cols)
   ============================================ */
.featured-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.featured-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.featured-card:hover img { transform: scale(1.08); }
.featured-card .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
}
.featured-card .post-category {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    border-radius: 2px;
}
.featured-card .post-title {
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}
.featured-card .post-title a { color: #fff; }
.featured-card .post-title a:hover { color: #f0f0f0; }

/* ============================================
   LIST STYLE POSTS (with big image + text)
   ============================================ */
.list-posts-section {
    margin-bottom: 35px;
}
.list-post {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.25s;
}
.list-post:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.list-post .list-thumb {
    border-radius: 3px;
    overflow: hidden;
}
.list-post .list-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s;
}
.list-post:hover .list-thumb img { transform: scale(1.05); }
.list-post .post-category {
    display: inline-block;
    color: #d32f2f;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.list-post .post-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.list-post .post-title a { color: #1a1a1a; }
.list-post .post-title a:hover { color: #d32f2f; }
.list-post .post-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
.list-post .post-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar { }
.widget {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.widget-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #d32f2f;
}

/* Popular / Latest posts widget */
.widget-post-list { }
.widget-post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.widget-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.widget-post-item .widget-thumb {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    border-radius: 3px;
    overflow: hidden;
}
.widget-post-item .widget-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.widget-post-item:hover .widget-thumb img { transform: scale(1.1); }
.widget-post-item .widget-post-content { flex: 1; }
.widget-post-item .widget-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}
.widget-post-item .widget-post-title a { color: #333; }
.widget-post-item .widget-post-title a:hover { color: #d32f2f; }
.widget-post-item .widget-post-date {
    font-size: 11px;
    color: #999;
}

/* Categories widget */
.widget_categories ul li,
.widget_archive ul li,
.widget_meta ul li,
.widget_pages ul li,
.widget_recent_entries ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.widget_categories ul li:last-child,
.widget_archive ul li:last-child,
.widget_meta ul li:last-child,
.widget_pages ul li:last-child,
.widget_recent_entries ul li:last-child {
    border-bottom: none;
}
.widget_categories ul li a { color: #333; }
.widget_categories ul li a:hover { color: #d32f2f; }
.widget_categories ul li .count {
    background-color: #f5f5f5;
    color: #888;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* Social widget */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.social-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, opacity 0.2s;
}
.social-grid a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}
.social-grid a .count {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}
.social-grid .fb { background-color: #3b5998; }
.social-grid .tw { background-color: #1da1f2; }
.social-grid .ig { background-color: #e1306c; }
.social-grid .yt { background-color: #ff0000; }
.social-grid .tt { background-color: #000000; }
.social-grid .wa { background-color: #25d366; }

/* Newsletter widget */
.newsletter-widget p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}
.newsletter-widget input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 10px;
}
.newsletter-widget input[type="email"]:focus {
    outline: none;
    border-color: #d32f2f;
}
.newsletter-widget .btn-subscribe {
    width: 100%;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.newsletter-widget .btn-subscribe:hover { background-color: #b71c1c; }

/* Tag cloud */
.tagcloud a {
    display: inline-block;
    background-color: #f5f5f5;
    color: #666;
    font-size: 12px !important;
    padding: 5px 10px;
    margin: 0 5px 6px 0;
    border-radius: 2px;
    transition: all 0.2s;
}
.tagcloud a:hover {
    background-color: #d32f2f;
    color: #fff;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.2s;
}
.pagination .page-numbers:hover {
    background-color: #d32f2f;
    color: #fff;
}
.pagination .current {
    background-color: #d32f2f;
    color: #fff;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-wrap {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.single-header { margin-bottom: 25px; }
.single-header .post-category {
    display: inline-block;
    color: #d32f2f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.single-header .post-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 15px;
}
.single-header .post-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 13px;
    flex-wrap: wrap;
}
.single-header .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.single-header .post-meta .author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.single-featured-image {
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
}
.single-featured-image img {
    width: 100%;
    height: auto;
}
.entry-content {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}
.entry-content p { margin-bottom: 18px; }
.entry-content h2 { font-size: 1.6rem; margin-top: 30px; }
.entry-content h3 { font-size: 1.3rem; margin-top: 25px; }
.entry-content ul, .entry-content ol {
    margin-bottom: 18px;
    padding-left: 25px;
}
.entry-content ul li, .entry-content ol li {
    list-style: disc;
    margin-bottom: 8px;
}
.entry-content blockquote {
    border-left: 4px solid #d32f2f;
    padding: 15px 20px;
    margin: 25px 0;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}
.entry-content img { border-radius: 4px; }
.entry-content a { text-decoration: underline; }
.entry-content a:hover { text-decoration: none; }

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.post-tags span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.post-tags a {
    background-color: #f5f5f5;
    color: #666;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}
.post-tags a:hover {
    background-color: #d32f2f;
    color: #fff;
}

.author-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin: 30px 0;
    background-color: #f9f9f9;
    border-radius: 4px;
}
.author-box .author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}
.author-box .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-box .author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.author-box .author-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}
.author-box .author-social a {
    color: #888;
    margin-right: 10px;
    font-size: 14px;
}
.author-box .author-social a:hover { color: #d32f2f; }

.related-posts { margin: 30px 0; }
.related-posts .section-title { font-size: 1.2rem; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.related-post {
    background-color: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s;
}
.related-post:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.related-post img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.related-post .related-body { padding: 12px; }
.related-post .post-title {
    font-size: 13.5px;
    line-height: 1.4;
    margin: 0;
}
.related-post .post-title a { color: #333; }
.related-post .post-title a:hover { color: #d32f2f; }

/* ============================================
   COMMENTS
   ============================================ */
.comments-area { margin-top: 35px; }
.comments-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}
.comment-list { margin-bottom: 30px; }
.comment {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.comment .comment-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}
.comment .comment-body { flex: 1; }
.comment .comment-author {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    margin-bottom: 3px;
}
.comment .comment-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.comment .comment-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.comment .reply a {
    font-size: 12px;
    font-weight: 600;
    color: #d32f2f;
    margin-top: 8px;
    display: inline-block;
}
.children { margin-left: 65px; }

.comment-form p {
    margin-bottom: 15px;
}
.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #d32f2f;
}
.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}
.comment-form .submit {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.comment-form .submit:hover { background-color: #b71c1c; }

/* ============================================
   ARCHIVE / SEARCH / 404
   ============================================ */
.archive-header {
    background-color: #fff;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 4px;
    border-left: 4px solid #d32f2f;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.archive-header .archive-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.archive-header .archive-description {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.search-form {
    display: flex;
    gap: 0;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 3px 0 0 3px;
    font-size: 14px;
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: #d32f2f;
}
.search-form .search-submit {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}
.search-form .search-submit:hover { background-color: #b71c1c; }

.error-404 {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    border-radius: 4px;
}
.error-404 .error-code {
    font-size: 6rem;
    font-weight: 800;
    color: #d32f2f;
    line-height: 1;
    margin-bottom: 15px;
}
.error-404 h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.error-404 p {
    color: #666;
    margin-bottom: 25px;
}
.error-404 .home-btn {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}
.error-404 .home-btn:hover { background-color: #b71c1c; color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #1a1a1a;
    color: #bbb;
    margin-top: 40px;
}
.footer-main {
    padding: 50px 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-widget h4 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    position: relative;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #d32f2f;
}
.footer-widget p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.footer-widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 14px;
}
.footer-widget ul li:last-child { border-bottom: none; }
.footer-widget ul li a {
    color: #bbb;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-widget ul li a::before {
    content: '\203A';
    color: #d32f2f;
    font-weight: bold;
    font-size: 16px;
}
.footer-widget ul li a:hover {
    color: #d32f2f;
    padding-left: 3px;
}
.footer-logo {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}
.footer-logo span { color: #d32f2f; }
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13.5px;
}
.footer-contact p strong {
    color: #fff;
    min-width: 60px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #2a2a2a;
    color: #bbb;
    margin-right: 8px;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.25s;
}
.footer-social a:hover {
    background-color: #d32f2f;
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    background-color: #111;
    padding: 15px 0;
    border-top: 1px solid #2a2a2a;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom .copyright {
    font-size: 13px;
    color: #888;
}
.footer-bottom .footer-menu ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom .footer-menu a {
    font-size: 13px;
    color: #888;
}
.footer-bottom .footer-menu a:hover { color: #d32f2f; }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    padding: 10px 0;
}
.breadcrumbs a { color: #888; }
.breadcrumbs a:hover { color: #d32f2f; }
.breadcrumbs .separator { margin: 0 8px; color: #ccc; }
.breadcrumbs .current { color: #333; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(211,47,47,0.4);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-wrap {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.page-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .content-wrap { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main .post-thumbnail { height: 350px; }
    .hero-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
    .featured-row { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 8px; }
    .site-header .container { flex-direction: column; gap: 15px; }
    .header-banner { display: none; }
    .mobile-menu-toggle { display: block; }
    .main-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        flex-direction: column;
        padding: 10px 0;
    }
    .main-nav-menu.active { display: flex; }
    .main-nav-menu > li { width: 100%; }
    .main-nav-menu > li > a { padding: 12px 20px; }
    .main-nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #151515;
        display: none;
    }
    .main-nav-menu > li:hover .sub-menu { display: none; }
    .main-nav-menu > li.submenu-open .sub-menu { display: block; }
    .main-nav-menu .sub-menu li a {
        color: #ddd;
        padding-left: 35px;
    }
    .main-nav-menu .sub-menu li a:hover {
        background-color: #151515;
        padding-left: 40px;
    }
    .hero-main .post-thumbnail { height: 280px; }
    .hero-side { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .list-post { grid-template-columns: 1fr; }
    .list-post .list-thumb img { height: 200px; }
    .featured-row { grid-template-columns: repeat(2, 1fr); }
    .single-post-wrap { padding: 20px; }
    .single-header .post-title { font-size: 1.5rem; }
    .related-grid { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; text-align: center; }
    .author-box .author-avatar { margin: 0 auto; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .ticker-label { font-size: 10px; padding: 4px 10px; }
    .section-title { font-size: 1.1rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.3rem; }
    .archive-header { padding: 20px; }
    .page-wrap { padding: 20px; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .featured-row { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-main .post-thumbnail { height: 220px; }
    .hero-overlay { padding: 15px; }
    .hero-overlay .post-title { font-size: 1.1rem; }
    .hero-side-item .hero-overlay .post-title { font-size: 0.9rem; }
}

/* ============================================
   UTILITIES
   ============================================ */
.clearfix::after { content: ''; display: table; clear: both; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* WP default classes */
.alignleft { float: left; margin-right: 15px; margin-bottom: 15px; }
.alignright { float: right; margin-left: 15px; margin-bottom: 15px; }
.aligncenter { display: block; margin: 0 auto 15px; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
}
.sticky { }
.gallery { margin-bottom: 15px; }
