/*
Theme Name: Eddy Kirya
Theme URI: https://eddykirya.com
Author: Custom Theme for Eddy Kirya
Author URI: https://eddykirya.com
Description: Professional WordPress theme for Eddy Kirya – Tourism Expert, Strategist & Author. Fully Gutenberg compatible. Homepage fully editable via Customizer. Layout inspired by premium Theme Palace travel & business themes, with real content from eddykirya.com.
Version: 1.8.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eddy-kirya
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, editor-style
*/

:root {
  --color-primary: #0a4d3c;
  --color-primary-dark: #063328;
  --color-primary-light: #0e6b52;
  --color-accent: #e85d04;
  --color-accent-hover: #d14f00;
  --color-text: #222;
  --color-text-light: #555;
  --color-muted: #777;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8f6;
  --color-bg-dark: #0d1f1a;
  --color-border: #e8e8e8;
  --color-white: #ffffff;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1170px;
  --radius: 6px;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 50px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary-dark);
}
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header { text-align: center; margin-bottom: 55px; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 15px;
  color: var(--color-primary-dark);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: var(--color-white); }
.btn-accent { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-white); }
.btn-outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-white { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }
.btn-white:hover { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.8); color: var(--color-white); }
.btn-outline-white:hover { background: var(--color-white); color: var(--color-primary-dark); border-color: var(--color-white); }

.site-header {
  background: var(--color-white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.custom-logo-link img, .site-logo img { max-height: 48px; width: auto; }
.site-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--color-primary); margin: 0; }
.site-title a { color: inherit; }
.main-navigation ul { display: flex; gap: 28px; margin: 0; padding: 0; }
.main-navigation a {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--color-primary); }
.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, .main-navigation .current-menu-item > a::after { width: 100%; }
.header-cta { display: none; }
@media (min-width: 992px) { .header-cta { display: inline-flex; } }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); margin: 5px 0; transition: var(--transition); }
@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 12px 0;
    display: none;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; padding: 0 20px; }
  .main-navigation li { border-bottom: 1px solid var(--color-border); }
  .main-navigation a { display: block; padding: 14px 0; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6,51,40,0.92) 0%, rgba(6,51,40,0.65) 45%, rgba(6,51,40,0.4) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
  max-width: 720px;
}

/* Split layout: text left + portrait right */
.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 100px 0 80px;
}
@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}
.hero-content {
  max-width: 580px;
}
.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.15;
  font-weight: 700;
}
.hero .lead { font-size: 1.2rem; opacity: 0.95; margin-bottom: 16px; font-weight: 500; }
.hero-desc { font-size: 1.05rem; opacity: 0.88; margin-bottom: 32px; max-width: 560px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; font-size: 14px; opacity: 0.9; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Portrait frame on the right */
.hero-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
  border: 3px solid rgba(255,255,255,0.18);
}
.hero-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}
.hero-portrait-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
@media (max-width: 899px) {
  .hero-portrait {
    order: -1; /* image above text on mobile */
  }
  .hero-portrait-frame {
    max-width: 280px;
  }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 60px; } }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--color-accent);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.about-content .section-label { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 18px; }
.about-content p { margin-bottom: 16px; color: var(--color-text-light); font-size: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
@media (min-width: 600px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--color-primary);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Services – luxury cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px 32px 36px;
  box-shadow: 0 4px 24px rgba(10, 77, 60, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(10, 77, 60, 0.06);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 77, 60, 0.12);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(10,77,60,0.08), rgba(232,93,4,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
  color: var(--color-primary);
  transition: background 0.35s ease, color 0.35s ease;
}
.service-card:hover .service-icon {
  background: var(--color-primary);
  color: white;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

/* Counters */
.counters { background: var(--color-primary); color: white; padding: 60px 0; }
.counters-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: center; }
@media (min-width: 768px) { .counters-grid { grid-template-columns: repeat(4, 1fr); } }
.counter-item .number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}
.counter-item .label { font-size: 14px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }

/* Highlights / Moments – luxury image cards */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.highlight-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-primary-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.22);
}
.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.highlight-card:hover img { transform: scale(1.08); }
.highlight-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 22px 20px;
  background: linear-gradient(to top, rgba(6,51,40,0.92) 0%, rgba(6,51,40,0.55) 55%, transparent 100%);
  color: white;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.2px;
}
.highlight-caption::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 10px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
  text-align: center;
  padding: 90px 0;
}
.cta-section h2 { color: white; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
.cta-section p { opacity: 0.9; max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Contact bar */
.contact-bar { background: var(--color-bg-dark); color: rgba(255,255,255,0.85); padding: 22px 0; }
.contact-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; font-size: 14px; }
.contact-bar a { color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 8px; }
.contact-bar a:hover { color: var(--color-accent); }

/* Footer */

/* Footer brand logo + brief */
.footer-brand .footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand .footer-logo {
  max-height: 56px;
  width: auto;
  height: auto;
  display: block;
}
.footer-brand .footer-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.footer-brand .footer-brief {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 320px;
  margin: 0;
}
.footer-brand h3 { display: none; }


.site-footer { background: #0a1914; color: rgba(255,255,255,0.75); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand h3 { color: white; margin-bottom: 14px; font-size: 1.4rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 320px; opacity: 0.8; }
.footer-col h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Blog */
/* Blog / Updates – luxury post cards */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 77, 60, 0.07);
  border: 1px solid rgba(10, 77, 60, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 77, 60, 0.12);
}
.post-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.post-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.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-light);
  margin: 0 0 18px;
  line-height: 1.65;
  flex: 1;
}
.post-card .post-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.post-card .post-read-more:hover { color: var(--color-accent-hover); }

/* Page & single headers */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}
.page-header h1 {
  color: white;
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
}
.page-header-sub {
  max-width: 560px;
  margin: 14px auto 0;
  opacity: 0.9;
  font-size: 1.05rem;
  line-height: 1.55;
}
.content-area { padding: 70px 0; }
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content p { margin-bottom: 1.25rem; line-height: 1.75; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; color: var(--color-primary-dark); }
.entry-content ul, .entry-content ol { margin: 0 0 1.25rem 1.25rem; }
.entry-content li { margin-bottom: 0.4rem; line-height: 1.65; }
.entry-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--color-accent); }

/* Single post refinements */
.single .page-header { text-align: left; }
.single .page-header .container { max-width: 800px; }
.single .post-card-meta { color: rgba(255,255,255,0.75); }
.single .entry-content { max-width: 760px; }
.single .post-thumbnail-wrap {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.single .post-thumbnail-wrap img { display: block; width: 100%; height: auto; }
.post-navigation {
  max-width: 760px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.post-navigation a { font-weight: 600; color: var(--color-primary); }
.post-navigation a:hover { color: var(--color-accent); }
.post-navigation .nav-subtitle { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-muted); font-weight: 500; margin-bottom: 4px; }

/* Gallery page */
.gallery-page-grid { margin-top: 0.5rem; }
.gallery-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.gallery-empty { color: var(--color-muted); padding: 3rem 1rem; }
.wp-block-image { margin: 1.5rem 0; }
.alignwide { max-width: 1170px; }
.alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.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;
}


/* ==========================================================================
   Corporate page layout (About, What We Do, Career Highlights, etc.)
   ========================================================================== */
