/*
Theme Name: NewsPress
Theme URI: https://example.com/newspress
Author: Your Name
Author URI: https://example.com
Description: A modern news magazine WordPress theme with featured posts, category sections, and a beautiful single post layout with sidebar and related posts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newspress
Tags: news, magazine, blog, featured-images, custom-menu, custom-logo, footer-widgets, sidebar
*/

/* ========================================
   NEWSPRESS THEME - LAYOUT CONFIGURATION
   Edit variables below to change the look
   ======================================== */

:root {
  /* ── Brand Colors ── */
  --color-primary:     #d9097f;   /* Accent / breaking news bar */
  --color-primary-dark:#bd066e;
  --color-dark:        #0d1117;   /* Header background */
  --color-dark-2:      #161b22;   /* Footer background */
  --color-text:        #1a1a2e;
  --color-text-light:  #6b7280;
  --color-bg:          #f4f5f7;
  --color-bg-white:    #ffffff;
  --color-border:      #e5e7eb;

  /* ── Typography ── */
  --font-heading:      'Inter', system-ui, sans-serif;
  --font-body:         'Inter', system-ui, sans-serif;
  --font-ui:           'Inter', system-ui, sans-serif;

  /* ── Sizing ── */
  --container-max:     1200px;
  --sidebar-width:     320px;
  --gap:               24px;
  --radius:            6px;
  --radius-lg:         12px;

  /* ── Category Colors (edit per your categories) ── */
  --cat-business:      #2563eb;
  --cat-lifestyle:     #7c3aed;
  --cat-travel:        #059669;
  --cat-food:          #d97706;
  --cat-tech:          #0891b2;
  --cat-politics:      #dc2626;
  --cat-default:       #6b7280;

  /* ── Hero Section Layout ──
     Options: 'hero-classic' | 'hero-grid' | 'hero-magazine'
     Change the body class in functions.php: newspress_hero_layout */
  --hero-height:       520px;
  --hero-overlay:      rgba(0,0,0,0.55);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.custom-logo-link img{
  width: 120px;
  margin-right: 20px;
}
.page-numbers{
  display: flex;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.4rem;
  background: var(--color-primary);
  border-radius: 2px;
}

.cat-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 10px;
}

.featured-badge {
  background: #f59e0b;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 3px;
}

.meta {
  font-size: 0.75rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-outline { border: 2px solid var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ========================================
   UNIFIED HEADER  (dark navy, two-row)
   ======================================== */

/* ── Wrapper ── */
.np-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* ── TOP ROW ── */
.np-header__top {
  padding: 10px 0 6px;
}

/* Logo */
.np-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.np-logo img { height: 50px; width: auto; display: block; }

.np-logo__text {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.np-logo__text span { color: var(--color-primary); }

/* Date / Weather */
.np-header__date {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .01em;
}

.np-header__weather {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 2px;
}

/* Top Nav Links */
.np-toplinks {
  display: flex;
  align-items: center;
  gap: 20px;
}

.np-toplinks a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}

.np-toplinks a:hover { color: #fff; }

/* Icon Buttons (person, search) */
.np-header__icons { display: flex; align-items: center; gap: 4px; }

.np-icon-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1rem;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
}

.np-icon-btn:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Vertical divider */
.np-vr {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* Social Links */
.np-header__social { display: flex; align-items: center; gap: 6px; }

.np-social-link {
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 5px 7px;
  border-radius: 4px;
  text-decoration: none;
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
}

.np-social-link:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ── Thin horizontal rule between rows ── */
.np-header__rule {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 0;
}

/* ── BOTTOM ROW (nav + subscribe) ── */
.np-header__nav-row { padding: 0; }

/* Primary Nav menu */
.np-nav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.np-nav-menu__item { position: relative; }

.np-nav-menu__link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 12px 16px;
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 700;
  /* text-transform: uppercase; */
  letter-spacing: .07em;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}

.np-nav-menu__link:hover,
.np-nav-menu__item.current-menu-item .np-nav-menu__link,
.np-nav-menu__item.current-menu-parent .np-nav-menu__link {
  color: #fff;
  border-bottom-color: var(--color-primary);
  background: rgba(255,255,255,.05);
}

/* Active item highlight in red */
.np-nav-menu__item--active .np-nav-menu__link {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.np-caret { font-size: 0.65rem; opacity: .7; }

/* Dropdown sub-menu */
.np-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1a2235;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s;
  z-index: 1100;
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.np-nav-menu__item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.np-nav-menu .sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  transition: color .2s, background .2s, padding-left .2s;
}

.np-nav-menu .sub-menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  padding-left: 24px;
}

/* Hamburger button */
.np-hamburger {
  display: flex;
  align-items: center;
  background: none;
  border: 1px solid rgba(255,255,255,.22);
  color: #d1d5db;
  font-size: 1.3rem;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}

.np-hamburger:hover {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
}

/* Subscribe button */
.np-subscribe-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}

