/* =========================================================
   GamX0 Clone — main stylesheet
   ========================================================= */

/* ---------- Topbar ---------- */
.topbar{ background:#101116; color:#9a9ba5; font-size:13px; }
.topbar-inner{ display:flex; align-items:center; justify-content:space-between; padding:8px 15px; flex-wrap:wrap; gap:8px; }
.topbar-item{ margin-right:18px; color:#9a9ba5; }
.topbar-item:hover{ color:var(--red); }
.topbar-right{ display:flex; align-items:center; }
.topbar-social{ display:inline-flex; gap:10px; margin-left:10px; padding-left:14px; border-left:1px solid #2a2c33; }
.topbar-social a{ color:#9a9ba5; }
.topbar-social a:hover{ color:var(--red); }

/* ---------- Header ---------- */
.site-header{ background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.06); position:relative; z-index:50; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 15px; gap:20px; flex-wrap:wrap; }
.site-branding{ flex-shrink:0; }
.logo-text{ display:flex; flex-direction:column; line-height:1.1; }
.logo-main{ font-family:'Oswald',sans-serif; font-weight:700; font-size:30px; letter-spacing:1px; color:#181920; }
.logo-main::before{ content:''; }
.logo-sub{ font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--red); font-weight:600; }
.custom-logo-link img{ max-height:60px; width:auto; }

.main-navigation{ flex:1; display:flex; justify-content:center; }
.primary-menu{ display:flex; gap:2px; flex-wrap:wrap; }
.primary-menu > li{ position:relative; }
.primary-menu > li > a{ display:block; padding:14px 16px; font-family:'Oswald',sans-serif; font-weight:500; text-transform:uppercase; font-size:14px; letter-spacing:.5px; color:#23252c; }
.primary-menu > li > a:hover{ color:var(--red); }
.primary-menu li.current-menu-item > a{ color:var(--red); }
.primary-menu ul{ display:none; position:absolute; top:100%; left:0; background:#fff; min-width:200px; box-shadow:0 10px 25px rgba(0,0,0,.12); border-top:3px solid var(--red); padding:8px 0; z-index:60; }
.primary-menu li:hover > ul{ display:block; }
.primary-menu ul li a{ display:block; padding:9px 18px; font-size:13px; text-transform:none; font-family:'Roboto',sans-serif; }
.primary-menu ul li a:hover{ background:#f6f6f8; color:var(--red); }
.primary-menu li.menu-item-has-children > a::after{ content:'\f078'; font-family:'Font Awesome 6 Free'; font-weight:900; font-size:10px; margin-left:6px; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{ position:relative; width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#f4f4f6; color:#23252c; border:0; cursor:pointer; font-size:14px; }
.icon-btn:hover{ background:var(--red); color:#fff; }
.cart-count{ position:absolute; top:-4px; right:-4px; background:var(--red); color:#fff; font-size:10px; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.header-search-panel{ display:none; background:#101116; padding:18px 0; }
.header-search-panel.is-open{ display:block; }
.search-form{ display:flex; }
.search-field{ flex:1; padding:12px 16px; border:0; border-radius:2px 0 0 2px; font-size:14px; }
.search-submit{ background:var(--red); color:#fff; border:0; padding:0 20px; border-radius:0 2px 2px 0; cursor:pointer; }
.menu-toggle{ display:none; }

/* ---------- Hero Slider ---------- */
.hero-slider{ position:relative; overflow:hidden; background:#101116; }
.hero-slider-track{ display:flex; transition:transform .5s ease; }
.hero-slide{ position:relative; min-width:100%; min-height:460px; display:flex; align-items:flex-end; overflow:hidden; }
.hero-slide-bg{ position:absolute; inset:0; }
.hero-slide-bg img{ width:100%; height:100%; object-fit:cover; }
.hero-slide-overlay{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.85) 5%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.4) 100%); }
.hero-slide-inner{ position:relative; padding:60px 15px 70px; max-width:760px; color:#fff; }
.hero-slide h1{ font-size:36px; color:#fff; margin:14px 0 12px; }
.hero-slide h1 a{ color:#fff; }
.hero-slide p{ color:#c7c8d1; max-width:600px; margin-bottom:16px; }
.hero-nav{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; border:0; cursor:pointer; z-index:6; }
.hero-nav:hover{ background:var(--red); }
.hero-prev{ left:20px; }
.hero-next{ right:20px; }
.hero-dots{ position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:6; }
.hero-dots span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; }
.hero-dots span.active{ background:var(--red); width:22px; border-radius:5px; }

/* ---------- Badges & meta ---------- */
.post-badge{ display:inline-block; padding:4px 12px; font-size:11px; text-transform:uppercase; font-weight:700; letter-spacing:.5px; color:#fff; border-radius:2px; }
.badge-red{ background:var(--red); }
.badge-green{ background:#22b573; }
.badge-blue{ background:#2f7bf5; }
.badge-purple{ background:#8a4fe0; }
.badge-orange{ background:#f5860f; }

.post-date{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#9a9ba5; margin:8px 0; }
.post-date i{ color:var(--red); }
.post-date.light{ color:#d6d7de; }

.post-meta{ display:flex; flex-wrap:wrap; gap:16px; font-size:12px; color:#9a9ba5; }
.post-meta .meta-item{ display:inline-flex; align-items:center; gap:6px; }
.post-meta i{ color:var(--red); }
.post-meta.light{ color:#c7c8d1; }
.post-meta.light i{ color:var(--red); }

/* ---------- Layout ---------- */
.content-layout{ display:grid; grid-template-columns:1fr 340px; gap:34px; padding:34px 15px; align-items:start; }
.content-main{ min-width:0; }
.widget-area{ min-width:0; display:flex; flex-direction:column; gap:24px; }

.section-block{ margin-bottom:36px; }
.section-heading{ display:flex; align-items:center; justify-content:space-between; background:var(--red); color:#fff; padding:13px 20px; font-size:16px; text-transform:uppercase; letter-spacing:.5px; margin-bottom:20px; border-radius:2px; }
.section-heading span{ position:relative; padding-left:14px; }
.section-heading span::before{ content:''; position:absolute; left:0; top:2px; bottom:2px; width:4px; background:#fff; border-radius:2px; }
.heading-arrow{ font-size:13px; opacity:.85; }
.section-heading.light{ background:transparent; color:#fff; padding-left:0; }
.section-heading.archive-title{ background:transparent; color:#181920; padding:0 0 16px; text-transform:none; font-size:24px; }

/* ---------- Featured grid ---------- */
.featured-grid{ display:grid; grid-template-columns:1.7fr 1fr; gap:18px; }
.featured-hero-card{ position:relative; display:block; border-radius:4px; overflow:hidden; background:#101116; min-height:340px; }
.featured-hero-card img{ width:100%; height:100%; min-height:340px; object-fit:cover; position:absolute; inset:0; }
.featured-hero-card .post-badge{ position:absolute; top:16px; left:16px; z-index:2; }
.featured-hero-body{ display:block; position:relative; z-index:2; margin-top:200px; padding:60px 20px 20px; background:linear-gradient(0deg, rgba(0,0,0,.9) 20%, transparent 100%); }
.featured-hero-body h3{ color:#fff; font-size:20px; margin:6px 0 10px; }
.featured-side-list{ display:flex; flex-direction:column; gap:14px; }
.featured-side-item{ display:flex; gap:12px; background:#fff; border-radius:4px; padding:8px; box-shadow:0 2px 8px rgba(0,0,0,.05); }
.featured-side-thumb{ flex-shrink:0; width:90px; height:70px; border-radius:3px; overflow:hidden; }
.featured-side-thumb img{ width:100%; height:100%; object-fit:cover; }
.featured-side-body{ display:flex; flex-direction:column; justify-content:center; min-width:0; }
.featured-side-title{ font-family:'Oswald',sans-serif; font-weight:500; font-size:14px; color:#181920; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.featured-side-item:hover .featured-side-title{ color:var(--red); }

.mini-grid-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:18px; }
.mini-grid-item{ display:flex; gap:10px; background:#fff; padding:8px; border-radius:4px; box-shadow:0 2px 8px rgba(0,0,0,.05); }
.mini-grid-thumb{ position:relative; flex-shrink:0; width:80px; height:60px; border-radius:3px; overflow:hidden; }
.mini-grid-thumb img{ width:100%; height:100%; object-fit:cover; }
.mini-grid-thumb .post-badge{ position:absolute; top:3px; left:3px; padding:2px 6px; font-size:9px; }
.mini-grid-body{ min-width:0; display:flex; flex-direction:column; justify-content:center; gap:4px; }
.mini-grid-title{ font-family:'Oswald',sans-serif; font-size:13px; font-weight:500; color:#181920; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mini-grid-item:hover .mini-grid-title{ color:var(--red); }
.mini-grid-body .post-meta{ gap:10px; }

/* ---------- Wide ad banner ---------- */
.wide-ad-banner{ position:relative; display:block; border-radius:4px; overflow:hidden; margin-bottom:36px; }
.wide-ad-banner img{ width:100%; height:auto; max-height:230px; object-fit:cover; filter:grayscale(.15); }
.wide-ad-title{ position:absolute; left:24px; bottom:20px; color:#fff; font-family:'Oswald',sans-serif; font-size:24px; text-shadow:0 2px 8px rgba(0,0,0,.6); }
.wide-ad-label{ position:absolute; right:14px; bottom:12px; background:rgba(0,0,0,.55); color:#fff; font-size:11px; padding:4px 10px; border-radius:2px; }

/* ---------- Categories ---------- */
.category-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-bottom:36px; }
.category-tile{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:26px 14px; border-radius:6px; color:#fff; transition:transform .2s ease; }
.category-tile:hover{ transform:translateY(-4px); }
.category-tile-icon{ width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.22); display:flex; align-items:center; justify-content:center; font-size:20px; }
.category-tile-name{ font-family:'Oswald',sans-serif; font-weight:600; font-size:16px; text-transform:uppercase; letter-spacing:.5px; }
.category-tile-count{ font-size:12px; color:rgba(255,255,255,.85); }
.category-tile.badge-red{ background:var(--red); }
.category-tile.badge-green{ background:#22b573; }
.category-tile.badge-blue{ background:#2f7bf5; }
.category-tile.badge-purple{ background:#8a4fe0; }
.category-tile.badge-orange{ background:#f5860f; }

/* ---------- Two column sections ---------- */
.two-col-section{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.section-block.half{ margin-bottom:0; }
.col-feature-card{ display:block; background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); margin-bottom:14px; }
.col-feature-card img{ width:100%; height:220px; object-fit:cover; }
.col-feature-body{ display:block; padding:16px 18px; }
.col-feature-body h3{ font-size:18px; margin:4px 0 8px; }
.col-feature-card:hover h3{ color:var(--red); }
.col-feature-body p{ font-size:13px; color:#7c7d87; margin-bottom:10px; }

/* ---------- Grid 3 col (action games) ---------- */
.grid-3col{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-2col{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.grid-card{ display:block; background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); transition:transform .2s ease; }
.grid-card:hover{ transform:translateY(-4px); }
.grid-card-thumb{ position:relative; display:block; height:190px; overflow:hidden; }
.grid-card-thumb img{ width:100%; height:100%; object-fit:cover; }
.grid-card-thumb .post-badge{ position:absolute; top:10px; left:10px; }
.grid-card-body{ display:block; padding:14px 16px 18px; }
.grid-card-title{ display:block; font-family:'Oswald',sans-serif; font-weight:500; font-size:16px; color:#181920; margin:4px 0 10px; }
.grid-card:hover .grid-card-title{ color:var(--red); }

/* ---------- Latest games list ---------- */
.latest-list{ display:flex; flex-direction:column; gap:20px; }
.latest-item{ display:grid; grid-template-columns:260px 1fr; gap:20px; background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.latest-item-thumb{ position:relative; display:block; }
.latest-item-thumb img{ width:100%; height:100%; object-fit:cover; min-height:170px; }
.latest-item-thumb .post-badge{ position:absolute; top:10px; left:10px; }
.latest-item-body{ padding:18px 20px 18px 0; display:flex; flex-direction:column; }
.latest-item-body h3{ font-size:19px; margin:6px 0 8px; }
.latest-item-body:hover h3{ color:var(--red); }
.latest-item-body p{ font-size:13px; color:#7c7d87; margin-bottom:14px; }
.btn-outline{ align-self:flex-start; border:1px solid var(--red); color:var(--red); padding:9px 20px; border-radius:2px; font-family:'Oswald',sans-serif; font-size:12px; letter-spacing:.5px; text-transform:uppercase; font-weight:600; }
.btn-outline:hover{ background:var(--red); color:#fff; }

/* ---------- Video section ---------- */
.video-section{ background:#101116; padding:40px 0; margin-top:10px; }
.video-slider{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.video-card{ position:relative; display:block; border-radius:4px; overflow:hidden; height:200px; }
.video-card img{ width:100%; height:100%; object-fit:cover; }
.video-card::after{ content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.75) 10%, transparent 60%); }
.video-card .post-badge{ position:absolute; top:12px; left:12px; z-index:2; }
.video-play{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:54px; height:54px; border-radius:50%; background:rgba(255,20,20,.9); color:#fff; display:flex; align-items:center; justify-content:center; z-index:2; font-size:18px; }
.video-title{ position:absolute; left:16px; bottom:14px; right:16px; color:#fff; font-family:'Oswald',sans-serif; font-weight:500; z-index:2; }

/* ---------- Closer: exciting/popular ---------- */
.closer-section{ padding-top:36px; padding-bottom:10px; grid-template-columns:2fr 1fr; }
.two-thirds{ }
.one-third{ }

/* ---------- Sidebar widgets ---------- */
.widget{ background:#fff; border-radius:4px; box-shadow:0 2px 10px rgba(0,0,0,.05); padding:18px; }
.widget-title{ background:var(--red); color:#fff; margin:-18px -18px 16px; padding:13px 20px; font-size:15px; text-transform:uppercase; letter-spacing:.5px; }
.widget-title span{ position:relative; padding-left:14px; }
.widget-title span::before{ content:''; position:absolute; left:0; top:2px; bottom:2px; width:4px; background:#fff; border-radius:2px; }
.widget-title-plain{ font-size:16px; text-transform:uppercase; margin-bottom:4px; }

.widget-tab-nav{ display:flex; margin:-18px -18px 16px; }
.tab-btn{ flex:1; border:0; background:#101116; color:#9a9ba5; padding:13px 0; font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:13px; letter-spacing:.5px; cursor:pointer; }
.tab-btn.active{ background:var(--red); color:#fff; }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

.mini-post-list{ display:flex; flex-direction:column; gap:14px; }
.mini-post{ display:flex; gap:12px; }
.mini-post-thumb{ flex-shrink:0; width:70px; height:70px; border-radius:4px; overflow:hidden; }
.mini-post-thumb img{ width:100%; height:100%; object-fit:cover; }
.mini-post-body{ display:flex; flex-direction:column; justify-content:center; gap:4px; min-width:0; }
.mini-post-date{ font-size:11px; color:#9a9ba5; display:inline-flex; align-items:center; gap:5px; }
.mini-post-date i{ color:var(--red); }
.mini-post-title{ font-family:'Oswald',sans-serif; font-weight:500; font-size:13px; color:#181920; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mini-post:hover .mini-post-title{ color:var(--red); }

.follow-list{ display:flex; flex-direction:column; gap:10px; }
.follow-list a{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:4px; color:#fff; font-family:'Oswald',sans-serif; font-size:14px; font-weight:500; }
.follow-list a span{ margin-left:auto; background:rgba(255,255,255,.25); padding:2px 10px; border-radius:10px; font-size:12px; }
.follow-fb a{ background:#3b5998; }
.follow-tw a{ background:#111; }
.follow-in a{ background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.follow-yt a{ background:#ff0000; }

.most-viewed-feature{ display:block; position:relative; border-radius:4px; overflow:hidden; margin-bottom:14px; }
.most-viewed-feature img{ width:100%; height:170px; object-fit:cover; }
.most-viewed-feature .post-badge{ position:absolute; top:10px; left:10px; }
.most-viewed-title{ display:block; font-family:'Oswald',sans-serif; font-weight:500; color:#181920; margin-top:8px; }
.most-viewed-feature:hover .most-viewed-title{ color:var(--red); }

.simple-post-list li{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px dashed #e5e5ea; }
.simple-post-list li:last-child{ border-bottom:0; }
.simple-post-list a{ font-family:'Oswald',sans-serif; font-size:13.5px; font-weight:500; color:#181920; }
.simple-post-list a:hover{ color:var(--red); }
.simple-post-date{ font-size:11px; color:#9a9ba5; white-space:nowrap; }

.widget-ad-banner{ padding:0; overflow:hidden; }
.ad-banner{ position:relative; display:block; }
.ad-banner img{ width:100%; height:auto; display:block; }
.ad-banner-caption{ position:absolute; left:0; right:0; bottom:0; background:linear-gradient(0deg, rgba(0,0,0,.85), transparent); color:#fff; padding:16px; font-family:'Oswald',sans-serif; text-transform:uppercase; font-weight:700; text-align:center; letter-spacing:1px; }

.widget-newsletter{ background:var(--red); color:#fff; text-align:center; }
.widget-newsletter .widget-title-plain{ color:#fff; }
.widget-newsletter p{ color:rgba(255,255,255,.85); font-size:13px; margin-bottom:14px; }
.newsletter-icon{ width:46px; height:46px; margin:0 auto 12px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; font-size:18px; }
.newsletter-form input{ width:100%; padding:11px 14px; border:0; border-radius:2px; margin-bottom:10px; font-size:13px; }
.newsletter-form button{ width:100%; padding:11px 14px; border:0; border-radius:2px; background:#101116; color:#fff; text-transform:uppercase; font-family:'Oswald',sans-serif; font-weight:600; letter-spacing:.5px; cursor:pointer; }
.newsletter-form button:hover{ background:#000; }

/* ---------- Footer ---------- */
.site-footer{ background:#101116; color:#9a9ba5; margin-top:20px; }
.footer-main{ padding:50px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:30px; }
.footer-col .widget-title{ color:#fff; font-size:16px; text-transform:uppercase; margin-bottom:18px; background:none; padding:0; }
.footer-logo{ margin-bottom:14px; }
.footer-logo .logo-main{ color:#fff; }
.footer-about p{ font-size:13px; line-height:1.8; color:#7d7f89; margin-bottom:18px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:34px; height:34px; border-radius:50%; background:#1e2026; display:flex; align-items:center; justify-content:center; color:#9a9ba5; }
.footer-social a:hover{ background:var(--red); color:#fff; }
.footer-cat-list li{ padding:8px 0; border-bottom:1px solid #1e2026; font-size:13.5px; }
.footer-cat-list a{ color:#9a9ba5; }
.footer-cat-list a i{ color:var(--red); font-size:10px; margin-right:8px; }
.footer-cat-list a:hover{ color:#fff; }
.footer-recent .mini-post{ margin-bottom:16px; }
.footer-recent .mini-post-thumb{ width:56px; height:56px; }
.footer-recent .mini-post-title{ color:#d6d7de; font-size:12.5px; }
.footer-recent .mini-post-date{ color:#6d6f79; }
.footer-recent .mini-post:hover .mini-post-title{ color:var(--red); }
.footer-contact li{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; margin-bottom:12px; color:#9a9ba5; }
.footer-contact i{ color:var(--red); margin-top:3px; }
.footer-subscribe{ display:flex; margin-top:6px; }
.footer-subscribe input{ flex:1; padding:11px 14px; border:0; border-radius:2px 0 0 2px; font-size:13px; }
.footer-subscribe button{ background:var(--red); border:0; color:#fff; padding:0 18px; border-radius:0 2px 2px 0; cursor:pointer; }
.footer-subscribe button:hover{ background:var(--red-dark); }

.footer-bottom{ border-top:1px solid #1e2026; padding:18px 0; }
.footer-bottom-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; }
.footer-menu{ display:flex; gap:18px; }
.footer-menu a{ color:#9a9ba5; }
.footer-menu a:hover{ color:#fff; }

/* ---------- Single post ---------- */
.breadcrumb{ display:flex; align-items:center; gap:10px; font-size:13px; color:#9a9ba5; margin-bottom:18px; flex-wrap:wrap; }
.breadcrumb i{ font-size:10px; }
.breadcrumb a{ color:#9a9ba5; }
.breadcrumb a:hover{ color:var(--red); }
.single-article{ background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); margin-bottom:30px; }
.single-featured-media{ position:relative; }
.single-featured-media img{ width:100%; max-height:460px; object-fit:cover; }
.single-featured-media .post-badge{ position:absolute; top:16px; left:16px; }
.single-header{ padding:24px 28px 0; }
.single-header h1{ font-size:28px; margin-bottom:14px; }
.single-meta-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding-bottom:18px; border-bottom:1px solid #eee; }
.single-share{ display:flex; align-items:center; gap:10px; font-size:13px; color:#9a9ba5; }
.single-share a{ width:32px; height:32px; border-radius:50%; background:#f4f4f6; display:flex; align-items:center; justify-content:center; color:#4a4b52; font-size:13px; }
.single-share a:hover{ background:var(--red); color:#fff; }

.single-content{ padding:24px 28px 8px; font-size:15px; color:#54555f; }
.single-content p{ margin-bottom:18px; }
/* Links typed inside the post body (the_content) — the theme's global reset
   sets a{color:inherit;text-decoration:none} everywhere, which makes a link
   inside normal post text invisible. Restore an obvious, on-brand link style
   here only (post-card links elsewhere already look like links via layout/hover). */
.single-content a{ color:var(--red); text-decoration:underline; text-decoration-color:rgba(255,20,20,.4); text-underline-offset:3px; font-weight:500; word-break:break-word; }
.single-content a:hover,
.single-content a:focus{ color:var(--red-dark); text-decoration-color:var(--red-dark); }
.single-content a:visited{ color:#b32323; }
/* ...but not on a link that's just wrapping an image (a gallery/lightbox link) */
.single-content a:has(img){ text-decoration:none; }
.single-content a:has(img):hover{ opacity:.9; }
.single-content h2,.single-content h3,.single-content h4{ margin-top:26px; }
.single-content blockquote{ position:relative; background:#f6f6f8; border-left:4px solid var(--red); padding:22px 24px 22px 56px; margin:24px 0; font-style:italic; font-size:16px; color:#33343c; }
.single-content blockquote::before{ content:'\f10d'; font-family:'Font Awesome 6 Free'; font-weight:900; position:absolute; left:20px; top:20px; color:var(--red); font-size:20px; }
.single-content ul,.single-content ol{ margin:0 0 18px 22px; }
.single-content li{ margin-bottom:8px; list-style:decimal; }
.single-content ul li{ list-style:disc; }
.single-content img{ border-radius:4px; margin:8px 0; }
.single-content .wp-block-gallery,.single-content .gallery{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:20px 0; }
.single-content figure{ margin:0; }

.single-taxonomy{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:18px 28px; border-top:1px solid #eee; }
.single-tags{ display:flex; gap:8px; flex-wrap:wrap; }
.tag-pill{ background:#f4f4f6; color:#54555f; font-size:12px; padding:6px 14px; border-radius:20px; text-transform:uppercase; }
.tag-pill:hover{ background:var(--red); color:#fff; }

.author-box{ display:flex; gap:18px; padding:24px 28px; border-top:1px solid #eee; align-items:flex-start; }
.author-avatar img{ border-radius:50%; width:80px; height:80px; object-fit:cover; }
.author-info h5{ margin-bottom:8px; font-size:16px; }
.author-info p{ font-size:13.5px; color:#7c7d87; margin-bottom:12px; }
.author-social{ display:flex; gap:8px; }
.author-social a{ width:30px; height:30px; border-radius:50%; background:#f4f4f6; display:flex; align-items:center; justify-content:center; color:#4a4b52; font-size:12px; }
.author-social a:hover{ background:var(--red); color:#fff; }

/* ---------- Comments ---------- */
.comments-area{ background:#fff; border-radius:4px; padding:26px 28px; box-shadow:0 2px 10px rgba(0,0,0,.05); margin-bottom:30px; }
.comments-title,.comment-reply-title{ font-size:20px; margin-bottom:18px; }
.comment-list{ margin:0 0 20px; }
.comment-body{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid #eee; }
.comment-avatar img{ border-radius:50%; }
.comment-author{ margin-bottom:2px; font-size:14px; }
.comment-meta{ font-size:12px; color:#9a9ba5; margin-bottom:8px; }
.comment-text p{ font-size:13.5px; color:#54555f; }
.comment-text a{ color:var(--red); text-decoration:underline; word-break:break-word; }
.comment-text a:hover{ color:var(--red-dark); }
.comment-notes{ font-size:13px; color:#9a9ba5; margin-bottom:16px; }
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{
	width:100%; padding:13px 16px; border:1px solid #e5e5ea; border-radius:3px; font-family:inherit; font-size:14px; margin-bottom:16px; background:#f9f9fb;
}
.comment-form textarea{ min-height:130px; resize:vertical; }
.comment-form-author,.comment-form-email{ display:inline-block; width:calc(50% - 8px); }
.comment-form-author{ margin-right:16px; }
@media (max-width:600px){ .comment-form-author,.comment-form-email{ width:100%; margin-right:0; } }
.btn-submit{ background:var(--red); color:#fff; border:0; padding:13px 32px; border-radius:3px; text-transform:uppercase; font-family:'Oswald',sans-serif; font-weight:600; letter-spacing:.5px; cursor:pointer; }
.btn-submit:hover{ background:var(--red-dark); }

/* ---------- Archive / search / 404 ---------- */
.pagination-row{ margin-top:24px; }
.pagination-row .page-numbers{ display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 10px; margin-right:6px; background:#fff; border-radius:3px; box-shadow:0 2px 8px rgba(0,0,0,.05); color:#4a4b52; }
.pagination-row .page-numbers.current,.pagination-row .page-numbers:hover{ background:var(--red); color:#fff; }
.error-404{ text-align:center; padding:60px 20px; }
.error-404 .btn-outline{ display:inline-flex; margin-top:10px; }

/* ---------- Responsive ---------- */
@media (max-width:1024px){
	.content-layout{ grid-template-columns:1fr; }
	.featured-grid{ grid-template-columns:1fr; }
	.mini-grid-row{ grid-template-columns:repeat(2,1fr); }
	.two-col-section{ grid-template-columns:1fr; }
	.grid-3col,.grid-2col{ grid-template-columns:repeat(2,1fr); }
	.video-slider{ grid-template-columns:repeat(2,1fr); }
	.closer-section{ grid-template-columns:1fr; }
	.footer-grid{ grid-template-columns:1fr 1fr; }
	.latest-item{ grid-template-columns:1fr; }
	.category-grid{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:782px){
	.main-navigation{ position:absolute; top:100%; left:0; right:0; background:#fff; box-shadow:0 10px 20px rgba(0,0,0,.1); display:none; }
	.main-navigation.is-open{ display:block; }
	.primary-menu{ flex-direction:column; }
	.primary-menu ul{ position:static; box-shadow:none; border-top:0; padding-left:14px; }
	.menu-toggle{ display:inline-flex; }
	.topbar-left{ display:none; }
	.hero-slide-inner h1{ font-size:26px; }
	.mini-grid-row,.grid-3col,.grid-2col,.video-slider{ grid-template-columns:1fr; }
	.footer-grid{ grid-template-columns:1fr; }
	.category-grid{ grid-template-columns:repeat(2,1fr); }
	.single-meta-row{ flex-direction:column; align-items:flex-start; }
}
