/*
Theme Name: Mums Travels
Theme URI: https://mumstravels.com
Author: Mums Travels
Author URI: https://mumstravels.com
Description: An editorial travel magazine theme for Mums Travels — featuring Southeast Asia stories with a warm, magazine-style aesthetic. Inspired by Roads & Kingdoms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mumstravels
Tags: blog, travel, magazine, editorial, three-columns, custom-menu, featured-images, threaded-comments
*/

/* =========================================
   1. DESIGN TOKENS
   ========================================= */
:root {
  --bg: #F5F1EA;
  --bg-soft: #EDE7DC;
  --bg-card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #3A3A3A;
  --muted: #6B6B6B;
  --line: #E5DFD2;
  --orange: #E2602C;
  --orange-deep: #C24B1B;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
}

/* =========================================
   2. RESET + BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
}
.skip-link:focus {
  left: 20px;
  top: 20px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
}

/* =========================================
   3. HEADER
   ========================================= */
.site-header {
  background: var(--bg);
  padding: 22px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.logo svg { width: 22px; height: 22px; }
.logo img { max-height: 36px; width: auto; }

.main-nav {
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li { list-style: none; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--orange);
}
.main-nav .sub-menu { display: none; } /* simple — no dropdowns for now */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: transparent; border: none; border-radius: 999px;
  color: var(--ink); transition: background 0.2s;
}
.icon-btn:hover { background: rgba(0,0,0,0.06); }
.btn-dark {
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-dark:hover { background: var(--orange); color: #fff; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* =========================================
   4. HERO
   ========================================= */
.hero {
  position: relative;
  height: 580px;
  margin: 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a2a2a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right,
              rgba(245,241,234,0.85) 0%,
              rgba(245,241,234,0.55) 30%,
              rgba(245,241,234,0.05) 60%,
              rgba(0,0,0,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 70px 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--orange);
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  margin-bottom: 22px;
  font-weight: 500;
}
.hero h1 a { color: inherit; }
.hero h1 a:hover { color: var(--orange); }
.hero p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 420px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s, transform 0.2s, gap 0.2s;
  text-decoration: none;
}
.btn-cta:hover { background: var(--orange); color: #fff; gap: 16px; }
.btn-cta svg { width: 16px; height: 16px; }
.hero-location {
  position: absolute;
  bottom: 26px; right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.hero-location svg { width: 14px; height: 14px; }

/* =========================================
   5. SECTION HEADERS
   ========================================= */
.section { padding: 70px 0 10px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 500;
}
.section-title::before {
  content: "";
  width: 3px;
  height: 28px;
  background: var(--orange);
  border-radius: 2px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--sans);
}
.view-all svg { width: 14px; height: 14px; transition: transform 0.2s; }
.view-all:hover svg { transform: translateX(4px); }

/* =========================================
   6. CARDS
   ========================================= */
.card {
  position: relative;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  background-color: #2a2a2a;
}
.card .card-img,
.card .card-img-link {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  display: block;
}
.card:hover .card-img,
.card:hover .card-img-link { transform: scale(1.05); }
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.card-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.card-tag:hover { background: var(--orange); color: #fff; }

.card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 24px;
  color: #fff;
  pointer-events: none;
}
.card-body * { pointer-events: auto; }
.card-body h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 500;
}
.card-body h3 a { color: #fff; }
.card-body h3 a:hover { color: var(--orange); }
.card-body .excerpt {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin: 0 0 18px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  gap: 12px;
}
.author {
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  border: 1.5px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.author-name { font-size: 13px; font-weight: 500; color: #fff; }
.card-date { font-size: 12px; color: rgba(255,255,255,0.75); white-space: nowrap; }

/* =========================================
   7. FEATURED + RECENT GRIDS
   ========================================= */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recent-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
  height: 620px;
}
.recent-grid .card-tall {
  grid-row: span 2;
  height: 100%;
}
.recent-grid .card { height: 100%; }
.recent-grid .card .card-body h3 { font-size: 20px; }
.recent-grid .card-tall .card-body h3 { font-size: 24px; }

/* No featured image placeholder */
.card.no-image {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
}

/* =========================================
   8. CATEGORIES STRIP
   ========================================= */
.categories { padding: 60px 0 40px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}
.cat-item:hover {
  background: rgba(0,0,0,0.03);
  transform: translateY(-2px);
  color: var(--ink);
}
.cat-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--ink);
  transition: color 0.2s;
}
.cat-item:hover .cat-icon { color: var(--orange); }
.cat-icon svg {
  width: 32px; height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-label { font-size: 13px; font-weight: 500; color: var(--ink); }

/* =========================================
   9. NEWSLETTER
   ========================================= */
.newsletter-wrap { padding: 30px 0 80px; }
.newsletter {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.newsletter h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 10px;
}
.newsletter p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 999px;
  padding: 4px;
  max-width: 380px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  background: transparent;
  outline: none;
  color: var(--ink);
  font-family: inherit;
  min-width: 0;
}
.newsletter-form input::placeholder { color: #999; }
.newsletter-form button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--orange); }
.stamp {
  width: 110px; height: 110px;
  border: 2px dashed var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  transform: rotate(-8deg);
  opacity: 0.7;
}
.stamp-inner {
  text-align: center;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.3;
  color: var(--ink);
}
.stamp-inner .big {
  display: block;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 4px 0;
  text-transform: none;
}

/* =========================================
   10. FOOTER
   ========================================= */
.site-footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 220px;
  line-height: 1.55;
  margin: 0;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li { list-style: none; }
.footer-col a {
  font-size: 14px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--orange); }
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icons a:hover {
  background: var(--ink);
  color: #fff;
}
.social-icons svg { width: 15px; height: 15px; }
.footer-decor {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.polaroid {
  background: #fff;
  padding: 8px 8px 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: rotate(-4deg);
  width: 90px;
  flex-shrink: 0;
}
.polaroid:nth-child(2) { transform: rotate(5deg); margin-top: 10px; margin-left: -20px; }
.polaroid-img {
  width: 100%;
  height: 90px;
  background-size: cover;
  background-position: center;
}
.footer-quote {
  font-family: var(--hand);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
  margin-left: 8px;
  align-self: center;
}
.site-credits {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* =========================================
   11. SINGLE POST + PAGE
   ========================================= */
.single-post-header {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 28px 30px;
  text-align: center;
}
.single-post-header .post-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 18px;
  display: inline-block;
}
.single-post-header h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
}
.single-post-header .post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.single-post-header .post-meta .avatar {
  width: 32px; height: 32px;
  border: none;
}
.single-post-header .post-meta strong {
  color: var(--ink);
  font-weight: 500;
}
.single-featured-image {
  max-width: 1200px;
  margin: 30px auto 50px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 28px;
}
.single-featured-image img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}
.single-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px 80px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
}
.single-content p { margin: 0 0 24px; }
.single-content h2 {
  font-size: 30px;
  margin: 50px 0 18px;
}
.single-content h3 {
  font-size: 24px;
  margin: 40px 0 14px;
}
.single-content a {
  color: var(--orange);
  border-bottom: 1px solid rgba(226,96,44,0.3);
}
.single-content a:hover {
  border-bottom-color: var(--orange);
}
.single-content blockquote {
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.single-content img {
  border-radius: var(--radius-sm);
  margin: 30px 0;
  width: 100%;
  height: auto;
}
.single-content ul, .single-content ol { margin: 0 0 24px; padding-left: 28px; }
.single-content li { margin-bottom: 8px; }
.single-content > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 600;
  float: left;
  line-height: 0.9;
  margin: 8px 12px 0 0;
  color: var(--orange);
}

/* =========================================
   12. ARCHIVE / CATEGORY
   ========================================= */
.archive-header {
  text-align: center;
  padding: 50px 28px 20px;
}
.archive-header .eyebrow { margin-bottom: 16px; }
.archive-header .eyebrow::before { background: var(--orange); }
.archive-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.archive-header p {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 30px 0 60px;
}
.archive-grid .card { height: 340px; }
.pagination-wrap {
  display: flex;
  justify-content: center;
  padding: 30px 0 80px;
  gap: 10px;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* =========================================
   13. 404 + SEARCH
   ========================================= */
.error-404, .search-no-results {
  text-align: center;
  padding: 100px 28px;
  max-width: 600px;
  margin: 0 auto;
}
.error-404 h1, .search-no-results h1 {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 16px;
}
.error-404 p, .search-no-results p {
  color: var(--muted);
  margin-bottom: 30px;
}

.search-form-wrap {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--line);
}
.search-form-wrap input[type="search"] {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  background: transparent;
  outline: none;
  font-family: inherit;
}
.search-form-wrap button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* =========================================
   14. COMMENTS
   ========================================= */
.comments-area {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.comments-area h2, .comments-area h3 {
  font-size: 24px;
  margin-bottom: 20px;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.comment-list li {
  list-style: none;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.comment-author {
  font-weight: 600;
  margin-bottom: 6px;
}
.comment-metadata {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 14px;
  background: #fff;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.comment-form .submit:hover { background: var(--orange); }

/* =========================================
   15. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-decor { grid-column: 1 / -1; justify-content: flex-start; margin-top: 20px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .recent-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .recent-grid .card { height: 280px; }
  .recent-grid .card-tall { grid-row: span 1; grid-column: span 2; height: 360px; }
  .newsletter {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 36px 28px;
  }
  .newsletter p { margin: 0 auto; }
  .newsletter-form { margin: 0 auto; }
  .stamp { margin: 0 auto; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 16px 28px;
    border-bottom: 1px solid var(--line);
    z-index: 100;
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header { position: relative; }

  .hero { height: 460px; margin: 0 16px; }
  .hero-content { padding: 40px 28px; }
  .featured-grid { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: 1fr; }
  .recent-grid .card-tall { grid-column: span 1; height: 280px; }
  .archive-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 0 0; }
  .section-title { font-size: 22px; }
  .wrap { padding: 0 20px; }
  .single-content { font-size: 17px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .icon-btn { display: none; }
  .btn-dark { padding: 9px 16px; font-size: 13px; }
}

/* =========================================
   16. WORDPRESS DEFAULT CLASSES
   ========================================= */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.sticky { /* WordPress sticky post — handled visually elsewhere */ }
.bypostauthor { /* default */ }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }
