/* =============================================
   Today's Horoscopes - Theme CSS
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:     #1a0a3c;
  --primary-light: #2d1b69;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --accent:      #7c3aed;
  --text:        #1e1b2e;
  --text-muted:  #6b7280;
  --bg:          #f9f7ff;
  --card-bg:     #ffffff;
  --border:      #e5dff5;
  --radius:      10px;
  --shadow:      0 2px 16px rgba(26,10,60,0.08);
  --shadow-lg:   0 8px 40px rgba(26,10,60,0.14);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --max-w:       1200px;
  --header-h:    68px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); line-height: 1.3; font-weight: 700; color: var(--primary); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.site-logo .logo-text { display: flex; flex-direction: column; }
.site-logo .logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.site-logo .logo-tagline { font-size: 0.65rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  padding: 8px 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); background: rgba(201,168,76,0.1); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.search-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.search-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--primary-light);
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a {
  display: block; padding: 10px 20px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav.open { display: block; }

/* Search Bar */
.search-bar {
  display: none;
  background: var(--primary-light);
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.search-bar.open { display: block; }
.search-bar form { display: flex; gap: 8px; max-width: 600px; margin: 0 auto; }
.search-bar input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.5); }
.search-bar input:focus { border-color: var(--gold); }
.search-bar button {
  padding: 10px 20px;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.search-bar button:hover { background: var(--gold-light); }

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.section-head h2 {
  font-size: 1.3rem;
  position: relative;
}
.section-head h2::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--gold);
  margin-top: 4px;
  border-radius: 2px;
}
.section-head a { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.section-head a:hover { color: var(--gold); }

/* =============================================
   POST CARDS
   ============================================= */
.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.post-card .card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .card-img img { transform: scale(1.05); }

.post-card .card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }

.card-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.card-title a:hover { color: var(--accent); }
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* =============================================
   HOME - HERO SECTION
   ============================================= */
.hero-section {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.hero-main {
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}
.hero-main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.5s;
}
.hero-main:hover img { transform: scale(1.03); }
.hero-main-content {
  position: relative;
  padding: 32px;
  background: linear-gradient(0deg, rgba(26,10,60,0.95) 0%, rgba(26,10,60,0.4) 70%, transparent 100%);
}
.hero-main-content .card-category { color: var(--gold-light); }
.hero-main-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: #fff;
  margin-bottom: 10px;
}
.hero-main-content h2 a { color: inherit; }
.hero-main-content h2 a:hover { color: var(--gold); }
.hero-main-content .card-meta { color: rgba(255,255,255,0.65); }

.hero-side .post-card { height: 100%; }

/* =============================================
   HOME - POST GRID
   ============================================= */
.posts-section { padding: 32px 0; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* =============================================
   HOME - MAIN + SIDEBAR LAYOUT
   ============================================= */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding: 32px 0 48px;
  align-items: start;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  color: var(--primary);
}

/* Small post list (sidebar) */
.small-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.small-post:last-child { border-bottom: none; padding-bottom: 0; }
.small-post .sp-img {
  width: 70px; height: 70px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}
.small-post .sp-img img { width: 100%; height: 100%; object-fit: cover; }
.small-post .sp-title {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 4px;
}
.small-post .sp-title a:hover { color: var(--accent); }
.small-post .sp-date { font-size: 0.72rem; color: var(--text-muted); }

/* Category list widget */
.cat-list li { border-bottom: 1px solid var(--border); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  color: var(--text);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.cat-list a:hover { color: var(--accent); }
.cat-list .count {
  font-size: 0.75rem;
  background: var(--bg);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Zodiac sign widget */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.zodiac-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.zodiac-item:hover { background: var(--primary); color: var(--gold); }
.zodiac-item .z-icon { font-size: 1.4rem; margin-bottom: 4px; }
.zodiac-item a { color: inherit; }
.zodiac-item:hover a { color: var(--gold); }

/* =============================================
   SINGLE POST
   ============================================= */
.single-wrap { padding: 0 0 48px; }

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--accent); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }

/* Post Header */
.post-header { padding: 24px 0 28px; }
.post-category-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.post-title-main {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 18px;
}
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.post-meta-bar .meta-author {
  display: flex; align-items: center; gap: 8px;
}
.post-meta-bar .meta-author img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
}
.post-meta-bar .meta-author a { color: var(--accent); font-weight: 500; }
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }

/* Featured Image */
.post-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Table of Contents */
.toc-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 28px;
  color: #fff;
}
.toc-box h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.toc-list { counter-reset: toc; }
.toc-list li {
  counter-increment: toc;
  padding: 5px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: flex-start; gap: 10px;
}
.toc-list li:last-child { border-bottom: none; }
.toc-list li::before {
  content: counter(toc);
  background: var(--gold);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.toc-list a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.toc-list a:hover { color: var(--gold); }

/* Post Body Content */
.post-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}
.post-body h2 { font-size: 1.5rem; margin: 2rem 0 1rem; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.post-body h3 { font-size: 1.2rem; margin: 1.6rem 0 0.8rem; color: var(--accent); }
.post-body h4 { font-size: 1rem; margin: 1.4rem 0 0.6rem; }
.post-body p { margin-bottom: 1.2rem; }
.post-body ul, .post-body ol { padding-left: 1.6rem; margin-bottom: 1.2rem; }
.post-body ul li, .post-body ol li { margin-bottom: 0.4rem; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(201,168,76,0.06);
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}
.post-body a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.post-body a:hover { border-color: var(--accent); }
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.92rem; }
.post-body table th { background: var(--primary); color: var(--gold); padding: 10px 14px; text-align: left; font-weight: 600; }
.post-body table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.post-body table tr:nth-child(even) td { background: var(--bg); }
.post-body img { border-radius: var(--radius); margin: 1rem 0; box-shadow: var(--shadow); }

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.share-bar .share-label { font-weight: 600; font-size: 0.9rem; margin-right: 4px; color: var(--primary); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  color: #fff;
}
.share-btn.fb  { background: #1877f2; }
.share-btn.tw  { background: #1da1f2; }
.share-btn.pin { background: #e60023; }
.share-btn.li  { background: #0a66c2; }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* Author Box */
.author-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  margin: 32px 0;
}
.author-box .author-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.author-box .author-img img { width: 100%; height: 100%; object-fit: cover; }
.author-box .author-info h4 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.author-box .author-info h4 a { color: inherit; }
.author-box .author-info .author-role { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.author-box .author-info p { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.6; margin: 0; }

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

/* =============================================
   CATEGORY / AUTHOR PAGE
   ============================================= */
.archive-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 48px 0 40px;
  margin-bottom: 36px;
}
.archive-header h1 { color: var(--gold); margin-bottom: 8px; }
.archive-header p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

.author-archive-header {
  display: flex;
  align-items: center;
  gap: 24px;
}
.author-archive-header .author-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  flex-shrink: 0;
}
.author-archive-header .author-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  transition: all 0.2s;
}
.pagination a:hover { background: var(--primary); color: var(--gold); border-color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--gold); border-color: var(--primary); }
.pagination .prev, .pagination .next { width: auto; padding: 0 14px; gap: 6px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-widget h4 {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-about .about-desc { font-size: 0.87rem; line-height: 1.7; margin-bottom: 18px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: var(--gold); color: var(--primary); }

.footer-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a::before { content: '›'; color: var(--gold); font-size: 1.1rem; }
.footer-links a:hover { color: var(--gold); }

.footer-recent .fr-post {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-recent .fr-post:last-child { border-bottom: none; }
.footer-recent .fr-img {
  width: 56px; height: 56px;
  border-radius: 6px; overflow: hidden; flex-shrink: 0;
}
.footer-recent .fr-img img { width: 100%; height: 100%; object-fit: cover; }
.footer-recent .fr-title { font-size: 0.82rem; color: rgba(255,255,255,0.8); line-height: 1.4; margin-bottom: 4px; }
.footer-recent .fr-title a:hover { color: var(--gold); }
.footer-recent .fr-date { font-size: 0.72rem; color: rgba(255,255,255,0.45); }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: var(--gold); }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }

/* =============================================
   404 PAGE
   ============================================= */
.notfound-wrap {
  text-align: center;
  padding: 80px 20px;
}
.notfound-wrap .big-404 {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.notfound-wrap h2 { margin-bottom: 14px; }
.notfound-wrap p { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary); color: var(--gold); }

/* =============================================
   SEARCH RESULTS
   ============================================= */
.search-results-header { padding: 28px 0 18px; }
.search-results-header h1 { font-size: 1.4rem; }
.search-results-header h1 span { color: var(--accent); }

/* =============================================
   ZODIAC STRIP (homepage)
   ============================================= */
.zodiac-strip {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.zodiac-strip h3 { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.zodiac-strip .zs-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.zs-item {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text);
  transition: all 0.2s;
}
.zs-item:hover { border-color: var(--gold); background: var(--primary); color: var(--gold); }
.zs-item .icon { font-size: 1rem; }

/* =============================================
   UTILITIES
   ============================================= */
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.d-flex { display: flex; }
.gap-sm { gap: 8px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { grid-row: auto; min-height: 320px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 58px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
  .author-box .author-img { margin: 0 auto; }
  .related-grid { grid-template-columns: 1fr; }
  .author-archive-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 260px; }
  .hero-main-content { padding: 20px; }
  .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .share-bar { gap: 8px; }
  .share-btn { padding: 7px 12px; font-size: 0.78rem; }
}
