/*
Theme Name: Verdant
Theme URI: https://example.com/verdant-theme
Author: Verdant
Author URI: https://example.com
Description: Gardening & landscaping WordPress theme. Design, build, and maintain outdoor spaces. Gutenberg-ready, no page builder.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moja-theme
Tags: blog, custom-menu, featured-images, full-width-template, block-styles, wide-blocks, translation-ready, threaded-comments, custom-logo, footer-widgets
*/

/* ==========================================================================
   CSS Variables - Modern color palette
   ========================================================================== */
:root {
  --color-primary: #1a4d3a;
  --color-primary-light: #2d6b4f;
  --color-primary-dark: #0f3326;
  --color-accent: #c4a35a;
  --color-accent-light: #d4b96e;
  --color-earth: #8b7355;
  --color-cream: #f7f5f0;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --color-text-muted: #5a5a5a;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container-max: 1200px;
  --section-padding: clamp(3rem, 6vw, 5rem);
  --transition: 0.3s ease;
  --shadow-soft: 0 4px 24px rgba(26, 77, 58, 0.08);
  --shadow-hover: 0 12px 40px rgba(26, 77, 58, 0.12);
}

/* ==========================================================================
   Skip link (a11y)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--color-accent); outline-offset: 2px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  clip: auto;
  height: auto; width: auto;
  padding: 0.75rem 1.25rem;
  background: var(--color-white);
  color: var(--color-text);
  z-index: 10001;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--color-primary-light); }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
button:focus-visible, .btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
ul { list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--color-primary-dark); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Layout
   ========================================================================== */
.site-container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: 8px; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(26, 77, 58, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-soft); }
.site-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}
.site-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.site-logo img { max-height: 48px; width: auto; }
.main-navigation ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.main-navigation a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.main-navigation a:hover::after { width: 100%; }
.main-navigation .current-menu-item a { color: var(--color-primary); }
.main-navigation .current-menu-item a::after { width: 100%; }

/* CTA button in nav */
.nav-cta a {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
}
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--color-primary-light); color: var(--color-white) !important; opacity: 1; }

.menu-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--color-primary); font-size: 1.5rem; }
.menu-toggle:focus { outline: 2px solid var(--color-accent); }
.menu-close { display: none; position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .menu-close { display: block; }
  .main-navigation {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 85vw); height: 100vh;
    background: var(--color-white); box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    padding: 5rem 1.5rem 2rem; transition: right 0.3s ease; overflow-y: auto; z-index: 1001;
  }
  .main-navigation.toggled { right: 0; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-navigation li { width: 100%; border-bottom: 1px solid var(--color-cream); }
  .main-navigation a { display: block; padding: 1rem 0; }
  .site-header .site-container { flex-wrap: wrap; }
  .posts-grid { grid-template-columns: 1fr; }
  .hero-caption { padding: 1.5rem 1rem 4.5rem; }
  .hero-dots { bottom: 1.25rem; }
}

@media (max-width: 480px) {
  .site-header .site-container { padding-left: 1rem; padding-right: 1rem; }
  .site-container { padding-left: 1rem; padding-right: 1rem; }
  .post-card-thumb { min-height: 180px; }
}

/* ==========================================================================
   Main content area – no top gap; first section on each template has its own padding for fixed header
   ========================================================================== */
.site-main { padding-top: 0; min-height: 60vh; }

/* Front page: hero starts under navbar, padding on hero */
.home .hero-carousel { padding-top: 80px; box-sizing: border-box; }

/* Subpages: first section extends to top and includes 80px top padding so no pale strip */
.blog-page-header { padding-top: calc(80px + clamp(2.5rem, 6vw, 4rem)); }
.service-hero { padding-top: 80px; }
.single-hero-image { padding-top: 80px; box-sizing: border-box; }
.error-404 { padding-top: calc(80px + var(--section-padding)); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-accent:hover {
  background: var(--color-accent-light);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   Hero Section (front page) – welcoming, modern carousel
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-dark);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: transform 8s ease-out;
}
.hero:hover .hero-bg { transform: scale(1.05); }

/* Softer overlay: photos show through, gradient bottom to top */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15,51,38,0.35) 0%, rgba(15,51,38,0.5) 50%, rgba(15,51,38,0.7) 100%);
  pointer-events: none;
}

