/*
Theme Name: Streets Adventures
Theme URI: https://streetsadventures.com
Author: Streets Adventures
Author URI: https://streetsadventures.com
Description: A modern, magazine-style WordPress theme for adventure and lifestyle blogging with sticky sidebar support.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streets-adventures
Tags: blog, magazine, two-columns, right-sidebar, custom-menu, featured-images, post-formats, sticky-post, threaded-comments, translation-ready
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    --primary-color: #e8194b;
    --secondary-color: #222222;
    --text-color: #333333;
    --text-light: #777777;
    --text-muted: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --border-color: #eeeeee;
    --border-dark: #dddddd;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --container-width: 1200px;
    --sidebar-width: 300px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 6px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================
   TYPOGRAPHY
============================================= */
.entry-content h1 { font-size: 2.2em; margin: 1.5em 0 0.75em; }
.entry-content h2 { font-size: 1.8em; margin: 1.4em 0 0.7em; }
.entry-content h3 { font-size: 1.5em; margin: 1.3em 0 0.65em; }
.entry-content h4 { font-size: 1.25em; margin: 1.2em 0 0.6em; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { margin: 1em 0 1em 2em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: var(--bg-light);
    font-style: italic;
    font-size: 1.1em;
}
.entry-content strong { font-weight: 700; }
.entry-content em { font-style: italic; }
.entry-content a { color: var(--primary-color); }
.entry-content img { margin: 1em 0; border-radius: var(--radius); }

/* =============================================
   LAYOUT & CONTAINERS
============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    padding: 40px 0;
}

/* Two-column layout with sidebar */
.content-area {
    float: left;
    width: calc(100% - var(--sidebar-width) - 40px);
    margin-right: 40px;
}

.widget-area {
    float: right;
    width: var(--sidebar-width);
}

/* Sticky sidebar */
.widget-area.sticky-sidebar {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark) transparent;
}

.widget-area.sticky-sidebar::-webkit-scrollbar {
    width: 4px;
}

.widget-area.sticky-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.widget-area.sticky-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 2px;
}

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

/* Full width layout (no sidebar) */
.no-sidebar .content-area {
    float: none;
    width: 100%;
    margin: 0;
}

/* =============================================
   HEADER
============================================= */
#masthead {
    background: var(--bg-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

/* Hamburger Menu */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* Site Branding */
.site-branding {
    flex: 1;
    text-align: center;
}

.site-title {
    font-family: var(--font-secondary);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.site-title a {
    color: inherit;
}

.site-description {
    font-size: 0.75em;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--secondary-color);
    font-size: 1.1em;
    transition: var(--transition);
}

.header-search-btn:hover {
    color: var(--primary-color);
}

.btn-submit-story {
    background: var(--secondary-color);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.btn-submit-story:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =============================================
   NAVIGATION
============================================= */
#site-navigation {
    border-top: 1px solid var(--border-color);
}

.main-navigation {
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
    white-space: nowrap;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-parent > a {
    color: var(--primary-color);
}

.main-navigation ul li.current-menu-item > a {
    border-bottom: 2px solid var(--primary-color);
}

/* Dropdown */
.main-navigation ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    display: none;
    z-index: 100;
    flex-direction: column;
    border-top: 3px solid var(--primary-color);
}

.main-navigation ul li:hover > ul {
    display: flex;
}

.main-navigation ul li ul li a {
    padding: 10px 18px;
    font-size: 0.85em;
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul li ul li:last-child a {
    border-bottom: none;
}

/* Arrow for parent items */
.main-navigation .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8em;
}

/* =============================================
   SEARCH OVERLAY
============================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-overlay input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 1.5em;
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    color: #fff;
    outline: none;
}

.search-overlay input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-overlay-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}

/* =============================================
   HERO SLIDER (Home Page)
============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-slider-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-slide:hover img {
    transform: scale(1.05);
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    padding: 30px 15px 15px;
}

.hero-slide-category {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero-slide-title {
    font-size: 0.95em;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 5px;
}

.hero-slide-author {
    font-size: 0.75em;
    color: rgba(255,255,255,0.8);
}

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

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* =============================================
   ADVERTISEMENT BANNER
============================================= */
.ad-banner {
    margin: 30px 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.ad-banner img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.ad-banner-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 30px;
    text-align: right;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: var(--radius);
}

.ad-banner-placeholder span {
    color: rgba(255,255,255,0.5);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =============================================
   POST CARDS - List Style (Homepage)
============================================= */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card-horizontal {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.post-card-horizontal .post-thumbnail {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    overflow: hidden;
    border-radius: var(--radius);
}

.post-card-horizontal .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-horizontal:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card-horizontal .post-body {
    flex: 1;
}

.post-category-badge {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.post-card-horizontal .post-title {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.post-card-horizontal .post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.post-meta a {
    color: inherit;
}

.post-meta a:hover {
    color: var(--primary-color);
}

.post-meta .author-name::before {
    content: '⚬ ';
}

.post-meta svg {
    width: 12px;
    height: 12px;
}

.post-excerpt {
    font-size: 0.88em;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82em;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--primary-color);
    gap: 8px;
}

.read-more-link::after {
    content: '›';
    font-size: 1.3em;
    line-height: 1;
}

/* =============================================
   POST CARDS - Grid Style (Archive/Stories)
============================================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card-vertical {
    display: flex;
    flex-direction: column;
}

.post-card-vertical .post-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 15px;
    position: relative;
}

.post-card-vertical .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-vertical:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Post stats overlay on card */
.post-stats-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.post-stat-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7em;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.post-card-vertical .post-category {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.post-card-vertical .post-title {
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.post-card-vertical .post-title a:hover {
    color: var(--primary-color);
}

.post-card-vertical .post-meta {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-top: auto;
}

/* =============================================
   CATEGORY PAGE HEADER
============================================= */
.category-header {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    margin-bottom: 30px;
}

.category-header .breadcrumb {
    font-size: 0.8em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.category-header h1 {
    font-size: 2em;
    font-weight: 800;
    color: var(--secondary-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 10px;
}

.category-header .article-count {
    font-size: 0.85em;
    color: var(--text-muted);
    text-align: right;
}

/* Category page - single featured post style */
.category-post-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.category-post-card .post-thumbnail {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.category-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-post-card:hover .post-thumbnail img {
    transform: scale(1.03);
}

.category-post-stats {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.category-post-stats .stat {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.category-post-body {
    padding: 25px;
    text-align: center;
}

.category-post-body .post-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.category-tag {
    font-size: 0.75em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-post-body .post-title {
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.category-post-body .post-title a:hover {
    color: var(--primary-color);
}

.category-post-body .post-meta {
    justify-content: center;
    margin-bottom: 15px;
}

.category-post-body .post-excerpt {
    font-size: 0.9em;
    line-height: 1.7;
    color: var(--text-light);
}

.btn-read-more {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-read-more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* =============================================
   SINGLE POST
============================================= */
.single-post-header {
    position: relative;
    margin-bottom: 30px;
}

.single-post-thumbnail {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.single-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-meta-bar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.single-post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.cat-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--primary-color);
}

.cat-badge.secondary {
    background: #555;
}

.single-post-title {
    font-size: 2.2em;
    font-weight: 800;
    line-height: 1.25;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-meta img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.author-meta .author-name {
    font-weight: 600;
    font-size: 0.9em;
}

.post-date, .read-time {
    font-size: 0.82em;
    color: var(--text-muted);
}

/* Post engagement */
.post-engagement {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    font-size: 0.85em;
    color: var(--text-muted);
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Entry content */
.entry-content {
    font-size: 1em;
    line-height: 1.8;
    color: #444;
}

/* Post gallery grid */
.post-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.post-gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

.post-gallery-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.post-gallery-2col img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Post tags */
.post-tags-section {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags-section .label {
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8em;
    color: var(--text-light);
    transition: var(--transition);
}

.post-tag:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Share article */
.share-article-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 30px 0;
    text-align: center;
}

.share-article-section .label {
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9em;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.share-btn.twitter { background: #000; }
.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.pinterest { background: #e60023; }
.share-btn.reddit { background: #ff4500; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #777; }

/* Author bio box */
.author-bio-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-bio-avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-info .author-name {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-bio-info .author-description {
    font-size: 0.88em;
    color: var(--text-light);
    line-height: 1.6;
}

.btn-follow {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-top: 8px;
    transition: var(--transition);
}

.btn-follow:hover {
    background: var(--primary-color);
    color: #fff !important;
}

/* Other articles / Previous */
.other-articles {
    margin: 30px 0;
}

.other-articles h3 {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.other-article-card {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.other-article-card .thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.other-article-card .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-article-card .info .prev-label {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.other-article-card .info .title {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 4px;
}

/* Load more comments button */
.btn-load-comments {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    border: 2px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    margin: 20px 0;
}

.btn-load-comments:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Related posts */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    font-size: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-post-card .thumbnail {
    height: 140px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.related-post-card .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post-card:hover .thumbnail img {
    transform: scale(1.05);
}

.related-post-card .title {
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.related-post-card .title a:hover {
    color: var(--primary-color);
}

/* =============================================
   SIDEBAR WIDGETS
============================================= */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title::after {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5em;
}

/* Tag Cloud Widget */
.widget-tag-cloud .tag-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tag-cloud-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 5px;
    font-size: 0.88em;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
    cursor: pointer;
}

.tag-cloud-item:hover {
    opacity: 0.9;
    transform: translateX(3px);
}

.tag-cloud-item .count {
    font-weight: 700;
    font-size: 0.9em;
}

.tag-cloud-item.color-1 { background: #8B5A2B; }
.tag-cloud-item.color-2 { background: #9b59b6; }
.tag-cloud-item.color-3 { background: #27ae60; }
.tag-cloud-item.color-4 { background: #3498db; }
.tag-cloud-item.color-5 { background: #e67e22; }
.tag-cloud-item.color-6 { background: #e74c3c; }

/* Author Widget (Category sidebar) */
.widget-author .author-profile {
    text-align: center;
}

.widget-author .author-cover {
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}

.widget-author .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.widget-author .author-name-widget {
    font-size: 1.1em;
    font-weight: 700;
    margin: 10px 0 8px;
}

.widget-author .author-bio-short {
    font-size: 0.82em;
    color: var(--text-light);
    line-height: 1.6;
    padding: 0 10px 15px;
}

/* Social follow buttons in sidebar */
.widget-follow-me {
    margin-top: 5px;
}

.follow-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: var(--radius);
    color: #fff !important;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

.follow-btn:hover {
    transform: translateX(4px);
}

.follow-btn.facebook { background: #1877f2; }
.follow-btn.linkedin { background: #0077b5; }
.follow-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.follow-btn.youtube { background: #ff0000; }

/* Advertising widget */
.widget-advertising img {
    width: 100%;
    border-radius: var(--radius);
}

.widget-advertising .ad-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 180px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Tags widget */
.widget-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-pill {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.78em;
    color: var(--text-light);
    transition: var(--transition);
}

.tag-pill:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Featured posts widget */
.widget-featured-posts .featured-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-featured-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.widget-featured-post-item .thumb {
    width: 70px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.widget-featured-post-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-featured-post-item .title {
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.35;
}

.widget-featured-post-item .title a:hover {
    color: var(--primary-color);
}

.nothing-found {
    font-size: 0.88em;
    color: var(--text-muted);
    font-style: italic;
}

/* =============================================
   PAGINATION
============================================= */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 20px;
}

.pagination-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.pagination-nav .page-numbers:hover,
.pagination-nav .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination-nav .next,
.pagination-nav .prev {
    width: auto;
    padding: 0 15px;
    font-size: 0.85em;
}

/* =============================================
   COMMENTS
============================================= */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 1.4em;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-author-name {
    font-weight: 700;
    font-size: 0.95em;
}

.comment-date {
    font-size: 0.78em;
    color: var(--text-muted);
}

.comment-content {
    font-size: 0.9em;
    line-height: 1.7;
    color: var(--text-light);
    padding-left: 57px;
}

.comment-reply-link {
    font-size: 0.8em;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    padding-left: 57px;
}

/* Comment Form */
.comment-respond {
    margin-top: 30px;
}

.comment-reply-title {
    font-size: 1.3em;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comment-form label {
    font-size: 0.82em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.comment-form input,
.comment-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9em;
    transition: var(--transition);
    outline: none;
    background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232,25,75,0.1);
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
    margin-bottom: 15px;
    width: 100%;
}

.submit-comment-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.submit-comment-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* =============================================
   NEWSLETTER SECTION
============================================= */
.newsletter-section {
    background: var(--bg-light);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 40px;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9em;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

/* =============================================
   FOOTER
============================================= */
#colophon {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-about .footer-logo {
    font-family: var(--font-secondary);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.footer-about p {
    font-size: 0.88em;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-widget-title {
    font-size: 0.95em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88em;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

/* Footer social */
.footer-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footer-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.78em;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    text-align: center;
}

.footer-social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

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

.footer-bottom p {
    font-size: 0.82em;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   BACK TO TOP BUTTON
============================================= */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* =============================================
   MOBILE MENU DRAWER
============================================= */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.mobile-menu-drawer.active {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--secondary-color);
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-menu-nav ul li a {
    display: block;
    padding: 14px 20px;
    font-size: 0.95em;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    color: var(--secondary-color);
    transition: var(--transition);
}

.mobile-menu-nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 28px;
}

/* =============================================
   ACCESSIBILITY & UTILITY
============================================= */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

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

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 260px;
    }

    .hero-slider-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .content-area {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .widget-area {
        float: none;
        width: 100%;
    }

    .widget-area.sticky-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .hero-slider-track {
        grid-template-columns: 1fr 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .single-post-title {
        font-size: 1.6em;
    }

    .single-post-thumbnail {
        height: 280px;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-social {
        grid-template-columns: repeat(4, 1fr);
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-navigation { display: none; }

    .post-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }

    .single-post-meta {
        flex-wrap: wrap;
    }

    .post-engagement {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-slider-track {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        height: 220px;
    }

    .site-title {
        font-size: 1.6em;
    }

    .footer-social {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        gap: 8px;
    }
}



/* =============================================
   STREETS ADVENTURES — RESPONSIVE CSS
   Paste this in WordPress Admin:
   Appearance → Customize → Additional CSS
   OR add as a separate file
   
   Breakpoints:
   - 1280px  : Large Laptop
   - 1024px  : Tablet Landscape / Small Laptop
   - 900px   : Tablet Portrait (iPad)
   - 768px   : Large Mobile / Small Tablet
   - 600px   : Mobile Landscape
   - 480px   : Mobile Portrait
   - 360px   : Small Mobile (Galaxy S etc.)
============================================= */

/* =============================================
   1. LARGE LAPTOP  (max-width: 1280px)
============================================= */
@media screen and (max-width: 1280px) {

    :root {
        --container-width: 1140px;
        --sidebar-width: 280px;
    }

    .container {
        padding: 0 24px;
    }

    .site-title {
        font-size: 2em;
    }

    .hero-slide {
        height: 240px;
    }

    .single-post-title {
        font-size: 2em;
    }

    .related-posts-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

/* =============================================
   2. TABLET LANDSCAPE / SMALL LAPTOP  (max-width: 1024px)
============================================= */
@media screen and (max-width: 1024px) {

    :root {
        --sidebar-width: 250px;
    }

    .container {
        padding: 0 20px;
    }

    /* Header */
    .site-title {
        font-size: 1.85em;
    }

    .btn-submit-story {
        padding: 8px 14px;
        font-size: 0.8em;
    }

    /* Navigation */
    .main-navigation ul li a {
        padding: 12px 11px;
        font-size: 0.84em;
    }

    /* Hero Slider - 2 columns */
    .hero-slider-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }

    .hero-slide {
        height: 230px;
    }

    /* Content + Sidebar */
    .content-area {
        width: calc(100% - var(--sidebar-width) - 30px);
        margin-right: 30px;
    }

    /* Post cards horizontal */
    .post-card-horizontal .post-thumbnail {
        width: 110px;
        height: 110px;
    }

    .post-card-horizontal .post-title {
        font-size: 1em;
    }

    /* Posts Grid - 2 columns */
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Single Post */
    .single-post-thumbnail {
        height: 380px;
    }

    .single-post-title {
        font-size: 1.85em;
    }

    /* Related Posts - 3 col */
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Category Post */
    .category-post-card .post-thumbnail {
        height: 280px;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: span 2;
    }

    /* Sidebar Widgets */
    .widget-author .author-cover {
        height: 70px;
    }
}

/* =============================================
   3. TABLET PORTRAIT (max-width: 900px)
============================================= */
@media screen and (max-width: 900px) {

    /* Navigation — hide primary, show hamburger only */
    #site-navigation {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Header layout */
    .site-header-inner {
        padding: 12px 0;
    }

    .site-title {
        font-size: 1.7em;
    }

    /* Hero Slider */
    .hero-slider-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slide {
        height: 210px;
    }

    .hero-slide-title {
        font-size: 0.88em;
    }

    /* Layout: stack content + sidebar */
    .content-area {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 35px;
    }

    .widget-area,
    .widget-area.sticky-sidebar {
        float: none;
        width: 100%;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        top: auto !important;
    }

    /* Sidebar widgets — 2 column grid on tablet */
    #secondary {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        align-items: start;
    }

    #secondary .widget {
        margin-bottom: 0;
    }

    /* Posts Grid */
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Post card horizontal */
    .post-card-horizontal {
        gap: 16px;
    }

    .post-card-horizontal .post-thumbnail {
        width: 100px;
        height: 100px;
    }

    /* Single post */
    .single-post-thumbnail {
        height: 320px;
    }

    .single-post-title {
        font-size: 1.7em;
    }

    .author-bio-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-bio-avatar {
        width: 80px;
        height: 80px;
    }

    /* Related Posts - 2 col */
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Category header */
    .category-header h1 {
        font-size: 1.7em;
    }

    /* Gallery grids */
    .post-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-gallery-2col {
        grid-template-columns: 1fr;
    }

    /* Share buttons */
    .share-article-section {
        padding: 20px 15px;
    }

    /* Comment form */
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-about {
        grid-column: span 2;
    }
}

/* =============================================
   4. MOBILE LANDSCAPE / LARGE MOBILE  (max-width: 768px)
============================================= */
@media screen and (max-width: 768px) {

    /* Container */
    .container {
        padding: 0 16px;
    }

    .site-content {
        padding: 24px 0;
    }

    /* Header */
    .site-header-inner {
        gap: 12px;
    }

    .site-title {
        font-size: 1.55em;
    }

    .btn-submit-story {
        display: none; /* hide on mobile, menu me hoga */
    }

    /* Nav hidden, hamburger visible */
    #site-navigation {
        display: none;
    }

    /* Hero Slider — 1x2 grid on mobile */
    .hero-slider-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .hero-slide {
        height: 190px;
    }

    .hero-slide-title {
        font-size: 0.82em;
        line-height: 1.3;
    }

    .hero-slide-author {
        display: none;
    }

    /* Ad Banner */
    .ad-banner {
        margin: 20px 0;
    }

    .ad-banner-placeholder {
        min-height: 80px;
        padding: 20px;
    }

    /* Content layout - full stack */
    .content-area {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .widget-area,
    .widget-area.sticky-sidebar {
        float: none;
        width: 100%;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    /* Sidebar - single column */
    #secondary {
        display: block;
    }

    #secondary .widget {
        margin-bottom: 28px;
    }

    /* Post List */
    .posts-list {
        gap: 22px;
    }

    .post-card-horizontal {
        gap: 14px;
    }

    .post-card-horizontal .post-thumbnail {
        width: 90px;
        height: 90px;
    }

    .post-card-horizontal .post-title {
        font-size: 0.95em;
    }

    .post-excerpt {
        display: none;
    }

    /* Posts Grid - 2 col */
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .post-card-vertical .post-thumbnail {
        height: 175px;
    }

    .post-card-vertical .post-title {
        font-size: 1em;
    }

    /* Category Page */
    .category-header {
        padding: 18px 20px;
    }

    .category-header h1 {
        font-size: 1.5em;
    }

    .category-post-card .post-thumbnail {
        height: 240px;
    }

    .category-post-body {
        padding: 18px;
    }

    .category-post-body .post-title {
        font-size: 1.3em;
    }

    /* Single Post */
    .single-post-thumbnail {
        height: 260px;
        border-radius: 0;
    }

    .single-post-title {
        font-size: 1.5em;
    }

    .single-post-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .post-engagement {
        margin-left: 0;
        width: 100%;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    .single-post-categories {
        flex-wrap: wrap;
        gap: 6px;
    }

    .cat-badge {
        font-size: 0.7em;
        padding: 3px 10px;
    }

    /* Post gallery */
    .post-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .post-gallery-grid img {
        height: 140px;
    }

    .post-gallery-2col {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    /* Share Section */
    .share-article-section {
        padding: 18px 14px;
    }

    .share-buttons {
        gap: 8px;
        justify-content: center;
    }

    .share-btn {
        width: 36px;
        height: 36px;
    }

    /* Author bio */
    .author-bio-box {
        padding: 18px;
        flex-direction: row;
        gap: 14px;
    }

    .author-bio-avatar {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }

    /* Other articles */
    .other-article-card .thumbnail {
        width: 60px;
        height: 60px;
    }

    /* Related posts */
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .related-post-card .thumbnail {
        height: 120px;
    }

    /* Comments */
    .comment-content {
        padding-left: 0;
        margin-top: 10px;
    }

    .comment-reply-link {
        padding-left: 0;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 28px 0;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .newsletter-text {
        font-size: 1.05em;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 8px;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-social {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Back to top */
    #back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    /* Pagination */
    .pagination-nav {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-nav .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 0.85em;
    }
}

/* =============================================
   5. MOBILE PORTRAIT  (max-width: 600px)
============================================= */
@media screen and (max-width: 600px) {

    /* Container */
    .container {
        padding: 0 14px;
    }

    /* Header */
    .site-title {
        font-size: 1.4em;
    }

    .header-search-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Hero — full width single col */
    .hero-slider-track {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .hero-slide {
        height: 200px;
    }

    .hero-slide-overlay {
        padding: 25px 14px 14px;
    }

    .hero-slide-title {
        font-size: 0.9em;
    }

    /* Post list */
    .post-card-horizontal .post-thumbnail {
        width: 80px;
        height: 80px;
    }

    .post-card-horizontal .post-title {
        font-size: 0.9em;
    }

    .post-meta {
        font-size: 0.72em;
        gap: 6px;
    }

    .read-more-link {
        font-size: 0.78em;
    }

    /* Posts Grid — single column */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-card-vertical .post-thumbnail {
        height: 200px;
    }

    .post-card-vertical .post-title {
        font-size: 1.05em;
    }

    /* Single Post */
    .single-post-thumbnail {
        height: 220px;
    }

    .single-post-title {
        font-size: 1.35em;
    }

    .single-post-meta-bar {
        padding: 16px 0;
    }

    .author-meta img {
        width: 32px;
        height: 32px;
    }

    .author-meta .author-name {
        font-size: 0.82em;
    }

    .post-date, .read-time {
        font-size: 0.76em;
    }

    /* Entry content */
    .entry-content {
        font-size: 0.95em;
    }

    .entry-content h2 {
        font-size: 1.4em;
    }

    .entry-content h3 {
        font-size: 1.2em;
    }

    .entry-content blockquote {
        padding: 12px 14px;
        font-size: 1em;
    }

    /* Post gallery */
    .post-gallery-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .post-gallery-grid img {
        height: 200px;
    }

    /* Tags */
    .post-tags-list {
        gap: 6px;
    }

    .post-tag {
        font-size: 0.75em;
        padding: 4px 10px;
    }

    /* Share */
    .share-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8em;
    }

    /* Author box */
    .author-bio-box {
        padding: 16px;
        gap: 12px;
    }

    .author-bio-avatar {
        width: 50px;
        height: 50px;
    }

    /* Related posts - single col */
    .related-posts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .related-post-card .thumbnail {
        height: 110px;
    }

    .related-post-card .title {
        font-size: 0.82em;
    }

    /* Category page */
    .category-header h1 {
        font-size: 1.35em;
    }

    .category-post-card .post-thumbnail {
        height: 200px;
    }

    .category-post-body {
        padding: 16px;
    }

    .category-post-body .post-title {
        font-size: 1.2em;
    }

    .btn-read-more {
        padding: 10px 22px;
        font-size: 0.82em;
    }

    /* Comment form */
    .comment-form input,
    .comment-form textarea {
        padding: 10px 13px;
        font-size: 0.88em;
    }

    .submit-comment-btn {
        padding: 12px 24px;
        font-size: 0.85em;
        width: 100%;
        border-radius: 8px;
    }

    /* Widgets */
    .widget-title {
        font-size: 0.92em;
    }

    .tag-cloud-item {
        font-size: 0.82em;
        padding: 8px 12px;
    }

    .follow-btn {
        padding: 10px 14px;
        font-size: 0.82em;
    }

    /* Footer */
    .footer-about .footer-logo {
        font-size: 1.5em;
    }

    .footer-social {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-social-link {
        padding: 8px;
        font-size: 0.72em;
    }

    /* Newsletter */
    .newsletter-text {
        font-size: 1em;
    }

    /* Pagination */
    .pagination-nav .next,
    .pagination-nav .prev {
        padding: 0 10px;
        font-size: 0.8em;
    }
}

/* =============================================
   6. SMALL MOBILE  (max-width: 480px)
============================================= */
@media screen and (max-width: 480px) {

    .container {
        padding: 0 12px;
    }

    /* Header */
    .site-header-inner {
        padding: 10px 0;
        gap: 8px;
    }

    .site-title {
        font-size: 1.25em;
        letter-spacing: -0.3px;
    }

    .menu-toggle span {
        width: 20px;
    }

    /* Hero */
    .hero-slide {
        height: 185px;
    }

    .hero-slide-title {
        font-size: 0.85em;
    }

    .hero-slide-category {
        font-size: 0.65em;
    }

    /* Post horizontal card */
    .post-card-horizontal {
        gap: 12px;
    }

    .post-card-horizontal .post-thumbnail {
        width: 75px;
        height: 75px;
        border-radius: 4px;
    }

    .post-card-horizontal .post-title {
        font-size: 0.88em;
        line-height: 1.3;
    }

    /* Post vertical */
    .post-card-vertical .post-thumbnail {
        height: 185px;
    }

    /* Single post */
    .single-post-thumbnail {
        height: 190px;
    }

    .single-post-title {
        font-size: 1.2em;
        line-height: 1.3;
    }

    .cat-badge {
        font-size: 0.65em;
    }

    /* Author box mobile */
    .author-bio-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Related posts */
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-post-card .thumbnail {
        height: 160px;
    }

    /* Share buttons */
    .share-article-section {
        padding: 15px 10px;
    }

    .share-buttons {
        gap: 6px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
    }

    /* Footer */
    .footer-widgets {
        gap: 18px;
    }

    #colophon {
        padding: 35px 0 15px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 24px 0;
    }

    /* Back to top */
    #back-to-top {
        width: 38px;
        height: 38px;
        bottom: 16px;
        right: 12px;
    }

    /* Search overlay input */
    .search-overlay input {
        font-size: 1.2em;
        padding: 15px 50px 15px 15px;
    }

    /* Mobile menu drawer */
    .mobile-menu-drawer {
        width: 260px;
    }

    .mobile-menu-nav ul li a {
        padding: 12px 16px;
        font-size: 0.9em;
    }
}

/* =============================================
   7. VERY SMALL MOBILE  (max-width: 360px)
============================================= */
@media screen and (max-width: 360px) {

    .container {
        padding: 0 10px;
    }

    .site-title {
        font-size: 1.1em;
    }

    .hero-slide {
        height: 165px;
    }

    .single-post-title {
        font-size: 1.1em;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card-horizontal .post-thumbnail {
        width: 68px;
        height: 68px;
    }

    .footer-social {
        grid-template-columns: 1fr 1fr;
    }

    .share-btn {
        width: 30px;
        height: 30px;
    }

    .btn-read-more {
        padding: 9px 18px;
        font-size: 0.8em;
    }

    .tag-cloud-item {
        font-size: 0.78em;
        padding: 7px 10px;
    }
}

/* =============================================
   8. PRINT STYLES
============================================= */
@media print {

    #masthead,
    .widget-area,
    .newsletter-section,
    #colophon,
    .share-article-section,
    .related-posts,
    .other-articles,
    #back-to-top,
    .mobile-menu-overlay,
    .mobile-menu-drawer,
    .search-overlay,
    .hero-slider,
    .ad-banner,
    #comments .comment-respond {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .content-area {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .single-post-thumbnail {
        height: auto;
        max-height: 300pt;
    }

    .single-post-title {
        font-size: 18pt;
    }

    .entry-content {
        font-size: 11pt;
        line-height: 1.6;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* =============================================
   9. UTILITY — TOUCH & HOVER FIXES
============================================= */

/* Remove hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {

    .post-card-horizontal:hover .post-thumbnail img,
    .post-card-vertical:hover .post-thumbnail img,
    .category-post-card:hover .post-thumbnail img,
    .related-post-card:hover .thumbnail img {
        transform: none;
    }

    .hero-slide:hover img {
        transform: none;
    }

    .tag-cloud-item:hover {
        transform: none;
    }

    /* Better tap targets on mobile */
    .main-navigation ul li a,
    .mobile-menu-nav ul li a,
    .btn-submit-story,
    .btn-read-more,
    .btn-follow,
    .follow-btn,
    .share-btn,
    .footer-social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .read-more-link,
    .post-tag,
    .tag-pill,
    .cat-badge,
    .post-category-badge {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .site-title {
        font-size: 18px !important;
    }
}
/* =============================================
   10. SAFE AREA — iPhone X / Notch Support
============================================= */
@supports (padding: env(safe-area-inset-left)) {
    .container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    #masthead {
        padding-top: env(safe-area-inset-top);
    }

    #back-to-top {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(16px, env(safe-area-inset-right));
    }

    .mobile-menu-drawer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}



.hero-slide {
    height: 490px;
    cursor: pointer;
    margin-top: 25px;
}
.hero-slide img {
    border-radius: 10px;
}
.single-post-categories {
    display: block !important;
}
/* Widget container */
#block-3 {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Title */
#block-3 .wp-block-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

/* Title left border */
#block-3 .wp-block-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 20px;
    background: #0073aa;
    border-radius: 2px;
}

/* List */
#block-3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each post */
#block-3 ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Links */
#block-3 ul li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    display: block;
    transition: 0.3s;
}

/* Hover effect */
#block-3 ul li a:hover {
    color: #0073aa;
    padding-left: 5px;
}




/* Parent menu */
.main-navigation {
    list-style: none;
}

/* Hide submenu by default */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

/* Show on hover */
.main-navigation li:hover > .sub-menu {
    display: block;
}

/* Parent li */
.main-navigation li {
    position: relative;
}

/* Submenu items */
.main-navigation .sub-menu li {
    display: block;
}

/* Links */
.main-navigation .sub-menu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
}

.main-navigation .sub-menu li a:hover {
    background: #f5f5f5;
}
.sub-menu.active {
    display: block;
}
.main-navigation {
    position: relative;
    z-index: 9999;
}
header, .container, .nav-wrapper {
    overflow: visible !important;
}

/* Main menu container */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px; /* spacing between menu items */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each menu item */
.main-navigation > li {
    display: inline-block;
    position: relative;
}

/* Menu links */
.main-navigation > li > a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #000;
    font-weight: 500;
}

/* Hover effect */
.main-navigation > li > a:hover {
    color: #0073aa;
}

/* Submenu */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Show dropdown */
.menu-item-has-children:hover .sub-menu {
    display: block;
}
.single-post-title {
    text-align: center;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

    /* Make container scrollable */
    #primary-menu {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 20px;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox hide scrollbar */
    }

    /* Hide scrollbar for Chrome/Safari */
    #primary-menu::-webkit-scrollbar {
        display: none;
    }

    /* Menu items inline */
    #primary-menu > li {
        display: inline-block;
    }

    /* Style links for better touch area */
    #primary-menu > li > a {
        padding: 10px 5px;
        display: inline-block;
    }

    /* Allow submenu dropdown to behave normally */
    #primary-menu .sub-menu {
        position: static;
        display: none;
        background: #fff;
        padding-left: 15px;
        white-space: normal;
    }

    /* Show submenu on clicking parent (if your theme supports) */
    #primary-menu li.menu-item-has-children:hover > .sub-menu {
        display: block;
    }
}