/*
Theme Name: Fignie's Geeky Crafts
Theme URI: https://fignie.ca
Author: Fignie
Author URI: https://fignie.ca
Description: A pink, girly, geeky handmade craft theme for Fignie's Geeky Crafts. Features resin art galleries, blog posts, and a whimsical pink aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
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: fignie
Tags: blog, custom-colors, custom-logo, featured-images, post-thumbnails, sticky-post, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --pink-deep:   #d63384;
  --pink-mid:    #f472b6;
  --pink-light:  #fbcfe8;
  --pink-pale:   #fdf2f8;
  --pink-glow:   #ff91d0;
  --purple-soft: #e879f9;
  --cream:       #fff5fb;
  --text-dark:   #3b0a2a;
  --text-mid:    #7c3d6b;
  --accent-star: #f9a8d4;
  --white:       #ffffff;
  --nav-height:  70px;
  --radius-lg:   20px;
  --radius-md:   12px;
  --radius-pill: 99px;
  --shadow-pink: 0 4px 20px rgba(214, 51, 132, 0.08);
  --shadow-pink-hover: 0 14px 40px rgba(214, 51, 132, 0.18);
  --transition:  0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

body.floating-hearts::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink-deep);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--purple-soft);
}

ul, ol {
  padding-left: 1.5em;
}

/* ============================================================
   FLOATING HEARTS CANVAS
   ============================================================ */
.hearts-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.heart-float {
  position: absolute;
  opacity: 0;
  animation: floatHeart linear infinite;
  color: var(--pink-mid);
}

@keyframes floatHeart {
  0%   { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0.6); }
  10%  { opacity: 0.35; }
  90%  { opacity: 0.12; }
  100% { opacity: 0; transform: translateY(-20vh) rotate(25deg) scale(1.1); }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.15;
}

.font-amatic {
  font-family: 'Amatic SC', cursive;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 0.6rem;
  font-family: 'Nunito', sans-serif;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-heading em {
  color: var(--pink-deep);
  font-style: italic;
}

.section-sub {
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ============================================================
   LAYOUT WRAPPERS
   ============================================================ */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 5rem 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-deep) 0%, var(--purple-soft) 100%);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(214, 51, 132, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(214, 51, 132, 0.5);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--pink-mid);
  color: var(--pink-deep);
}

.btn-outline:hover {
  background: var(--pink-light);
  color: var(--pink-deep);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(253, 242, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--pink-light);
  height: var(--nav-height);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-title a {
  font-family: 'Amatic SC', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink-deep);
  text-decoration: none;
  letter-spacing: 0.03em;
  line-height: 1;
}

.site-title a span {
  color: var(--purple-soft);
}

/* Primary Nav */
.primary-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--pink-mid);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--pink-deep);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--pink-mid);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--pink-deep);
  font-size: 1.2rem;
  line-height: 1;
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--pink-light);
}

/* ============================================================
   HERO SECTION (front-page)
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(244,114,182,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(232,121,249,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(249,168,212,0.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(244,114,182,0.35);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-slow 40s linear infinite;
  pointer-events: none;
  width: 550px; height: 550px;
}

.hero-ring.hero-ring-2 {
  width: 700px; height: 700px;
  border-color: rgba(232,121,249,0.2);
  animation-duration: 60s;
  animation-direction: reverse;
}

@keyframes spin-slow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-mid), var(--purple-soft));
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.7s ease both 0.1s;
}

.hero-title em {
  font-style: italic;
  color: var(--pink-deep);
}

.hero-subtitle {
  font-family: 'Amatic SC', cursive;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--text-mid);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.7s ease both 0.2s;
  letter-spacing: 0.04em;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.7s ease both 0.3s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.4s;
}

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

/* ============================================================
   SHOW BANNER (events widget area)
   ============================================================ */