.np-subscribe-btn:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Slide-down search bar ── */
.np-search-bar {
  background: #111827;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.np-search-bar--open { max-height: 80px; }

.np-search-bar .search-form { display: flex; gap: 8px; }
.np-search-bar input[type="search"],
.np-search-bar input[type="text"] {
  flex: 1;
  padding: 10px 18px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 50px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}
.np-search-bar input:focus { border-color: var(--color-primary); }
.np-search-bar input::placeholder { color: #6b7280; }
.np-search-bar button[type="submit"] {
  padding: 9px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background .2s;
}
.np-search-bar button[type="submit"]:hover { background: var(--color-primary-dark); }

/* ── Offcanvas mobile nav ── */
.np-offcanvas {
  background: #0d1117;
  color: #fff;
  max-width: 300px;
}

.np-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.np-offcanvas-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color .2s;
}

.np-offcanvas-close:hover { color: #fff; }

.np-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.np-mobile-nav__list li a {
  display: block;
  padding: 11px 20px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s, background .2s, padding-left .2s;
}

.np-mobile-nav__list li a:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
  padding-left: 28px;
}

.np-mobile-social {
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

/* ── Breaking News Ticker ── */
.breaking-bar {
  background: var(--color-primary);
  padding: 7px 0;
  overflow: hidden;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.breaking-label {
  background: var(--color-dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-ticker {
  flex: 1;
  overflow: hidden;
  padding: 0 16px;
}

.ticker-wrap {
  display: flex;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
}

.ticker-wrap:hover { animation-play-state: paused; }

.ticker-wrap a {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0 30px 0 0;
  transition: opacity .2s;
}

.ticker-wrap a:hover { opacity: .8; color: #fff; }

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section { margin: 28px 0; }

/* ── Layout: hero-classic (default) ── */
.hero-classic {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--gap);
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: var(--hero-height);
}

.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.hero-main:hover img { transform: scale(1.03); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hero-overlay) 60%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.hero-overlay .cat-badge { margin-bottom: 10px; }

.hero-overlay h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-overlay h2 a { color: #fff; }
.hero-overlay h2 a:hover { color: var(--color-primary); }

.hero-overlay .meta { color: rgba(255,255,255,.8); }

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.hero-card {
  display: flex;
  gap: 14px;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow .2s;
}

.hero-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.hero-card-img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-card-body {
  padding: 12px 12px 12px 0;
}

.hero-card-body .cat-badge { margin-bottom: 6px; }

.hero-card-body h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

/* ── Layout: hero-grid ── */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gap);
}

.hero-grid .hero-featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* ── Layout: hero-magazine ── */
.hero-magazine {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: var(--gap);
}

/* ========================================
   FEATURED POSTS STRIP
   ======================================== */
.featured-strip {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
}

.featured-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.featured-card {
  position: relative;
}

.featured-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: opacity .2s;
}

.featured-card:hover .featured-card-img { opacity: .9; }

.featured-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.featured-card h3 a:hover { color: var(--color-primary); }

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.main-wrapper {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap);
  margin-bottom: 40px;
}

/* Full-width layout override */
.layout-fullwidth .main-wrapper {
  grid-template-columns: 1fr;
}

/* ── Category Section Block ── */
.category-block {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: var(--gap);
  border: 1px solid var(--color-border);
}

/* ── News Grid ── */
/* Layout Option 1: 2-column */
.news-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

/* Layout Option 2: 3-column */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* Layout Option 3: List */
.news-list { display: flex; flex-direction: column; gap: 16px; }

/* Layout Option 4: Big + small */
.news-grid-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--gap);
}

.news-grid-featured .news-card:first-child .news-card-img { aspect-ratio: 4/3; }
.news-grid-featured .side-cards { display: flex; flex-direction: column; gap: 14px; }

/* ── News Card ── */
.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .4s;
}

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

.news-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}

.news-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
   display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card h3 a:hover { color: var(--color-primary); }

