/*
Theme Name: FontGenerator CopyPaste
Theme URI: https://fontgeneratorcopyPaste.com
Author: FontGeneratorCopyPaste
Author URI: https://fontgeneratorcopyPaste.com
Description: A fancy text and font generator tool theme with 8 tools: Fancy Text, Cute Fonts, Gothic Fonts, Instagram Fonts, TikTok Bio, HTML Text, Discord Color, and Emoji Library.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fontgenerator
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --radius: 0.875rem;

  /* ── Pastel pink palette ── */
  --background:        oklch(0.97 0.018 355);
  --foreground:        oklch(0.22 0.04  345);
  --card:              oklch(1    0     0);
  --card-foreground:   oklch(0.22 0.04  345);
  --popover:           oklch(1    0     0);
  --popover-foreground:oklch(0.22 0.04  345);
  --primary:           oklch(0.60 0.22  345);
  --primary-foreground:oklch(1    0     0);
  --secondary:         oklch(0.93 0.03  350);
  --secondary-foreground:oklch(0.35 0.06 345);
  --muted:             oklch(0.93 0.025 350);
  --muted-foreground:  oklch(0.52 0.06  345);
  --accent:            oklch(0.68 0.18  300);
  --accent-foreground: oklch(1    0     0);
  --destructive:       oklch(0.60 0.22  25);
  --destructive-foreground:oklch(1 0 0);
  --border:            oklch(0.88 0.04  350);
  --input:             oklch(0.95 0.02  350);
  --ring:              oklch(0.60 0.22  345);
  --glow:              oklch(0.65 0.22  345);

  --gradient-hero: linear-gradient(135deg, oklch(0.60 0.22 345), oklch(0.68 0.18 300));
  --gradient-card: linear-gradient(135deg, oklch(1 0 0 / 0.85), oklch(0.97 0.03 350 / 0.7));
  --gradient-text: linear-gradient(135deg, oklch(0.55 0.22 345), oklch(0.62 0.18 300));
  --shadow-glow:   0 0 60px -10px oklch(0.60 0.22 345 / 0.35);
  --shadow-card:   0 10px 40px -10px oklch(0.60 0.22 345 / 0.12);
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); margin: 0; padding: 0; }
html { font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif; font-size: 16px; }
body {
  background-color: var(--background);
  color: var(--foreground);
  background-image:
    radial-gradient(ellipse at 15% 0%,   oklch(0.85 0.10 345 / 0.45), transparent 50%),
    radial-gradient(ellipse at 85% 100%, oklch(0.80 0.10 300 / 0.30), transparent 50%);
  min-height: 100vh;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; color: var(--foreground); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.98 0.015 355 / 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.site-logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; }
.logo-icon { display: grid; place-items: center; height: 2.25rem; width: 2.25rem; border-radius: 0.75rem; background: var(--gradient-hero); box-shadow: var(--shadow-glow); font-size: 1.1rem; }
.logo-text { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: none; align-items: center; gap: 0.25rem; font-size: 0.875rem; }
.main-nav a { border-radius: 9999px; padding: 0.375rem 0.75rem; color: var(--muted-foreground); transition: background 0.2s, color 0.2s; }
.main-nav a:hover, .main-nav a.active { background: var(--secondary); color: var(--foreground); }
.mobile-menu-hint { font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 1024px) { .main-nav { display: flex; } .mobile-menu-hint { display: none; } }

/* Mobile Nav */
.mobile-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
.mobile-nav a { border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.8rem; color: var(--muted-foreground); background: var(--secondary); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--foreground); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 6rem; }
.site-footer .container { padding-top: 2.5rem; padding-bottom: 2.5rem; font-size: 0.875rem; color: var(--muted-foreground); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a:hover { color: var(--foreground); }
@media (min-width: 768px) { .site-footer .container { flex-direction: row; } }

/* Tool Shell */
.tool-shell { padding: 3rem 1rem; position: relative; }
.tool-shell-bg { pointer-events: none; position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tool-shell-blob1 { position: absolute; top: -5rem; left: 25%; height: 18rem; width: 18rem; border-radius: 9999px; background: oklch(0.80 0.14 345 / 0.35); filter: blur(70px); animation: blob 14s ease-in-out infinite; }
.tool-shell-blob2 { position: absolute; top: 10rem; right: 25%; height: 18rem; width: 18rem; border-radius: 9999px; background: oklch(0.78 0.14 300 / 0.28); filter: blur(70px); animation: blob 14s ease-in-out infinite; animation-delay: -4s; }
.tool-shell-header { text-align: center; max-width: 48rem; margin: 0 auto 2.5rem; animation: fade-in-up 0.6s ease-out both; }
.tool-badge { display: inline-block; border-radius: 9999px; background: oklch(0.92 0.04 345 / 0.7); backdrop-filter: blur(16px); border: 1px solid var(--border); padding: 0.375rem 1rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 1rem; animation: glow-pulse 3s ease-in-out infinite; }
.tool-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; background: linear-gradient(90deg, oklch(0.55 0.22 345), oklch(0.62 0.18 300), oklch(0.55 0.20 320), oklch(0.55 0.22 345)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradient-shift 6s ease infinite; }
.tool-desc { color: var(--muted-foreground); font-size: 1.125rem; }
.tool-body { animation: scale-in 0.4s ease-out both; }

/* Textarea / Input */
.fg-textarea, .fg-input {
  width: 100%; border-radius: 1rem;
  background: oklch(1 0 0 / 0.8); backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 1rem 1rem 1rem 3rem; font-size: 1.125rem; color: var(--foreground);
  resize: none; outline: none; transition: box-shadow 0.2s;
}
.fg-input { padding-left: 1rem; border-radius: 0.75rem; font-size: 1rem; padding: 0.75rem 1rem; }
.fg-textarea:focus, .fg-input:focus { box-shadow: 0 0 0 2px var(--ring); }
.fg-textarea::placeholder, .fg-input::placeholder { color: var(--muted-foreground); }
.fg-input-wrap { position: relative; max-width: 48rem; margin: 0 auto 2.5rem; }
.fg-input-icon { position: absolute; left: 1rem; top: 1rem; color: var(--primary); pointer-events: none; font-size: 1.2rem; }

/* Font List Grid */
.font-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .font-grid { grid-template-columns: repeat(2, 1fr); } }
.font-card {
  text-align: left; border-radius: 1rem;
  background: var(--gradient-card); border: 1px solid var(--border);
  padding: 1rem; cursor: pointer;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
}
.font-card:hover { box-shadow: var(--shadow-glow); border-color: oklch(0.62 0.22 280 / 0.6); transform: translateY(-2px); }
.font-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.font-card-name { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
.font-card-copy-icon { color: var(--primary); opacity: 0; transition: opacity 0.2s; font-size: 0.875rem; }
.font-card:hover .font-card-copy-icon { opacity: 1; }
.font-card-text { font-size: 1.125rem; word-break: break-word; font-weight: 500; color: var(--foreground); }
.font-card.copied { border-color: var(--primary); }
.font-card-copy-icon.check { opacity: 1; }

/* More Tools Grid */
.tools-section { margin-top: 6rem; }
.tools-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 0.5rem; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tools-section p { text-align: center; color: var(--muted-foreground); margin-bottom: 2.5rem; }
.tools-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card { border-radius: 1.5rem; background: var(--gradient-card); border: 1px solid var(--border); padding: 1.5rem; display: block; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.tool-card:hover { box-shadow: var(--shadow-glow); border-color: oklch(0.62 0.22 280 / 0.6); transform: translateY(-2px); }
.tool-card-icon { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 1rem; background: var(--gradient-hero); box-shadow: var(--shadow-glow); margin-bottom: 1rem; font-size: 1.4rem; }
.tool-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.25rem; }
.tool-card p { color: var(--muted-foreground); font-size: 0.875rem; }

/* Glass utility */
.glass { background: oklch(1 0 0 / 0.6); backdrop-filter: blur(16px); border: 1px solid var(--border); }

/* Card gradient */
.card-gradient { background: var(--gradient-card); border: 1px solid var(--border); border-radius: 1rem; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; border-radius: 1rem; background: var(--gradient-hero); color: var(--primary-foreground); font-weight: 600; padding: 1rem; box-shadow: var(--shadow-glow); transition: opacity 0.2s; border: none; font-size: 1rem; }
.btn-primary:hover { opacity: 0.9; }
.btn-toggle { border-radius: 0.75rem; padding: 0.5rem; font-weight: 700; border: 1px solid var(--border); background: transparent; color: var(--foreground); transition: background 0.2s, color 0.2s; }
.btn-toggle.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* Select */
.fg-select { width: 100%; margin-top: 0.25rem; border-radius: 0.75rem; background: var(--input); border: 1px solid var(--border); padding: 0.5rem 0.75rem; color: var(--foreground); outline: none; }
.fg-select:focus { box-shadow: 0 0 0 2px var(--ring); }

/* Range */
.fg-range { width: 100%; accent-color: var(--primary); }

/* Color swatch */
.color-swatch { width: 100%; height: 2.5rem; border-radius: 0.75rem; background: var(--input); border: 1px solid var(--border); cursor: pointer; }

/* Pill tabs */
.pill-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.pill-tab { padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.875rem; border: 1px solid var(--border); background: oklch(1 0 0 / 0.7); backdrop-filter: blur(16px); color: var(--muted-foreground); cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.pill-tab:hover { border-color: oklch(0.60 0.22 345 / 0.6); color: var(--foreground); }
.pill-tab.active { background: var(--gradient-hero); color: var(--primary-foreground); box-shadow: var(--shadow-glow); border-color: transparent; }

/* Emoji grid */
.emoji-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; border-radius: 1.5rem; background: var(--gradient-card); border: 1px solid var(--border); padding: 1rem; }
@media (min-width: 640px) { .emoji-grid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 768px) { .emoji-grid { grid-template-columns: repeat(10, 1fr); } }
@media (min-width: 1024px) { .emoji-grid { grid-template-columns: repeat(12, 1fr); } }
.emoji-btn { aspect-ratio: 1; border-radius: 0.75rem; font-size: 1.75rem; background: none; border: none; cursor: pointer; transition: background 0.15s, transform 0.15s; display: grid; place-items: center; }
.emoji-btn:hover { background: var(--secondary); transform: scale(1.1); }

/* Discord preview */
.discord-preview { background: #36393f; border-radius: 0.75rem; padding: 1rem; font-family: monospace; font-size: 1.125rem; }

/* TikTok bio cards */
.bio-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .bio-grid { grid-template-columns: repeat(2, 1fr); } }
.bio-card { text-align: left; border-radius: 1rem; background: var(--gradient-card); border: 1px solid var(--border); padding: 1.25rem; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.bio-card:hover { border-color: oklch(0.62 0.22 280 / 0.6); box-shadow: var(--shadow-glow); }
.bio-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.bio-card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
.bio-card-icon { color: var(--primary); opacity: 0; transition: opacity 0.2s; font-size: 0.875rem; }
.bio-card:hover .bio-card-icon { opacity: 1; }
.bio-card pre { white-space: pre-wrap; font-family: inherit; font-size: 1rem; line-height: 1.6; }

/* HTML Text tool specific */
.html-tool-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .html-tool-grid { grid-template-columns: repeat(2, 1fr); } }
.toggle-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.color-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.color-label { font-size: 0.875rem; display: flex; flex-direction: column; gap: 0.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; }
.html-preview-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.html-code { font-size: 0.75rem; overflow: auto; white-space: pre-wrap; word-break: break-all; color: var(--muted-foreground); }
.copy-btn-sm { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--primary); background: none; border: none; cursor: pointer; }
.copy-btn-sm:hover { opacity: 0.8; }

/* Discord tool specific */
.color-swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .color-swatch-grid { grid-template-columns: repeat(8, 1fr); } }
.fg-swatch { height: 2.5rem; border-radius: 0.5rem; border: 2px solid var(--border); cursor: pointer; transition: transform 0.15s, border-color 0.15s; }
.fg-swatch.active { border-color: var(--primary); transform: scale(1.1); }
.bg-swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .bg-swatch-grid { grid-template-columns: repeat(9, 1fr); } }
.bg-swatch { height: 2.5rem; border-radius: 0.5rem; border: 2px solid var(--border); cursor: pointer; transition: transform 0.15s, border-color 0.15s; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.bg-swatch.active { border-color: var(--primary); transform: scale(1.1); }

/* 3-col input */
.tiktok-inputs { display: grid; gap: 0.75rem; max-width: 48rem; margin: 0 auto 2.5rem; }
@media (min-width: 640px) { .tiktok-inputs { grid-template-columns: repeat(3, 1fr); } }

/* =============================================
   FOOTER — Pretty multi-column layout
   ============================================= */

/* Top grid section */
.footer-top {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 6rem;
  position: relative;
}
.footer-top::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.62 0.22 280 / 0.6), transparent);
}

/* 4-column responsive grid */
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.4fr 1fr; } }

/* Brand column */
.footer-brand-col { }
.footer-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.85rem;
}
.footer-logo-icon {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--gradient-hero);
  box-shadow: var(--shadow-glow);
  font-size: 1rem;
}
.footer-logo-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-tagline {
  font-size: 0.85rem; color: var(--muted-foreground);
  line-height: 1.7; margin-bottom: 1.25rem; max-width: 22rem;
}
.footer-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-social-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: oklch(1 0 0 / 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.footer-social-btn:hover {
  border-color: oklch(0.60 0.22 345 / 0.5);
  color: var(--foreground);
  box-shadow: 0 0 16px -4px oklch(0.60 0.22 345 / 0.3);
}

/* Column headings */
.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid oklch(0.62 0.22 280 / 0.25);
  width: fit-content;
}

/* Links list */
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links-list a {
  font-size: 0.875rem; color: var(--muted-foreground);
  transition: color 0.2s, padding-left 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-links-list a:hover { color: var(--foreground); padding-left: 4px; }

/* Recent posts list */
.footer-posts-list { gap: 0.75rem; }
.footer-posts-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-posts-list a { font-size: 0.85rem; }
.footer-post-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--primary);
  flex-shrink: 0; margin-top: 2px;
  box-shadow: 0 0 6px oklch(0.62 0.22 280 / 0.6);
}
.footer-post-date { font-size: 0.72rem; color: var(--muted-foreground); padding-left: 1rem; }
.footer-empty-posts { font-size: 0.85rem; color: var(--muted-foreground); }
.footer-empty-posts a { color: var(--primary); }
.footer-view-all {
  display: inline-block; margin-top: 0.75rem;
  font-size: 0.8rem; color: var(--primary);
  transition: opacity 0.2s;
}
.footer-view-all:hover { opacity: 0.75; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  background: oklch(0.95 0.025 350 / 0.7);
}
.footer-bottom-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem; text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy { font-size: 0.8rem; color: var(--muted-foreground); }
.footer-brand-link {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.footer-bottom-links { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; }
.footer-bottom-links a { color: var(--muted-foreground); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--foreground); }
.footer-sep { color: oklch(0.4 0.02 270); }

/* Remove old site-footer rules (replaced above) */
.site-footer { border-top: none; margin-top: 0; }
.site-footer .container { all: unset; }

/* =============================================
   EDITABLE PAGE (About Us, Privacy, Terms)
   ============================================= */
.wp-page-content {
  font-size: 1rem; line-height: 1.85; color: var(--foreground);
}
.wp-page-content h2 {
  font-size: 1.5rem; font-weight: 700; margin: 1.75rem 0 0.75rem;
  color: var(--foreground); font-family: 'Space Grotesk', sans-serif;
}
.wp-page-content h3 {
  font-size: 1.15rem; font-weight: 600; margin: 1.4rem 0 0.5rem;
  color: var(--foreground);
}
.wp-page-content p { margin-bottom: 1.1rem; color: var(--muted-foreground); }
.wp-page-content a { color: var(--primary); text-decoration: underline; }
.wp-page-content ul, .wp-page-content ol {
  padding-left: 1.5rem; margin-bottom: 1.1rem; color: var(--muted-foreground);
}
.wp-page-content li { margin-bottom: 0.4rem; }
.wp-page-content strong { color: var(--foreground); font-weight: 600; }
.wp-page-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1.25rem; margin: 1.25rem 0;
  background: oklch(0.62 0.22 280 / 0.08);
  border-radius: 0 0.75rem 0.75rem 0;
  color: var(--muted-foreground); font-style: italic;
}
.wp-page-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Placeholder for empty pages */
.page-placeholder {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; padding: 3rem 1rem; text-align: center;
}
.page-placeholder-icon { font-size: 3rem; line-height: 1; }
.page-edit-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.5rem; padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  font-size: 0.875rem; font-weight: 500;
  transition: opacity 0.2s;
}
.page-edit-btn:hover { opacity: 0.85; }

/* =============================================
   BLOG — home.php (posts archive)
   ============================================= */
