/*
Theme Name: AstroFacts
Theme URI: https://yoursite.com
Author: Your Name
Description: A mystical astrology facts website theme - inspired by modern glassmorphism design
Version: 2.0
License: GNU General Public License v2 or later
Tags: blog, astrology, light, responsive, glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===========================
   CSS VARIABLES & ROOT
   (Shayari Garden inspired: light pink-cyan palette)
=========================== */
:root {
  /* ---- Backgrounds ---- */
  --bg-main:        #fef9ff;
  --bg-gradient:    linear-gradient(135deg, #FFDEE9 0%, #d4f5f5 50%, #B5FFFC 100%);
  --bg-card:        rgba(255, 255, 255, 0.82);
  --bg-card-hover:  rgba(255, 255, 255, 0.96);
  --bg-card-solid:  #ffffff;

  /* ---- Accent Colors (Pink primary like reference site) ---- */
  --accent-primary:  #d63384;       /* Main pink — same as reference */
  --accent-primary2: #f06292;       /* Lighter pink */
  --accent-dark:     #a8175e;       /* Darker pink */
  --accent-cyan:     #00bcd4;       /* Cyan complement */
  --accent-cyan2:    #26c6da;       /* Lighter cyan */
  --accent-gold:     #d63384;       /* Reusing pink for gold slots */
  --accent-gold2:    #f06292;
  --accent-purple:   #9c27b0;
  --accent-purple2:  #ba68c8;

  /* ---- Text ---- */
  --text-main:   #333333;           /* Dark gray — same as reference */
  --text-muted:  #6b6b8a;
  --text-light:  #999999;

  /* ---- Borders & Shadows ---- */
  --border:       rgba(214, 51, 132, 0.18);
  --border-hover: rgba(214, 51, 132, 0.45);
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow:       0 6px 20px rgba(0, 0, 0, 0.07);
  --shadow-card:  0 4px 16px rgba(214, 51, 132, 0.10);
  --shadow-hover: 0 12px 36px rgba(214, 51, 132, 0.18);

  /* ---- Layout ---- */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-pill: 50px;

  /* ---- Gradients ---- */
  --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  --gradient-hero:    linear-gradient(135deg, #FFDEE9 0%, #d4f5f5 50%, #B5FFFC 100%);
  --gradient-card:    linear-gradient(135deg, rgba(214,51,132,0.06), rgba(0,188,212,0.04));
  --gradient-gold:    linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
}

/* ===========================
   RESET & BASE
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Decorative sparkles removed for clean gradient background */

/* ===========================
   HEADER / NAVBAR
=========================== */
#masthead {
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(214, 51, 132, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 12px rgba(214, 51, 132, 0.08);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-branding .logo-icon {
  font-size: 30px;
  filter: drop-shadow(0 0 8px rgba(214, 51, 132, 0.5));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(214, 51, 132, 0.5)); }
  50%       { filter: drop-shadow(0 0 18px rgba(214, 51, 132, 0.85)); }
}

.site-title {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d63384, #9c27b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin: 0;
}

.site-description {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

/* Navigation */
#site-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: #555555;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: #d63384;
  background: rgba(214, 51, 132, 0.08);
}

/* ===========================
   HAMBURGER BAR ANIMATION
=========================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.menu-toggle:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--accent-gold);
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 10px;
  background: transparent;
  overflow: hidden;
}

/* Hero section floating star animations removed */

.hero-section h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, #d63384, #9c27b0, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: none;
}

.hero-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 12px;
  line-height: 1.8;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px auto 10px;
}

.hero-divider span {
  color: var(--accent-gold);
  font-size: 1.3rem;
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-gold));
}

.hero-divider::after {
  background: linear-gradient(to left, transparent, var(--accent-gold));
}

/* ===========================
   SEARCH BAR
=========================== */
.search-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px 30px;
}

.search-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #000000; /* slightly thinner border to match smaller size */
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 2px 2px 2px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

#searchInput {
  flex: 1;
  width: 100%;
  padding: 8px 0;
  border: none;
  background: transparent;
  color: #333333;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

#searchInput::placeholder {
  color: #aaaaaa;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-submit {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #000000;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.search-submit:hover {
  background-color: #333333;
}

.search-submit i {
  font-size: 0.8rem;
}

/* ===========================
   CATEGORY TABS
=========================== */
.category-tabs-section {
  position: relative;
  z-index: 1;
  padding: 0 20px 28px;
}

