/* ==========================================================================
   HERITAGE EXPLORER - SISTEM DE DESIGN EDITORIAL (PHP 5.6.40 COMPATIBIL)
   Paletă: Teracotă (#C85A32), Bleumarin (#1E293B, #0F172A), Pergament (#FAF7F2)
   Tipografie: Serif Editorial ("Playfair Display", Georgia) + Sans Modern
   Versiune: 20260910
   ========================================================================== */
:root {
  --terracotta: #C85A32;
  --terracotta-dark: #A73F1C;
  --terracotta-light: #DF7654;
  --terracotta-subtle: #F9ECE6;
  --navy-deep: #0F172A;
  --navy: #1E293B;
  --navy-light: #334155;
  --navy-subtle: #F1F5F9;
  --parchment: #FAF7F2;
  --parchment-card: #FFFFFF;
  --parchment-muted: #F3ECE2;
  --border-warm: #E6DCD1;
  --border-subtle: #EFE8DF;
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #475569; /* Slate 600: Raport contrast 5.64:1 peste #FAF7F2 (WCAG 2.2 AA conform) */
  --rating-gold: #D97706;
  --rating-bg: #FEF3C7;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", Cambria, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  --shadow-soft: 0 4px 18px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
}

@supports (overflow-x: clip) {
  html, body {
    overflow-x: clip;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--parchment);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--text-heading);
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.18s ease;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilitar Screen Reader (a11y) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Accesibilitate Focus Tastatură */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Masthead Superior Editorial */
.masthead-strip {
  background: var(--parchment-card);
  border-bottom: 1px solid var(--border-warm);
  padding: 9px 0;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.masthead-badge {
  color: var(--terracotta);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grand Header Sticky pe Desktop și Mobil */
.grand-header {
  background: var(--parchment-card);
  border-bottom: 2px solid var(--border-warm);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease;
}
.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px;
  gap: 24px;
}

.header-brand-bar {
  display: flex;
  align-items: center;
}
.brand-block {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.brand-title span {
  color: var(--terracotta);
}
.brand-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* Search Bar integrat */
.integrated-search-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search-input-field {
  width: 100%;
  background: var(--parchment);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 11px 46px 11px 16px;
  font-size: 13.5px;
  font-family: var(--font-sans);
  color: var(--text-heading);
  outline: none;
  transition: all 0.2s ease;
}
.search-input-field:focus {
  background: #FFFFFF;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.12);
}
.search-submit-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--terracotta);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}
.search-submit-btn:hover {
  color: var(--terracotta-dark);
}

/* Dropdown Rezultate Căutare Instant */
.instant-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06);
  z-index: 1200;
  overflow: hidden;
  max-height: 460px;
  display: flex;
  flex-direction: column;
}

.instant-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: var(--parchment-muted);
  border-bottom: 1px solid var(--border-warm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-light);
  flex-shrink: 0;
}

.instant-search-results-list {
  overflow-y: auto;
  max-height: 380px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instant-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-heading);
  transition: background 0.15s ease;
  cursor: pointer;
}

.instant-search-item:last-child {
  border-bottom: none;
}

.instant-search-item:hover,
.instant-search-item.is-selected {
  background: var(--terracotta-subtle);
}

.instant-search-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border-subtle);
  border: 1px solid var(--border-warm);
}

.instant-search-info {
  flex: 1;
  min-width: 0;
}

.instant-search-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.instant-search-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.2;
}

.instant-search-badge.badge-judet {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid rgba(67, 56, 202, 0.15);
}

.instant-search-badge.badge-categorie {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid rgba(180, 83, 9, 0.15);
}

.instant-search-badge.badge-obiectiv {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid rgba(185, 28, 28, 0.15);
}

.instant-search-badge.badge-zona {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid rgba(4, 120, 87, 0.15);
}

.instant-search-badge.badge-localitate {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid rgba(71, 85, 105, 0.15);
}

.instant-search-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.instant-search-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.instant-search-title mark {
  background: #FDE68A;
  color: var(--navy-deep);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 800;
}

.instant-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--parchment);
  border-top: 1px solid var(--border-warm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.instant-search-footer:hover,
.instant-search-footer.is-selected {
  background: var(--terracotta-subtle);
  color: var(--terracotta-dark);
}

.instant-search-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.instant-search-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(200, 90, 50, 0.25);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Buton Hamburger Meniu Mobil */
.mobile-menu-toggle {
  display: none;
  background: var(--parchment);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy-deep);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle.is-active {
  background: var(--parchment-card);
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.mobile-menu-toggle svg {
  display: block;
}

/* Bara de Navigație Tematică (Aliniere 1 Singur Rând pe Desktop) */
.editorial-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-items-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
}
.nav-items-group a {
  color: var(--navy);
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}
.nav-items-group a:hover, .nav-items-group a.active {
  color: var(--terracotta);
}
.nav-items-group a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--terracotta);
}
.nav-btn-contribute {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--terracotta);
  color: #FFFFFF !important;
  padding: 5px 14px !important;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(200, 90, 50, 0.25);
  margin-left: auto;
  white-space: nowrap;
}
.nav-btn-contribute:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.35);
  color: #FFFFFF !important;
}
.nav-btn-contribute::after {
  display: none !important;
}
.nav-meta-badge {
  display: none; /* Ascuns pentru a păstra meniul pe un singur rând aerisit */
}

/* Meniu Mobil Dropdown (Ascuns implicit, afișat la toggle) */
.mobile-nav-panel {
  display: none;
  background: var(--parchment-card);
  border-top: 1px solid var(--border-warm);
  padding: 8px 0 16px;
}
.mobile-nav-panel.is-open {
  display: block;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  min-height: 44px;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--parchment-muted);
  color: var(--terracotta);
}
.mobile-nav-arrow {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
}
.mobile-nav-link-contact {
  color: var(--terracotta);
}

/* Butoane Acțiune Patrimoniu (utilizate pe 404, contact, etc.) */
.btn-cascade-filter,
.btn-heritage-action {
  background: var(--navy-deep);
  color: #FFFFFF;
  border: none;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-cascade-filter:hover,
.btn-heritage-action:hover {
  background: var(--terracotta);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   LAYOUT STRUCTURAL 70% / 30%
   ========================================================================== */
.main-split-section {
  padding: 36px 0 60px;
}
.layout-70-30 {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* Cards Stack */
.chronicles-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy-deep);
}
.chronicles-header h2 {
  font-size: 26px;
  font-weight: 800;
}
.chronicles-count {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.chronicles-card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Card Monografic Hibrid */
.chronicle-card {
  background: var(--parchment-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}
.chronicle-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--terracotta-light);
  transform: translateY(-2px);
}

.chronicle-media-wrap {
  position: relative;
  background: #E2E8F0;
  height: 100%;
  min-height: 220px;
}
.chronicle-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.4s ease;
}
.chronicle-card:hover .chronicle-media-wrap img {
  transform: scale(1.04);
}
.chronicle-region-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.chronicle-content-wrap {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chronicle-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.chronicle-category-tag {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--terracotta);
}
.chronicle-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--rating-bg);
  color: var(--rating-gold);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 119, 6, 0.2);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
a.chronicle-rating-badge:hover,
div.chronicle-rating-badge:hover {
  background: #FDE68A;
  border-color: rgba(217, 119, 6, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}
.chronicle-rating-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.chronicle-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--navy-deep);
}
.chronicle-title:hover {
  color: var(--terracotta);
}