/* Caption: 3 slides stacked, only active visible, animated */
.hero-caption {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-caption-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  min-height: 260px;
  text-align: center;
}
.hero-caption-slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-caption-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: heroCaptionEnter 0.65s ease forwards;
}
@keyframes heroCaptionEnter {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-caption-slide .hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.hero-caption-slide h1 {
  color: var(--color-white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-caption-slide .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 10px rgba(0,0,0,0.15);
}
.hero-caption-slide .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.hero .btn-accent {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(196, 163, 90, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero .btn-accent:hover { box-shadow: 0 6px 28px rgba(196, 163, 90, 0.45); transform: translateY(-2px); }
.btn-hero-outline {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  color: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-hero-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Hero carousel: slides – active on top, image always visible */
.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 10s ease-out;
  overflow: hidden;
}
.hero-carousel .hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.hero-carousel .hero-slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

/* Dots: modern pill track */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0,0,0,0.25);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.7); transform: scale(1.15); }
.hero-dot.active {
  background: var(--color-white);
  transform: scale(1.2);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

/* ==========================================================================
   Section styles
   ========================================================================== */
.section {
  padding: var(--section-padding) 0;
}
.section-alt { background: var(--color-cream); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-head .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.section-head h2 { margin-bottom: 0.5em; }
.section-head p { color: var(--color-text-muted); margin-bottom: 0; }

/* Scroll-triggered animation utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.service-card-content { padding: 1.5rem; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.service-card a {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card a:hover { color: var(--color-primary-light); }
.service-card a::after { content: '→'; }

/* Services modern (visual blocks, not article-like) */
.services-modern { padding: var(--section-padding) 0; }
.services-modern-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary-dark);
}
.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-modern-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  color: var(--color-white);
  text-decoration: none;
  transition: transform var(--transition);
}
.services-modern-card:hover {
  transform: translateY(-4px);
  color: var(--color-white);
}
.services-modern-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,51,38,0.85) 0%, rgba(15,51,38,0.3) 50%, transparent 100%);
  pointer-events: none;
}
.services-modern-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease-out;
}
.services-modern-card:hover .services-modern-img { transform: scale(1.06); }
.services-modern-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 3rem;
  z-index: 1;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}
.services-modern-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1;
  font-size: 1.5rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .services-modern-grid { grid-template-columns: 1fr; }
  .services-modern-card { aspect-ratio: 16/10; }
}

/* ==========================================================================
   About section (image + text)
   ========================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.about-content h2 { margin-bottom: 0.6em; }
.about-content p { color: var(--color-text-muted); }
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 77, 58, 0.12);
}
.about-stats strong { display: block; font-size: 1.75rem; color: var(--color-primary); margin-bottom: 0.15rem; }
.about-stats span { font-size: 0.9rem; color: var(--color-text-muted); }
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--section-padding) 1.5rem;
}
.cta-section h2 { color: var(--color-white); margin-bottom: 0.5em; }
.cta-section p { opacity: 0.95; margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-accent {
  background: var(--color-white);
  color: var(--color-primary);
}
.cta-section .btn-accent:hover { background: var(--color-cream); color: var(--color-primary); }

/* ==========================================================================
   Service subpage (e.g. Garden design) – modern hero, pills, visual cards, CTA
   ========================================================================== */
.service-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-white);
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  transition: transform 10s ease-out;
}
.service-hero:hover .service-hero-bg { transform: scale(1.06); }
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,51,38,0.35) 0%, rgba(15,51,38,0.6) 100%);
}
.service-hero-content { position: relative; z-index: 1; padding: 6rem 1.5rem 4rem; }
.service-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: serviceFadeUp 0.5s ease forwards;
}
.service-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  opacity: 0;
  animation: serviceFadeUp 0.5s ease 0.08s forwards;
}
.service-hero-lead {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.95;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.45;
  opacity: 0;
  animation: serviceFadeUp 0.5s ease 0.16s forwards;
}
.service-hero-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
@keyframes serviceFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Value pills – 3 cards in a row */
.service-pills { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--color-white); }
.service-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto 2rem;
}
.service-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  background: var(--color-cream);
  border-radius: 16px;
  border: 1px solid rgba(26, 77, 58, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 77, 58, 0.12);
}
.service-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}
.service-pill-icon svg { width: 28px; height: 28px; }
.service-pill-text { font-size: 1rem; font-weight: 700; color: var(--color-primary-dark); text-align: center; letter-spacing: -0.01em; }
.service-intro-para { max-width: 720px; margin: 0 auto 0; font-size: 1.05rem; line-height: 1.7; color: var(--color-text-muted); text-align: center; }
.service-intro-text { max-width: 720px; margin: 1.5rem auto 0; font-size: 1.05rem; line-height: 1.65; color: var(--color-text-muted); }
.service-intro-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .service-pills-grid { grid-template-columns: 1fr; }
}

/* Process steps – How it works */
.service-process { padding: var(--section-padding) 0; background: var(--color-cream); }
.service-process-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary-dark);
  text-align: center;
  margin: 0 0 2rem;
}
.service-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.service-process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 77, 58, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.service-process-title { font-size: 1.1rem; font-weight: 700; color: var(--color-primary-dark); margin: 0 0 0.4rem; }
.service-process-desc { font-size: 0.95rem; color: var(--color-text-muted); margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
  .service-process-grid { grid-template-columns: 1fr; }
}

/* Other services – links to sibling service pages */
.service-other { padding: var(--section-padding) 0; background: var(--color-white); }
.service-other-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-primary-dark);
  text-align: center;
  margin: 0 0 1.5rem;
}
.service-other-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.service-other-card {
  display: inline-block;
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-cream);
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-other-card:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-2px); }

/* Visual block – full-bleed image + floating card */
.service-visual { padding: 0; overflow: hidden; background: var(--color-cream); }
.service-visual--reverse { background: var(--color-white); }
.service-visual-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 480px;
  max-width: 1400px;
  margin: 0 auto;
}
.service-visual-img {
  background-size: cover;
  background-position: center;
  background-color: var(--color-cream);
  min-height: 380px;
}
.service-visual-card {
  position: relative;
  margin: 2rem -4rem 2rem 0;
  padding: 2.5rem 2rem;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(26, 77, 58, 0.08);
  align-self: center;
  z-index: 2;
}
.service-visual-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.service-visual-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
  margin: 0 0 0.5em;
  line-height: 1.2;
}
.service-visual-desc { font-size: 0.95rem; color: var(--color-text-muted); margin: 0 0 1.25rem; line-height: 1.55; }
.service-visual-list { list-style: none; margin: 0; padding: 0; }
.service-visual-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}
.service-visual-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.service-visual--reverse .service-visual-inner { grid-template-columns: 1fr 1.2fr; }
.service-visual--reverse .service-visual-img { order: 2; }
.service-visual--reverse .service-visual-card { order: 1; margin: 2rem 0 2rem -4rem; }
@media (max-width: 1024px) {
  .service-visual-inner { grid-template-columns: 1fr; min-height: auto; }
  .service-visual-card { margin: -2rem 1.5rem 2rem; max-width: 480px; }
  .service-visual--reverse .service-visual-inner { grid-template-columns: 1fr; }
  .service-visual--reverse .service-visual-img { order: 0; }
  .service-visual--reverse .service-visual-card { order: 0; margin: -2rem 1.5rem 2rem; }
}
@media (max-width: 600px) {
  .service-visual-img { min-height: 280px; }
  .service-visual-card { margin: -1.5rem 1rem 1.5rem; padding: 1.75rem 1.5rem; }
}

/* CTA – full bleed with pattern */
.service-cta {
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  overflow: hidden;
}
.service-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}
.service-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(196, 163, 90, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.service-cta .site-container { position: relative; z-index: 1; }
.service-cta-inner { max-width: 480px; margin: 0 auto; }
.service-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0 0 0.4em;
  line-height: 1.2;
}
.service-cta-text { font-size: 1.05rem; opacity: 0.95; margin-bottom: 1.5rem; line-height: 1.5; }
.service-cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); color: var(--color-primary); }