.show-banner {
  background: linear-gradient(135deg, var(--pink-deep) 0%, var(--purple-soft) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.show-banner::before {
  content: '✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦';
  position: absolute;
  top: 0.6rem; left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.6em;
  opacity: 0.35;
  pointer-events: none;
}

.show-banner h2 {
  font-family: 'Amatic SC', cursive;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.show-banner p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   POST / BLOG CARDS
   ============================================================ */
.posts-section {
  padding: 5rem 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--pink-light);
  box-shadow: var(--shadow-pink);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
}

.post-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pink-hover);
}

.post-card-thumbnail {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-light), var(--accent-star));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-tag {
  display: inline-block;
  background: var(--pink-pale);
  color: var(--pink-deep);
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid var(--pink-light);
}

.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.post-card-title a:hover {
  color: var(--pink-deep);
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pink-light);
}

.post-card-date {
  font-size: 0.78rem;
  color: var(--text-mid);
  opacity: 0.7;
  font-family: 'Nunito', sans-serif;
}

.post-card-read-more {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s, color var(--transition);
}

.post-card-read-more:hover {
  gap: 0.5rem;
  color: var(--purple-soft);
}

/* Pagination */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-mid);
  border: 1.5px solid var(--pink-light);
  background: var(--white);
  transition: all var(--transition);
  text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--pink-deep);
  color: var(--white);
  border-color: var(--pink-deep);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--pink-pale) 100%);
  padding: 5rem 0;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
  margin-top: 0;
}

.gallery-mosaic .g-wide { grid-column: span 2; }
.gallery-mosaic .g-tall { grid-row: span 2; }

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--pink-light);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(214,51,132,0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after { opacity: 1; }

/* WordPress default gallery override */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item-wp {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item-wp img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.gallery-item-wp img:hover { transform: scale(1.05); }

/* Lightbox overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(59, 10, 42, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--pink-deep);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--white);
  border-top: 2px solid var(--pink-light);
  border-bottom: 2px solid var(--pink-light);
  padding: 5rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-deco {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-deco-circle {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--accent-star) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.about-deco-circle::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed var(--pink-mid);
  animation: spin-slow 20s linear infinite;
}

.about-deco-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-text h2 em { color: var(--pink-deep); font-style: italic; }

.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.about-tag {
  background: var(--pink-pale);
  border: 1.5px solid var(--pink-light);
  color: var(--pink-deep);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta {
  background: linear-gradient(135deg, var(--pink-pale) 0%, #fce7f3 100%);
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '♥';
  position: absolute;
  font-size: 22rem;
  color: rgba(244,114,182,0.07);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-family: serif;
  line-height: 1;
}

.contact-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

.contact-cta h2 em { color: var(--pink-deep); font-style: italic; }

.contact-cta p {
  color: var(--text-mid);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-pill);
  padding: 1rem 2rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--pink-deep);
  text-decoration: none;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(214, 51, 132, 0.1);
  position: relative;
}

.contact-email-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(214, 51, 132, 0.22);
  color: var(--pink-deep);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding: 4rem 0;
  align-items: start;
}

.content-sidebar-wrap.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}

.widget {
  background: var(--white);
  border: 1.5px solid var(--pink-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-pink);
}

.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--pink-light);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--pink-pale);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.widget ul li:last-child { border-bottom: none; }

.widget ul li a {
  color: var(--text-mid);
  transition: color var(--transition);
}

.widget ul li a:hover { color: var(--pink-deep); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 780px;
  margin: 0 auto;
}

.single-post-header .post-tag {
  margin-bottom: 1rem;
}

.single-post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.single-post-meta {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--text-mid);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.single-post-meta span::before {
  content: '✦ ';
  color: var(--pink-mid);
  font-size: 0.6rem;
}

.single-post-meta span:first-child::before { content: ''; }

.featured-image-wrap {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pink-hover);
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark);
}

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.post-content p { margin-bottom: 1.5rem; }

.post-content a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-decoration-color: var(--pink-light);
  transition: text-decoration-color var(--transition);
}

.post-content a:hover {
  text-decoration-color: var(--pink-deep);
}

.post-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-pink);
}

.post-content blockquote {
  border-left: 4px solid var(--pink-mid);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--pink-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-mid);
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content code {
  background: var(--pink-pale);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--pink-deep);
}

.post-content pre {
  background: var(--text-dark);
  color: var(--pink-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--pink-light);
}

.nav-previous, .nav-next {
  background: var(--white);
  border: 1.5px solid var(--pink-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-previous:hover, .nav-next:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pink-hover);
}

.nav-next { text-align: right; }

.nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-deep);
  display: block;
  margin-bottom: 0.4rem;
}

.nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-dark);
}

/* Comments */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--pink-light);
}