.chronicle-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chronicle-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: auto;
}
.chronicle-gps-tag {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chronicle-gps-tag code {
  font-family: monospace;
  background: var(--parchment-muted);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--navy);
  font-size: 11px;
}
.btn-chronicle-read {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-chronicle-read:hover {
  color: var(--terracotta-dark);
  transform: translateX(3px);
}

/* Paginare */
.pagination-bar {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--parchment-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  transition: all 0.2s ease;
}
.page-link:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.page-link.active {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-panel {
  background: var(--parchment-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.sidebar-panel-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-warm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.curator-badge-strip {
  border-top: 3px solid var(--terracotta);
}
.curator-p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 12px;
}
.curator-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--navy-light);
  text-align: right;
}
.review-entry {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.review-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.review-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.review-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
}
.review-score-pill {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #D1FAE5;
  padding: 1px 6px;
  border-radius: 3px;
}
.review-target-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 4px;
  display: block;
}
.review-text-quote {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}
.localities-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.loc-tag {
  font-size: 12px;
  font-weight: 600;
  background: var(--parchment);
  border: 1px solid var(--border-warm);
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--navy);
}
.loc-tag:hover {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
}

/* ==========================================================================
   PAGINĂ DETALIU & LISTĂ ENTITATE (STILURI SPECIALE)
   ========================================================================== */
.breadcrumbs-bar {
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs-bar a {
  color: var(--navy);
  font-weight: 600;
}
.breadcrumbs-bar a:hover {
  color: var(--terracotta);
}
.breadcrumbs-bar span.separator {
  color: #CBD5E1;
}
.detail-article-header {
  margin-bottom: 24px;
}
.detail-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.detail-hero-media {
  background: var(--parchment-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
}
.detail-hero-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.monograph-body {
  background: var(--parchment-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
}
.monograph-body p {
  margin-bottom: 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.gallery-item {
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #F1F5F9;
  height: 130px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gps-callout-box {
  background: var(--parchment-muted);
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.map-coords-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Bara de Acțiuni Turistice Rapide (CRO) */
.destination-action-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}
.btn-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-cta-maps {
  background: var(--navy-deep);
  color: #FFFFFF;
}
.btn-cta-maps:hover {
  background: var(--terracotta);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.btn-cta-booking {
  background: #003580; /* Booking Navy Blue */
  color: #FFFFFF;
}
.btn-cta-booking:hover {
  background: #00224f;
  color: #FFFFFF;
  transform: translateY(-1px);
}
.btn-cta-print {
  background: var(--parchment-muted);
  color: var(--navy-deep);
  border: 1px solid var(--border-warm);
}
.btn-cta-print:hover {
  background: #FFFFFF;
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* Container Hartă Interactivă Leaflet */
.interactive-map-container {
  height: 320px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-warm);
  margin: 24px 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.reviews-section-wrap {
  background: var(--parchment-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  margin-top: 36px;
}
.review-form-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-warm);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: var(--parchment);
  font-size: 14px;
  color: var(--navy-deep);
  outline: none;
}
.form-control:focus {
  border-color: var(--terracotta);
  background: #FFF;
}
textarea.form-control {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

/* Selector Note Recenzii Optimizat */
.rating-pills-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.rating-pill-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: var(--parchment);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rating-pill-opt:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.rating-pill-opt input[type="radio"] {
  display: none;
}
.rating-pill-opt.selected,
.rating-pill-opt:has(input:checked) {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
}

/* Subsol Almanac */
.hybrid-footer {
  background: var(--navy-deep);
  color: #94A3B8;
  border-top: 1px solid #1E293B;
  padding: 50px 0 24px;
  font-size: 13px;
}
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}
.footer-col-brand h3 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 20px;
  margin-bottom: 12px;
}
.footer-col-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 320px;
}
.footer-links-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F8FAFC;
  margin-bottom: 14px;
}
.footer-links-col ul {
  list-style: none;
}
.footer-links-col li {
  margin-bottom: 8px;
}
.footer-links-col a {
  color: #94A3B8;
}
.footer-links-col a:hover {
  color: var(--terracotta-light);
}

/* Bară Conformitate Legală ANPC */
.legal-compliance-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.anpc-badge-link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: #CBD5E1;
  transition: all 0.2s ease;
}
.anpc-badge-link:hover {
  border-color: var(--terracotta);
  color: #FFFFFF;
}

.footer-bottom-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

/* Modal / Lightbox Foto */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #FFFFFF;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  padding: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .layout-70-30 { grid-template-columns: 1fr; }
  .footer-columns-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Margini container optimizate pentru telefoane */
  .container {
    padding: 0 16px;
  }

  /* Masthead superior compact */
  .masthead-strip {
    padding: 6px 0;
    font-size: 11px;
  }
  .masthead-inner {
    justify-content: center;
    text-align: center;
  }
  .masthead-counter {
    display: none;
  }
  .masthead-badge {
    letter-spacing: 0.4px;
  }

  /* Grand Header Sticky pe Mobil */
  .grand-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  }
  .header-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 10px;
  }
  .header-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }
  .brand-block {
    flex: 1;
    min-width: 0;
  }
  .brand-title {
    font-size: 20px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-subtitle {
    display: none; /* Ascuns pe mobil pentru antet ultra-compact și vizibilitate maximă */
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-shrink: 0;
    padding: 0;
  }
  .integrated-search-wrap {
    max-width: 100%;
    width: 100%;
  }
  .search-input-field {
    padding: 9px 40px 9px 12px;
    font-size: 13px;
  }
  .editorial-nav-row {
    display: none !important;
  }

  /* Meniu Mobil Nav Panel */
  .mobile-nav-panel {
    display: none;
    background: var(--parchment-card);
    border-top: 1px solid var(--border-warm);
    padding: 6px 0 12px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-panel.is-open {
    display: block;
    animation: mobileNavSlide 0.2s ease-out;
  }

  /* Articole & Grilă Conținut */
  .chronicles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 18px;
    padding-bottom: 10px;
  }
  .chronicles-header h2 {
    font-size: 20px;
    line-height: 1.25;
  }
  .chronicles-count {
    font-size: 11px;
    color: var(--text-muted);
  }
  .chronicle-card { grid-template-columns: 1fr; }
  .chronicle-media-wrap { min-height: 180px; }
  .footer-columns-grid { grid-template-columns: 1fr; }
  .footer-bottom-line { flex-direction: column; gap: 10px; text-align: center; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Corecții Dimensiuni Recenzii & Selector Stele (Prevenire Overflow Mobil) */
  .reviews-section-wrap {
    padding: 18px 14px;
    margin-top: 24px;
  }
  .rating-interactive-box {
    padding: 14px 10px;
    margin-bottom: 16px;
  }
  .rating-box-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .rating-stars-container {
    gap: 2px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .star-rating-btn {
    padding: 2px;
  }
  .star-rating-btn svg {
    width: 21px;
    height: 21px;
  }
  .rating-feedback-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Corecții Coordonate GPS & Hartă */
  .gps-callout-box {
    padding: 12px 14px;
    gap: 10px;
  }
  .interactive-map-container {
    height: 240px;
    margin: 16px 0;
  }
  .map-coords-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@keyframes mobileNavSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Caseta Editorială de Contribuție & Editare Obiectiv (entity-detail.php) */
.editorial-contribution-bar {
  background: #FFFDF9;
  border: 1px dashed var(--border-warm);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.editorial-contrib-info {
  flex: 1;
  min-width: 0;
}
.contrib-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--terracotta);
  margin-bottom: 4px;
}
.contrib-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 3px;
  font-family: var(--font-serif);
}
.contrib-p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.btn-contrib-edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--navy-deep);
  border: 1px solid var(--border-warm);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}
.btn-contrib-edit:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
}
@media (max-width: 768px) {
  .editorial-contribution-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    gap: 12px;
  }
  .btn-contrib-edit {
    width: 100%;
    justify-content: center;
  }
}

