/*
Theme Name: Digi News
Theme URI: https://himalayandigitech.com/
Author: Himalayan Digitech
Author URI: https://himalayandigitech.com/
Description: Digi News is a modern, ultra-fast, and fully responsive WordPress theme designed specifically for news portals, digital magazines, editorial publications, and entertainment blogs. Built with clean code and native Mukta typography support for Nepali and multi-language sites, Digi News features a dynamic hero slider, category icon bar, automated newsletter batching, real-time live search, anti-spam CAPTCHA security, customizable sidebars, and full theme options panel. Optimized for SEO, security, and exceptional performance across all devices.
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: digi-news
Tags: news, blog, entertainment, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, footer-widgets, grid-layout, full-width-template, theme-options, threaded-comments, translation-ready, rtl-language-support
*/

/* ================= GLOBAL RESET & TYPOGRAPHY ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mukta", sans-serif;
}

body {
  background-color: #ba0000;
  /*background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
  background-size: 20px 20px;*/
  overflow-x: clip;
  /*padding: 20px 0;*/
  color: #222222;
  border: solid #ba0000 4px;
}

/* Smooth Transitions */
a,
button,
input,
img,
.cat-icon-circle,
.num-circle,
.slider-arrow,
.dot,
.news-card,
.sub-cat-card,
.archive-news-card,
.share-btn-icon,
.sidebar-widget-card,
.opinion-item {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================= GLOBAL RESPONSIVE SAFETY NET (ALL SCREEN SIZES) =================
   Ensures every image/media element scales down on any device, even inside
   content areas or widgets that don't have their own explicit sizing rules.
   More specific rules elsewhere (fixed heights, object-fit, etc.) still win. */
img,
svg,
video,
iframe,
embed,
object,
canvas {
  max-width: 100%;
  height: auto;
}

/* Prevent any single element from causing horizontal overflow/scroll on small screens */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

/* ================= MAIN CONTAINER (100% Full Width) ================= */
.page-boxed-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  position: relative;
}

/* ================= 1. HEADER ================= */
.header-wrapper {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 2px solid #ba0000;
}

.top-bar {
  display: flex;
  width: 100%;
  height: 48px;
  background-color: #ffffff;
  position: relative;
}

.top-left-side {
  width: 50%;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.top-left-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.top-left-date .cal-icon {
  background-color: #ba0000;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.top-right-side {
  width: 50%;
  background-color: #ba0000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  position: relative;
}

.top-bar-curve {
  position: absolute;
  left: -60px;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
}

.social-icons a {
  color: #ba0000;
  background-color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
}

.social-icons a:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translateY(-2px) scale(1.1);
}

.v-divider {
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.4);
  margin-right: 12px;
}

/* LANG SWITCHER TOGGLE */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 12px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.2s ease;
  padding: 0 3px;
  font-family: inherit;
}