.news-card-excerpt {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin-top: 6px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Horizontal (list) news card ── */
.news-card-h {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.news-card-h:last-child { border-bottom: 0; padding-bottom: 0; }

.news-card-h .news-card-img-wrap {
  width: 100px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.news-card-h .news-card-img { aspect-ratio: 4/3; }

.news-card-h .news-card-body { flex: 1; }

.news-card-h h4 {
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.news-card-h h4 a:hover { color: var(--color-primary); }

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar { display: flex; flex-direction: column; gap: var(--gap); }

.widget {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--color-border);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 16px;
}

/* Latest news widget */
.widget-latest-item {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.widget-latest-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.widget-latest-item img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.widget-latest-item h4 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.widget-latest-item h4 a:hover { color: var(--color-primary); }

.widget-latest-item .meta { font-size: 0.7rem; }

/* Popular categories widget */
.cat-list { display: flex; flex-direction: column; gap: 8px; }

.cat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--color-bg);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all .2s;
  border-left: 3px solid transparent;
}

.cat-list-item:hover {
  background: var(--color-primary);
  color: #fff;
  border-left-color: var(--color-primary-dark);
}

.cat-list-item span {
  background: var(--color-border);
  border-radius: 50px;
  padding: 1px 7px;
  font-size: 0.7rem;
  font-weight: 700;
}

.cat-list-item:hover span { background: rgba(255,255,255,.25); }

/* Tags widget */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.tag-cloud a {
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  transition: all .2s;
}
.tag-cloud a:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Newsletter widget */
.newsletter-widget { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: #fff; }
.newsletter-widget .widget-title { color: #fff; border-color: rgba(255,255,255,.4); }

.newsletter-widget p { font-size: 0.82rem; margin-bottom: 14px; opacity: .9; }

.newsletter-widget input {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.newsletter-widget input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-widget input:focus { outline: none; border-color: #fff; }

.newsletter-widget button {
  width: 100%;
  padding: 9px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  font-family: var(--font-body);
}

.newsletter-widget button:hover { opacity: .9; }

/* ========================================
   SINGLE POST
   ======================================== */
.single-wrapper {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap);
  margin-bottom: 40px;
}

.single-article {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Post header */
.single-header {
  padding: 28px 32px 0;
}

.single-header .breadcrumb {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-header .breadcrumb a { color: var(--color-text-light); }
.single-header .breadcrumb a:hover { color: var(--color-primary); }
.single-header .breadcrumb span { color: var(--color-primary); }

.single-header .post-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.single-header h1 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 16px;
}

.single-header .post-excerpt {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  border-left: 3px solid var(--color-primary);
  padding-left: 16px;
}

.single-header .post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

.author-name { font-size: 0.82rem; font-weight: 600; }
.post-date-time { font-size: 0.75rem; color: var(--color-text-light); }

.share-bar { display: flex; gap: 6px; }

.share-btn {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.share-btn.fb { background: #1877f2; color: #fff; }
.share-btn.tw { background: #000; color: #fff; }
.share-btn.wa { background: #25d366; color: #fff; }
.share-btn:hover { opacity: .85; }

/* Featured image */
.single-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Post body */
.post-content {
  padding: 28px 32px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text);
}

.post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--color-text);
}

.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 22px 0 12px;
}

.post-content p { margin-bottom: 18px; }

.post-content a { color: var(--color-primary); text-decoration: underline; }

.post-content blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--color-text);
}

.post-content ul, .post-content ol {
  margin: 14px 0 18px 22px;
}

.post-content li { margin-bottom: 6px; }

.post-content img {
  border-radius: var(--radius);
  margin: 20px 0;
}

/* Post footer */
.post-tags {
  padding: 20px 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.post-tags strong { font-size: 0.82rem; }

/* Author box */
.author-box {
  margin: 0 32px 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box-name {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.author-box-bio { font-size: 0.82rem; color: var(--color-text-light); line-height: 1.55; }

/* Comments */
.comments-section {
  padding: 28px 32px;
  border-top: 1px solid var(--color-border);
}

/* ========================================
   RELATED POSTS
   ======================================== */
.related-posts-section {
  margin-bottom: 40px;
}

.related-posts-section .section-title { font-size: 1.25rem; }

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

/* ========================================
   CATEGORY PAGE
   ======================================== */
.cat-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  color: #fff;
  padding: 28px 0;
  margin-bottom: 28px;
}

.cat-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat-header p { color: #9ca3af; font-size: 0.9rem; }

/* ========================================
   ARCHIVE / BLOG PAGE
   ======================================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-bottom: 28px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 38px;
  height: 38px; */
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all .2s;
  padding: 10px 20px;
}

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

/* ========================================
   FOOTER
   ======================================== */
/* ========================================
   FOOTER  (ft-*)
   ======================================== */

/* ── Outer wrapper ── */
.ft-footer {
  background: #0d1b2e;
  color: #9ca3af;
}

/* ── TOP BAR ── */
.ft-top-bar {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}

.ft-top-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.ft-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.ft-logo img { height: 52px; width: auto; }
.ft-logo__text {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ft-logo__text span { color: var(--color-primary); }

/* Red rule */
.ft-top-bar__rule {
  flex: 1;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  min-width: 40px;
}

/* Top nav links */
.ft-top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.ft-top-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9ca3af;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}

.ft-top-nav a:hover { color: #fff; }

/* ── BODY GRID ── */
.ft-body { padding: 40px 0 44px; }

.ft-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.2fr 1.3fr;
  gap: 48px;
  align-items: start;
}

/* ── Column base ── */
.ft-col {}

.ft-col--about {}

.ft-about-text {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #9ca3af;
  margin: 0;
}

/* Column title */
.ft-col__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}

/* ── Company nav links ── */
.ft-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* WordPress injects <ul><li> when using wp_nav_menu — flatten them */
.ft-nav-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.ft-nav-links li { margin: 0; padding: 0; }

.ft-nav-links a,
.ft-nav-links__item {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s, padding-left .2s;
}

.ft-nav-links li:last-child a,
.ft-nav-links__item:last-child { border-bottom: none; }

.ft-nav-links a:hover,
.ft-nav-links__item:hover { color: #fff; padding-left: 4px; }

/* Active item */
.ft-nav-links .current-menu-item a,
.ft-nav-links__item--active {
  color: var(--color-primary) !important;
  font-weight: 700;
}

/* ── Headlines list ── */
.ft-headlines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ft-headline-item {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #d1d5db;
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  line-height: 1.4;
  transition: color .2s;
}

.ft-headline-item:last-child { border-bottom: none; }
.ft-headline-item:hover { color: #fff; }

/* ── Newsletter ── */
.ft-newsletter-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #9ca3af;
  margin: 0 0 16px;
}

.ft-nl-form { display: flex; flex-direction: column; gap: 10px; }

.ft-nl-input-row {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.15);
}

.ft-nl-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: rgba(255,255,255,.06);
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-body);
}

.ft-nl-input::placeholder { color: #6b7280; }
.ft-nl-input:focus { background: rgba(255,255,255,.1); }

.ft-nl-btn {
  padding: 11px 18px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}

.ft-nl-btn:hover { background: var(--color-primary-dark); }

.ft-nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1.4;
}

.ft-nl-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.ft-nl-consent a { color: var(--color-primary); text-decoration: none; }
.ft-nl-consent a:hover { text-decoration: underline; }

/* ── BOTTOM BAR ── */
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}

.ft-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-copyright {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.ft-bottom-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ft-bottom-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #9ca3af;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 50%;
  transition: color .2s, background .2s;
}

.ft-bottom-social__link:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .ft-top-bar__rule { display: none; }
  .ft-top-nav { display: none; }
  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft-bottom__inner { justify-content: center; text-align: center; }
}

/* ========================================
   CATEGORY COLOR HELPERS
   ======================================== */
.cat-business { background: var(--cat-business) !important; }
.cat-lifestyle { background: var(--cat-lifestyle) !important; }
.cat-travel   { background: var(--cat-travel) !important; }
.cat-food     { background: var(--cat-food) !important; }
.cat-tech     { background: var(--cat-tech) !important; }
.cat-politics { background: var(--cat-politics) !important; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  :root { --sidebar-width: 280px; }
  .hero-classic { grid-template-columns: 1fr; }
  .hero-stack { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .featured-strip-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-wrapper,
  .single-wrapper {
    grid-template-columns: 1fr;
  }
  .sidebar { order: -1; }
  .hero-stack { grid-template-columns: 1fr; }
  .news-grid-2, .news-grid-3, .news-grid-featured { grid-template-columns: 1fr; }
  .news-grid-featured .side-cards { grid-column: auto; }
  .archive-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .header-search { max-width: 100%; order: 3; flex-basis: 100%; }
  .top-bar-links { display: none; }
  .footer-widgets { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .single-header { padding: 20px 20px 0; }
  .post-content { padding: 20px; }
  .single-header h1 { font-size: 1.5rem; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .featured-strip-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .single-header h1 { font-size: 1.3rem; }
}

/* ========================================
   MOBILE MENU  (handled by Bootstrap offcanvas — styles in UNIFIED HEADER block above)
   ======================================== */

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 9999;
}
.scroll-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.scroll-top.visible { display: flex; }

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .site-header, .primary-nav, .breaking-bar, .top-bar,
  .sidebar, .related-posts-section, .site-footer { display: none; }
  .single-wrapper { grid-template-columns: 1fr; }
}

/* ========================================
   MAGAZINE HERO (mh-*) — 3-column layout
   ======================================== */

/* ── Outer wrapper ── */
.mh-section {
  margin: 24px 0 32px;
}

/* ── 3-column grid ── */
.mh-grid {
  display: grid;
  grid-template-columns: 1.9fr 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ════════════════════════════════════════
   COL 1 — HERO SLIDER
   ════════════════════════════════════════ */
.mh-slider-col { min-width: 0; height: 100%; }

.mh-slider {
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  height: 100%;
}

/* Slides wrapper */
.mh-slides { position: relative; }

.mh-slide {
  display: none;
}

.mh-slide--active {
  display: block;
  animation: mhFadeIn .35s ease;
}

@keyframes mhFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Image */
.mh-slide__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5e7eb;
}

.mh-slide__img-wrap a { display: block; height: 100%; }

.mh-slide__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.mh-slide__img-wrap:hover img { transform: scale(1.03); }

.mh-slide__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2235, #374151);
}

/* Slide body (below image) */
.mh-slide__body {
  padding: 18px 20px 22px;
}

.mh-slide__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 8px;
}

