/*
Theme Name: JR Parquet
Theme URI: https://jr-parquet.ch
Description: Thème WordPress sur mesure pour JR Parquet — Poseur de parquet haut de gamme en Suisse Romande. Thème enfant de Twenty Twenty-Five.
Author: JR Parquet
Author URI: https://jr-parquet.ch
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jr-parquet
Tags: full-site-editing, block-patterns, custom-colors, custom-logo
*/

/* ══════════════════════════════════════════
   JR PARQUET — DESIGN SYSTEM
   ══════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --jr-charcoal: #1A1A1A;
  --jr-warm-oak: #8B6F47;
  --jr-deep-forest: #2C3E2D;
  --jr-warm-white: #FAF8F5;
  --jr-soft-linen: #F0EDE8;
  --jr-dark-text: #2D2D2D;
  --jr-warm-gray: #6B6560;
  --jr-muted-gold: #B8973A;

  /* Typography */
  --jr-font-display: 'Playfair Display', Georgia, serif;
  --jr-font-body: 'DM Sans', Helvetica, sans-serif;
}

/* ── Global Reset & Base ── */
body {
  font-family: var(--jr-font-body);
  color: var(--jr-dark-text);
  background: var(--jr-warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jr-font-display);
  color: var(--jr-charcoal);
  line-height: 1.2;
}

a {
  color: var(--jr-warm-oak);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #7A6140;
}

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

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroTextReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

.jr-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.jr-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Utilities ── */
.jr-section-pad {
  padding: 7rem 0;
}
.jr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section Headers ── */
.jr-section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.jr-section-label {
  font-family: var(--jr-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--jr-warm-oak);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.jr-section-title {
  font-family: var(--jr-font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--jr-charcoal);
  line-height: 1.2;
}
.jr-section-title em {
  font-style: italic;
  color: var(--jr-warm-oak);
}
.jr-section-line {
  width: 60px;
  height: 2px;
  background: var(--jr-warm-oak);
  margin: 1.5rem auto 0;
}

/* ══════════════════════════════════════════
   NAVIGATION — PREMIUM
   ══════════════════════════════════════════ */
.jr-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(6px);
}
.jr-nav.scrolled {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 2px 40px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
}
.jr-nav-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.4s ease;
}
.jr-nav.scrolled .jr-nav-inner {
  height: 60px;
}

/* Logo */
.jr-nav-logo {
  font-family: var(--jr-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.jr-nav-logo span {
  color: var(--jr-warm-oak);
}

/* Main links */
.jr-nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: stretch;
}
.jr-nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
}
.jr-nav-links > li > a {
  font-family: var(--jr-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  padding: 0 1.35rem;
  display: flex;
  align-items: center;
  height: 100%;
  transition: color 0.3s ease;
}
.jr-nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 2px;
  background: var(--jr-warm-oak);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.jr-nav-links > li > a:hover {
  color: #fff;
}
.jr-nav-links > li > a:hover::after {
  transform: scaleX(1);
}

/* ── Services dropdown ── */
.jr-nav-dropdown {
  position: relative;
}
.jr-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.jr-nav-chevron {
  transition: transform 0.3s ease;
  opacity: 0.6;
}
.jr-nav-dropdown:hover .jr-nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.jr-nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 520px;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.jr-nav-dropdown:hover .jr-nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.jr-nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.75rem;
}
.jr-nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 3px;
  transition: background 0.2s ease;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.jr-nav-dropdown-item::after {
  display: none !important;
}
.jr-nav-dropdown-item:hover {
  background: rgba(139, 111, 71, 0.1);
}
.jr-nav-dropdown-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 111, 71, 0.12);
  border-radius: 4px;
  margin-top: 2px;
}
.jr-nav-dropdown-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--jr-warm-oak);
  fill: none;
  stroke-width: 1.5;
}
.jr-nav-dropdown-item strong {
  display: block;
  font-family: var(--jr-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}
.jr-nav-dropdown-item span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}
.jr-nav-dropdown-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.85rem 1.1rem;
  margin: 0 0.75rem;
}
.jr-nav-dropdown-footer a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jr-warm-oak);
  letter-spacing: 0.04em;
  text-transform: none;
  transition: color 0.3s ease;
}
.jr-nav-dropdown-footer a::after {
  display: none !important;
}
.jr-nav-dropdown-footer a:hover {
  color: #a88050;
}

/* ── Right side: phone + CTA ── */
.jr-nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.jr-nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--jr-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.jr-nav-phone:hover {
  color: #fff;
}
.jr-nav-phone svg {
  stroke: var(--jr-warm-oak);
}
.jr-nav-cta {
  font-family: var(--jr-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: var(--jr-warm-oak);
  padding: 0.65rem 1.6rem;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.jr-nav-cta:hover {
  background: #7A6140;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139,111,71,0.3);
}

/* ── Mobile nav ── */
.jr-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 32px;
  height: 32px;
}
.jr-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.jr-nav-toggle span:nth-child(1) { top: 8px; }
.jr-nav-toggle span:nth-child(2) { top: 15px; }
.jr-nav-toggle span:nth-child(3) { top: 22px; }
.jr-nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 15px; }
.jr-nav-toggle.open span:nth-child(2) { opacity: 0; }
.jr-nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 15px; }

/* ── Mobile menu panel ── */
.jr-mobile-menu {
  display: none;
}

/* ══════════════════════════════════════════
   PAGE HERO (sub-pages)
   ══════════════════════════════════════════ */
.jr-page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jr-page-hero--short {
  height: 35vh;
  min-height: 300px;
}
.jr-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--jr-charcoal);
}
.jr-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(175deg,
    rgba(26,26,26,0.7) 0%,
    rgba(26,26,26,0.4) 50%,
    rgba(44,62,45,0.3) 100%
  );
}
.jr-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 4rem 2rem 0;
}
.jr-page-hero-title {
  font-family: var(--jr-font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  animation: heroTextReveal 0.8s ease 0.3s both;
}

/* ══════════════════════════════════════════
   ABOUT PAGE COMPONENTS
   ══════════════════════════════════════════ */
.jr-about-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}
.jr-about-lead {
  font-size: 1.15rem;
  color: var(--jr-dark-text);
  line-height: 1.8;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.jr-about-intro-text p {
  color: var(--jr-warm-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.jr-about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

/* Value cards (about page) */
.jr-values-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.jr-value-card {
  background: #fff;
  padding: 2.25rem 1.75rem;
  border: 1px solid rgba(139,111,71,0.08);
  border-radius: 2px;
  transition: all 0.4s ease;
}
.jr-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.jr-value-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--jr-warm-oak);
}
.jr-value-card-icon svg {
  width: 44px;
  height: 44px;
}
.jr-value-card h3 {
  font-family: var(--jr-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.jr-value-card p {
  font-size: 0.9rem;
  color: var(--jr-warm-gray);
  line-height: 1.7;
}

/* Timeline */
.jr-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}
.jr-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: rgba(139,111,71,0.15);
}
.jr-timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.jr-timeline-item:last-child {
  padding-bottom: 0;
}
.jr-timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--jr-warm-oak);
  transform: translateX(-5px);
}
.jr-timeline-year {
  font-family: var(--jr-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jr-warm-oak);
  margin-bottom: 0.35rem;
}
.jr-timeline-content h3 {
  font-family: var(--jr-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.jr-timeline-content p {
  font-size: 0.95rem;
  color: var(--jr-warm-gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   SERVICE PAGE COMPONENTS
   ══════════════════════════════════════════ */
.jr-service-page-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}
.jr-service-page-intro-text p {
  color: var(--jr-warm-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Wood type cards */
.jr-wood-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.jr-wood-card {
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(139,111,71,0.08);
  transition: all 0.4s ease;
}
.jr-wood-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.jr-wood-card-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.jr-wood-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jr-wood-card-body {
  padding: 1.5rem;
}
.jr-wood-card-body h3 {
  font-family: var(--jr-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.jr-wood-card-body p {
  font-size: 0.88rem;
  color: var(--jr-warm-gray);
  line-height: 1.65;
}

/* Process steps */
.jr-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.jr-process-step {
  text-align: center;
  padding: 1rem;
}
.jr-process-number {
  font-family: var(--jr-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--jr-warm-oak);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}
.jr-process-step h3 {
  font-family: var(--jr-font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.jr-process-step p {
  font-size: 0.9rem;
  color: var(--jr-warm-gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT PAGE COMPONENTS
   ══════════════════════════════════════════ */
.jr-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}
.jr-contact-form {
  background: none;
}
.jr-form-group-light {
  margin-bottom: 1.25rem;
}
.jr-form-group-light label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jr-warm-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.jr-form-group-light input,
.jr-form-group-light select,
.jr-form-group-light textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1.5px solid rgba(139,111,71,0.15);
  border-radius: 2px;
  color: var(--jr-dark-text);
  font-family: var(--jr-font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.jr-form-group-light input::placeholder,
.jr-form-group-light textarea::placeholder {
  color: rgba(107,101,96,0.5);
}
.jr-form-group-light input:focus,
.jr-form-group-light select:focus,
.jr-form-group-light textarea:focus {
  border-color: var(--jr-warm-oak);
  box-shadow: 0 0 0 3px rgba(139,111,71,0.08);
}
.jr-form-group-light select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}
.jr-form-group-light textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact cards */
.jr-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(139,111,71,0.08);
}
.jr-contact-card:first-child {
  padding-top: 0;
}
.jr-contact-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jr-soft-linen);
  border-radius: 4px;
}
.jr-contact-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--jr-warm-oak);
}
.jr-contact-card h4 {
  font-family: var(--jr-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--jr-warm-gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.jr-contact-map {
  margin-top: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   PORTFOLIO / RÉALISATIONS PAGE
   ══════════════════════════════════════════ */
.jr-portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.jr-filter-btn {
  font-family: var(--jr-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--jr-warm-gray);
  background: transparent;
  border: 1.5px solid rgba(139,111,71,0.15);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}
.jr-filter-btn:hover {
  color: var(--jr-charcoal);
  border-color: var(--jr-warm-oak);
}
.jr-filter-btn.active {
  color: #fff;
  background: var(--jr-warm-oak);
  border-color: var(--jr-warm-oak);
}
.jr-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.jr-portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.jr-portfolio-item.hidden {
  display: none;
}
.jr-portfolio-img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}
.jr-portfolio-item:hover .jr-portfolio-img {
  transform: scale(1.05);
}

/* ══════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════ */
.jr-legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.jr-legal-updated {
  font-size: 0.85rem;
  color: var(--jr-warm-gray);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(139,111,71,0.12);
}
.jr-legal-content h2 {
  font-family: var(--jr-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--jr-charcoal);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.jr-legal-content h2:first-of-type {
  margin-top: 0;
}
.jr-legal-content p {
  font-size: 0.95rem;
  color: var(--jr-warm-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.jr-legal-content a {
  color: var(--jr-warm-oak);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.jr-legal-content a:hover {
  color: #7A6140;
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.jr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--jr-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.jr-btn-primary {
  background: var(--jr-warm-oak);
  color: #fff;
}
.jr-btn-primary:hover {
  background: #7A6140;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,111,71,0.3);
}
.jr-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.jr-btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.jr-btn-dark {
  background: var(--jr-charcoal);
  color: #fff;
}
.jr-btn-dark:hover {
  background: #2D2D2D;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.jr-btn-gold {
  background: transparent;
  color: var(--jr-muted-gold);
  border: 1.5px solid var(--jr-muted-gold);
}
.jr-btn-gold:hover {
  background: var(--jr-muted-gold);
  color: var(--jr-charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,151,58,0.2);
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.jr-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jr-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.jr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg,
    rgba(26,26,26,0.65) 0%,
    rgba(26,26,26,0.3) 40%,
    rgba(44,62,45,0.35) 100%
  );
  z-index: 1;
}
.jr-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}
.jr-hero-eyebrow {
  font-family: var(--jr-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jr-warm-oak);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: heroTextReveal 0.8s ease 0.3s both;
}
.jr-hero-title {
  font-family: var(--jr-font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: heroTextReveal 0.8s ease 0.5s both;
}
.jr-hero-subtitle {
  font-family: var(--jr-font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: heroTextReveal 0.8s ease 0.7s both;
}
.jr-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroTextReveal 0.8s ease 0.9s both;
}
.jr-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.jr-hero-scroll span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.jr-hero-scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--jr-warm-oak);
  animation: scrollLine 2s ease infinite;
}

/* ══════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════ */
.jr-services {
  background: var(--jr-warm-white);
}
.jr-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.jr-service-card {
  background: #fff;
  padding: 3rem 2.25rem;
  border: 1px solid rgba(139,111,71,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.jr-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--jr-warm-oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.jr-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.jr-service-card:hover::before {
  transform: scaleX(1);
}
.jr-service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jr-soft-linen);
  border-radius: 2px;
}
.jr-service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--jr-warm-oak);
  fill: none;
  stroke-width: 1.5;
}
.jr-service-card h3 {
  font-family: var(--jr-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.jr-service-card p {
  font-size: 0.95rem;
  color: var(--jr-warm-gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   BERTI PARTNERSHIP
   ══════════════════════════════════════════ */
.jr-berti {
  background: var(--jr-charcoal);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.jr-berti::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(184,151,58,0.05) 100%);
}
.jr-berti-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.jr-berti-logo-area {
  flex: 0 0 280px;
  text-align: center;
}
.jr-berti-logo-mark {
  font-family: var(--jr-font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--jr-muted-gold);
  letter-spacing: 0.08em;
  border: 2px solid rgba(184,151,58,0.3);
  padding: 2rem 2.5rem;
  display: inline-block;
  position: relative;
}
.jr-berti-logo-mark::after {
  content: 'Depuis 1929';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--jr-charcoal);
  padding: 0 1rem;
  font-family: var(--jr-font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--jr-muted-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.jr-berti-content {
  flex: 1;
}
.jr-berti-label {
  font-family: var(--jr-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--jr-muted-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.jr-berti-title {
  font-family: var(--jr-font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.jr-berti-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════════
   SHOWROOM
   ══════════════════════════════════════════ */
.jr-showroom {
  background: var(--jr-soft-linen);
}
.jr-showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.jr-showroom-title {
  font-family: var(--jr-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.jr-showroom-desc {
  font-size: 1rem;
  color: var(--jr-warm-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.jr-showroom-address {
  font-size: 0.9rem;
  color: var(--jr-dark-text);
  line-height: 1.8;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(139,111,71,0.15);
  border-bottom: 1px solid rgba(139,111,71,0.15);
  margin: 1.5rem 0 2rem;
}
.jr-showroom-address strong {
  font-weight: 600;
}
.jr-showroom-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.jr-showroom-img {
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  background: var(--jr-soft-linen);
}
.jr-showroom-img:first-child {
  grid-row: 1 / 3;
  aspect-ratio: auto;
}
.jr-showroom-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jr-showroom-img-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: rgba(26,26,26,0.6);
  padding: 0.4rem 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════
   PROJECTS / PORTFOLIO
   ══════════════════════════════════════════ */
.jr-projects {
  background: var(--jr-warm-white);
}
.jr-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.jr-project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.jr-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.jr-project-card:hover img {
  transform: scale(1.05);
}
.jr-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.4s ease;
}
.jr-project-card:hover .jr-project-overlay {
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.1) 60%);
}
.jr-project-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--jr-warm-oak);
  margin-bottom: 0.5rem;
}
.jr-project-name {
  font-family: var(--jr-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.jr-project-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════
   VALUE PROPS STRIP
   ══════════════════════════════════════════ */
.jr-values {
  background: var(--jr-deep-forest);
  padding: 4.5rem 0;
}
.jr-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.jr-value-item {
  text-align: center;
}
.jr-value-number {
  font-family: var(--jr-font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.jr-value-number span {
  color: var(--jr-muted-gold);
}
.jr-value-divider {
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0.75rem auto;
}
.jr-value-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   CONTACT CTA SECTION
   ══════════════════════════════════════════ */
.jr-cta {
  background: var(--jr-charcoal);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.jr-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(139,111,71,0.08) 0%, transparent 70%);
}
.jr-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.jr-cta-title {
  font-family: var(--jr-font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.jr-cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.jr-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--jr-font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--jr-warm-oak);
  transition: color 0.3s ease;
}
.jr-cta-phone:hover {
  color: #a88050;
}
.jr-cta-phone svg {
  width: 28px;
  height: 28px;
  stroke: var(--jr-warm-oak);
  fill: none;
  stroke-width: 1.5;
}

/* Contact form */
.jr-cta-form {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
}
.jr-form-group {
  margin-bottom: 1.25rem;
}
.jr-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.jr-form-group input,
.jr-form-group select,
.jr-form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  color: #fff;
  font-family: var(--jr-font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
}
.jr-form-group input::placeholder,
.jr-form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.jr-form-group input:focus,
.jr-form-group select:focus,
.jr-form-group textarea:focus {
  border-color: var(--jr-warm-oak);
}
.jr-form-group select {
  appearance: none;
  cursor: pointer;
}
.jr-form-group select option {
  background: var(--jr-charcoal);
  color: #fff;
}
.jr-form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.jr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ══════════════════════════════════════════
   INSTAGRAM SECTION
   ══════════════════════════════════════════ */
.jr-instagram {
  background: var(--jr-soft-linen);
  padding: 5rem 0;
}
.jr-insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.jr-insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.jr-insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.jr-insta-item:hover img {
  transform: scale(1.08);
}
.jr-insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0);
  transition: background 0.3s ease;
}
.jr-insta-item:hover::after {
  background: rgba(26,26,26,0.25);
}
.jr-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jr-warm-oak);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2rem;
  transition: color 0.3s ease;
}
.jr-insta-link:hover {
  color: #7A6140;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.jr-footer {
  background: var(--jr-charcoal);
  padding: 4.5rem 0 0;
  color: rgba(255,255,255,0.65);
}
.jr-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.jr-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}
.jr-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}
.jr-footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.jr-footer-social a:hover {
  border-color: var(--jr-warm-oak);
  background: rgba(139,111,71,0.1);
}
.jr-footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.7);
}
.jr-footer-col h4 {
  font-family: var(--jr-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.jr-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jr-footer-col li {
  margin-bottom: 0.75rem;
}
.jr-footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
}
.jr-footer-col a:hover {
  color: var(--jr-warm-oak);
}
.jr-footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.jr-footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--jr-warm-oak);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.jr-footer-contact-item span {
  font-size: 0.9rem;
  line-height: 1.5;
}
.jr-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.jr-footer-legal {
  display: flex;
  gap: 1.5rem;
}
.jr-footer-legal a {
  color: rgba(255,255,255,0.35);
  transition: color 0.3s ease;
}
.jr-footer-legal a:hover {
  color: rgba(255,255,255,0.6);
}
.jr-lang-switch {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.jr-lang-switch a {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.jr-lang-switch a:hover,
.jr-lang-switch a.active {
  color: var(--jr-warm-oak);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .jr-services-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-values-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .jr-berti-inner { flex-direction: column; text-align: center; }
  .jr-berti-text { margin: 0 auto 2rem; }
  .jr-cta-inner { grid-template-columns: 1fr; }
  .jr-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-insta-grid { grid-template-columns: repeat(3, 1fr); }
  .jr-values-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-wood-types-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-process-steps { grid-template-columns: repeat(2, 1fr); }
  .jr-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-nav-phone span { display: none; }
}
@media (max-width: 768px) {
  /* Nav: hide desktop, show toggle */
  .jr-nav-links { display: none; }
  .jr-nav-right { display: none; }
  .jr-nav-toggle { display: block; }
  .jr-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26,26,26,0.99);
    padding: 6rem 2.5rem 2.5rem;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }
  .jr-nav-links.open > li {
    height: auto;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .jr-nav-links.open > li > a {
    padding: 1.1rem 0;
    font-size: 1rem;
    letter-spacing: 0.08em;
  }
  .jr-nav-links.open > li > a::after { display: none; }

  /* Mobile dropdown just expands inline */
  .jr-nav-dropdown-panel {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }
  .jr-nav-links.open .jr-nav-dropdown-panel {
    display: block;
  }
  .jr-nav-dropdown:not(:hover) .jr-nav-dropdown-panel {
    display: none;
  }
  .jr-nav-links.open .jr-nav-dropdown .jr-nav-dropdown-panel {
    display: block;
  }
  .jr-nav-dropdown-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .jr-nav-dropdown-item {
    padding: 0.75rem 0 0.75rem 0.5rem;
  }
  .jr-nav-dropdown-footer {
    margin: 0;
    padding: 0.75rem 0.5rem;
    border-top: none;
  }
  /* Show phone + CTA at bottom of mobile menu */
  .jr-nav-links.open::after {
    content: '';
    display: block;
    flex: 1;
  }

  /* Page layouts */
  .jr-services-grid { grid-template-columns: 1fr; }
  .jr-showroom-grid { grid-template-columns: 1fr; }
  .jr-projects-grid { grid-template-columns: 1fr; }
  .jr-values-grid { grid-template-columns: 1fr; gap: 2rem; }
  .jr-footer-grid { grid-template-columns: 1fr; }
  .jr-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .jr-form-row { grid-template-columns: 1fr; }
  .jr-section-pad { padding: 4.5rem 0; }
  .jr-insta-grid { grid-template-columns: repeat(2, 1fr); }

  /* About page */
  .jr-about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .jr-values-cards-grid { grid-template-columns: 1fr; }

  /* Service pages */
  .jr-service-page-intro { grid-template-columns: 1fr; gap: 2rem; }
  .jr-wood-types-grid { grid-template-columns: 1fr; }
  .jr-process-steps { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Contact page */
  .jr-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Portfolio */
  .jr-portfolio-grid { grid-template-columns: 1fr; }
  .jr-portfolio-filters { gap: 0.4rem; }
  .jr-filter-btn { padding: 0.5rem 1rem; font-size: 0.75rem; }

  /* Page hero */
  .jr-page-hero { height: 40vh; min-height: 300px; }
  .jr-page-hero--short { height: 30vh; min-height: 240px; }
}

/* ══════════════════════════════════════════
   WORDPRESS CORE OVERRIDES — FULL WIDTH
   Forces all pages to render full-width like homepage
   ══════════════════════════════════════════ */

/* Hide any parent theme (Twenty Twenty-Five) header/footer that leaks through */
/* Parent theme uses these classes for its own header */
body .wp-site-blocks > header:not(:has(.jr-nav)),
body .wp-site-blocks > .wp-block-template-part[data-area="header"]:not(:has(.jr-nav)) {
  display: none !important;
}
/* Also target common TT5 header patterns */
.wp-block-site-title,
.wp-block-navigation:not(.jr-nav-links) {
  /* Only hide if they appear OUTSIDE our jr-nav */
}

/* Nuclear option: hide duplicate headers/footers */
/* The parent theme's header has no .jr-nav class, ours does */
.wp-site-blocks > header.wp-block-template-part {
  /* Allow our header through, hide parent's */
}

/* Remove WordPress default content constraints */
.wp-site-blocks > .wp-block-post-content,
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group,
body .is-layout-constrained > .wp-block-post-content,
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body .wp-block-post-content,
body .wp-block-post-content > .wp-block-html,
body .entry-content,
body .entry-content > * {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Ensure wp:html blocks render full width */
.wp-block-html {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove any padding/margin from main content area */
.wp-site-blocks {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove Twenty Twenty-Five default padding on page content */
body .wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

/* Kill any constrained layout widths from parent theme */
body .is-layout-constrained {
  max-width: none !important;
}

/* Force post content to fill available width */
.wp-block-post-content {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ══════════════════════════════════════════
   LOGO IMAGE SUPPORT
   ══════════════════════════════════════════ */
.jr-nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.jr-nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.jr-nav.scrolled .jr-nav-logo img {
  height: 32px;
}
.jr-footer-brand .jr-nav-logo img {
  height: 32px;
}