.category-tabs {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.category-btn {
  padding: 10px 22px;
  border: 1px solid rgba(214, 51, 132, 0.2);
  background: rgba(255, 255, 255, 0.75);
  color: #555555;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-btn:hover {
  border-color: #d63384;
  color: #d63384;
  background: rgba(214, 51, 132, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(214,51,132,0.12);
}

.category-btn.active {
  background: #d63384;
  color: #ffffff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(214, 51, 132, 0.35);
}

/* ===========================
   ZODIAC TICKER STRIP
=========================== */
.zodiac-strip {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.50);
  border-top: 1px solid rgba(214, 51, 132, 0.12);
  border-bottom: 1px solid rgba(214, 51, 132, 0.12);
  padding: 14px 0;
  overflow: hidden;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.zodiac-strip::before,
.zodiac-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.zodiac-strip::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,222,233,0.9), transparent);
}

.zodiac-strip::after {
  right: 0;
  background: linear-gradient(to left, rgba(181,255,252,0.9), transparent);
}

.zodiac-scroll {
  display: flex;
  gap: 32px;
  animation: scrollZodiac 30s linear infinite;
  width: max-content;
}

.zodiac-strip:hover .zodiac-scroll {
  animation-play-state: paused;
}

.zodiac-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #777777;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: default;
  padding: 4px 10px;
  border-radius: 20px;
}

.zodiac-item:hover {
  color: #d63384;
  background: rgba(214, 51, 132, 0.08);
}

.zodiac-item .zi {
  font-size: 1.25rem;
}

@keyframes scrollZodiac {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===========================
   MAIN LAYOUT
=========================== */
#primary {
  position: relative;
  z-index: 1;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 60px;
  display: block;
}

/* ===========================
   SECTION TITLE
=========================== */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #d63384;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(214, 51, 132, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===========================
   FEATURED POST
=========================== */
.featured-post {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(214, 51, 132, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(214, 51, 132, 0.18);
  border-color: rgba(214, 51, 132, 0.3);
}

.featured-post-thumb {
  background: linear-gradient(135deg, #FFDEE9, #d4f5f5, #B5FFFC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.featured-post-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214,51,132,0.06), rgba(0,188,212,0.06));
}

.featured-post-body {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.featured-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d63384;
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-post-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: #333333;
}

.featured-post-body h2 a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-post-body h2 a:hover {
  color: #d63384;
}

/* ===========================
   POSTS GRID
=========================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

/* ===========================
   POST CARD
=========================== */
.post-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(214, 51, 132, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(214, 51, 132, 0.18);
  border-color: rgba(214, 51, 132, 0.25);
  background: rgba(255, 255, 255, 0.98);
}

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

.post-card-text {
  font-size: 0.88rem;
  color: #333333;
  line-height: 1.7;
  flex: 1;
  text-align: left;
}

.post-card-text p {
  margin-bottom: 12px;
}

.post-card-text p:last-child {
  margin-bottom: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #888888;
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}

.post-card-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 0.82rem;
}

.post-card-category .cat-symbol {
  font-size: 1.15rem;
}

.post-card-category .cat-name {
  text-transform: capitalize;
}

/* ===========================
   COPY BUTTON
 =========================== */
.copy-btn {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
  text-transform: capitalize;
  outline: none;
}

.copy-btn:hover {
  background: #d63384;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(214, 51, 132, 0.25);
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn.copied {
  background-color: #198754 !important;
  color: white !important;
  border-color: #198754 !important;
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.35) !important;
}

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

.widget {
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(214, 51, 132, 0.10);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.widget:hover {
  border-color: rgba(214, 51, 132, 0.22);
  box-shadow: 0 8px 28px rgba(214,51,132,0.10);
}

.widget-title {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  color: #d63384;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(214, 51, 132, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Zodiac Grid in Sidebar */
.horoscope-widget .zodiac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.zodiac-btn {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(214, 51, 132, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
}

.zodiac-btn:hover {
  border-color: #d63384;
  background: rgba(214, 51, 132, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214,51,132,0.12);
}

.zodiac-btn .zb-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 4px;
}

.zodiac-btn .zb-name {
  font-size: 0.62rem;
  color: #777777;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

/* Fact Widget */
.fact-widget .fact-box {
  background: linear-gradient(135deg, rgba(255,222,233,0.6), rgba(181,255,252,0.4));
  border: 1px solid rgba(214, 51, 132, 0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.fact-widget .fact-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  animation: float 3s ease-in-out infinite;
}

.fact-widget .fact-text {
  font-size: 0.88rem;
  color: #444444;
  font-style: italic;
  line-height: 1.7;
}

/* Categories List */
.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.60);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #555555;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.cat-list li a:hover {
  color: #d63384;
  border-color: rgba(214, 51, 132, 0.18);
  background: rgba(214, 51, 132, 0.05);
  padding-left: 18px;
}

.cat-count {
  background: rgba(214, 51, 132, 0.12);
  color: #d63384;
  font-size: 0.7rem;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
}

/* ===========================
   FOOTER
=========================== */
#colophon {
  position: relative;
  z-index: 1;
  background: #343a40;
  border-top: none;
  margin-top: 60px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}

.footer-brand .site-title {
  font-size: 1.25rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: #adb5bd;
  margin-top: 14px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #adb5bd;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: #FFDEE9;
  color: #FFDEE9;
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  color: #f8f9fa;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #FFDEE9;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #adb5bd;
}

/* ===========================
   SINGLE POST / PAGE
=========================== */
.page-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 10px;
  background: transparent;
}

.page-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, #d63384, #9c27b0, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-content-wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 20px 70px;
}