.mh-slide__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--color-primary);
}

.mh-slide__title a {
  color: var(--color-primary);
  text-decoration: none;
}

.mh-slide__title a:hover { color: var(--color-primary-dark); }

.mh-slide__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mh-slide__meta-cat {
  font-weight: 700;
  color: var(--color-primary);
}

.mh-slide__excerpt {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prev / Next arrows */
.mh-arrow {
  position: absolute;
  top: calc(50% - 36px); /* roughly center of image area */
  transform: translateY(-50%);
  background: rgba(255,255,255,.88);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: background .2s, color .2s;
  z-index: 10;
}

.mh-arrow:hover { background: #fff; color: var(--color-primary); }

.mh-arrow--prev { left: 12px; }
.mh-arrow--next { right: 12px; }

/* Dots */
.mh-dots {
  position: absolute;
  bottom: 20px;/* inside image near bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.mh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(251 212 47);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.mh-dot--active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* ════════════════════════════════════════
   COL 2 — CATEGORY TABS
   ════════════════════════════════════════ */
.mh-tabs-col {
  min-width: 0;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Tab header bar */
.mh-tabs-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 16px;
  border-bottom: 2px solid var(--color-border);
  flex-wrap: wrap;
}

.mh-tabs-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-right: 16px;
  padding: 12px 0;
  white-space: nowrap;
}

.mh-tabs-nav {
  display: flex;
  flex: 1;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mh-tabs-nav::-webkit-scrollbar { display: none; }

.mh-tab-btn {
  background: none;
  border: none;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}

.mh-tab-btn:hover { color: var(--color-text); }

.mh-tab-btn--active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

/* Tab panels */
.mh-tab-panel {
  display: none;
  padding: 0 16px 16px;
  flex: 1;
}

.mh-tab-panel--active { display: block; }

/* Featured post inside tab */
.mh-tab-featured { padding-top: 14px; }

.mh-tab-featured__img-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
}

.mh-tab-featured__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.mh-tab-featured__img-link:hover img { transform: scale(1.03); }

.mh-tab-featured__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}

.mh-tab-featured__title a {
  color: var(--color-text);
  text-decoration: none;
}

.mh-tab-featured__title a:hover { color: var(--color-primary); }

.mh-tab-featured__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.mh-tab-featured__cat {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* List items in tab */
.mh-tab-list { display: flex; flex-direction: column; }

.mh-tab-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
}

.mh-tab-item:last-child { border-bottom: none; }

.mh-tab-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px;
}