.page-header--corporate {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #0e6b52 100%);
  color: white;
  padding: 88px 0 72px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.page-header--corporate::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.page-header-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.page-header-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 999px;
}
.page-header--corporate h1 {
  color: #fff;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-header--corporate .page-header-sub {
  margin: 0;
  max-width: 560px;
  opacity: 0.9;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

.content-area--corporate {
  padding: 72px 0 90px;
  background: var(--color-bg);
}

.corporate-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) {
  .corporate-layout.has-sidebar-media {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}

.corporate-media-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6, 51, 40, 0.14);
  border: 1px solid rgba(10, 77, 60, 0.08);
  background: var(--color-bg-alt);
}
.corporate-media-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.corporate-body .entry-content {
  max-width: none;
  margin: 0;
}
.corporate-body .entry-content > *:first-child { margin-top: 0; }
.corporate-body .entry-content h2 {
  font-size: 1.55rem;
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(10, 77, 60, 0.1);
}
.corporate-body .entry-content h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--color-primary);
}
.corporate-body .entry-content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text-light);
}
.corporate-body .entry-content strong {
  color: var(--color-text);
  font-weight: 600;
}
.corporate-body .entry-content ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.corporate-body .entry-content ul li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  line-height: 1.55;
}
.corporate-body .entry-content ul li:last-child { border-bottom: none; }
.corporate-body .entry-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  transform: translateY(-50%);
}

/* Gutenberg columns look more corporate on these pages */
.corporate-body .wp-block-columns {
  gap: 28px !important;
  margin: 2rem 0;
}
.corporate-body .wp-block-column {
  background: var(--color-bg-alt);
  border: 1px solid rgba(10, 77, 60, 0.06);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(10, 77, 60, 0.04);
}
.corporate-body .wp-block-column h3 {
  margin-top: 0;
  font-size: 1.15rem;
}
.corporate-body .wp-block-column p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.corporate-body .wp-block-buttons {
  margin-top: 1.5rem;
  gap: 12px;
}
.corporate-body .wp-block-button__link {
  border-radius: 8px !important;
  padding: 12px 22px !important;
  font-weight: 600;
}

.corporate-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

/* Career page: make list feel like a timeline */
.page-career .corporate-body .entry-content ul li {
  padding-left: 36px;
}
.page-career .corporate-body .entry-content ul li::before {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.15);
}

/* Updates / blog already styled via posts-grid – tighten page shell */
.blog .page-header,
.archive .page-header,
.search .page-header {
  text-align: left;
}
.blog .page-header .container,
.archive .page-header .container,
.search .page-header .container {
  max-width: var(--container);
}

/* Pagination corporate */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
  font-size: 14px;
  background: #fff;
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}


/* ==========================================================================
   Services page – beautiful card grid
   ========================================================================== */
.services-lead {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--color-text-light);
}

.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 2.5rem;
}
@media (min-width: 640px) {
  .services-page-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1024px) {
  .services-page-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 16px;
  padding: 32px 28px 30px;
  box-shadow: 0 6px 28px rgba(10, 77, 60, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(10, 77, 60, 0.12);
  border-color: rgba(10, 77, 60, 0.14);
}
.svc-card:hover::before { opacity: 1; }

.svc-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(10,77,60,0.09), rgba(232,93,4,0.1));
  transition: background 0.35s ease, transform 0.35s ease;
}
.svc-card:hover .svc-card-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  transform: scale(1.05);
}

.svc-card h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.3;
}
.svc-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-text-light);
  flex: 1;
}

/* On services page, widen body for the card grid */
.page-services .corporate-body .entry-content {
  max-width: none;
}
.page-services .corporate-layout.has-sidebar-media {
  grid-template-columns: 1fr;
}
.page-services .corporate-media { display: none; }


/* ==========================================================================
   Career Highlights page – image cards
   ========================================================================== */
.career-lead {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--color-text-light);
}

.career-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
  .career-page-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.career-card {
  background: #fff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10, 77, 60, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.career-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(10, 77, 60, 0.14);
}

.career-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.career-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.career-card:hover .career-card-media img {
  transform: scale(1.06);
}

.career-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.career-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(232, 93, 4, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.career-card-body h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.3;
}
.career-card-body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.page-career .corporate-body .entry-content { max-width: none; }
.page-career .corporate-layout.has-sidebar-media { grid-template-columns: 1fr; }
.page-career .corporate-media { display: none; }


/* ==========================================================================
   About page – full portrait left + info cards
   ========================================================================== */
