/*
Theme Name: BFK168 Press
Theme URI: https://betflik168th.com/
Author: BETFLIK168
Author URI: https://betflik168th.com/
Description: ธีมเว็บข่าวสารและบทความ BETFLIK168 สไตล์เว็บม่วงไซเบอร์นีออน รองรับภาษาไทย ปรับแต่งเพื่อ SEO
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
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: bfk168press
Tags: news, blog, custom-logo, custom-menu, featured-images
*/

:root {
  --bg-deep: #16012c;
  --bg-main: #280150;
  --bg-card: #3b136e;
  --bg-card-2: #4a1b8a;
  --purple: #8b3dff;
  --purple-soft: #a86bff;
  --magenta: #c13aff;
  --pink: #ff3ef0;
  --blue: #3d9bff;
  --gold: #ffd400;
  --gold-2: #ffb800;
  --orange: #ff7a00;
  --text: #f3ecff;
  --muted: #c9b8e8;
  --line: rgba(193, 58, 255, 0.35);
  --radius: 18px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --glow: 0 0 24px rgba(193, 58, 255, 0.45);
  --font: 'Kanit', 'Prompt', 'Segoe UI', Tahoma, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139, 61, 255, 0.35), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(61, 155, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 35% at 5% 45%, rgba(193, 58, 255, 0.1), transparent 70%);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-soft); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(22, 1, 44, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.custom-logo-link img { max-height: 58px; width: auto; }
.site-title-wrap .site-name {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gold), #fff6b0, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.main-nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 400;
  font-size: 16.5px;
  border-radius: 10px;
  position: relative;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--gold);
  background: rgba(193, 58, 255, 0.12);
}

.header-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-gold {
  background: linear-gradient(180deg, #ffe14d, var(--gold) 45%, var(--gold-2));
  color: #4d2a00;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.35);
}
.btn-purple {
  background: linear-gradient(180deg, var(--purple-soft), var(--purple) 55%, #6a22d4);
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 61, 255, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--magenta);
  box-shadow: inset 0 0 12px rgba(193, 58, 255, 0.15);
}
.btn-lg { padding: 14px 34px; font-size: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 65% at 50% 35%, rgba(139, 61, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 30% 40% at 85% 60%, rgba(255, 62, 240, 0.14), transparent 70%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/img/main-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.hero-side { position: relative; height: 320px; }
.hero-side img {
  position: absolute;
  bottom: 0;
  max-height: 320px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
}
.hero-side.left { text-align: left; }
.hero-side.left img { left: 0; }
.hero-side.right { text-align: right; }
.hero-side.right img { right: 0; }
.hero-fx { position: absolute; opacity: 0.85; animation: fxFloat 4s ease-in-out infinite; }
.hero-fx.f1 { top: 8%; left: 45%; width: 70px; animation-delay: 0s; }
.hero-fx.f2 { bottom: 18%; left: 18%; width: 56px; animation-delay: 1.2s; }
.hero-fx.f3 { top: 22%; right: 20%; width: 60px; animation-delay: 0.6s; }
@keyframes fxFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

.hero-center { text-align: center; }
.hero-badge {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid rgba(255, 212, 0, 0.5);
  background: rgba(255, 212, 0, 0.08);
  border-radius: 999px;
  padding: 5px 18px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(193, 58, 255, 0.55);
}
.hero h1 .brand {
  background: linear-gradient(92deg, #ffe14d 0%, var(--gold) 40%, #ffed9e 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 21px;
  color: var(--muted);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-light {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1100px);
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(193, 58, 255, 0.8));
}

/* ============ Sections ============ */
.section { padding: 54px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
}
.section-title::before,
.section-title::after {
  content: '';
  width: 54px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--magenta));
}
.section-title::after { background: linear-gradient(90deg, var(--magenta), transparent); }
.section-desc { color: var(--muted); max-width: 720px; margin: 8px auto 0; font-size: 16.5px; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  text-align: center;
  background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card) 60%, #2c0e56);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--magenta), var(--blue), var(--pink));
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), var(--glow);
  border-color: rgba(193, 58, 255, 0.7);
}
.cat-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: radial-gradient(circle at 32% 28%, rgba(193, 58, 255, 0.4), rgba(61, 155, 255, 0.16) 70%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 18px rgba(193, 58, 255, 0.3);
}
.cat-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.cat-card h3 a { color: var(--text); }
.cat-card h3 a:hover { color: var(--gold); }
.cat-card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; line-height: 1.65; }
.cat-card .btn { padding: 8px 20px; font-size: 15px; }

/* Article cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(170deg, var(--bg-card-2), var(--bg-card) 55%, #2c0e56);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), var(--glow); }
.post-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .cat-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 13px;
  font-weight: 500;
  padding: 3px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 18.5px; font-weight: 500; line-height: 1.45; margin-bottom: 8px; }
.post-body h3 a { color: var(--text); }
.post-body h3 a:hover { color: var(--gold); }
.post-excerpt { font-size: 15px; color: var(--muted); flex: 1; }
.post-meta { margin-top: 14px; font-size: 13.5px; color: #9d8cc4; display: flex; justify-content: space-between; align-items: center; }
.post-meta .readmore { color: var(--gold); font-weight: 500; }

/* Promo banners */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.promo-item:hover { transform: translateY(-5px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), var(--glow); }
.promo-item img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(59, 19, 110, 0.55);
  border: 1px solid var(--line);
}
.feature-item .f-icon {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  background: linear-gradient(160deg, rgba(193, 58, 255, 0.35), rgba(61, 155, 255, 0.18));
  border: 1px solid var(--line);
}
.feature-item h3 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(59, 19, 110, 0.5);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-size: 17.5px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--muted); font-size: 15.5px; border-top: 1px dashed rgba(193, 58, 255, 0.25); padding-top: 14px; }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(193, 58, 255, 0.4), transparent 70%),
    linear-gradient(160deg, #4a1b8a, #330d63);
  border: 1px solid rgba(255, 212, 0, 0.35);
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 30px; font-weight: 600; margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 22px; font-size: 17px; }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  position: relative;
  padding: 52px 0 44px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(139, 61, 255, 0.3), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 900px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--magenta), transparent);
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 34px rgba(193, 58, 255, 0.5);
}
.page-hero .ph-desc { color: var(--muted); max-width: 760px; margin: 0 auto; font-size: 17px; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 14px;
  color: #9d8cc4;
  padding: 16px 0 2px;
}
.breadcrumbs a { color: var(--purple-soft); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.6; }
.breadcrumbs .current { color: var(--gold); }

/* ============ Content (single/article) ============ */
.content-wrap { max-width: 880px; margin: 0 auto; padding: 34px 20px 60px; }
.entry-header { margin-bottom: 24px; }
.entry-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  margin: 10px 0 14px;
}
.entry-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; color: #9d8cc4; align-items: center; }
.entry-meta .chip {
  padding: 3px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  color: #fff;
  font-weight: 400;
}
.entry-meta .chip a { color: #fff; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 28px; }

.entry-content { font-size: 17.5px; }
.entry-content p { margin-bottom: 1.15em; color: #e9e0fb; }
.entry-content h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 1.6em 0 0.7em;
  padding-left: 16px;
  border-left: 4px solid var(--magenta);
  line-height: 1.35;
}
.entry-content h3 { font-size: 21px; font-weight: 500; margin: 1.4em 0 0.6em; color: var(--gold); }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.3em; color: #e9e0fb; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content li::marker { color: var(--magenta); }
.entry-content img { border-radius: 14px; margin: 1.2em auto; box-shadow: var(--shadow); }
.entry-content blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(255, 212, 0, 0.06);
  padding: 16px 22px;
  border-radius: 0 14px 14px 0;
  margin: 1.4em 0;
  color: var(--muted);
  font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: rgba(139, 61, 255, 0.25); font-weight: 500; }
.entry-content strong { color: #fff; font-weight: 600; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

.entry-cta {
  margin: 36px 0 8px;
  padding: 26px 28px;
  border-radius: var(--radius);
  text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(193, 58, 255, 0.35), transparent 75%), linear-gradient(160deg, #43167f, #2d0b58);
  border: 1px solid rgba(255, 212, 0, 0.35);
}
.entry-cta h3 { font-size: 21px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.entry-cta p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }

.cat-description { max-width: 880px; margin: 0 auto; padding: 30px 20px 10px; font-size: 16.5px; color: #dccdf3; line-height: 1.85; }
.cat-description p { margin-bottom: 1.2em; }
.cat-description h2 {
  font-size: 24px; font-weight: 600; margin: 1.8em 0 0.7em;
  padding-left: 14px; border-left: 4px solid var(--magenta); line-height: 1.4; color: #fff;
}
.cat-description h3 { font-size: 19px; font-weight: 500; margin: 1.5em 0 0.5em; color: var(--gold); }
.cat-description ul, .cat-description ol { margin: 0 0 1.3em 1.4em; }
.cat-description li { margin-bottom: 0.6em; padding-left: 4px; }
.cat-description li::marker { color: var(--magenta); }
.cat-description a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 3px; }
.cat-description a:hover { color: var(--gold); }
.cat-description strong { color: #fff; font-weight: 600; }

.archive-list { max-width: 1200px; margin: 0 auto; padding: 20px 20px 60px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin: 44px 0 10px; }
.pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  padding: 0 12px;
}
.pagination .page-numbers.current {
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  border-color: transparent;
  font-weight: 500;
}
.pagination .page-numbers:hover:not(.current) { border-color: var(--magenta); color: var(--gold); }

/* ============ Footer ============ */
.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-deep) 65%);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 34px;
}
.footer-brand img { max-height: 58px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 380px; }
.site-footer h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: var(--muted); font-size: 15.5px; }
.site-footer ul a:hover { color: var(--gold); }
.footer-note { font-size: 13.5px; color: #8a78ad; margin-top: 18px; }
.copyright {
  border-top: 1px solid rgba(193, 58, 255, 0.2);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  color: #8a78ad;
}

/* Mobile bottom bar (like main site) */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(22, 1, 44, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar .mb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 0;
  border-radius: 10px;
}
.mobile-bar a .mb-ico { font-size: 20px; }
.mobile-bar a.hot { color: var(--gold); font-weight: 500; }
body { scroll-behavior: smooth; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-item img { aspect-ratio: 3.2 / 1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 1, 44, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .header-cta .btn-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 26px; }
  .page-hero h1 { font-size: 30px; }
  .entry-title { font-size: 26px; }
  .mobile-bar { display: block; }
  body { padding-bottom: 74px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 38px 0 24px; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 48px 0 40px; }
  .btn-lg { padding: 12px 26px; font-size: 16.5px; }
  .content-wrap { padding: 22px 16px 50px; }
}