/* CTA Contribuie în Sidebar (Nota Redacției) */
.curator-contrib-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(200, 90, 50, 0.25);
}
.curator-contrib-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.15s ease;
}
.curator-contrib-link:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
}

/* CTA Contribuie la Finalul Listelor de Obiective (entity-list.php) */
.locality-contrib-prompt {
  background: var(--parchment-muted);
  border: 1px dashed var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stiluri Formular Public Contribuție (/contribuie) */
.contribute-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 36px;
}
.contribute-intro-box {
  background: linear-gradient(135deg, #FAF7F2 0%, #F5ECE0 100%);
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 28px;
}
.contribute-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.mode-toggle-btn {
  padding: 12px 16px;
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-light);
  transition: all 0.2s ease;
}
.mode-toggle-btn:hover {
  border-color: var(--terracotta-light);
}
.mode-toggle-btn.active {
  border-color: var(--terracotta);
  background: var(--terracotta-subtle);
  color: var(--terracotta-dark);
}
.dynamic-toggle-field {
  display: none;
}
.dynamic-toggle-field.is-visible {
  display: block;
}
.form-input-help {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .contribute-card {
    padding: 20px 14px;
  }
  .contribute-mode-toggle {
    grid-template-columns: 1fr;
  }
}

/* Componentă Selectare Categorii Multiple */
.category-selection-box {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  padding: 10px;
  background: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--parchment);
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  font-size: 13px;
  color: var(--navy-deep);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.category-pill-label:hover {
  border-color: var(--terracotta-light);
  background: #FFFFFF;
}
.category-pill-label.is-selected {
  background: var(--terracotta-subtle);
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
  font-weight: 700;
}
.category-pill-label input[type="checkbox"] {
  accent-color: var(--terracotta);
  cursor: pointer;
}
.cat-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--terracotta);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}
.cat-badge-remove {
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  opacity: 0.85;
}
.cat-badge-remove:hover {
  opacity: 1;
}

/* =========================================================
   STILURI EDITORIALE, FORMATARE PROZĂ & INDEXURI DEDICATE
   ========================================================= */

/* Formatare Proza & Monografii (Eliminare Calupuri Densa de Text) */
.editorial-p,
.monograph-body p,
.entity-editorial-intro p {
  margin: 0 0 1.25rem 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-body);
}

.monograph-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body);
}

.monograph-body p:last-child {
  margin-bottom: 0;
}

.monograph-body b,
.monograph-body strong {
  color: var(--navy-deep);
  font-weight: 700;
}

.monograph-body u {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 3px;
}

.editorial-list {
  margin: 0 0 1.35rem 1.25rem;
  padding: 0;
  line-height: 1.8;
  color: var(--text-body);
}

.editorial-list li {
  margin-bottom: 0.5rem;
  font-size: 15px;
}

/* Stiluri Paginare Universală */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 32px 0 16px;
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.page-link:hover {
  background: var(--parchment-deep);
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.page-link.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
  font-weight: 700;
  cursor: default;
}

.page-link-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--parchment);
  border-color: var(--border-warm);
  color: var(--text-muted);
}

.page-link-dots {
  border: none;
  background: transparent;
  cursor: default;
  padding: 0 4px;
  color: var(--text-muted);
}

/* Interactivitate Index Județe */
.az-btn:hover {
  background: var(--terracotta) !important;
  color: #FFFFFF !important;
  border-color: var(--terracotta) !important;
}

.county-atlas-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--terracotta) !important;
}

/* Interactivitate Index Zone */
.zone-panoramic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09) !important;
}

.zone-panoramic-card:hover img {
  transform: scale(1.03);
}

/* Interactivitate Index Categorii */
.category-pill-card:hover {
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
}

.category-pill-card:hover span {
  color: #FFFFFF !important;
}

.category-pill-card:hover span:last-child {
  background: #FFFFFF !important;
  color: var(--terracotta) !important;
}

/* ==========================================================================
   Titluri & Antete Monografice
   ========================================================================== */
.detail-title {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.25;
  color: var(--navy-deep);
  margin: 10px 0 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .detail-title {
    font-size: 24px;
    line-height: 1.3;
    margin: 8px 0 14px;
  }
}

/* ==========================================================================
   Modul CRO: Banner Cazare în Proximitate
   ========================================================================== */
.cro-stay-banner {
  display: flex;
  align-items: center;
  background: #FDFBF7;
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.cro-stay-banner:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cro-stay-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(200, 90, 50, 0.1);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cro-stay-info {
  flex: 1;
  min-width: 0;
  margin: 0 18px;
}

.cro-stay-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--terracotta);
  margin-bottom: 2px;
}

.cro-stay-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 3px;
  font-family: var(--font-serif);
}

.cro-stay-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.cro-stay-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(200, 90, 50, 0.25);
  flex-shrink: 0;
}

.cro-stay-cta:hover {
  background: #B34822;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.35);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .cro-stay-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  .cro-stay-info {
    margin: 0;
  }
  .cro-stay-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Formular Modern Recenzii & Selector 10 Stele (Standard 2026)
   ========================================================================== */
.review-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.review-form-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--parchment-deep);
}

.review-form-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--terracotta);
  background: rgba(200, 90, 50, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.review-form-title {
  font-size: 20px;
  font-family: var(--font-serif);
  color: var(--navy-deep);
  margin: 0 0 6px;
}

.review-form-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.rating-interactive-box {
  background: var(--parchment);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.rating-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-box-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
}

.rating-feedback-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rating-score-num {
  font-weight: 800;
  color: #D97706;
}

.rating-score-text {
  color: var(--navy-deep);
  font-weight: 600;
}

.rating-stars-container {
  display: flex;
  gap: 6px;
  align-items: center;
}

.star-rating-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #CBD5E1;
  transition: transform 0.15s ease, color 0.15s ease;
  outline: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-rating-btn svg {
  width: 28px;
  height: 28px;
  transition: all 0.15s ease;
}

.star-rating-btn.filled {
  color: #F59E0B;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3));
}

.star-rating-btn:hover {
  transform: scale(1.22);
}

.star-rating-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--terracotta);
}

.form-group {
  margin-bottom: 16px;
}

.form-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-light);
  margin-bottom: 6px;
}

.form-field-hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 11.5px;
}

.form-field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--navy-deep);
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-field-input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.12);
}

/* Stiluri Validare Formulare & Erori (Sticky Forms & Visual Error Feedback) */
.form-field-input.has-field-error,
.form-control.has-field-error,
select.has-field-error,
textarea.has-field-error {
  border: 2px solid #DC2626 !important;
  background-color: #FEF2F2 !important;
  color: #991B1B !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.form-field-input.has-field-error:focus,
.form-control.has-field-error:focus {
  border-color: #B91C1C !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25) !important;
  outline: none !important;
}

.field-error-message {
  color: #DC2626;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
}

.field-error-message svg {
  flex-shrink: 0;
}

.review-submit-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terracotta);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(200, 90, 50, 0.25);
}

.review-submit-cta:hover {
  background: #B34822;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.35);
}

@media (max-width: 640px) {
  .review-form-card {
    padding: 20px 16px;
  }
  .star-rating-btn svg {
    width: 22px;
    height: 22px;
  }
  .rating-stars-container {
    gap: 2px;
    justify-content: space-between;
  }
  .review-submit-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Lightbox Galerie Foto cu Navigare Săgeți
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 34px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100002;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: scale(1.08);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 38px;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100002;
  transition: all 0.2s ease;
  user-select: none;
}

.lightbox-nav:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
  position: relative;
  z-index: 100001;
}

.lightbox-content {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  color: #FAF7F2;
  font-size: 14.5px;
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  max-width: 800px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}



