/*
Theme Name: SparkVille
Theme URI: https://yoursite.com
Author: Your Name
Description: A clean, modern entertainment news & lifestyle magazine theme inspired by PinkVilla. Features a white/light aesthetic with pink accents, mega menus, hero grid layouts, and detailed article views.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sparkville
Tags: blog, magazine, entertainment, news, custom-menu, featured-images, threaded-comments, two-columns
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --pink:          #e91e8c;
  --pink-light:    #fce4f3;
  --pink-dark:     #c2157a;
  --pink-bg:       #fff5fb;
  --red:           #e53935;
  --orange:        #f57c00;
  --blue:          #1565c0;
  --green:         #2e7d32;
  --text:          #1a1a1a;
  --text-mid:      #444444;
  --text-muted:    #777777;
  --text-light:    #999999;
  --border:        #e8e8e8;
  --border-light:  #f2f2f2;
  --bg:            #ffffff;
  --bg-gray:       #f7f7f7;
  --bg-dark:       #1a1a1a;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.14);
  --radius-sm:     4px;
  --radius:        6px;
  --radius-lg:     10px;
  --transition:    0.2s ease;
  --max-width:     1240px;
  --font-head:     'Poppins', sans-serif;
  --font-body:     'Inter', sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--text); transition: color var(--transition); }
a:hover { color: var(--pink); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--text); }
p { margin-bottom: 1.1rem; }
ul,ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.screen-reader-text { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px); }
.skip-link { position:absolute;left:-9999px;top:1rem;background:var(--pink);color:#fff;padding:.5rem 1rem;z-index:9999;border-radius:var(--radius); }
.skip-link:focus { left:1rem; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.page-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 24px 0 40px; align-items: start; }
.main-col { min-width: 0; }

/* ============================================================
   TOP UTILITY BAR
============================================================ */
.top-bar {
  background: var(--bg-dark);
  color: #ccc;
  font-size: 0.78rem;
  padding: 6px 0;
  display: flex;
  align-items: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-date { font-size: 0.75rem; color: #aaa; }
.top-bar-links { display: flex; gap: 12px; }
.top-bar-links a { color: #ccc; font-size: 0.75rem; }
.top-bar-links a:hover { color: var(--pink); }
.top-bar-social { display: flex; gap: 10px; align-items: center; }
.top-bar-social a {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  transition: background var(--transition);
}
.top-bar-social a:hover { background: var(--pink); color: #fff; }

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--pink);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--pink);
  line-height: 1;
}
.logo-text span { color: var(--text); }
.logo-tagline { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 12px; }
.header-search-wrap { position: relative; }
.header-search-wrap input {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 7px 36px 7px 14px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--text);
  width: 220px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search-wrap input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(233,30,140,0.1); }
.header-search-wrap button {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.9rem;
}
.header-search-wrap button:hover { color: var(--pink); }
.header-whatsapp {
  display: flex; align-items: center; gap: 6px;
  background: #25d366;
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
}
.header-whatsapp:hover { background: #1ebe5d; color: #fff; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav-bar {
  background: #fff;
  border-top: 1px solid var(--border-light);
  position: sticky;
  top: 65px;
  z-index: 190;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-bar-inner::-webkit-scrollbar { display: none; }

.nav-item { position: relative; flex-shrink: 0; }
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  font-family: var(--font-head);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  border-bottom: 3px solid transparent;
}
.nav-item > a:hover,
.nav-item.active > a {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.nav-item > a .chevron {
  font-size: 0.6rem;
  color: var(--text-light);
  transition: transform var(--transition);
}
.nav-item:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--pink);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 300;
  padding: 8px 0;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--pink-bg); color: var(--pink); }

/* Mega dropdown */
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--pink);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  width: 520px;
  padding: 20px;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 0 0 var(--radius) var(--radius);
}
.nav-item:hover .mega-dropdown { display: grid; }
.mega-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.mega-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.8rem;
  color: var(--text-mid);
}
.mega-col a:hover { color: var(--pink); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1rem;
}

/* ============================================================
   TRENDING TICKER
============================================================ */
.trending-bar {
  background: var(--pink-bg);
  border-bottom: 1px solid #f0c0e0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  font-size: 0.78rem;
}
.trending-label {
  background: var(--pink);
  color: #fff;
  padding: 7px 14px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trending-track {
  display: inline-flex;
  white-space: nowrap;
  animation: slide 35s linear infinite;
  gap: 40px;
  padding: 7px 16px;
}
.trending-track a { color: var(--text-mid); font-size: 0.78rem; white-space: nowrap; }
.trending-track a:hover { color: var(--pink); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   CATEGORY PILLS
============================================================ */
.category-pills {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.pills-inner { display: flex; gap: 8px; padding-bottom: 2px; }
.pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font-head);
}
.pill:hover, .pill.active { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ============================================================
   HERO SECTION — Homepage
============================================================ */
.hero-section { padding: 20px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.hero-main { grid-column: 1; grid-row: 1 / 3; }
.hero-sub { grid-column: 2; }
.hero-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

/* Hero card */
.hero-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #f2f2f2; }
.hero-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.hero-card:hover .hero-card-img { transform: scale(1.03); }
.hero-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
}
.hero-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  color: #fff;
}
.hero-main .hero-card { height: 480px; }
.hero-sub .hero-card { height: 228px; }
.hero-sub-grid .hero-card { height: 156px; }

.cat-badge {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.cat-badge.korean { background: #7c3aed; }
.cat-badge.fashion { background: var(--orange); }
.cat-badge.lifestyle { background: var(--green); }
.cat-badge.south { background: #b91c1c; }
.cat-badge.hollywood { background: var(--blue); }
.cat-badge.cinema { background: #0f766e; }
.cat-badge.beauty { background: #db2777; }

.hero-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-main .hero-card-title { font-size: 1.25rem; -webkit-line-clamp: 3; }
.hero-sub .hero-card-title { font-size: 0.88rem; -webkit-line-clamp: 3; }
.hero-sub-grid .hero-card-title { font-size: 0.78rem; -webkit-line-clamp: 3; }

.hero-card-meta { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ============================================================
   SECTION DIVIDERS
============================================================ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pink);
}
.section-head-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--pink);
  border-radius: 2px;
}
.section-head-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pink);
  font-family: var(--font-head);
}
.section-head-more:hover { color: var(--pink-dark); }

/* ============================================================
   POST LIST — Compact horizontal cards
============================================================ */
.post-list { display: flex; flex-direction: column; gap: 0; }

.post-list-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.post-list-item:last-child { border-bottom: none; }
.post-list-item:hover { background: var(--pink-bg); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: var(--radius); }

.post-list-thumb {
  width: 100px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-gray);
}
.post-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-list-item:hover .post-list-thumb img { transform: scale(1.06); }

.post-list-body { flex: 1; min-width: 0; }
.post-list-category { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pink); margin-bottom: 3px; display: block; }
.post-list-title { font-size: 0.875rem; font-weight: 700; line-height: 1.35; font-family: var(--font-head); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-list-title a { color: var(--text); }
.post-list-title a:hover { color: var(--pink); }
.post-list-meta { font-size: 0.7rem; color: var(--text-light); }

/* ============================================================
   POST GRID — 3-column magazine cards
============================================================ */
.post-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.post-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-gray);
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }

.post-card-body { padding: 12px; }
.post-card-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pink); margin-bottom: 5px; }
.post-card-title { font-size: 0.875rem; font-weight: 700; line-height: 1.35; font-family: var(--font-head); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--pink); }
.post-card-meta { font-size: 0.7rem; color: var(--text-light); display: flex; gap: 8px; align-items: center; }
.post-card-meta .dot { color: var(--border); }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar-col { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-widget-head {
  background: var(--pink-bg);
  border-bottom: 2px solid var(--pink);
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.sidebar-widget-head .icon { color: var(--pink); }
.sidebar-widget-body { padding: 12px; }

/* Trending sidebar posts */
.sidebar-post-list { display: flex; flex-direction: column; gap: 0; }
.sidebar-post-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  counter-increment: trending;
}
.sidebar-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-num {
  font-size: 1.2rem;
  font-weight: 900;
  font-family: var(--font-head);
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  margin-top: 2px;
}
.sidebar-post-1 .sidebar-post-num { color: var(--pink); }
.sidebar-post-2 .sidebar-post-num { color: #f97316; }
.sidebar-post-3 .sidebar-post-num { color: #eab308; }
.sidebar-post-thumb { width: 64px; height: 48px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-gray); }
.sidebar-post-thumb img { width:100%;height:100%;object-fit:cover; }
.sidebar-post-info { flex: 1; min-width: 0; }
.sidebar-post-title { font-size: 0.8rem; font-weight: 600; line-height: 1.35; font-family: var(--font-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-post-title a { color: var(--text); }
.sidebar-post-title a:hover { color: var(--pink); }
.sidebar-post-time { font-size: 0.68rem; color: var(--text-light); margin-top: 2px; }

/* Tags widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-cloud a {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.tags-cloud a:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Ad placeholder */
.ad-box {
  background: var(--bg-gray);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--text-light);
  font-size: 0.75rem;
  min-height: 120px;
}

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 24px 0; }
.pagination a, .pagination .current {
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all var(--transition);
  font-family: var(--font-head);
}
.pagination a:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-bg); }
.pagination .current { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ============================================================
   SINGLE POST PAGE
============================================================ */
.breadcrumb {
  font-size: 0.75rem;
  color: var(--text-light);
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--pink); }
.breadcrumb .sep { color: var(--border); }

.article-header { margin-bottom: 20px; }