.lang-btn.active,
.lang-btn:hover {
  opacity: 1;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.lang-divider {
  color: #ffffff;
  opacity: 0.4;
  font-size: 11px;
}

/* ================= GOOGLE TRANSLATE COMPLETE UI & HEADER SUPPRESSION ================= */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
#google_translate_element,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
.goog-te-spinner,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-gadget,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-ftab-frame,
.goog-te-menu,
div[id*="goog-gt-"],
.goog-te-banner,
.goog-te-banner-frame.skiptranslate,
iframe[id*=":"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  max-height: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  z-index: -99999 !important;
}

body {
  top: 0px !important;
  margin-top: 0px !important;
  position: static !important;
}

html {
  top: 0px !important;
  margin-top: 0px !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 2px 3px 2px 12px;
  width: 220px;
  height: 34px;
  position: relative;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: #333;
}

.search-box button {
  background-color: #ba0000;
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  flex-shrink: 0;
}

.search-box button:hover {
  background-color: #111111;
}

/* LIVE SEARCH DROPDOWN STYLING */
.live-search-results {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin-top: 8px;
  overflow: hidden;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #222222;
  transition: background-color 0.2s ease;
}

.live-search-item:last-child {
  border-bottom: none;
}

.live-search-item:hover {
  background-color: #f9f9f9;
}

.live-search-thumb {
  width: 48px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.live-search-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.live-search-title {
  font-size: 13px;
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-item:hover .live-search-title {
  color: #ba0000;
}

.live-search-meta {
  font-size: 11px;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-search-cat {
  background-color: #ba0000;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.live-search-loading,
.live-search-no-results {
  padding: 14px;
  font-size: 13px;
  color: #777777;
  text-align: center;
  font-weight: 700;
}

.branding-container {
  width: 100%;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.logo-top-sub {
  align-self: flex-end;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: -14px;
  margin-right: 14px;
}

.logo-main-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.logo-yo-r {
  font-size: clamp(24px, 4.2vw, 58px);
  font-weight: 800;
  color: #000000;
  margin-right: 6px;
}

.logo-maya-container {
  position: relative;
  display: inline-block;
}

.logo-maya {
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 800;
  color: #ba0000;
  letter-spacing: -3px;
  line-height: 0.88;
}

.vowel-heart-dot {
  position: absolute;
  top: 18px;
  left: 102px;
  color: #ba0000;
  font-size: 22px;
}

.logo-bottom-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #880000;
  margin-top: -2px;
}

.logo-bottom-sub .heart-outline {
  color: #ba0000;
  font-size: 20px;
  margin-left: 2px;
}

/* UPLOADED LOGO & PROMO BANNER CUSTOM SIZE ADJUSTMENTS */
.header-uploaded-logo {
  max-height: 205px;
  max-width: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.uploaded-banner-link {
  flex: 1;
  max-width: 65%;
  /*height: 205px;*/
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.uploaded-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.header-uploaded-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.promo-banner {
  flex: 1;
  max-width: 860px;
  height: 138px;
  background: linear-gradient(90deg, #990000 0%, #cc0000 50%, #a80000 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
}

.banner-text-side {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 2;
}

.banner-heading {
  font-size: clamp(14px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-btn-white {
  background-color: #ffffff;
  color: #000000;
  padding: 4px 22px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.banner-btn-white:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translateY(-2px);
}

.banner-art-side {
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
}

.popcorn-bucket {
  width: 58px;
  height: 72px;
  background: repeating-linear-gradient(
    90deg,
    #ffffff,
    #ffffff 8px,
    #cc0000 8px,
    #cc0000 16px
  );
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
  position: relative;
}

.popcorn-top {
  position: absolute;
  top: -14px;
  left: -4px;
  width: 66px;
  height: 20px;
  background-color: #fce2a6;
  border-radius: 50%;
}

.film-reel {
  width: 68px;
  height: 68px;
  border: 6px solid #e6e6e6;
  border-radius: 50%;
  background:
    radial-gradient(circle, #333 25%, transparent 26%),
    linear-gradient(
      0deg,
      transparent 40%,
      #e6e6e6 40%,
      #e6e6e6 60%,
      transparent 60%
    ),
    linear-gradient(
      90deg,
      transparent 40%,
      #e6e6e6 40%,
      #e6e6e6 60%,
      transparent 60%
    );
}

.nav-bar {
  background-color: #ba0000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 10px;
  position: sticky;
  top: 0;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.nav-left-group {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}

.nav-home-btn {
  background-color: #e60000;
  color: #ffffff;
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-home-btn:hover {
  background-color: #111111;
}

.nav-items {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-items li {
  position: relative;
}

.nav-items li a {
  color: #ffffff;
  text-decoration: none;
  padding: 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 54px;
  display: block;
}

.nav-items li a:hover,
.nav-items li.current-menu-item > a,
.nav-items li.current_page_item > a,
.nav-items li.current-post-ancestor > a {
  background-color: rgba(0, 0, 0, 0.25);
}

/* WP DASHBOARD DROPDOWN SUBMENU SUPPORT */
.nav-items li .sub-menu,
.nav-items li .children {
  position: absolute;
  top: 44px;
  left: 0;
  background-color: #ba0000;
  min-width: 190px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.nav-items li:hover > .sub-menu,
.nav-items li:hover > .children {
  display: flex;
}

.nav-items li .sub-menu li a,
.nav-items li .children li a {
  padding: 10px 16px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.nav-items li .sub-menu li a:hover,
.nav-items li .children li a:hover {
  background-color: rgba(0, 0, 0, 0.35);
}

.nav-hamburger {
  color: #ffffff;
  font-size: 22px;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-left-group::-webkit-scrollbar {
  display: none;
}
.nav-left-group {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ================= 2. MAIN CONTAINER & HOMEPAGE ================= */
.main-container,
.boxed-page-body {
  width: 100%;
  padding: 24px 25px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  width: 100%;
}

.main-slider-card {
  position: relative;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a0000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.main-slider-card:hover .slider-img {
  transform: scale(1.04);
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.88) 85%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px 75px;
  color: #ffffff;
  transition:
    opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* SMOOTH SLIDER SWITCH ANIMATION */
.slider-card-sliding .slider-img {
  opacity: 0.2;
  transform: scale(1.06);
}

.slider-card-sliding .slider-overlay {
  opacity: 0;
  transform: translateY(16px);
}

.slider-title {
  font-size: clamp(19px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  margin-top: 8px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  text-decoration: none;
}

.slider-title:hover {
  color: #ffcccc;
}

.slider-description {
  font-size: 16px;
  color: #e5e5e5;
  line-height: 1.45;
  margin-bottom: 20px;
  max-width: 95%;
}

.slider-btn-more {
  background-color: #ba0000;
  color: #ffffff;
  padding: 6px 22px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-btn-more:hover {
  background-color: #ffffff;
  color: #ba0000;
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
}

.slider-arrow:hover {
  background-color: #ba0000;
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: 20px;
}
.arrow-right {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  right: 75px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.dot:hover,
.dot.active {
  width: 26px;
  border-radius: 10px;
  background-color: #ba0000;
}

.side-news-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.news-card,
.side-news-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #ededed;
  min-height: 162px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.news-card:hover,
.side-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #ba0000;
}

.news-card:hover .card-thumb,
.side-news-card:hover .side-news-img {
  transform: scale(1.06);
}

.news-card:hover .card-title,
.side-news-card:hover .side-news-title {
  color: #ba0000;
}

.card-thumb,
.side-news-img {
  width: 180px;
  height: 138px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-content,
.side-news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
}

.card-title,
.side-news-title {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: #111111;
  line-height: 1.25;
  text-decoration: none;
  margin-top: 2px;
}

.card-time,
.side-news-time {
  font-size: 13px;
  color: #777777;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

/* Category Icon Bar Slider Container */
.category-icon-slider-container {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
}

.category-bar-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 4px 6px;
}

.category-bar-track::-webkit-scrollbar {
  display: none;
}

/* Category Slider Arrow Navigation Buttons */
.cat-icon-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #ba0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}

.cat-icon-nav-btn:hover {
  background-color: #ba0000;
  color: #ffffff;
  border-color: #ba0000;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 18px rgba(186, 0, 0, 0.35);
}

.cat-icon-prev {
  left: -14px;
}

.cat-icon-next {
  right: -14px;
}

.cat-icon-nav-btn.disabled,
.cat-icon-nav-btn[disabled] {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.cat-item {
  flex: 0 0 auto;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  transition: transform 0.25s ease;
}

.cat-item:hover .cat-icon-circle {
  background-color: #ba0000;
  color: #ffffff;
  border-color: #ba0000;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(186, 0, 0, 0.3);
}

.cat-item:hover .cat-label {
  color: #ba0000;
}

.cat-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ba0000;
  font-size: 22px;
  background-color: #ffffff;
}

.cat-custom-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cat-label {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  text-align: center;
  line-height: 1.2;
}

/* ================= 3. NEWS SECTIONS & SIDEBAR ================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
}

.section-title {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: #ba0000;
}

.see-all-link {
  color: #ba0000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.see-all-link:hover {
  color: #111111;
  transform: translateX(3px);
}

.news-category-badge {
  background-color: #ba0000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px; /* rounded-md */
  align-self: flex-start;
  text-decoration: none;
  display: inline-block;
}

.news-category-badge a {
  color: #ffffff;
  text-decoration: none;
}

.widget-red-header {
  position: relative;
  background-color: #ba0000;
  color: #ffffff;
  padding: 6px 16px 6px 15px;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  margin-right: 30px;
}

.sidebar-s-curve {
  position: absolute;
  right: -45px;
  top: 0;
  width: 45px;
  height: 100%;
  pointer-events: none;
}

.news-grid-row,
.page-grid-layout,
.article-grid-layout,
.author-page-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.main-news-area {
  display: flex;
  flex-direction: column;
}

.news-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.big-news-card {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #111111;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.big-news-card:hover img {
  transform: scale(1.05);
}

.big-news-card:hover .big-news-title {
  color: #ffcccc;
}

.big-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big-news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.big-news-title {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 8px;
  margin-bottom: 8px;
}

.big-news-time {
  font-size: 12px;
  color: #d0d0d0;
}

.middle-news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.mid-news-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  height: 115px;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

.mid-news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  border-color: #ba0000;
}

.mid-news-item:hover .mid-news-thumb {
  transform: scale(1.08);
}

.mid-news-item:hover .mid-news-title {
  color: #ba0000;
}

.mid-news-thumb {
  width: 110px;
  height: 98px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.mid-news-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.mid-news-title {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  line-height: 1.3;
  text-decoration: none;
}

.mid-news-time {
  font-size: 11px;
  color: #888888;
}

/* SIDEBAR CONTAINER & WIDGET CARDS (MATCHING EXACT ARTICLE DESIGN) */
.sidebar-stack,
.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 60px;
  align-self: flex-start;
  z-index: 100;
}

.sidebar-widget-card,
.trending-widget,
.hotshot-widget,
.newsletter-widget {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.trending-list {
  list-style: none;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.trending-item:hover .num-circle {
  background-color: #111111;
  transform: scale(1.15);
}

.trending-item:hover .trending-text {
  color: #ba0000;
  transform: translateX(4px);
}

.num-circle {
  width: 24px;
  height: 24px;
  background-color: #ba0000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.trending-text {
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  line-height: 1.3;
}

.widget-footer,
.trending-btn-wrapper {
  text-align: center;
  padding: 12px;
  margin-top: auto;
}

.widget-action-btn,
.trending-btn {
  display: inline-block;
  border: 1px solid #ba0000;
  color: #ba0000;
  padding: 4px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.widget-action-btn:hover,
.trending-btn:hover {
  background-color: #ba0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(186, 0, 0, 0.25);
}

/* REAL-TIME LATEST FEED WIDGET */
.latest-feed-list {
  list-style: none;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.feed-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e5e5e5;
  text-decoration: none;
}

.feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-time {
  font-size: 11px;
  color: #ba0000;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-time-dot {
  width: 6px;
  height: 6px;
  background-color: #ba0000;
  border-radius: 50%;
  display: inline-block;
}

.feed-title {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
}

.feed-item:hover .feed-title {
  color: #ba0000;
}

/* POPULAR STORIES WIDGET */
.popular-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popular-card-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.popular-thumb {
  width: 85px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.popular-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.popular-title {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  line-height: 1.25;
  text-decoration: none;
}

.popular-card-item:hover .popular-title {
  color: #ba0000;
}

.popular-meta {
  font-size: 11px;
  color: #888888;
}

/* OPINIONS & COLUMNISTS WIDGET */
.opinion-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.opinion-item {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  background: #fafafa;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.opinion-item:hover {
  border-color: #ba0000;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.opinion-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ba0000;
  flex-shrink: 0;
}

.opinion-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.opinion-author-name {
  font-size: 12px;
  font-weight: 800;
  color: #ba0000;
}

.opinion-article-title {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
}

/* HOT SHOT / PHOTO GALLERY BLOWUP WIDGET */
.hotshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
}

.hotshot-img-box {
  position: relative;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.hotshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hotshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hotshot-img-box:hover .hotshot-img {
  transform: scale(1.1);
}

.hotshot-img-box:hover .hotshot-overlay {
  opacity: 1;
}

/* SIDEBAR AD CARD */
.sidebar-ad-card {
  background-color: #f8f8f8;
  border: 1px dashed #cccccc;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  color: #888888;
  font-size: 13px;
  font-weight: 700;
}

/* ================= CATEGORY SLIDER SECTION ================= */
.cat-slider-section {
  width: 100%;
}

.cat-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.cat-slider-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-slider-heading {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  padding-left: 12px;
  border-left: 4px solid #ba0000;
  line-height: 1;
}

.cat-slider-page-indicator {
  font-size: 13px;
  font-weight: 600;
  color: #888888;
  background: #f4f4f4;
  padding: 3px 10px;
  border-radius: 12px;
}

.cat-slider-arrows {
  display: flex;
  gap: 8px;
}

.cat-slider-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ba0000;
  background: #ffffff;
  color: #ba0000;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(186, 0, 0, 0.1);
}

.cat-slider-arrow:hover:not(:disabled) {
  background: #ba0000;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(186, 0, 0, 0.28);
}

.cat-slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* Grid slide-transition animation */
#catSliderGrid.cat-grid-sliding {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#catSliderGrid.cat-grid-sliding-in {
  opacity: 0;
  transform: translateX(-30px);
}

#catSliderGrid {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.32s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.sub-cat-column {
  display: flex;
  flex-direction: column;
}

.sub-cat-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.sub-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #ba0000;
}

.sub-cat-card:hover .sub-cat-img {
  transform: scale(1.06);
}

.sub-cat-card:hover .sub-cat-title {
  color: #ba0000;
}

.sub-cat-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}

.sub-cat-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-cat-title {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  line-height: 1.3;
}

.sub-cat-time {
  font-size: 12px;
  color: #888888;
}

.hotshot-widget {
  padding: 0 12px 12px 12px;
}

.hotshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: -12px;
  margin-right: -12px;
  padding-right: 12px;
}

.hotshot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 8px;
  height: 180px;
}

.hotshot-img-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

.hotshot-img-box:hover img {
  transform: scale(1.1);
}

.hotshot-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-count-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: #ba0000;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.newsletter-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-text {
  font-size: 15px;
  color: #444444;
  font-weight: 600;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  outline: none;
}

.newsletter-input:focus {
  border-color: #ba0000;
  box-shadow: 0 0 0 2px rgba(186, 0, 0, 0.15);
}

.newsletter-btn {
  background-color: #ba0000;
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.newsletter-btn:hover {
  background-color: #111111;
  transform: translateY(-2px);
}

/* PRE-FOOTER CONTENT WRAPPER — matches main-container padding for consistent content width */
.pre-footer-content {
  width: 100%;
  padding: 24px 25px;
  background-color: #ffffff;
}

.lifestyle-banner {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #111111;
  cursor: pointer;
}

.lifestyle-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.lifestyle-banner:hover .lifestyle-bg-img {
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.1);
}

.lifestyle-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.08);
  transition:
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.6s ease;
}

.lifestyle-overlay-content {
  position: relative;
  z-index: 2;
  width: 35%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(160, 0, 0, 0.96) 0%,
    rgba(186, 0, 0, 0.9) 60%,
    rgba(186, 0, 0, 0) 100%
  );
  padding: 35px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
}

.lifestyle-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.lifestyle-sub {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 18px;
  opacity: 0.95;
}

.lifestyle-btn {
  background-color: #ffffff;
  color: #ba0000;
  padding: 5px 22px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lifestyle-btn:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translateY(-2px);
}

/* NO POSTS MESSAGE BOX */
.no-posts-msg {
  padding: 16px;
  font-size: 14px;
  color: #777777;
  font-weight: 700;
  text-align: center;
}

/* ================= 4. SINGLE ARTICLE STYLES ================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #666666;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #ba0000;
  text-decoration: none;
}

.breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.article-content-wrapper {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.article-headline {
  font-size: clamp(21px, 2.8vw, 34px);
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  padding: 12px 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.author-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #222222;
}

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

.author-name-text {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
}

.pub-date-text {
  font-size: 13px;
  color: #777777;
  margin-top: 2px;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.share-fb {
  background-color: #1877f2;
}
.share-tw {
  background-color: #000000;
}
.share-wa {
  background-color: #25d366;
}
.share-li {
  background-color: #0a66c2;
}
.share-messenger {
  background-color: #0084ff;
}
.share-email {
  background-color: #ea4335;
}
.share-copy {
  background-color: #444444;
  border: none;
  cursor: pointer;
}
.share-copy.copied {
  background-color: #2e7d32 !important;
}

/* X (TWITTER) LOGO ICON ENHANCEMENT */
.fa-x-twitter::before {
  content: "\e61b";
}

.share-btn-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.article-media-container {
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
}

.article-media-container img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-body-text {
  font-size: 18px;
  line-height: 1.8;
  color: #2c2c2c;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article-body-text p {
  margin-bottom: 15px;
}

.article-body-text h2,
.article-body-text h3 {
  color: #111111;
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 10px;
}

.article-body-text blockquote {
  border-left: 4px solid #ba0000;
  padding: 15px 20px;
  background-color: #fafafa;
  font-style: italic;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
}

.tag-label-text {
  font-weight: 800;
  font-size: 14px;
  color: #555;
  margin-right: 4px;
}

.article-tag-chip {
  background-color: #f1f1f1;
  color: #333;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.article-tag-chip:hover {
  background-color: #ba0000;
  color: #ffffff;
}

.author-bio-box {
  background-color: #fafafa;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
  border: 1px solid #eaeaea;
}

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

.author-bio-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-bio-name {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
}

.author-bio-role {
  font-size: 13px;
  color: #ba0000;
  font-weight: 700;
}

.author-bio-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
}

/* ================= 5. ARCHIVE & AUTHOR PROFILE STYLES ================= */
.archive-hero-card,
.contact-hero-card {
  background: linear-gradient(135deg, #ba0000 0%, #880000 100%);
  border-radius: 12px;
  padding: 30px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(186, 0, 0, 0.2);
  margin-bottom: 20px;
}

.archive-hero-title,
.contact-hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.archive-hero-sub,
.contact-hero-sub {
  font-size: 15px;
  opacity: 0.9;
  margin-top: 4px;
}

.sub-filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.sub-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background-color: #f5f5f5;
  color: #333333;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  white-space: nowrap;
}

.filter-chip.active,
.filter-chip:hover {
  background-color: #ba0000;
  color: #ffffff;
  border-color: #ba0000;
  box-shadow: 0 2px 6px rgba(186, 0, 0, 0.2);
}

.archive-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.archive-news-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  text-decoration: none;
}

.archive-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #ba0000;
}

.archive-news-card:hover .archive-thumb-img {
  transform: scale(1.06);
}

.archive-thumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.archive-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  line-height: 1.3;
}

.archive-news-card:hover .archive-card-title {
  color: #ba0000;
}

.archive-card-excerpt {
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
}

.archive-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #888888;
  margin-top: 6px;
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
}

.author-profile-hero {
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
  border-radius: 12px;
  padding: 28px;
  color: #ffffff;
  display: flex;
  gap: 24px;
  align-items: center;
  position: relative;
  border-left: 5px solid #ba0000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.author-hero-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ba0000;
  flex-shrink: 0;
}

.author-hero-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.author-hero-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.author-hero-role {
  font-size: 14px;
  font-weight: 700;
  color: #ff4d4d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.press-badge {
  background-color: rgba(255, 255, 255, 0.15);
  color: #eeeeee;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.author-hero-bio {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.5;
  margin-top: 4px;
}

.author-stats-bar {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: #dddddd;
}

.author-stats-bar span {
  font-weight: 800;
  color: #ffffff;
}

/* Pagination */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  background-color: #f1f1f1;
  color: #333;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e0e0e0;
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current,
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  background-color: #ba0000;
  color: #ffffff;
  border-color: #ba0000;
}

/* ================= 6. CONTACT PAGE & COMMENTS STYLES ================= */
.editorial-info-card {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #ba0000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-text-group label {
  font-size: 12px;
  color: #777777;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

.info-text-group div {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  margin-top: 2px;
}

.info-text-group a {
  color: #ba0000;
  text-decoration: none;
}

.contact-form-wrapper {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ba0000;
  box-shadow: 0 0 0 3px rgba(186, 0, 0, 0.15);
}

.submit-btn {
  background-color: #ba0000;
  color: #ffffff;
  border: none;
  padding: 10px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #111111;
  transform: translateY(-2px);
}

/* Dynamic Comments */
.comments-area {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #eeeeee;
}

.comments-title {
  font-size: 22px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-body {
  background-color: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 16px 20px;
}

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

.comment-meta img {
  border-radius: 50%;
}

.comment-author {
  font-weight: 800;
  font-size: 15px;
  color: #111111;
}

.comment-metadata {
  font-size: 12px;
  color: #888888;
}

.comment-content {
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
}

.comment-reply-link {
  display: inline-block;
  color: #ba0000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}

.comment-respond {
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.comment-reply-title {
  font-size: 20px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 14px;
}

/* ================= 7. FOOTER ================= */
.exact-footer {
  background-color: #ba0000;
  color: #ffffff;
  width: 100%;
  margin-top: 40px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 25px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-mail-notice {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mail-squircle-icon {
  background-color: #ffffff;
  color: #ba0000;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.mail-squircle-icon:hover {
  transform: rotate(8deg) scale(1.1);
}

.notice-text {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.footer-menu-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  flex: 1;
}

.footer-menu-links li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-menu-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.footer-menu-links li a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-menu-links li .divider-pipe {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 400;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-icons a {
  background-color: #ffffff;
  color: #ba0000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}

.footer-social-icons a:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translateY(-2px) scale(1.12);
}

/* RELATED POSTS GRID (Single Post Page) */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ================= 8. RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1024px) {
  .branding-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .promo-banner,
  .uploaded-banner-link {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
  .hero-grid,
  .news-grid-row,
  .page-grid-layout,
  .article-grid-layout,
  .author-page-grid {
    grid-template-columns: 1fr;
  }
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-slider-card {
    height: 420px;
  }
  .four-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-bar {
    grid-template-columns: repeat(6, 1fr);
  }
  .lifestyle-overlay-content {
    width: 65%;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }
  .page-boxed-wrapper {
    border-radius: 0;
    width: 100%;
    overflow-x: clip;
  }
  .main-container,
  .boxed-page-body,
  .pre-footer-content {
    padding: 16px 14px;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .top-bar {
    height: auto;
    flex-direction: column;
  }
  .top-left-side,
  .top-right-side {
    width: 100%;
    padding: 8px 14px;
    justify-content: center;
  }
  .top-bar-curve {
    display: none;
  }
  .search-box {
    width: 100%;
  }

  /* LOGO AND BANNER IN SAME ROW ON MOBILE */
  .branding-container {
    padding: 14px 12px;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
  }
  .logo-wrapper {
    flex-shrink: 0;
    max-width: 45%;
  }
  .logo-top-sub {
    font-size: 10px;
    margin-bottom: -6px;
    margin-right: 4px;
  }
  .logo-yo-r {
    font-size: 26px;
    margin-right: 3px;
  }
  .logo-maya {
    font-size: 46px;
  }
  .vowel-heart-dot {
    top: 6px;
    left: 42px;
    font-size: 10px;
  }
  .logo-bottom-sub {
    font-size: 10px;
    margin-top: -2px;
  }
  .logo-bottom-sub .heart-outline {
    font-size: 12px;
  }
  .header-uploaded-logo {
    max-height: 55px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  .uploaded-banner-link {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    height: 65px;
    border-radius: 8px;
  }
  .header-uploaded-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  .promo-banner {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    height: 65px;
    padding: 8px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 8px;
  }
  .banner-heading {
    font-size: 12px;
    text-align: left;
    line-height: 1.25;
  }
  .banner-text-side {
    align-items: flex-start;
    text-align: left;
    gap: 4px;
  }
  .banner-btn-white {
    padding: 2px 10px;
    font-size: 10px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .banner-art-side {
    display: none;
  }
  .main-slider-card {
    height: 320px;
  }
  .slider-overlay {
    padding: 20px 16px;
  }
  .slider-arrow {
    top: 14px;
    transform: none;
    width: 34px;
    height: 34px;
    font-size: 13px;
    background-color: rgba(0, 0, 0, 0.65);
  }
  .slider-arrow:hover {
    transform: scale(1.1);
  }
  .arrow-left {
    left: auto;
    right: 54px;
  }
  .arrow-right {
    right: 14px;
  }
  .slider-dots {
    bottom: 16px;
    right: 16px;
  }
  .slider-title {
    font-size: 20px;
  }
  .slider-description {
    font-size: 13px;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-split-layout {
    grid-template-columns: 1fr;
  }
  .big-news-card {
    height: 260px;
  }
  .big-news-title {
    font-size: 19px;
  }
  .category-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 14px 10px;
    gap: 8px;
  }
  .cat-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .cat-label {
    font-size: 11px;
  }

  /* PRE-FOOTER LIFESTYLE BANNER MOBILE FIX */
  .lifestyle-banner {
    height: auto;
    min-height: 200px;
    border-radius: 12px;
    flex-direction: column;
    justify-content: center;
  }
  .lifestyle-overlay-content {
    width: 100%;
    height: 100%;
    padding: 24px 20px;
    background: linear-gradient(
      180deg,
      rgba(160, 0, 0, 0.95) 0%,
      rgba(186, 0, 0, 0.9) 100%
    );
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
  }
  .lifestyle-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 6px;
  }
  .lifestyle-sub {
    font-size: 14px;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
    opacity: 0.95;
  }
  .lifestyle-btn {
    align-self: center;
    padding: 7px 26px;
    font-size: 13px;
  }

  .nav-items {
    display: none;
  }
  .nav-items.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    background-color: #ba0000;
    z-index: 100;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .nav-items.mobile-active li a {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* FOOTER CENTER ALIGNMENT ON MOBILE */
  .exact-footer {
    margin-top: 30px;
  }
  .footer-top-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 20px 16px;
  }
  .footer-mail-notice {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    width: 100%;
  }
  .notice-text {
    text-align: center;
    font-size: 15px;
    line-height: 1.4;
  }
  .footer-menu-links {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    width: 100%;
  }
  .footer-menu-links li {
    justify-content: center;
  }
  .footer-menu-links li .divider-pipe {
    display: none;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 16px;
  }
  .copyright-text {
    text-align: center;
    font-size: 13px;
  }
  .footer-social-icons {
    justify-content: center;
    gap: 12px;
  }

  /* SINGLE POST & ARTICLE RESPONSIVE FIXES */
  .article-content-wrapper {
    padding: 18px 14px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .article-headline {
    font-size: 24px;
    line-height: 1.3;
  }
  .article-body-text {
    font-size: 16px;
    line-height: 1.75;
  }
  .article-body-text img,
  .article-body-text iframe,
  .article-body-text video {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .share-buttons-group {
    flex-wrap: wrap;
    width: 100%;
  }
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* COMMENT FORM RESPONSIVE FIXES */
  .comments-area {
    margin-top: 30px;
    padding-top: 20px;
  }
  .comment-form-card {
    padding: 18px 14px;
    border-radius: 10px;
    margin-top: 25px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-input,
  .form-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }
  #digi_captcha_ans {
    max-width: 100% !important;
  }
  .form-submit {
    justify-content: center;
    width: 100%;
  }
  .comment-submit-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
  }
  .archive-cards-grid,
  .editorial-info-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .four-col-grid {
    grid-template-columns: 1fr;
  }
  .category-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .card-thumb {
    width: 100%;
    height: 160px;
  }
  .main-slider-card {
    height: 270px;
  }
  .slider-title {
    font-size: 17px;
  }
  .logo-yo-r {
    font-size: 30px;
  }
  .logo-maya {
    font-size: 54px;
  }
  .vowel-heart-dot {
    top: 8px;
    left: 48px;
    font-size: 12px;
  }
}

/* ================= HORIZONTAL NEWS LIST SECTION ================= */
.horizontal-news-section {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.horizontal-news-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.horizontal-news-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid #eeeeee;
}

.horizontal-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.horizontal-news-thumb-link {
  flex-shrink: 0;
  width: 250px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.horizontal-news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.horizontal-news-thumb-link:hover .horizontal-news-thumb {
  transform: scale(1.05);
}

.horizontal-news-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.horizontal-news-cat {
  color: #ba0000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.horizontal-news-cat:hover {
  color: #111111;
}

.horizontal-news-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.horizontal-news-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.horizontal-news-title a:hover {
  color: #ba0000;
}

.horizontal-news-excerpt {
  font-size: 14px;
  color: #555555;
  line-height: 1.55;
  margin: 4px 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal-news-time {
  font-size: 13px;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Load More Pill Button */
.horizontal-load-more-wrapper {
  text-align: center;
  margin-top: 28px;
}

.horizontal-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #f2efe9;
  color: #333333;
  padding: 12px 34px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.horizontal-load-more-btn:hover {
  background-color: #ba0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(186, 0, 0, 0.25);
}

.horizontal-load-more-btn i {
  transition: transform 0.4s ease;
}

.horizontal-load-more-btn:hover i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .horizontal-news-item {
    flex-direction: column;
    gap: 12px;
  }
  .horizontal-news-thumb-link {
    width: 100%;
    height: 200px;
  }
}

/* ================= 4. PREMIUM COMMENTS & REPLY STYLING ================= */
.comments-area {
  margin-top: 45px;
  padding-top: 30px;
  border-top: 2px solid #eeeeee;
}

.comments-header {
  margin-bottom: 24px;
}

.comments-title {
  font-size: 22px;
  font-weight: 800;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-title i {
  color: #ba0000;
}

.comment-list,
.comment-list ol.children {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* NESTED REPLIES INDENTATION */
.comment-list ol.children {
  margin-top: 16px;
  padding-left: 28px;
  border-left: 3px solid #ba0000;
}

.comment-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.comment-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.comment-main-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-author-name,
.comment-author-name a {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}

.comment-author-name a:hover {
  color: #ba0000;
}

.comment-badge-author {
  background-color: #ba0000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.comment-date {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-moderation-notice {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.comment-text {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

.comment-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.comment-footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ba0000;
  border: 1px solid #ba0000;
  background-color: transparent;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.comment-footer-actions a:hover {
  background-color: #ba0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(186, 0, 0, 0.25);
}

.comment-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  border: 1px solid #fca5a5;
  background-color: #fef2f2;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-delete-btn:hover {
  background-color: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

/* COMMENT REPLY FORM CARD */
.comment-form-card {
  margin-top: 35px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

#reply-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#reply-title i {
  color: #ba0000;
}

#cancel-comment-reply-link {
  font-size: 13px;
  color: #ef4444;
  font-weight: 700;
  text-decoration: none;
  margin-left: 10px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  margin-bottom: 16px;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  background-color: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ba0000;
  box-shadow: 0 0 0 3px rgba(186, 0, 0, 0.12);
}

.form-submit {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.comment-submit-btn {
  background-color: #ba0000;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(186, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.comment-submit-btn:hover {
  background-color: #900000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(186, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .form-row-grid {
    grid-template-columns: 1fr;
  }
  .comment-list ol.children {
    padding-left: 14px;
  }
  .comment-card {
    padding: 14px;
    gap: 10px;
  }
  .comment-avatar-img {
    width: 40px;
    height: 40px;
  }
}

/* ================= 9. EXTRA RESOLUTION COVERAGE ================= */

/* LARGE DESKTOP / ULTRA-WIDE MONITORS
   Keeps the page from stretching edge-to-edge and becoming hard to read
   on big screens (1440px+ laptops, 1600-3440px external/ultra-wide monitors). */
@media (min-width: 1440px) {
  .page-boxed-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  }
  .main-container,
  .boxed-page-body {
    padding: 28px 32px;
  }
  .main-slider-card {
    height: 560px;
  }
}

/* FULL-HD+ / 4K MONITORS
   Widens the cap a bit further so the site isn't overly narrow on very
   large screens, while still avoiding a full edge-to-edge stretch. */
@media (min-width: 1920px) {
  .page-boxed-wrapper {
    max-width: 1920px;
    margin: 0 auto;
  }
  .main-container,
  .boxed-page-body {
    padding: 32px 40px;
  }
  .main-slider-card {
    height: 620px;
  }
}

/* SMALL TABLET / LARGE PHONE GAP (between the 768px and 1024px rules) */
@media (max-width: 900px) {
  .branding-container {
    padding: 16px 16px;
  }
  .promo-banner,
  .uploaded-banner-link {
    max-width: 55%;
  }
}

/* SMALL PHONES (older/narrow devices, ~360px and below) */
@media (max-width: 380px) {
  .main-container,
  .boxed-page-body,
  .pre-footer-content {
    padding: 12px 10px;
  }
  .logo-wrapper {
    max-width: 42%;
  }
  .logo-top-sub {
    font-size: 9px;
  }
  .search-box {
    height: 30px;
  }
  .social-icons {
    gap: 5px;
    margin-right: 8px;
  }
  .lang-switcher {
    padding: 2px 6px;
    margin-right: 8px;
  }
  .main-slider-card {
    height: 240px;
  }
  .slider-title {
    font-size: 17px;
  }
  .slider-overlay {
    padding: 14px 12px;
  }
  .category-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px 8px;
  }
  .cat-icon-circle {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .article-headline {
    font-size: 19px;
  }
  .comment-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* PRINT: strip chrome so article text prints cleanly */
@media print {
  .header-wrapper,
  .nav-bar,
  .slider-arrow,
  .slider-dots,
  .sidebar-stack,
  .sidebar-container,
  .comments-area,
  .comment-form-card,
  .share-buttons-group,
  .digi-toast-container {
    display: none !important;
  }
  body,
  .page-boxed-wrapper {
    background: #ffffff !important;
    border: none !important;
  }
}

/* ================= CUSTOM UI TOAST NOTIFICATION SYSTEM ================= */
.digi-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 48px);
}

.digi-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background-color: #ffffff;
  color: #1e293b;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.16),
    0 2px 6px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #ba0000;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.digi-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.digi-toast-success {
  border-left-color: #16a34a;
}

.digi-toast-success i {
  color: #16a34a;
  font-size: 18px;
}

.digi-toast-error {
  border-left-color: #dc2626;
}

.digi-toast-error i {
  color: #dc2626;
  font-size: 18px;
}

.digi-toast-info {
  border-left-color: #2563eb;
}

.digi-toast-info i {
  color: #2563eb;
  font-size: 18px;
}

/* ANTI-SPAM HONEYPOT HIDDEN FIELD */
.digi-hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
}