.content-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(214, 51, 132, 0.10);
  border-radius: var(--radius);
  padding: 44px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.content-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #d63384;
  margin: 30px 0 12px;
}

.content-card h2:first-child { margin-top: 0; }

.content-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #9c27b0;
  margin: 22px 0 10px;
}

.content-card p {
  color: #555555;
  margin-bottom: 16px;
  line-height: 1.85;
  font-size: 0.95rem;
}

.content-card ul,
.content-card ol {
  color: #555555;
  padding-left: 22px;
  margin-bottom: 18px;
}

.content-card ul li,
.content-card ol li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.content-card a {
  color: #d63384;
  text-decoration: none;
}

.content-card a:hover {
  color: #a8175e;
  text-decoration: underline;
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.post-nav a {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-size: 0.84rem;
  line-height: 1.5;
}

.post-nav a:hover {
  border-color: var(--border-hover);
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-2px);
}

/* ===========================
   CONTACT FORM
=========================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.07);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.btn-submit {
  background: var(--gradient-gold);
  color: #07071a;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
  align-self: flex-start;
}

.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

/* ===========================
   PAGINATION
=========================== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
}

.pagination a:hover,
.pagination .current {
  background: rgba(201, 168, 76, 0.15);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ===========================
   NO POSTS STATE
=========================== */
.no-posts {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.no-posts .no-posts-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #07071a;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.5);
}

/* ===========================
   RESPONSIVE — 1024px
=========================== */
@media (max-width: 1024px) {
  .site-main {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ===========================
   RESPONSIVE — 900px
=========================== */
@media (max-width: 900px) {
  .site-main {
    grid-template-columns: 1fr;
    padding: 10px 16px 50px;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-thumb {
    min-height: 200px;
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }
}

/* ===========================
   RESPONSIVE — 600px
=========================== */
@media (max-width: 600px) {
  .site-header-inner {
    padding: 0 16px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-section {
    padding: 20px 16px 10px;
  }

  .hero-section::before,
  .hero-section::after {
    display: none;
  }

  .search-section {
    padding: 0 16px 24px;
  }

  .search-wrap {
    max-width: 300px;
  }

  .category-tabs-section {
    padding: 0 16px 22px;
  }

  .category-btn {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 36px 16px 24px;
    gap: 28px;
  }

  .content-card {
    padding: 24px 18px;
  }

  .horoscope-widget .zodiac-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ===========================
   RESPONSIVE — 400px
=========================== */
@media (max-width: 400px) {
  .site-title {
    font-size: 1.1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .horoscope-widget .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   HAMBURGER BAR ANIMATION
=========================== */


.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: all 0.35s ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Touch hover for post cards on mobile */
.post-card.touch-hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(123,79,166,0.25);
  border-color: var(--border-hover);
}

/* ===========================
   UTILITY
=========================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

/* WordPress alignment classes */
.alignleft {
  float: left;
  margin: 0 20px 12px 0;
}

.alignright {
  float: right;
  margin: 0 0 12px 20px;
}

.aligncenter {
  display: block;
  margin: 0 auto 18px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===========================
   CATEGORY BAR SECTION
=========================== */
.category-bar-section {
  position: relative;
  z-index: 1;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(214, 51, 132, 0.12);
  border-bottom: 1px solid rgba(214, 51, 132, 0.12);
  margin-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.category-bar-section::-webkit-scrollbar {
  display: none; /* WebKit (Safari, Chrome, etc.) */
}

.category-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .category-bar {
    justify-content: flex-start;
  }
}

.category-bar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-bar-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(214, 51, 132, 0.10); /* Soft primary accent background */
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.category-bar-btn:hover {
  color: var(--accent-primary);
}

.category-bar-btn:hover .cat-bar-icon-box {
  background: var(--accent-primary);
  color: #ffffff;
}

.category-bar-btn.active {
  color: var(--accent-primary);
}

.category-bar-btn.active .cat-bar-icon-box {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(214, 51, 132, 0.35);
}