.blog-grid { display: flex; flex-direction: column; gap: 1.5rem; }

.blog-card {
  border-radius: 1.25rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
}
@media (min-width: 640px) { .blog-card { flex-direction: row; } }
.blog-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: oklch(0.62 0.22 280 / 0.45);
  transform: translateY(-2px);
}
.blog-thumb-wrap { flex-shrink: 0; overflow: hidden; }
.blog-thumb-wrap img, .blog-thumb {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform 0.4s;
}
@media (min-width: 640px) { .blog-thumb-wrap { width: 220px; } .blog-thumb { height: 100%; } }
.blog-card:hover .blog-thumb { transform: scale(1.04); }

.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap;
}
.blog-cat {
  display: inline-block;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem; border-radius: 9999px;
  background: oklch(0.62 0.22 280 / 0.15);
  border: 1px solid oklch(0.62 0.22 280 / 0.3);
  color: var(--primary);
  font-weight: 600;
}
.blog-date { font-size: 0.78rem; color: var(--muted-foreground); }
.blog-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
.blog-card-title a { color: var(--foreground); transition: color 0.2s; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; flex: 1; }
.blog-read-more {
  display: inline-flex; align-items: center;
  font-size: 0.825rem; font-weight: 600;
  color: var(--primary); margin-top: 0.25rem;
  transition: gap 0.2s; gap: 0.25rem;
}
.blog-read-more:hover { gap: 0.5rem; }

/* Pagination */
.blog-pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.45rem 0.9rem; border-radius: 0.65rem;
  font-size: 0.875rem; border: 1px solid var(--border);
  background: var(--gradient-card); color: var(--muted-foreground);
  transition: border-color 0.2s, color 0.2s;
}
.blog-pagination .page-numbers:hover { border-color: var(--primary); color: var(--foreground); }
.blog-pagination .page-numbers.current {
  background: var(--gradient-hero); color: var(--primary-foreground);
  border-color: transparent; font-weight: 600;
}

/* Empty state */
.blog-empty { text-align: center; padding: 4rem 1rem; }

/* =============================================
   SINGLE POST — single.php
   ============================================= */
.post-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--muted-foreground);
  margin-bottom: 2rem; flex-wrap: wrap;
}
.post-breadcrumb a { color: var(--muted-foreground); transition: color 0.2s; }
.post-breadcrumb a:hover { color: var(--primary); }
.post-breadcrumb span { color: oklch(0.4 0.02 270); }

.single-post { margin-bottom: 2.5rem; }
.single-post-header { text-align: center; margin-bottom: 2rem; }
.single-post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1.3;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.single-post-thumb { border-radius: 1rem; overflow: hidden; margin-bottom: 2rem; }
.single-thumb-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.single-post-content { margin-top: 1.5rem; }

.single-post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tag-pill {
  padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.8rem;
  background: oklch(0.62 0.22 280 / 0.1);
  border: 1px solid oklch(0.62 0.22 280 / 0.25);
  color: var(--muted-foreground); transition: color 0.2s;
}
.tag-pill:hover { color: var(--primary); }

/* Post navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.post-nav-btn {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1rem; border-radius: 1rem;
  background: var(--gradient-card); border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.post-nav-btn--next { text-align: right; }
.post-nav-btn:hover { border-color: oklch(0.62 0.22 280 / 0.5); box-shadow: var(--shadow-glow); }
.post-nav-label { font-size: 0.72rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; }
.post-nav-title { font-size: 0.875rem; color: var(--foreground); font-weight: 500; line-height: 1.4; }

/* Toast */
.fg-toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.fg-toast { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.75rem 1.25rem; font-size: 0.875rem; color: var(--foreground); box-shadow: var(--shadow-card); animation: fade-in-up 0.3s ease both; }

/* 404 */
.not-found { display: flex; min-height: 60vh; align-items: center; justify-content: center; text-align: center; flex-direction: column; gap: 0.5rem; }
.not-found h1 { font-size: 5rem; font-weight: 700; }

/* Animations */
@keyframes fade-in-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 20px -5px oklch(0.62 0.22 280 / 0.5); } 50% { box-shadow: 0 0 40px -5px oklch(0.7 0.22 290 / 0.8); } }
@keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes blob { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-40px) scale(1.1); } 66% { transform: translate(-20px,20px) scale(0.9); } }
