/*
Theme Name: Reformtax
Theme URI: https://reformtax.com.br
Author: Reformtax
Description: Portal de notícias sobre a Reforma Tributária Brasileira
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: reformtax
Tags: news, blog, custom-header, custom-logo, featured-images
*/

/* ============================================================
   TOKENS — Reformtax brand
   ============================================================ */
:root {
  --navy:         #0b0b1a;
  --navy-card:    #12122a;
  --navy-border:  #1e1e38;
  --dark:         #111111;
  --light:        #e9e9e9;
  --white:        #ffffff;
  --gold:         #c8a84b;
  --gold-light:   #e0c070;
  --gold-dark:    #9c7d2e;
  --gold-bg:      #fdf6e3;

  --gray-100:     #f2f2f2;
  --gray-200:     #dddddd;
  --gray-400:     #999999;
  --gray-600:     #555555;

  --font-sans:    'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --max:          1220px;
  --r:            5px;
  --r-lg:         10px;
  --sh:           0 1px 4px rgba(0,0,0,.07);
  --sh-md:        0 4px 18px rgba(0,0,0,.12);
  --t:            .18s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.65;
  color: var(--dark); background: var(--light);
}
a { text-decoration: none; color: inherit; transition: color var(--t); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container {
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: 20px;
}

/* ============================================================
   LOGO
   ============================================================ */
.site-logo {
  font-family: var(--font-sans);
  font-size: 24px; line-height: 1; letter-spacing: -.5px;
  display: inline-flex; align-items: baseline;
}
.site-logo .logo-bold { font-weight: 900; color: var(--white); }
.site-logo .logo-thin { font-weight: 300; color: var(--gold); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
  padding: 6px 0; font-size: 12px; color: var(--gray-400);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-bar-ticker { display: flex; align-items: center; gap: 10px; overflow: hidden; flex: 1; }
.top-bar-badge {
  background: var(--gold); color: var(--navy);
  font-size: 9.5px; font-weight: 900; letter-spacing: 1px;
  text-transform: uppercase; padding: 2px 9px; border-radius: 2px; white-space: nowrap;
}
.top-bar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 520px; }
.top-bar-text a { color: var(--white); font-weight: 600; }
.top-bar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.top-bar-right a { color: var(--gray-400); font-size: 12px; }
.top-bar-right a:hover { color: var(--gold); }
.top-bar-date { color: var(--gray-600); font-size: 11.5px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 999;
  border-bottom: 1px solid var(--navy-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; padding: 14px 0; gap: 20px;
}
.header-right { display: flex; align-items: center; gap: 10px; }

.header-search {
  display: flex; align-items: center;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 24px; overflow: hidden;
  transition: border-color var(--t);
}
.header-search:focus-within { border-color: var(--gold-dark); }
.header-search input {
  background: none; border: none; outline: none;
  color: var(--white); font-size: 13.5px;
  padding: 8px 16px; width: 220px;
}
.header-search input::placeholder { color: var(--gray-600); }
.header-search button {
  background: none; border: none; color: var(--gray-400);
  padding: 8px 14px; cursor: pointer; font-size: 14px;
}
.header-search button:hover { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--r);
  font-size: 13px; font-weight: 700; cursor: pointer;
  border: none; transition: all var(--t); white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(200,168,75,.35); }
.btn-ghost { background: transparent; color: var(--gray-400); border: 1px solid var(--navy-border); }
.btn-ghost:hover { border-color: var(--gray-400); color: var(--white); }

/* Mobile toggle */
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 22px; cursor: pointer; padding: 6px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav-wrapper { background: var(--dark); border-bottom: 1px solid #222; }

.main-nav { display: flex; align-items: center; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; color: #aaa;
  padding: 12px 17px;
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .6px;
  transition: color var(--t);
}
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a { color: var(--white); }
.main-nav > li.current-menu-item > a {
  position: relative;
}
.main-nav > li.current-menu-item > a::after {
  content: ''; position: absolute; bottom: 0; left: 17px; right: 17px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.main-nav > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-top: 2px solid var(--gold); min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--t); z-index: 200;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.main-nav .sub-menu li a {
  display: block; color: var(--gray-400); padding: 10px 16px;
  font-size: 13px; text-transform: none; letter-spacing: 0;
  border-bottom: 1px solid var(--navy-border); transition: all var(--t);
}
.main-nav .sub-menu li:last-child a { border-bottom: none; }
.main-nav .sub-menu li a:hover { color: var(--gold-light); padding-left: 22px; }

/* ============================================================
   BREAKING BAR
   ============================================================ */
.breaking-bar { background: var(--gold); padding: 8px 0; }
.breaking-bar .container { display: flex; gap: 14px; align-items: center; }
.breaking-label {
  font-size: 10px; font-weight: 900; letter-spacing: 1.5px;
  text-transform: uppercase; background: var(--navy); color: var(--gold);
  padding: 3px 10px; border-radius: 2px; white-space: nowrap;
}
.breaking-text {
  font-size: 13px; font-weight: 700; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.breaking-text a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   TAGS
   ============================================================ */
.tag {
  display: inline-flex; align-items: center;
  font-size: 9.5px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 2px;
  background: var(--dark); color: var(--white);
}
.tag-gold   { background: var(--gold); color: var(--navy); }
.tag-gray   { background: var(--gray-600); color: var(--white); }
.tag-navy   { background: var(--navy); color: var(--gold); border: 1px solid var(--navy-border); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ''; display: inline-block;
  width: 3px; height: 22px;
  background: var(--gold); border-radius: 2px;
}
.section-title-sm { font-size: 15px; }
.section-link {
  font-size: 11.5px; font-weight: 700; color: var(--gold-dark);
  display: flex; align-items: center; gap: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.section-link:hover { color: var(--gold); }
.section-header-dark { border-color: var(--navy-border); }
.section-header-dark .section-title { color: var(--white); }

/* ============================================================
   HERO — CONTIDO NO CONTAINER
   ============================================================ */
.hero-section { background: var(--navy); padding: 28px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.hero-main {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); height: 420px;
}
.hero-main img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.hero-main:hover img { transform: scale(1.03); }
.hero-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,26,.96) 0%, rgba(11,11,26,.45) 50%, rgba(11,11,26,.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 26px 24px;
  align-items: flex-start;
}
.hero-main-overlay .tag { margin-bottom: 10px; align-self: flex-start; }
.hero-title {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 900; line-height: 1.3;
  color: var(--white); margin-bottom: 10px;
  align-self: stretch;
}
.hero-title a { color: var(--white); }
.hero-title a:hover { color: var(--gold-light); }
.hero-excerpt {
  font-size: 13.5px; color: rgba(233,233,233,.75);
  line-height: 1.6; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  align-self: stretch;
}
.hero-meta {
  display: flex; gap: 14px; font-size: 11.5px;
  color: rgba(233,233,233,.5); align-items: center;
  align-self: flex-start;
}
.hero-meta-dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }

/* Hero sidebar — mesma altura do hero-main, 4 itens distribuídos */
.hero-side {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); overflow: hidden;
  height: 420px;
  display: flex; flex-direction: column;
}
.hero-side-header {
  padding: 11px 16px; flex-shrink: 0;
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--navy-border);
  display: flex; align-items: center; gap: 8px;
}
.hero-side-item {
  display: flex; gap: 12px; padding: 12px 14px;
  border-bottom: 1px solid var(--navy-border);
  transition: background var(--t);
  flex: 1; align-items: center;
}
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item:hover { background: rgba(200,168,75,.06); }
.hero-side-item img {
  width: 72px; height: 52px;
  object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.hero-side-content { flex: 1; min-width: 0; }
.hero-side-content .tag { margin-bottom: 5px; }
.hero-side-content h4 {
  font-size: 12.5px; font-weight: 700; line-height: 1.45;
  color: var(--light);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-side-content h4 a { color: var(--light); }
.hero-side-content h4 a:hover { color: var(--gold-light); }
.hero-side-content .meta { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section { padding: 32px 0; }
.news-layout { display: grid; grid-template-columns: 1fr 285px; gap: 30px; }
.news-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Card */
.news-card {
  background: var(--white);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh); border: 1px solid var(--gray-200);
  transition: box-shadow var(--t), transform var(--t);
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.news-card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-thumb .tag { position: absolute; top: 10px; left: 10px; }
.news-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.news-card-title {
  font-family: var(--font-serif);
  font-size: 14.5px; font-weight: 700; line-height: 1.45;
  color: var(--dark); margin-bottom: 7px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-title a:hover { color: var(--gold-dark); }
.news-card-excerpt {
  font-size: 12.5px; color: var(--gray-600); line-height: 1.55; margin-bottom: 11px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-meta {
  display: flex; gap: 10px; font-size: 11.5px; color: var(--gray-400);
  padding-top: 10px; border-top: 1px solid var(--gray-100); margin-top: auto;
}
.news-card-meta .author { color: var(--gray-600); font-weight: 600; }

/* Card wide (featured) */
.news-card-wide {
  grid-column: span 2; flex-direction: row;
}
.news-card-wide .news-card-thumb { aspect-ratio: unset; flex: 1; min-height: 210px; max-height: 260px; }
.news-card-wide .news-card-thumb img { height: 100%; }
.news-card-wide .news-card-body { flex: 1.1; padding: 22px 24px; }
.news-card-wide .news-card-title { font-size: 19px; -webkit-line-clamp: 4; }
.news-card-wide .news-card-excerpt { -webkit-line-clamp: 3; font-size: 13px; }

/* ============================================================
   LIST ITEMS (archive / search)
   ============================================================ */
.news-list { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--gray-200); padding: 0 18px; }
.news-list-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.news-list-item:last-child { border-bottom: none; }
.news-list-item img { width: 96px; height: 66px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.news-list-item-body { flex: 1; min-width: 0; }
.news-list-item-body .tag { margin-bottom: 5px; }
.news-list-item h4 {
  font-size: 13.5px; font-weight: 700; line-height: 1.42; color: var(--dark);
  transition: color var(--t); margin: 4px 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-list-item:hover h4 { color: var(--gold-dark); }
.news-list-item .meta { font-size: 11px; color: var(--gray-400); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.widget-title {
  padding: 11px 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
  background: var(--dark); color: var(--gold);
  display: flex; align-items: center; gap: 7px;
}
.widget-body { padding: 14px 16px; }

/* Newsletter widget */
.newsletter-widget {
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); padding: 20px 18px; color: var(--white);
}
.newsletter-widget h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.newsletter-widget p { font-size: 12.5px; color: var(--gray-400); margin-bottom: 14px; line-height: 1.55; }
.newsletter-form { display: flex; flex-direction: column; gap: 7px; }
.newsletter-form input {
  width: 100%; padding: 9px 13px;
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: var(--r); color: var(--white); font-size: 13.5px; outline: none;
}
.newsletter-form input::placeholder { color: var(--gray-600); }
.newsletter-form input:focus { border-color: var(--gold-dark); }
.newsletter-form button {
  padding: 10px; background: var(--gold); color: var(--navy);
  border: none; border-radius: var(--r);
  font-size: 13px; font-weight: 800; cursor: pointer; transition: background var(--t);
}
.newsletter-form button:hover { background: var(--gold-light); }

/* Category list */
.cat-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13.5px;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item a { font-weight: 600; color: var(--dark); transition: color var(--t); }
.cat-list-item a:hover { color: var(--gold-dark); }
.cat-count { font-size: 11px; font-weight: 700; background: var(--gray-100); color: var(--gray-600); padding: 2px 8px; border-radius: 12px; }

/* Tag cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-cloud a {
  font-size: 11.5px; padding: 4px 10px;
  border: 1px solid var(--gray-200); border-radius: var(--r);
  color: var(--gray-600); transition: all var(--t);
}
.tags-cloud a:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-bg); }

/* Sidebar recent */
.sidebar-recent-item { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-item img { width: 62px; height: 44px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.sidebar-recent-title { font-size: 12.5px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.sidebar-recent-title:hover { color: var(--gold-dark); }
.sidebar-recent-date { font-size: 11px; color: var(--gray-400); margin-top: 3px; }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.cat-strip { background: var(--white); padding: 32px 0; border-top: 1px solid var(--gray-200); }
.cat-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.mini-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.mini-item:last-child { border-bottom: none; }
.mini-item img { width: 60px; height: 42px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.mini-title {
  font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--dark);
  transition: color var(--t);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-title:hover, a:hover .mini-title { color: var(--gold-dark); }
.mini-date { font-size: 10.5px; color: var(--gray-400); margin-top: 3px; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-layout { display: grid; grid-template-columns: 1fr 285px; gap: 32px; padding: 32px 0; }

.article-header { margin-bottom: 22px; }
.article-header .tag { margin-bottom: 12px; }
.article-title {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 900; line-height: 1.3;
  color: var(--dark); margin-bottom: 14px;
}
.article-subtitle {
  font-size: 17px; color: var(--gray-600); line-height: 1.6;
  margin-bottom: 14px; font-weight: 400;
  border-left: 3px solid var(--gold); padding-left: 14px;
}
.article-meta {
  display: flex; gap: 16px; align-items: center;
  font-size: 13px; color: var(--gray-600);
  padding-bottom: 18px; border-bottom: 1px solid var(--gray-200); flex-wrap: wrap;
}
.article-meta .author-info { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dark); }
.article-meta .author-info img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* Share bar */
.share-bar { display: flex; gap: 8px; margin-bottom: 22px; align-items: center; flex-wrap: wrap; }
.share-bar span { font-size: 13px; font-weight: 600; color: var(--gray-600); margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: var(--r);
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--t); color: var(--white);
}
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn:hover { opacity: .88; transform: translateY(-1px); }

/* Article content */
.article-featured-img { width: 100%; border-radius: var(--r-lg); margin-bottom: 28px; max-height: 480px; object-fit: cover; }
.article-content { font-size: 16.5px; line-height: 1.78; color: #2a2a2a; }
.article-content h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 800; margin: 28px 0 12px; }
.article-content h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; margin: 24px 0 10px; }
.article-content p  { margin-bottom: 18px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 18px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--gold); background: var(--gold-bg);
  padding: 16px 20px; margin: 24px 0;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  font-style: italic; color: #444; font-size: 16px;
}
.article-content a { color: var(--gold-dark); text-decoration: underline; }
.article-content strong { font-weight: 700; }

.article-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.article-tags span { font-size: 13px; font-weight: 700; margin-right: 8px; }
.article-tags a {
  display: inline-block; font-size: 12px; padding: 4px 10px;
  border: 1px solid var(--gray-200); border-radius: var(--r);
  margin: 3px 2px; color: var(--gray-600); transition: all var(--t);
}
.article-tags a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.archive-header { background: var(--navy); color: var(--white); padding: 28px 0; }
.archive-header h1 { font-family: var(--font-serif); font-size: 26px; font-weight: 900; margin-bottom: 4px; }
.archive-header p { opacity: .75; font-size: 14px; }
.archive-breadcrumb { font-size: 12.5px; color: rgba(233,233,233,.55); margin-bottom: 8px; }
.archive-breadcrumb a { color: rgba(233,233,233,.65); }
.archive-breadcrumb a:hover { color: var(--gold-light); }
.archive-content { padding: 32px 0; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 28px 0 6px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border-radius: var(--r); font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--gray-200); background: var(--white); color: var(--dark);
  transition: all var(--t);
}
.pagination a:hover, .pagination .current {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--gray-400); margin-top: 0; }
.footer-top { padding: 48px 0 32px; border-bottom: 1px solid var(--navy-border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 44px; }
.footer-brand .site-logo { margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-card); border: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 14px; transition: all var(--t);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px; padding-bottom: 9px;
  border-bottom: 1px solid var(--navy-border);
}
.footer-col li a { font-size: 13px; color: var(--gray-400); display: block; padding: 5px 0; transition: all var(--t); }
.footer-col li a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-bottom {
  padding: 16px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 12.5px; gap: 12px;
}
.footer-bottom a { color: var(--gray-600); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom-links { display: flex; gap: 18px; }

/* ============================================================
   MISC
   ============================================================ */
.no-results-msg { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--r-lg); }
.no-results-msg h2 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 8px; }
.no-results-msg p { color: var(--gray-600); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 290px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-wide { grid-column: span 1; flex-direction: column; }
  .news-card-wide .news-card-thumb { aspect-ratio: 16/9; max-height: unset; min-height: unset; }
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .news-layout { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .nav-wrapper { position: relative; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 8px 0; z-index: 100; }
  .main-nav.open { display: flex; }
  .main-nav > li > a { padding: 13px 20px; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .menu-toggle { display: block; }
  .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .cat-strip-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-main { height: 300px; }
  .hero-title { font-size: 20px; }
  .article-title { font-size: 22px; }
  .top-bar-right { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .cat-strip-grid { grid-template-columns: 1fr; }
}