.comments-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.comment {
  background: var(--white);
  border: 1.5px solid var(--pink-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.comment-author-name {
  font-weight: 700;
  color: var(--pink-deep);
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-mid);
  opacity: 0.7;
  margin-left: 0.5rem;
}

.comment-content { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.7; }

/* Comment form */
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--pink-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  margin-bottom: 1rem;
  transition: border-color var(--transition);
  outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--pink-mid);
  box-shadow: 0 0 0 3px rgba(244,114,182,0.15);
}

.comment-form textarea { min-height: 140px; resize: vertical; }

.comment-form .submit {
  background: linear-gradient(135deg, var(--pink-deep) 0%, var(--purple-soft) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 2rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(214,51,132,0.3);
}

.comment-form .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(214,51,132,0.45);
}

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(180deg, var(--pink-pale) 0%, var(--cream) 100%);
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
}

.page-title em { color: var(--pink-deep); font-style: italic; }

.page-subtitle {
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

.page-content {
  padding: 3rem 0 5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: var(--pink-light);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-family: 'Amatic SC', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink-mid);
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span { color: var(--purple-soft); }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--pink-mid);
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer-col ul li a {
  color: var(--pink-light);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.footer-col ul li a:hover { color: var(--white); opacity: 1; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251,207,232,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.65;
}

.footer-hearts { letter-spacing: 0.3em; color: var(--pink-mid); }

/* ============================================================
   SEARCH & ARCHIVE
   ============================================================ */
.archive-header {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, var(--pink-pale) 0%, var(--cream) 100%);
}

.archive-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.search-form input[type="search"] {
  flex: 1;
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-form input[type="search"]:focus {
  border-color: var(--pink-mid);
  box-shadow: 0 0 0 3px rgba(244,114,182,0.15);
}

.search-form button {
  background: linear-gradient(135deg, var(--pink-deep), var(--purple-soft));
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition);
}

.search-form button:hover { transform: scale(1.03); }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
  text-align: center;
  padding: 6rem 2rem;
}

.not-found h1 {
  font-size: 8rem;
  color: var(--pink-light);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 0;
}

.not-found h2 {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.not-found p { color: var(--text-mid); max-width: 400px; margin: 0 auto 2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-mosaic .g-wide { grid-column: span 1; }
  .gallery-mosaic .g-tall { grid-row: span 1; }
}

@media (max-width: 720px) {
  .about-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .about-deco { display: none; }
  .about-tags { justify-content: center; }
  .post-navigation { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .menu-toggle { display: flex; }
  .primary-navigation { display: none; }
  .primary-navigation.is-open {
    display: block;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(253,242,248,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--pink-light);
    padding: 1rem 2rem;
  }
  .nav-menu { flex-direction: column; gap: 0.25rem; }
  .nav-menu li { border-bottom: 1px solid var(--pink-pale); }
  .nav-menu a { display: block; padding: 0.6rem 0; }
}

@media (max-width: 480px) {
  .gallery-mosaic { grid-template-columns: 1fr; }
  .hero-ring, .hero-ring-2 { display: none; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--pink-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--pink-deep);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }
