/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--red); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; }

/* ─── TOP BAR ──────────────────────────────────────────────────── */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.topbar-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-links a {
  font-size: 12px; color: var(--muted); margin-right: 14px;
}
.topbar-links a:hover { color: var(--red); }

/* ─── HEADER ───────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  padding: 12px 0;
}
.header-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.site-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--dark);
}
.logo-icon {
  width: 36px; height: 36px; background: var(--red); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: var(--white); }
.header-search {
  display: flex; border: 1px solid var(--border); border-radius: 3px; overflow: hidden;
}
.header-search input {
  border: none; outline: none; padding: 6px 12px; font-size: 13px;
  font-family: var(--font-body); color: var(--dark); width: 200px;
}
.header-search button {
  background: var(--light); border: none; padding: 6px 10px; cursor: pointer;
  color: var(--muted);
}
.header-search button:hover { background: var(--red); color: var(--white); }

/* ─── NAV ──────────────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
  display: flex; gap: 0;
}
.nav-inner a {
  display: block; padding: 11px 16px; font-size: 13px; font-weight: 600;
  color: var(--dark); text-transform: none; letter-spacing: 0.01em;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.nav-inner a:hover,
.nav-inner a.active,
.nav-inner a.current-menu-item { color: var(--red); border-bottom-color: var(--red); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px 20px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 4px 0; }

/* ─── BREAKING / TICKER ────────────────────────────────────────── */
.ticker-bar {
  background: var(--light); border-bottom: 1px solid var(--border);
  padding: 8px 0; overflow: hidden;
}
.ticker-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
  display: flex; gap: 32px;
}
.ticker-item {
  display: flex; align-items: center; gap: 12px; min-width: 200px; flex: 1;
}
.ticker-thumb {
  width: 48px; height: 38px; flex-shrink: 0; background: var(--border); border-radius: 2px; overflow: hidden;
}
.ticker-item p { font-size: 12px; color: var(--dark); line-height: 1.4; }
.ticker-item p strong { display: block; font-size: 11px; color: var(--red); text-transform: uppercase; margin-bottom: 2px; }

/* ─── WRAPPER ──────────────────────────────────────────────────── */
.site-wrap {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
}

/* ─── HERO SECTION ─────────────────────────────────────────────── */
.hero { padding: 24px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px 300px;
  grid-template-rows: auto auto;
  gap: 0 20px;
}
.hero-main { grid-row: 1 / 3; grid-column: 1 / 2; }
.hero-main .post-thumb { height: 300px; position: relative; margin-bottom: 12px; background: var(--border); }
.hero-main .post-thumb img { height: 100%; }
.hero-main .post-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.hero-main .post-excerpt { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 10px; }
.hero-main .read-more {
  display: inline-block; padding: 7px 18px; background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  border-radius: 2px;
}
.hero-main .read-more:hover { background: var(--red-dark); color: var(--white); }
.hero-mid { grid-column: 2 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px; }
.hero-right { grid-column: 3 / 4; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px; }

/* ─── GENERIC CARD STYLES ──────────────────────────────────────── */
.card { display: flex; flex-direction: column; }
.card .card-thumb { overflow: hidden; background: var(--border); flex-shrink: 0; }
.card .card-thumb img { transition: transform .3s; }
.card:hover .card-thumb img { transform: scale(1.04); }
.card .card-body { padding: 10px 0 0; }
.card .card-date { font-size: 11px; color: var(--muted); margin-bottom: 4px; display: block; }
.card .card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.card .card-title a:hover { color: var(--red); }
.card .card-excerpt { font-size: 13px; color: var(--mid); line-height: 1.55; }

/* card sizes */
.card--medium .card-thumb { height: 140px; }
.card--small  { flex-direction: row; gap: 10px; }
.card--small  .card-thumb { width: 100px; height: 76px; flex-shrink: 0; }
.card--small  .card-body { padding: 0; }
.card--small  .card-title { font-size: .87rem; }
.card--list { flex-direction: row; gap: 12px; }
.card--list .card-thumb { width: 130px; height: 88px; flex-shrink: 0; }
.card--list .card-title { font-size: .93rem; }

/* right featured card */
.card--featured { position: relative; }
.card--featured .card-thumb { height: 180px; }
.card--featured .badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--red); color: var(--white); font-size: 10px; font-weight: 700;
  text-transform: uppercase; padding: 3px 7px; border-radius: 2px;
}

/* ─── SECTION DIVIDER ──────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 2px solid var(--dark); padding-bottom: 8px; margin-bottom: 18px;
}
.section-header h2 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
}
.section-header .line { flex: 1; height: 1px; background: var(--border); }

/* ─── EMAIL WIDGET ─────────────────────────────────────────────── */
.widget-email {
  background: var(--dark); color: var(--white); padding: 20px 16px; border-radius: 2px;
}
.widget-email h3 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 6px; }
.widget-email p  { font-size: 12px; color: #aaa; margin-bottom: 12px; line-height: 1.5; }
.widget-email input {
  width: 100%; padding: 8px 10px; border: 1px solid #555; background: #2a2a2a;
  color: var(--white); font-size: 13px; font-family: var(--font-body); margin-bottom: 8px; border-radius: 2px;
}
.widget-email input::placeholder { color: #888; }
.widget-email button {
  width: 100%; padding: 9px; background: var(--red); border: none; color: var(--white);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  cursor: pointer; border-radius: 2px; transition: background .2s;
}
.widget-email button:hover { background: var(--red-dark); }
.widget-email .privacy { font-size: 11px; color: #999; margin-top: 8px; line-height: 1.4; }
.widget-email .privacy a { color: #bbb; text-decoration: underline; }

/* ─── CONTENT + SIDEBAR LAYOUT ─────────────────────────────────── */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 32px 0;
}
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* ─── CATEGORY SECTIONS ────────────────────────────────────────── */
.category-block { margin-bottom: 36px; }
.cat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* travel layout */
.travel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.travel-grid .card--large .card-thumb { height: 200px; }
.travel-grid .right-stack { display: flex; flex-direction: column; gap: 16px; }
.travel-grid .right-stack .card--medium .card-thumb { height: 110px; }

/* health layout */
.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.health-grid .card--medium .card-thumb { height: 120px; }
.health-grid .card--list-tall { grid-column: 3 / 4; }

/* news layout */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.news-list { display: flex; flex-direction: column; gap: 16px; }

/* 3-col grid */
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.grid-3col .card--medium .card-thumb { height: 140px; }

/* ─── RED PROMO BAND ────────────────────────────────────────────── */
.promo-band {
  background: var(--red); padding: 20px 0; margin: 10px 0 32px;
}
.promo-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
  display: flex; gap: 24px; align-items: center;
}
.promo-inner p { color: var(--white); font-size: 13px; font-weight: 600; }

/* ─── SIDEBAR WIDGETS ───────────────────────────────────────────── */
.widget { margin-bottom: 28px; }
.widget-title {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  border-bottom: 2px solid var(--dark); padding-bottom: 8px; margin-bottom: 14px;
}
.widget-popular-posts { display: flex; flex-direction: column; gap: 14px; }
.widget-categories ul li {
  border-bottom: 1px solid var(--border); padding: 7px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.widget-categories ul li a { font-size: 13px; color: var(--mid); }
.widget-categories ul li a:hover { color: var(--red); }
.widget-categories ul li .count {
  font-size: 11px; background: var(--light); color: var(--muted);
  padding: 2px 7px; border-radius: 10px;
}
.widget-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.widget-tags a {
  display: inline-block; padding: 4px 10px;
  background: var(--light); color: var(--mid);
  font-size: 12px; border-radius: 2px; border: 1px solid var(--border);
}
.widget-tags a:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ─── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark); color: #ccc; padding: 40px 0 0;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 28px; border-bottom: 1px solid #333;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 1.3rem; color: var(--white); font-weight: 700;
}
.footer-logo .logo-icon { width: 30px; height: 30px; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  width: 32px; height: 32px; border: 1px solid #555; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 13px; transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 28px 0;
}
.footer-col h4 {
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #aaa; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #333; padding: 16px 0; font-size: 12px; color: #777; line-height: 1.6;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--white); }

/* ─── UTILITIES ────────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* placeholder image colors */
.ph-1  { background: #c9d4dc; }
.ph-2  { background: #d4ccc9; }
.ph-3  { background: #c9d8c9; }
.ph-4  { background: #d4d4c0; }
.ph-5  { background: #c9ccdc; }
.ph-6  { background: #dcc9cc; }

/* ─── SINGLE POST ──────────────────────────────────────────────── */
.single-post-hero { margin-bottom: 24px; }
.single-post-hero img { width: 100%; height: 400px; object-fit: cover; border-radius: 2px; }
.single-post-title {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  line-height: 1.25; margin-bottom: 12px;
}
.single-post-meta {
  font-size: 12px; color: var(--muted);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.single-post-meta .author-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: var(--border); flex-shrink: 0;
}
.single-post-meta .author-name { font-weight: 600; color: var(--dark); }
.article-content {
  font-size: 16px; line-height: 1.8; color: var(--mid);
}
.article-content h2, .article-content h3, .article-content h4 {
  font-family: var(--font-head); color: var(--dark);
  margin: 28px 0 10px; line-height: 1.3;
}
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content p  { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 14px 0 14px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--red); padding: 14px 20px;
  margin: 20px 0; background: var(--light); font-style: italic; color: var(--mid);
}
.article-content a { color: var(--red); text-decoration: underline; }
.article-content img { border-radius: 2px; margin: 20px 0; height: auto; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 20px 0; border-top: 1px solid var(--border); margin-top: 28px; }
.post-tags a {
  padding: 4px 12px; background: var(--light); border: 1px solid var(--border);
  border-radius: 2px; font-size: 12px; color: var(--mid);
}
.post-tags a:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.author-box {
  display: flex; gap: 20px; background: var(--light); padding: 24px;
  border-radius: 2px; margin: 28px 0; border: 1px solid var(--border);
}
.author-box .author-img {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  background: var(--border); flex-shrink: 0;
}
.author-box h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.author-box p { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* ─── ARCHIVE / CATEGORY PAGE ───────────────────────────────────── */
.archive-header {
  background: var(--dark); padding: 28px 0; margin-bottom: 32px;
}
.archive-header-inner {
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px;
}
.archive-header h1 {
  font-family: var(--font-head); font-size: 2rem; color: var(--white); font-weight: 700; margin-bottom: 4px;
}
.archive-header p { font-size: 14px; color: #aaa; }
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px;
}
.posts-grid .card--medium .card-thumb { height: 180px; }

/* ─── PAGINATION ───────────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: 4px; padding: 32px 0;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--border);
  border-radius: 2px; font-size: 13px; font-weight: 600; color: var(--mid);
}
.pagination a:hover, .pagination .current {
  background: var(--red); border-color: var(--red); color: var(--white);
}

/* ─── CONTACT PAGE ─────────────────────────────────────────────── */
.contact-hero {
  background: var(--dark); padding: 48px 0; margin-bottom: 48px; text-align: center;
}
.contact-hero h1 { font-family: var(--font-head); font-size: 2.25rem; color: var(--white); margin-bottom: 8px; }
.contact-hero p { font-size: 15px; color: #aaa; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 48px;
  max-width: var(--site-max); margin: 0 auto; padding: 0 20px 48px;
}
.contact-form-wrap h2 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 2px; font-size: 13px; color: var(--dark);
  background: var(--white); font-family: var(--font-body);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--red); }
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  padding: 10px 28px; background: var(--red); color: var(--white); border: none;
  cursor: pointer; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; border-radius: 2px; transition: background .2s;
}
.btn-submit:hover { background: var(--red-dark); }
.contact-info h2 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item .icon {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--red); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.contact-info-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.contact-info-item p { font-size: 13px; color: var(--muted); }

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 280px; }
  .hero-right { display: none; }
  .health-grid { grid-template-columns: 1fr 1fr; }
  .health-grid .card--list-tall { grid-column: auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mid  { grid-column: 1; grid-row: auto; }
  .hero-right { display: flex; grid-column: 1; grid-row: auto; }
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .travel-grid { grid-template-columns: 1fr; }
  .health-grid  { grid-template-columns: 1fr; }
  .news-grid    { grid-template-columns: 1fr; }
  .grid-3col    { grid-template-columns: 1fr 1fr; }
  .cat-grid-2   { grid-template-columns: 1fr; }
  .ticker-inner { gap: 16px; overflow-x: auto; }
  .ticker-item  { min-width: 180px; }
  .footer-cols  { grid-template-columns: 1fr; }
  .hamburger    { display: block; }
  .nav-inner    { display: none; flex-direction: column; }
  .nav-inner.open { display: flex; }
  .nav-inner a  { border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .hero-main .post-title { font-size: 1.25rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-post-hero img { height: 260px; }
  .single-post-title { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .grid-3col { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
  .header-inner { justify-content: space-between; }
  .header-search input { width: 130px; }
}

/* ─── CUSTOM LOGO ──────────────────────────────────────────────── */
/* Header logo */
.site-header .custom-logo {
  width: auto;
  height: 48px;
  max-width: 200px;
  object-fit: contain;
}

/* Footer logo — slightly smaller, white filter for dark background */
.site-footer .custom-logo {
  width: auto;
  height: 40px;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* makes any logo white on dark footer */
}

/* Remove default WP margin on custom logo anchor */
.custom-logo-wrap { display: flex; align-items: center; }
.custom-logo-link  { display: flex; align-items: center; line-height: 1; }
.custom-logo-wrap .custom-logo-link img { margin: 0; }