/* ==========================================================================
   Blog / Posts grid
   ========================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.post-card-thumb {
  display: block;
  aspect-ratio: 16/10;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-cream);
}
.post-card-body { padding: 1.25rem; }
.post-card-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--color-primary); }
.post-card p { font-size: 0.95rem; color: var(--color-text-muted); margin: 0; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 77, 58, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .message { margin-bottom: 1rem; padding: 0.75rem 1rem; border-radius: 6px; }
.contact-form .message.success { background: #d4edda; color: #155724; }
.contact-form .message.error { background: #f8d7da; color: #721c24; }

/* ==========================================================================
   Contact page – header, info cards, form, map (gardening theme)
   ========================================================================== */
.contact-page-header {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding-top: calc(80px + clamp(2.5rem, 6vw, 4rem));
  padding-right: 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  padding-left: 1.5rem;
  text-align: center;
  overflow: hidden;
}
.contact-page-header-inner { position: relative; z-index: 1; }
.contact-page-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.contact-page-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.4em; color: var(--color-white); }
.contact-page-lead { font-size: 1.05rem; opacity: 0.95; max-width: 520px; margin: 0 auto; line-height: 1.55; }
.contact-page-lead p:last-child { margin-bottom: 0; }
.contact-page-header-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  opacity: 0.6;
}

.contact-page-section { padding: var(--section-padding) 0; }
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

.contact-info-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 77, 58, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(26, 77, 58, 0.12) 0%, rgba(26, 77, 58, 0.06) 100%);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.contact-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  margin: 0 0 0.35rem;
}
.contact-card-text { margin: 0; font-size: 1rem; color: var(--color-text); line-height: 1.5; }
.contact-card-text a { color: var(--color-primary); font-weight: 500; }
.contact-card-text a:hover { color: var(--color-primary-light); }
.contact-card-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}
.contact-card-link:hover { color: var(--color-primary-light); }
.contact-card-hours-list {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.5rem;
  font-size: 0.95rem;
}
.contact-card-hours-list dt { color: var(--color-text-muted); font-weight: 500; }
.contact-card-hours-list dd { margin: 0; color: var(--color-text); }

.contact-form-col .contact-form-wrap {
  max-width: none;
  margin: 0;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 77, 58, 0.08);
  background: var(--color-white);
}
.contact-form-heading {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  margin: 0 0 1.25rem;
}
.contact-form-message {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.contact-form-message-success { background: rgba(26, 77, 58, 0.1); color: var(--color-primary-dark); border: 1px solid rgba(26, 77, 58, 0.2); }
.contact-form-message-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form-field { margin-bottom: 1rem; }
.contact-form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--color-text); }
.contact-form-field .required { color: var(--color-primary); }
.contact-form-submit { margin-top: 1.25rem; margin-bottom: 0; }
.btn-contact-submit { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 8px; }
@media (max-width: 480px) { .contact-form-row { grid-template-columns: 1fr; } }

.contact-map-wrap { margin-top: 2rem; }
.contact-map-title {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin: 0 0 1rem;
  text-align: center;
}
.contact-map-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 77, 58, 0.1);
  background: var(--color-cream);
  aspect-ratio: 21/9;
  min-height: 280px;
}
.contact-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-map-link {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-map-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--color-primary-dark); }

/* ==========================================================================
   Footer – STABEL GROUP s.r.o. / modern UI
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}
.footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2rem;
  align-items: start;
}
.footer-brand { padding-top: 0.25rem; }
.footer-logo {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-logo:hover { color: var(--color-accent-light); }
.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 280px;
}
.footer-description {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 300px;
}
.footer-social-heading {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 1rem;
}
.footer-links-intro {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.footer-links .footer-menu,
.footer-nav .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-menu a:hover {
  color: var(--color-white);
  padding-left: 4px;
}
.footer-contact .footer-email,
.footer-contact .footer-phone,
.footer-contact .footer-address,
.footer-contact .footer-hours { margin: 0 0 0.5rem; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.footer-contact .footer-address:last-child,
.footer-contact .footer-hours:last-child { margin-bottom: 0; }
.footer-contact .footer-hours { margin-top: 0.75rem; }
.footer-contact .footer-hours strong { color: rgba(255, 255, 255, 0.95); }
.footer-contact .footer-email a,
.footer-contact .footer-phone a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact .footer-email a:hover,
.footer-contact .footer-phone a:hover { color: var(--color-accent-light); }
.footer-contact .footer-address { white-space: pre-line; }
.footer-links .widget-title,
.footer-contact .widget-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 1rem;
}
.footer-links .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-links .widget a { color: rgba(255,255,255,0.85); }
.footer-links .widget a:hover { color: var(--color-white); }
.footer-contact .widget a { color: rgba(255,255,255,0.9); }
.footer-contact .widget a:hover { color: var(--color-accent-light); }
.footer-bottom {
  padding: 1.25rem 0 clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.footer-copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand { text-align: center; }
  .footer-tagline,
  .footer-description { max-width: none; margin-left: auto; margin-right: auto; }
  .footer-social-heading { text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-links-intro { text-align: center; }
  .footer-links { text-align: center; }
  .footer-links .footer-menu { align-items: center; }
  .footer-menu a:hover { padding-left: 0; }
  .footer-contact { text-align: center; }
}

/* ==========================================================================
   Page & Single post
   ========================================================================== */