.page-about .corporate-media { display: none; }
.page-about .corporate-layout.has-sidebar-media { grid-template-columns: 1fr; }
.page-about .corporate-body .entry-content { max-width: none; }
.page-about .corporate-cta-bar { display: none; }

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .about-page-grid {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 52px;
  }
}

.about-page-portrait {
  position: sticky;
  top: 100px;
}
.about-page-portrait-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(6, 51, 40, 0.18);
  border: 3px solid rgba(255,255,255,0.9);
  background: var(--color-bg-alt);
}
.about-page-portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3 / 4;
}

.about-page-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.about-page-stat {
  background: var(--color-bg-alt);
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.about-page-stat .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  line-height: 1.2;
}
.about-page-stat .lbl {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.about-page-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0 0 1rem;
}
.about-page-lead--accent {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(10,77,60,0.06), rgba(232,93,4,0.08));
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.75rem;
}

.about-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.about-info-card {
  background: #fff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 14px;
  padding: 24px 24px 22px;
  box-shadow: 0 6px 24px rgba(10, 77, 60, 0.05);
}
.about-info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.about-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(10,77,60,0.09), rgba(232,93,4,0.1));
  flex-shrink: 0;
}
.about-info-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.3;
}
.about-info-card p {
  margin: 0 0 0.85rem;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--color-text-light);
}
.about-info-card p:last-child { margin-bottom: 0; }

.about-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  line-height: 1.5;
  font-size: 0.97rem;
}
.about-info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.about-info-list li:first-child { padding-top: 0; }

.about-contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: baseline;
}
.about-contact-list .k {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-muted);
}
.about-contact-list a {
  color: var(--color-primary);
  font-weight: 600;
}
.about-contact-list a:hover { color: var(--color-accent); }

.about-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 959px) {
  .about-page-portrait { position: static; }
  .about-page-portrait-frame img { aspect-ratio: 4 / 5; max-height: 420px; margin: 0 auto; }
  .about-page-portrait-frame { max-width: 360px; margin: 0 auto; }
}


/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}
.contact-form-panel h2,
.contact-side h3 {
  margin: 0 0 1rem;
  color: var(--color-primary-dark);
}
.contact-form-panel {
  background: #fff;
  border: 1px solid rgba(10,77,60,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(10,77,60,0.06);
}
.contact-form-row {
  margin-bottom: 16px;
}
.contact-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.contact-form-row input,
.contact-form-row textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-row input:focus,
.contact-form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10,77,60,0.12);
}
.contact-alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.contact-alert--success {
  background: rgba(10,77,60,0.1);
  color: var(--color-primary-dark);
  border: 1px solid rgba(10,77,60,0.2);
}
.contact-alert--error {
  background: rgba(220,50,50,0.08);
  color: #8a1f1f;
  border: 1px solid rgba(220,50,50,0.2);
}
.contact-side-card,
.contact-faq {
  background: var(--color-bg-alt);
  border: 1px solid rgba(10,77,60,0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.contact-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-side-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-light);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
}
.contact-side-list li:last-child { border-bottom: none; }
.contact-side-list .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-light);
}
/* ==========================================================================
   Hero Video + Scrollable Image Layers
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Static image layer – always present, scrollable via parallax */
.hero-image-layer {
  position: absolute;
  inset: -10% 0; /* extra height for parallax movement */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transition: opacity 0.4s ease;
}

/* Self-hosted video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform;
}

/* YouTube / Vimeo embed container */
.hero-video-embed {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

/* When video is active, slightly dim the static image so video shows through */
.hero--has-video .hero-image-layer {
  opacity: 0.25;
}

/* Overlay stays on top of media */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(6,51,40,0.88) 0%, rgba(6,51,40,0.55) 55%, rgba(6,51,40,0.35) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Parallax active state – media moves slower than scroll */
.hero--parallax .hero-media {
  will-change: transform;
}

/* Mobile: prefer static image, hide heavy video for performance */
@media (max-width: 768px) {
  .hero-video,
  .hero-video-embed {
    display: none;
  }
  .hero--has-video .hero-image-layer {
    opacity: 1;
  }
}

/* Reduced motion: disable parallax and autoplay feel */
@media (prefers-reduced-motion: reduce) {
  .hero--parallax .hero-media,
  .hero-image-layer,
  .hero-video {
    transform: none !important;
  }
}


/* ==========================================================================
   Unified blog post styling (archive cards + single article)
   ========================================================================== */
.content-area--archive,
.content-area--post {
  padding: 64px 0 90px;
}
.container--post {
  max-width: 820px;
}

/* Archive cards — same for every post */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
}
.post-card {
  background: #fff;
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 77, 60, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(10, 77, 60, 0.12);
}
.post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.post-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  line-height: 1.35;
  color: var(--color-primary-dark);
}
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--color-primary); }
.post-card p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-light);
  flex: 1;
}
.post-card .post-read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
}
.post-card .post-read-more:hover { color: var(--color-accent); }

/* Single post article */
.post-thumbnail-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(10, 77, 60, 0.1);
  border: 1px solid rgba(10, 77, 60, 0.06);
}
.post-thumbnail-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
}
.entry-content--post {
  max-width: none;
  margin: 0;
}
.entry-content--post > *:first-child { margin-top: 0; }
.entry-content--post p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--color-text-light);
}
.entry-content--post h2,
.entry-content--post h3 {
  margin: 2rem 0 0.85rem;
  color: var(--color-primary-dark);
}
.entry-content--post ul,
.entry-content--post ol {
  margin: 0 0 1.35rem 1.35rem;
  color: var(--color-text-light);
}
.entry-content--post li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}
.entry-content--post a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content--post a:hover { color: var(--color-accent); }
.entry-content--post blockquote {
  margin: 1.75rem 0;
  padding: 16px 20px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 12px 12px 0;
  color: var(--color-text);
  font-style: italic;
}
.entry-content--post img {
  border-radius: 12px;
  margin: 1.5rem 0;
}
.entry-content--post figure { margin: 1.5rem 0; }
.entry-content--post figcaption {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 8px;
}

.single-post-footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.post-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 77, 60, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.post-tag:hover {
  background: var(--color-primary);
  color: #fff;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  background: var(--color-bg-alt);
  border: 1px solid rgba(10, 77, 60, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
}
.post-navigation .nav-next { text-align: right; }
.post-navigation .nav-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.post-navigation .nav-title {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  line-height: 1.35;
}
.post-navigation a { text-decoration: none; }
.post-navigation a:hover .nav-title { color: var(--color-accent); }

@media (max-width: 600px) {
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
}


/* Comments */
.comments-area {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.comments-title {
  font-size: 1.35rem;
  margin-bottom: 24px;
  color: var(--color-primary-dark);
}
.comment-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.comment-list .comment {
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--color-bg-alt);
  border: 1px solid rgba(10,77,60,0.06);
  border-radius: 12px;
}
.comment-list .children {
  list-style: none;
  margin: 16px 0 0 18px;
  padding: 0;
}
.comment-author {
  font-weight: 700;
  color: var(--color-primary-dark);
}
.comment-metadata {
  font-size: 12px;
  color: var(--color-muted);
  margin: 4px 0 10px;
}
.comment-content p {
  margin: 0 0 0.6rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--color-text-light);
}
.comment-respond {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(10,77,60,0.08);
  border-radius: 14px;
}
.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font: inherit;
}
.comment-form .form-submit input {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
}


/* Contact form validation */
.contact-form-row.is-invalid input,
.contact-form-row.is-invalid textarea {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.contact-form-row .field-error {
  color: #8a1f1f;
  font-size: 0.85rem;
  margin: 6px 0 0;
}
.contact-form-row .req { color: #c0392b; }
.contact-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.5;
  cursor: pointer;
}
.contact-consent input { margin-top: 3px; flex-shrink: 0; }

.footer-legal { margin-top: 8px; font-size: 0.85rem; opacity: 0.85; }
.footer-legal a { color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: var(--color-accent); }
.footer-legal-sep { margin: 0 8px; opacity: 0.5; }