.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.article-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-author { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-mid); }
.article-author img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--pink-light); }
.article-date { display: flex; align-items: center; gap: 4px; }
.article-read-time { display: flex; align-items: center; gap: 4px; }
.article-meta .pipe { color: var(--border); }

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.share-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition);
}
.share-btn:hover { opacity: 0.85; }
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #000; color: #fff; }
.share-wa { background: #25d366; color: #fff; }
.share-copy { background: var(--bg-gray); color: var(--text-mid); border: 1px solid var(--border); }

/* Featured Image */
.article-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-gray);
}
.article-featured-img img { width: 100%; max-height: 500px; object-fit: cover; }
.article-featured-img figcaption { font-size: 0.75rem; color: var(--text-light); padding: 8px 12px; background: var(--bg-gray); font-style: italic; }

/* Article Content */
.article-body {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-mid);
}
.article-body p { margin-bottom: 1.3rem; }
.article-body h2 {
  font-size: 1.3rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--text);
  margin: 2.2rem 0 0.9rem;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pink-light);
}
.article-body h3 { font-size: 1.1rem; font-family: var(--font-head); margin: 1.8rem 0 0.7rem; }
.article-body a { color: var(--pink); text-decoration: underline; text-decoration-color: rgba(233,30,140,0.35); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--pink);
  background: var(--pink-bg);
  padding: 14px 20px;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}
.article-body ul li, .article-body ol li { margin-bottom: 0.4rem; }
.article-body figure { margin: 1.8rem 0; }
.article-body figcaption { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; text-align: center; font-style: italic; }

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #fff0f8 0%, #fce4f3 100%);
  border: 1px solid #f0bce0;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 1.8rem 0;
}
.highlight-box p { margin-bottom: 0; color: var(--text-mid); font-size: 0.95rem; }

/* Also Read */
.also-read {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-gray);
  border-left: 4px solid var(--pink);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.also-read-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pink); white-space: nowrap; }
.also-read a { font-size: 0.88rem; font-weight: 600; color: var(--text); font-family: var(--font-head); }
.also-read a:hover { color: var(--pink); }

/* Tags at bottom */
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 24px 0 20px; }
.article-tags-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.article-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.73rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.article-tags a:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Author Card */
.author-card {
  display: flex;
  gap: 16px;
  background: var(--pink-bg);
  border: 1px solid #f0bce0;
  border-radius: var(--radius-lg);
  padding: 18px;
  margin: 24px 0;
  align-items: flex-start;
}
.author-card-img { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--pink); object-fit: cover; }
.author-card-name { font-size: 1rem; font-weight: 800; font-family: var(--font-head); margin-bottom: 2px; }
.author-card-role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pink); font-weight: 700; margin-bottom: 6px; }
.author-card-bio { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* Related Posts */
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }

/* Comments */
.comments-area { margin-top: 32px; }
.comments-title-bar { font-size: 1rem; font-weight: 800; font-family: var(--font-head); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.comments-title-bar::before { content:''; display:block; width:4px; height:18px; background:var(--pink); border-radius:2px; }
.comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-author-name { font-size: 0.85rem; font-weight: 700; font-family: var(--font-head); }
.comment-date { font-size: 0.7rem; color: var(--text-light); margin-bottom: 5px; }
.comment-text { font-size: 0.87rem; color: var(--text-mid); margin: 0; }

.comment-form-wrap {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--border-light);
}
.comment-form-title { font-size: 0.95rem; font-weight: 800; font-family: var(--font-head); margin-bottom: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-field label { font-size: 0.75rem; font-weight: 600; color: var(--text-mid); }
.form-field input, .form-field textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.87rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--pink); }
.form-field textarea { min-height: 110px; resize: vertical; }
.btn-submit {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: 0.03em;
}
.btn-submit:hover { background: var(--pink-dark); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: #1a1a1a; color: #ccc; margin-top: 48px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0 32px;
  border-bottom: 1px solid #333;
}
.footer-logo { font-family: var(--font-head); font-size: 1.75rem; font-weight: 900; color: var(--pink); margin-bottom: 10px; }
.footer-logo span { color: #fff; }
.footer-desc { font-size: 0.82rem; color: #888; line-height: 1.6; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #333;
  color: #ccc;
  font-size: 0.8rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--pink); color: #fff; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: #888; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--pink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 0.75rem;
  color: #666;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-links { display: flex; gap: 14px; }
.footer-bottom-links a { color: #666; font-size: 0.75rem; }
.footer-bottom-links a:hover { color: var(--pink); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar-col { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { grid-column: 1; grid-row: auto; }
  .hero-sub { grid-column: 1; }
  .hero-sub-grid { grid-template-columns: 1fr 1fr; }
  .hero-main .hero-card { height: 300px; }
  .hero-sub .hero-card { height: 200px; }
  .post-grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .nav-bar { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-whatsapp { display: none; }
  .header-search-wrap input { width: 160px; }
  .top-bar-links { display: none; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .hero-sub-grid { grid-template-columns: 1fr; }
  .post-grid-3 { grid-template-columns: 1fr; }
  .post-grid-2 { grid-template-columns: 1fr; }
}