.page-header, .single-header {
  padding-top: calc(80px + var(--section-padding));
  padding-right: 0;
  padding-bottom: 2rem;
  padding-left: 0;
  background: var(--color-cream);
  text-align: center;
}
.page-header h1, .single-header h1 { margin-bottom: 0.25em; }
.entry-content {
  padding: var(--section-padding) 0;
  max-width: 720px;
  margin: 0 auto;
}
.single .entry-content { padding-top: 2rem; }
.single-hero-image {
  width: 100%;
  height: 60vh;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-cream);
}
/* Single post: first block is .single-hero-image (has 80px), so header does not need extra top */
.single-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}
.entry-content figure {
  margin: 1.5rem 0;
  max-width: 100%;
}
.entry-content figure img { border-radius: 8px; }
.entry-content .alignleft,
.entry-content figure.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; max-width: 45%; }
.entry-content .alignright,
.entry-content figure.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; max-width: 45%; }
.entry-content .aligncenter,
.entry-content figure.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content figcaption {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
@media (max-width: 640px) {
  .entry-content .alignleft,
  .entry-content .alignright { float: none; max-width: 100%; margin-left: 0; margin-right: 0; }
}
.entry-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.has-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: var(--section-padding) 0;
}
@media (max-width: 768px) { .has-sidebar { grid-template-columns: 1fr; } }
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--color-primary); }
.widget ul { padding: 0; }
.widget li { padding: 0.35rem 0; border-bottom: 1px solid var(--color-cream); }
.widget li:last-child { border-bottom: none; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 2rem 0;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  min-width: 44px;
  text-align: center;
  border-radius: 6px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.pagination a { background: var(--color-cream); color: var(--color-text); }
.pagination a:hover { background: var(--color-primary); color: var(--color-white); }
.pagination .current { background: var(--color-primary); color: var(--color-white); }
.navigation.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; padding: 2rem 0; }
.navigation.pagination .nav-links a, .navigation.pagination .nav-links span { display: inline-block; padding: 0.5rem 1rem; min-width: 44px; text-align: center; border-radius: 6px; font-weight: 500; transition: background var(--transition), color var(--transition); }
.navigation.pagination .nav-links a { background: var(--color-cream); color: var(--color-text); }
.navigation.pagination .nav-links a:hover { background: var(--color-primary); color: var(--color-white); }
.navigation.pagination .nav-links .current { background: var(--color-primary); color: var(--color-white); }
.navigation.pagination .screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ==========================================================================
   404
   ========================================================================== */
.error-404 {
  text-align: center;
  padding: var(--section-padding) 1.5rem;
}
.error-404 h1 { font-size: 4rem; color: var(--color-primary); margin-bottom: 0.25em; }
.error-404 p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

/* ==========================================================================
   Comments (UX) + Social login (Facebook / Google)
   ========================================================================== */