.mh-tab-item__title a {
  color: var(--color-text);
  text-decoration: none;
}

.mh-tab-item__title a:hover { color: var(--color-primary); }

.mh-tab-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--color-text-light);
}

.mh-tab-item__cat {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* ════════════════════════════════════════
   COL 3 — HOT THIS WEEK
   ════════════════════════════════════════ */
.mh-hot-col {
  min-width: 0;
}

/* Header */
.mh-hot-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

/* Ranked list */
.mh-hot-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
}

.mh-hot-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background .2s;
}

.mh-hot-item:last-child { border-bottom: none; }
.mh-hot-item:hover { background: var(--color-bg); }

.mh-hot-item__body { flex: 1; min-width: 0; }

.mh-hot-item__cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 4px;
}

.mh-hot-item__title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--color-text);
}

.mh-hot-item__title a {
  color: inherit;
  text-decoration: none;
}

.mh-hot-item__title a:hover { color: var(--color-primary); }

.mh-hot-item__rank {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #e5e7eb;
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
}

/* Ad block */
.mh-hot-ad {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  position: relative;
}

.mh-hot-ad__label {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
}

.mh-hot-ad__inner {
  display: block;
  text-decoration: none;
}

.mh-hot-ad__inner img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.mh-hot-ad__placeholder {
  background: linear-gradient(135deg, #1a2235 0%, #2d3a4f 100%);
  padding: 36px 20px 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mh-hot-ad__name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  margin: 0 0 6px;
}

.mh-hot-ad__sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,.7);
  margin: 0 0 18px;
}

.mh-hot-ad__btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-radius: 4px;
}

/* ════════════════════════════════════════
   RESPONSIVE — magazine hero
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  .mh-grid {
    grid-template-columns: 1.6fr 1.2fr;
  }
  .mh-hot-col { display: none; }
}

@media (max-width: 768px) {
  .mh-grid {
    grid-template-columns: 1fr;
  }
  .mh-hot-col { display: none; }
  .mh-slide__title { font-size: 1.2rem; }
}

/* ========================================
   HEADLINES SECTION  (hl-*)
   4-column layout: [2-col card grid] [exclusive list] [tall card stack]
   ======================================== */

.hl-section {
  margin: 0 0 40px;
}

/* Section title */
.hl-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 20px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hl-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary) 0%, var(--color-border) 100%);
  border-radius: 2px;
}

/* Outer 3-part grid */
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 280px 300px;
  gap: 28px;
  align-items: start;
}

/* ── Col 1: 2×2 news cards ── */
.hl-cards-col { min-width: 0; }

.hl-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Individual card */
.hl-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hl-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 14px;
}

.hl-card__img-wrap a { display: block; height: 100%; }

.hl-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.hl-card__img-wrap:hover img { transform: scale(1.04); }

.hl-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  text-align: start;
   display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hl-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

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

.hl-card__meta {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.hl-card__meta .cat-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
}

.hl-card__excerpt {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.55;
  text-align: start;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Col 2: Exclusive Articles list ── */
.hl-exclusive-col {
  min-width: 0;
  background: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--color-border);
}

.hl-exclusive-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.hl-exclusive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hl-exclusive-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}

.hl-exclusive-item:last-child { border-bottom: none; }

.hl-exclusive-item__img {
  width: 58px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e5e7eb;
  display: block;
}

.hl-exclusive-item__title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  transition: color .2s;
}

.hl-exclusive-item:hover .hl-exclusive-item__title { color: var(--color-primary); }

/* ── Col 3: Tall stacked cards ── */
.hl-stack-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hl-stack-card {}

.hl-stack-card__img-wrap {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 12px;
}

.hl-stack-card__img-wrap a { display: block; height: 100%; }

.hl-stack-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.hl-stack-card__img-wrap:hover img { transform: scale(1.04); }

.hl-stack-card__title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 7px;
}

.hl-stack-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.hl-stack-card__title a:hover { color: var(--color-primary); }

.hl-stack-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.hl-stack-card__meta .cat-badge {
  font-size: 0.68rem;
  padding: 2px 6px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hl-grid {
    grid-template-columns: 1fr 260px;
  }
  .hl-stack-col { display: none; }
}

@media (max-width: 768px) {
  .hl-grid {
    grid-template-columns: 1fr;
  }
  .hl-exclusive-col { display: none; }
  .hl-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hl-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   AD BANNER  (np-ad-banner)
   Full-width strip: name | divider | tagline | divider | CTA button
   ======================================== */

.np-ad-banner {
  margin: 0 0 40px;
  padding: 6px 0;
}

.np-ad-banner__inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: #faf7f4;
  border: 1px solid #ede9e4;
  border-radius: var(--radius);
  padding: 18px 32px;
}

/* Brand name */
.np-ad-banner__name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a2235;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Horizontal line dividers */
.np-ad-banner__divider {
  flex: 1;
  height: 1px;
  background: #d6cfc8;
  margin: 0 24px;
  min-width: 30px;
}

/* Tagline */
.np-ad-banner__sub {
  font-size: 0.9rem;
  color: #4b5563;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .01em;
}

/* CTA Button */
.np-ad-banner__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: #1a2235;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}

.np-ad-banner__btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Image-only mode — fills the full banner, no padding */
.np-ad-banner--has-image {
  padding: 0;
  background: transparent;
  border: none;
}

.np-ad-banner--has-image .np-ad-banner__inner {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
}

.np-ad-banner--has-image .np-ad-banner__inner a {
  display: block;
  line-height: 0;
}

.np-ad-banner--has-image .np-ad-banner__inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: opacity .2s;
}

.np-ad-banner--has-image .np-ad-banner__inner a:hover img {
  opacity: .92;
}

/* Responsive */
@media (max-width: 768px) {
  .np-ad-banner__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    text-align: center;
  }

  .np-ad-banner__divider { display: none; }

  .np-ad-banner__sub { width: 100%; text-align: center; }
}

/* ========================================
   CATEGORY COLUMNS SECTION  (cc-*)
   3-col: each col = label + featured img + 3 cards + 2×2 text grid
   ======================================== */

.cc-section {
  margin: 0 0 40px;
}

/* ── Outer 3-column grid ── */
.cc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* ── Individual column ── */
.cc-col {
  padding: 0 28px 0 0;
  border-right: 1px solid var(--color-border);
  padding-right: 28px;
}

.cc-col:last-child {
  border-right: none;
  padding-right: 0;
}

.cc-col:not(:first-child) {
  padding-left: 28px;
}

/* ── Category label with left red bar ── */
.cc-col__header {
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--color-primary);
}

.cc-col__label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  transition: color .2s;
}

.cc-col__label:hover { color: var(--color-primary); }

/* ── Featured post ── */
.cc-featured {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.cc-featured__img-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5e7eb;
  margin-bottom: 12px;
}

.cc-featured__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.cc-featured__img-link:hover img { transform: scale(1.04); }

.cc-featured__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.cc-featured__title a {
  color: var(--color-text);
  text-decoration: none;
}

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

/* ── 3 Horizontal cards ── */
.cc-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.cc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.cc-card:last-child { border-bottom: 1px solid var(--color-border); }

.cc-card__img-link {
  width: 90px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #e5e7eb;
  display: block;
}

.cc-card__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.cc-card__img-link:hover img { transform: scale(1.06); }

.cc-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.cc-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

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

/* ── 2×2 text-only link grid ── */
.cc-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 2px;
}

.cc-text-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
  text-decoration: none;
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color .2s;
  display: block;
}

.cc-text-link:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--color-border); }

.cc-text-link:nth-last-child(-n+2) { border-bottom: none; }

.cc-text-link:hover { color: var(--color-primary); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cc-col:nth-child(2) { border-right: none; }
  .cc-col:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    margin-top: 24px;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .cc-grid { grid-template-columns: 1fr; }
  .cc-col {
    border-right: none;
    border-top: 1px solid var(--color-border);
    padding: 24px 0 0 !important;
    margin-top: 24px;
  }
  .cc-col:first-child { border-top: none; margin-top: 0; padding-top: 0 !important; }
  .cc-text-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   VIDEO NEWS SECTION  (vn-*)
   Layout: big player left | card list right (same height)
   ======================================== */

.vn-section {
  margin-top: 0;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Title with decorative lines ── */
.vn-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.vn-title-wrap::before,
.vn-title-wrap::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-primary), var(--color-border));
}

.vn-title-wrap::after {
  background: linear-gradient(to left, var(--color-primary), var(--color-border));
}

.vn-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

/* ── Two-column layout ── */
.vn-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  align-items: stretch;
}

/* ══ LEFT: Player column ══ */
.vn-player-col {
  display: flex;
  flex-direction: column;
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* iframe wrapper — fills remaining height after title bar */
.vn-player-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #000;
}

/* Make iframe fill the wrapper absolutely */
.vn-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Fallback: when col has no natural height (flex child needs a defined height from parent) */
.vn-player-col { min-height: 400px; }

/* Now-playing info bar at bottom of player */
.vn-now-playing {
  flex-shrink: 0;
  padding: 14px 18px;
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,.08);
}

.vn-now-playing__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}

.vn-now-playing__sub {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: 0;
}

/* ══ RIGHT: Scrollable card list ══ */
.vn-list-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 600px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
  padding-right: 2px;
}

.vn-list-col::-webkit-scrollbar { width: 4px; }
.vn-list-col::-webkit-scrollbar-track { background: transparent; }
.vn-list-col::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

/* ── Individual video card ── */
.vn-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  flex-shrink: 0;
}

.vn-list-item:hover {
  border-color: var(--color-primary);
  background: var(--color-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.vn-list-item--active {
  border-color: var(--color-primary);
  background: var(--color-bg);
  box-shadow: 0 2px 16px rgba(220,38,38,.1);
}

/* Thumbnail */
.vn-list-item__thumb {
  position: relative;
  width: 130px;
  min-width: 130px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-dark);
  flex-shrink: 0;
}

.vn-list-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.vn-list-item:hover .vn-list-item__thumb img { transform: scale(1.06); }

/* Play icon overlay on thumb */
.vn-list-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity .2s;
}

.vn-list-item:hover .vn-list-item__play,
.vn-list-item--active .vn-list-item__play { opacity: 1; }

/* Active indicator dot on thumb */
.vn-list-item--active .vn-list-item__thumb::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,.7);
}

/* Text */
.vn-list-item__info {
  flex: 1;
  min-width: 0;
}

.vn-list-item__title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}

.vn-list-item:hover .vn-list-item__title,
.vn-list-item--active .vn-list-item__title { color: var(--color-primary); }

.vn-list-item__sub {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vn-list-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-top: 6px;
}

.vn-list-item__badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: vn-pulse 1.4s ease-in-out infinite;
}

@keyframes vn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .vn-layout { grid-template-columns: 1fr 300px; }
  .vn-list-item__thumb { width: 100px; min-width: 100px; }
}

@media (max-width: 768px) {
  .vn-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Player: padding-bottom ratio trick for reliable 16:9 on mobile */
  .vn-player-col {
    min-height: 0;
  }

  .vn-player-wrap {
    flex: none;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
  }

  .vn-player {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }

  /* List: fixed height, scrollable */
  .vn-list-col {
    max-height: 360px;
    gap: 8px;
  }

  .vn-list-item__thumb { width: 110px; min-width: 110px; }
}

@media (max-width: 480px) {
  .vn-list-item { padding: 10px; gap: 10px; }
  .vn-list-item__thumb { width: 90px; min-width: 90px; }
  .vn-list-item__title { font-size: 0.82rem; }
  .vn-list-col { max-height: 300px; }
}

/* ========================================
   RECENT POSTS + SIDEBAR  (rp-* / sb-*)
   ======================================== */

/* ── Two-column wrapper ── */
.rp-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
  margin: 0 0 48px;
}

/* ── Section header ── */
.rp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.rp-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rp-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.3rem;
  background: var(--color-primary);
  border-radius: 2px;
}

.rp-nav { display: flex; gap: 6px; }

.rp-nav-btn {
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.rp-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── 3-column post grid ── */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

/* ── Individual card ── */
.rp-card { display: flex; flex-direction: column; }

.rp-card__img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 12px;
}

.rp-card__img-wrap a { display: block; height: 100%; }

.rp-card__img-wrap img,
.rp-card__no-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.rp-card__no-img { background: linear-gradient(135deg, #e5e7eb, #d1d5db); }

.rp-card__img-wrap:hover img { transform: scale(1.04); }

.rp-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
   display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rp-card__title a { color: var(--color-text); text-decoration: none; }
.rp-card__title a:hover { color: var(--color-primary); }

.rp-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rp-card__cat {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: .05em;
}

.rp-card__excerpt {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Load more button ── */
.rp-load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.rp-load-more {
  padding: 10px 36px;
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  letter-spacing: .04em;
  transition: all .2s;
}

.rp-load-more:hover {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.rp-load-more:disabled { opacity: .6; cursor: not-allowed; }

/* ════════════════════════════════════════
   SIDEBAR WIDGETS  (sb-*)
   ════════════════════════════════════════ */

.rp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sb-widget {}

/* Widget title */
.sb-widget__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-widget__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1rem;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ── Follow Us grid ── */
.sb-follow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sb-follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  background: var(--sb-social-color, #444);
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  color: #fff;
}

.sb-follow-card:hover { opacity: .88; transform: translateY(-2px); color: #fff; }

.sb-follow-card__icon { font-size: 1.3rem; line-height: 1; }

.sb-follow-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.sb-follow-card__count {
  font-size: 0.85rem;
  font-weight: 800;
}

.sb-follow-card__action {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}

/* ── Popular Posts ── */
.sb-popular-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sb-pop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.sb-pop-item:last-child { border-bottom: none; }

.sb-pop-item__img-link {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  background: #e5e7eb;
}

.sb-pop-item__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.sb-pop-item__img-link:hover img { transform: scale(1.06); }

.sb-pop-item__cat {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 3px;
}

.sb-pop-item__title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.sb-pop-item__title a { color: var(--color-text); text-decoration: none; }
.sb-pop-item__title a:hover { color: var(--color-primary); }

/* ── Popular Categories ── */
.sb-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sb-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.sb-cat-item:last-child { border-bottom: none; }
.sb-cat-item:hover { background: var(--color-bg); }

.sb-cat-item__name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: .05em;
  transition: color .2s;
}

.sb-cat-item:hover .sb-cat-item__name { color: var(--color-primary); }

.sb-cat-item__count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .rp-wrapper { grid-template-columns: 1fr 260px; gap: 24px; }
  .rp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rp-wrapper { grid-template-columns: 1fr; }
  .rp-sidebar { display: none; }
  .rp-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .rp-grid { grid-template-columns: 1fr; }
}
/* ========================================
   HEADER MOBILE OVERRIDES
   ======================================== */

/* Mobile top bar: logo left, hamburger right — no padding waste */
.np-mobile-topbar {
  gap: 0;
}

/* On mobile, collapse top row vertical padding */
@media (max-width: 991.98px) {
  .np-header__top .py-2 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* Hide search bar on mobile top row — search icon is desktop only */
  .np-search-bar {
    display: none;
  }
}

/* Desktop: search bar works normally */
@media (min-width: 992px) {
  .np-search-bar {
    display: block;
  }
}

/* ========================================
   CONTACT US PAGE  (cu-*)
   ======================================== */

.cu-wrap {
  padding: 36px 0 60px;
  background: var(--color-bg);
}

/* ── Hero ── */
.cu-hero {
  text-align: center;
  padding: 44px 20px 36px;
}

.cu-hero__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-primary);
  background: rgba(217,9,127,.08);
  border: 1px solid rgba(217,9,127,.2);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.cu-hero__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-text);
  margin: 0 0 14px;
  line-height: 1.15;
}