.comments-area { padding: var(--section-padding) 0; max-width: 720px; margin: 0 auto; }
.comments-title { font-size: 1.25rem; margin-bottom: 1rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .comment { padding: 1.25rem 0; border-bottom: 1px solid var(--color-cream); }
.comment-list .children { list-style: none; margin: 1rem 0 0 2rem; padding: 0; }
.comment-meta { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.comment-meta a { color: var(--color-primary); }
.comment-author .fn { font-weight: 600; color: var(--color-text); }
.comment-content { margin-top: 0.5rem; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link { display: inline-block; margin-top: 0.5rem; font-weight: 600; font-size: 0.9rem; }

.comment-form-wrap { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(26, 77, 58, 0.12); }
.comment-social-login { margin-bottom: 1.5rem; padding: 1.5rem; background: var(--color-cream); border-radius: 12px; }
.comment-social-intro { margin: 0 0 1rem; font-weight: 600; color: var(--color-text); }
.comment-social-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem; }
.btn-social {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; font-size: 0.95rem; font-weight: 600;
  border-radius: 8px; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition);
}
.btn-social:hover { transform: translateY(-2px); }
.btn-social-icon { flex-shrink: 0; }
.btn-social-facebook { background: #1877f2; color: #fff; border: none; }
.btn-social-facebook:hover { color: #fff; box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4); }
.btn-social-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.btn-social-google:hover { color: #3c4043; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.comment-social-note { font-size: 0.9rem; color: var(--color-text-muted); margin: 0 0 1rem; }
.comment-form-divider { display: flex; align-items: center; margin: 1.25rem 0 1rem; }
.comment-form-divider::before,
.comment-form-divider::after { content: ''; flex: 1; height: 1px; background: rgba(26, 77, 58, 0.2); }
.comment-form-divider span { padding: 0 1rem; font-size: 0.85rem; color: var(--color-text-muted); }

/* Nextend Social Login v sekcii komentárov */
.comment-social-nsl { margin-bottom: 0.5rem; }
.comment-social-nsl .nsl-container { justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.comment-social-nsl .nsl-container-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.comment-social-nsl .nsl-button { border-radius: 8px; transition: transform var(--transition), box-shadow var(--transition); }
.comment-social-nsl .nsl-button:hover { transform: translateY(-2px); }

.comment-form label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 77, 58, 0.12);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .form-submit { margin-top: 1rem; }
.no-comments { color: var(--color-text-muted); font-style: italic; margin: 1rem 0; }

/* ==========================================================================
   Blog listing page (home) – header, filters, grid
   ========================================================================== */
.blog-page-header {
  background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem 2rem;
  text-align: center;
}
.blog-page-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.35em; color: var(--color-white); }
.blog-page-lead { font-size: 1.1rem; opacity: 0.95; max-width: 480px; margin: 0 auto 2rem; line-height: 1.5; }
.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.blog-filter-pill {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.blog-filter-pill:hover { background: rgba(255,255,255,0.35); color: var(--color-white); }
.blog-filter-pill.active { background: var(--color-white); color: var(--color-primary-dark); }
.blog-filter-pill.active:hover { background: var(--color-cream); color: var(--color-primary-dark); }

.blog-page-content { padding: var(--section-padding) 0; }
.posts-grid-blog { margin-top: 0; }
.posts-grid-blog .post-card { display: flex; flex-direction: column; }
.posts-grid-blog .post-card-body { flex: 1; display: flex; flex-direction: column; }
.posts-grid-blog .post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.posts-grid-blog .post-card-meta time { font-size: 0.85rem; color: var(--color-text-muted); }
.posts-grid-blog .post-card-comments { font-size: 0.85rem; color: var(--color-primary); }
.posts-grid-blog .post-card-title { font-size: 1.2rem; margin-bottom: 0.4rem; }
.posts-grid-blog .post-card-title a { color: inherit; }
.posts-grid-blog .post-card-title a:hover { color: var(--color-primary); }
.posts-grid-blog .post-card-excerpt { font-size: 0.95rem; color: var(--color-text-muted); margin: 0 0 0.75rem; flex: 1; }
.posts-grid-blog .post-card-link {
  font-weight: 600; color: var(--color-primary); display: inline-flex; align-items: center; gap: 0.35rem;
}
.posts-grid-blog .post-card-link:hover { color: var(--color-primary-light); }
.blog-pagination { margin-top: 2.5rem; }
.blog-empty { text-align: center; padding: 3rem 1.5rem; }
.blog-empty-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.blog-empty-text { color: var(--color-text-muted); margin: 0; }
.section-cta { text-align: center; margin-top: 1.5rem; }
.front-page-content .entry-content { max-width: none; }