.cu-hero__sub {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Two-column layout ── */
.cu-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* ── Shared card ── */
.cu-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

.cu-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cu-card__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1rem;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Alerts ── */
.cu-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.cu-alert .bi { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.cu-alert--success {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.25);
  color: #065f46;
}
.cu-alert--success .bi { color: #10b981; }

.cu-alert--error {
  background: rgba(217,9,127,.07);
  border: 1px solid rgba(217,9,127,.2);
  color: #9d0c5e;
}
.cu-alert--error .bi { color: var(--color-primary); }

/* ── Form ── */
.cu-form { display: flex; flex-direction: column; gap: 18px; }

.cu-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cu-form__group { display: flex; flex-direction: column; gap: 6px; }

.cu-form__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: .02em;
}

.cu-required { color: var(--color-primary); margin-left: 2px; }
.cu-optional { font-weight: 400; color: var(--color-text-light); font-size: 0.72rem; }

.cu-form__input,
.cu-form__select,
.cu-form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.87rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
}

.cu-form__input:focus,
.cu-form__select:focus,
.cu-form__textarea:focus {
  border-color: var(--color-primary);
  background: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(217,9,127,.1);
}

.cu-form__input--error,
.cu-form__select.cu-form__input--error,
.cu-form__textarea.cu-form__input--error {
  border-color: var(--color-primary);
  background: rgba(217,9,127,.03);
}

.cu-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.cu-form__textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.cu-form__char-count {
  font-size: 0.72rem;
  color: var(--color-text-light);
  text-align: right;
  margin-top: 4px;
}

.cu-form__error {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  min-height: 16px;
}

/* ── Consent checkbox ── */
.cu-form__consent { gap: 8px; }

.cu-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.cu-checkbox input[type="checkbox"] { display: none; }

.cu-checkbox__box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all .2s;
}

.cu-checkbox input:checked + .cu-checkbox__box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cu-checkbox input:checked + .cu-checkbox__box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.cu-checkbox__label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.cu-checkbox__label a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.cu-checkbox__label a:hover { text-decoration: underline; }

/* ── Submit button ── */
.cu-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(217,9,127,.25);
  width: 100%;
  margin-top: 4px;
}

.cu-submit-btn:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217,9,127,.35);
}

.cu-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.cu-submit-btn__spinner .bi {
  display: inline-block;
  animation: cu-spin .7s linear infinite;
}

@keyframes cu-spin { to { transform: rotate(360deg); } }

/* ════ RIGHT COLUMN ════ */

/* Info cards */
.cu-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cu-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s;
}

.cu-info-card:hover {
  border-color: rgba(217,9,127,.3);
  box-shadow: 0 2px 12px rgba(217,9,127,.08);
}

.cu-info-card__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(217,9,127,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.cu-info-card__title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-light);
  margin: 0 0 4px;
}

.cu-info-card__value {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 2px;
}

a.cu-info-card__value:hover { color: var(--color-primary); }

.cu-info-card__note {
  font-size: 0.72rem;
  color: var(--color-text-light);
  margin: 0;
}

/* Social box */
.cu-social-box {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}

.cu-social-box__title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-light);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.cu-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cu-social-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: all .2s;
}

.cu-social-item .bi { font-size: 1rem; color: var(--color-primary); }

.cu-social-item:hover {
  background: rgba(217,9,127,.06);
  border-color: rgba(217,9,127,.25);
  color: var(--color-primary);
}

/* Map */
.cu-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.cu-map-wrap iframe { width: 100%; height: 220px; display: block; border: none; }

.cu-map-placeholder {
  background: var(--color-bg-white);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  color: var(--color-text-light);
}

.cu-map-placeholder .bi { font-size: 2rem; color: var(--color-border); display: block; margin-bottom: 10px; }
.cu-map-placeholder p { font-size: 0.8rem; margin: 0; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .cu-layout { grid-template-columns: 1fr; }
  .cu-info-cards { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cu-card { padding: 22px 18px; }
  .cu-form__row { grid-template-columns: 1fr; gap: 14px; }
  .cu-hero__title { font-size: 1.8rem; }
  .cu-info-cards { grid-template-columns: 1fr; }
  .cu-social-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Contact Page: Office Card ── */
.cu-hero__link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.cu-hero__link:hover { text-decoration: underline; }

.cu-office-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.cu-office-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-dark);
  padding: 16px 20px;
  border-bottom: 3px solid var(--color-primary);
}

.cu-office-card__header .bi {
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cu-office-card__name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.cu-office-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}

.cu-office-detail:last-child { border-bottom: none; }

.cu-office-detail__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(217,9,127,.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 2px;
}

.cu-office-detail__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cu-office-detail__label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-light);
}

.cu-office-detail__value {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 500;
}

.cu-office-detail__link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.cu-office-detail__link:hover { text-decoration: underline; }

/* Swap layout order: info left, form right */
.cu-layout {
  grid-template-columns: 360px 1fr;
}

@media (max-width: 960px) {
  .cu-layout { grid-template-columns: 1fr; }
}