/* ==========================================================================
   eVaslui.ro — core.css v1.0.0
   Global styles: tokens, reset, typography, header, footer, grid, utilities
   Loaded on ALL pages
   ========================================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Font Stack — Business fonts */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;

  /* eVaslui Color Palette — Albastru + Auriu */
  --color-bg: #F8F7F3;
  --color-surface: #ffffff;
  --color-surface-secondary: #F1EFE8;
  --color-surface-tertiary: #E6E4DD;
  --color-border: rgba(26, 26, 25, 0.08);
  --color-border-strong: rgba(26, 26, 25, 0.15);

  --color-text-primary: #1A1A19;
  --color-text-secondary: #5F5E5A;
  --color-text-tertiary: #888780;
  --color-text-inverse: #F1EFE8;

  /* Primary — Albastru civic (stema Vaslui) */
  --color-link: #1A5FA4;
  --color-link-hover: #0B3D6B;
  --color-accent: #1A5FA4;
  --color-accent-hover: #0B3D6B;
  --color-accent-active: #042C53;

  /* Primary ramp */
  --color-primary-900: #042C53;
  --color-primary-800: #0B3D6B;
  --color-primary-700: #1A5FA4;
  --color-primary-500: #2B7BD4;
  --color-primary-400: #378ADD;
  --color-primary-200: #85B7EB;
  --color-primary-100: #B5D4F4;
  --color-primary-50: #E6F1FB;

  /* Accent — Auriu (stema Vaslui) */
  --color-gold-800: #7A5A0A;
  --color-gold-600: #B08C12;
  --color-gold-500: #D4A017;
  --color-gold-400: #E4B52E;
  --color-gold-300: #F0C84D;
  --color-gold-100: #FAC775;
  --color-gold-50: #FAEEDA;

  /* Dark mode surfaces */
  --color-dark-bg: #1A1A19;
  --color-dark-surface: #2C2C2A;
  --color-dark-surface-light: #444441;
  --color-dark-border: rgba(255, 255, 255, 0.1);

  /* Module/Section Colors */
  --color-portal: #1A5FA4;
  --color-marketplace: #1D9E75;
  --color-directory: #D4A017;
  --color-transport: #534AB7;
  --color-tourism: #D85A30;
  --color-events: #D4537E;

  /* Category Colors (backward compat + new sections) */
  --color-cat-portal: #1A5FA4;
  --color-cat-marketplace: #1D9E75;
  --color-cat-directory: #D4A017;
  --color-cat-transport: #534AB7;
  --color-cat-tourism: #D85A30;
  --color-cat-events: #D4537E;
  --color-cat-gadgets: #1A5FA4;
  --color-cat-software: #1D9E75;
  --color-cat-ai: #534AB7;
  --color-cat-security: #E24B4A;
  --color-cat-reviews: #D4A017;
  --color-cat-video: #D4537E;
  --color-cat-pc-builds: #1A5FA4;
  --color-cat-hardware: #2C2C2A;
  --color-cat-componente: #0F6E56;

  /* Spacing Scale (Apple 8pt grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 56px;
  --space-11: 64px;
  --space-12: 80px;
  --space-13: 96px;
  --space-14: 120px;

  /* Border Radius (Apple style) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows (Apple depth system) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.2s var(--ease-apple);
  --transition-medium: 0.35s var(--ease-apple);
  --transition-slow: 0.5s var(--ease-apple);

  /* Layout */
  --container-max: 1440px;
  --container-wide: 1080px;
  --container-narrow: 860px;
  --container-content: 680px;
  --sidebar-width: 300px;
  --header-height: 48px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Moved from body — prevents body scroll container which breaks position:sticky */
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Apple Typography System ---------- */

/* Display Headlines */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.07143;
  letter-spacing: -0.005em;
  color: var(--color-text-primary);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08349;
  letter-spacing: -0.003em;
  color: var(--color-text-primary);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: 0.004em;
  color: var(--color-text-primary);
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.16667;
  letter-spacing: 0.009em;
  color: var(--color-text-primary);
}

h5, .h5 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19048;
  letter-spacing: 0.011em;
  color: var(--color-text-primary);
}

h6, .h6 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.23536;
  letter-spacing: -0.022em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

p {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--color-text-primary);
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33337;
  letter-spacing: -0.01em;
  color: var(--color-text-tertiary);
}

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

blockquote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.009em;
  color: var(--color-text-primary);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-6) var(--space-7);
  margin: var(--space-8) 0;
  background: var(--color-surface-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote p {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  margin-bottom: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 400;
  background: var(--color-surface-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-text-primary);
}

pre {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: var(--space-7) 0;
}

pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

figcaption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33337;
  color: var(--color-text-tertiary);
  text-align: center;
  margin-top: var(--space-2);
}

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-9);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--content {
  max-width: var(--container-content);
}

/* ---------- Section Spacing ---------- */
.section {
  padding: var(--space-12) 0;
}

.section + .section {
  padding-top: 0;
}

.section__header {
  margin-bottom: var(--space-8);
}

.section__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: 0.004em;
  color: var(--color-text-primary);
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

/* ---------- Utility: Category Badge ---------- */
.cat-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  line-height: 1.3;
}

.cat-badge--portal {
  background: rgba(26, 95, 164, 0.1);
  color: var(--color-cat-portal);
}
.cat-badge--marketplace {
  background: rgba(29, 158, 117, 0.1);
  color: var(--color-cat-marketplace);
}
.cat-badge--directory {
  background: rgba(212, 160, 23, 0.1);
  color: var(--color-cat-directory);
}
.cat-badge--transport {
  background: rgba(83, 74, 183, 0.1);
  color: var(--color-cat-transport);
}
.cat-badge--tourism {
  background: rgba(216, 90, 48, 0.1);
  color: var(--color-cat-tourism);
}
.cat-badge--events {
  background: rgba(212, 83, 126, 0.1);
  color: var(--color-cat-events);
}

/* ---------- Card Base (Apple white rounded card) ---------- */
.card {
  position: relative;
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card__image img {
  width: 100%;
  height: 100%!IMPORTANT;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__body {
  padding: var(--space-6);
}

.card__category {
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19048;
  letter-spacing: 0.011em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__title a {
  color: inherit;
}

/* Stretched link — entire card is clickable */
.card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

.card__title a:hover {
  color: var(--color-accent);
}

.card__excerpt {
  font-size: 14px;
  line-height: 1.42859;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.card__meta-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-text-tertiary);
  flex-shrink: 0;
}

/* ---------- Header / Navigation (3-zone) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 251, 253, 0.95);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-medium);
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

/* Zone 1: Top bar */
.header-topbar {
  height: 44px;
  max-height: 44px;
  background: var(--color-dark-bg);
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled .header-topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.header-topbar .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-topbar__tags {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
}

.header-topbar__tags::-webkit-scrollbar {
  display: none;
}

.header-topbar__tags a {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.header-topbar__tags a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Zone 2: Logo + Search + Social */
.header-main {
  height: 56px;
  border-bottom: 1px solid var(--color-border);
}

.header-main .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-5);
}

.header-search {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.header-search__icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--color-text-tertiary);
  pointer-events: none;
}

.header-search__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-secondary);
  color: var(--color-text-primary);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.header-search__input::placeholder {
  color: var(--color-text-tertiary);
}

.header-search__input:focus {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(26, 95, 164, 0.1);
}

.header-social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.header-social a:hover {
  color: var(--color-text-primary);
  background: var(--color-surface-secondary);
}

.header-social a svg {
  width: 15px;
  height: 15px;
}

/* CTA Button (Customizer-controlled) */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
  white-space: nowrap;
  /* Defaults overridden by Customizer inline CSS */
  background: var(--color-accent, #1A5FA4);
  color: #fff;
  border-radius: 980px;
}

.header-cta:hover {
  opacity: 0.85;
}

/* Zone 3: Nav */
.header-nav {
  height: 44px;
}

.header-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo .custom-logo,
.site-logo img {
  height: 28px;
  width: auto;
  max-height: 28px;
  object-fit: contain;
}

.site-logo span {
  color: var(--color-accent);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-main a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-primary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
  opacity: 0.8;
}

.nav-main a:hover {
  opacity: 1;
  background: var(--color-surface-secondary);
  color: var(--color-text-primary);
}

.nav-main a.active {
  opacity: 1;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  transition: background var(--transition-fast);
}

.btn-search:hover {
  background: var(--color-surface-secondary);
}

.btn-search svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Search toggle (mobile only) */
.search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.search-toggle:hover,
.search-toggle:active {
  background: var(--color-surface-secondary);
}

.search-toggle svg {
  width: 18px;
  height: 18px;
}

.search-toggle.active {
  color: var(--color-accent);
}

/* Mobile search dropdown — hidden by default on desktop */
.header-search-mobile {
  display: none;
}


/* ========== FOOTER (global) ========== */
/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-dark-border);
}

/* Footer column variants */
.footer-grid--2col { grid-template-columns: 1.5fr 1fr; }
.footer-grid--3col { grid-template-columns: 1.4fr 1fr 1.2fr; }
.footer-grid--4col { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }

.footer-col__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-col__logo span {
  color: var(--color-accent);
}

.footer-col__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-5);
}

.footer-col__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.footer-col__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.footer-col__contact-item:hover {
  color: var(--color-accent);
}

.footer-col__contact-item i {
  font-size: 14px;
  opacity: 0.7;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-dark-surface);
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-5);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-col__links a:hover {
  color: #fff;
}

/* Newsletter */
.footer-newsletter {
  margin-top: var(--space-4);
}

.footer-newsletter__input-group {
  display: flex;
  gap: var(--space-2);
}

.footer-newsletter__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-dark-border);
  background: var(--color-dark-surface);
  color: #fff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter__input:focus {
  border-color: var(--color-accent);
}

.footer-newsletter__btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.footer-newsletter__btn:hover {
  background: var(--color-accent-hover);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-5);
}

.footer-scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.footer-scroll-top svg {
  width: 18px;
  height: 18px;
}

.footer-scroll-top:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
}


/* ========== BUTTON COMPONENTS (global) ========== */
/* ---------- BUTTON COMPONENTS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.17648;
  letter-spacing: -0.022em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-link);
}

.btn--secondary:hover {
  color: var(--color-link-hover);
}

.btn--link {
  font-size: 17px;
  color: var(--color-link);
  padding: 0;
}

.btn--link:hover {
  text-decoration: underline;
}

.btn--link::after {
  content: " ›";
  transition: transform var(--transition-fast);
}


/* ========== SCROLL ANIMATIONS (global) ========== */
/* ---------- SCROLL ANIMATIONS ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-apple), transform 0.6s var(--ease-apple);
  pointer-events: auto; /* clickable even before visible */
  animation: frames-animate-fallback 0s 0.3s forwards; /* fast fallback if JS is slow */
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* Fallback keyframe */
@keyframes frames-animate-fallback {
  to { opacity: 1; transform: translateY(0); }
}

/* Elementor editor — always visible */
.elementor-editor-active .animate-in,
.elementor-editor-preview .animate-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* stagger delays */
.animate-in[data-delay="1"] { transition-delay: 0.1s; }
.animate-in[data-delay="2"] { transition-delay: 0.2s; }
.animate-in[data-delay="3"] { transition-delay: 0.3s; }
.animate-in[data-delay="4"] { transition-delay: 0.4s; }


/* ========== RESPONSIVE: Header + Footer + Core (global) ========== */
/* ---------- RESPONSIVE: 1080px ---------- */
@media (max-width: 1080px) {
  :root {
    --container-max: 1080px;
  }

  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 38px; }
  h3, .h3 { font-size: 28px; }

  .hero-card__title { font-size: 36px; }
  .hero-card__content { padding: var(--space-8); }

  .section-one__grid { gap: var(--space-5); }
  .section-one__featured .card__title { font-size: 24px; }

  .tabs-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: var(--space-7); }

  .single-header__title { font-size: 40px; }
}

/* Nav sheet (created by JS, hidden on desktop) */
.nav-sheet-overlay,
.nav-sheet {
  display: none;
}

/* ---------- RESPONSIVE: 860px ---------- */
@media (max-width: 860px) {
  .container {
    padding: 0 var(--space-6);
  }

  h1, .h1 { font-size: 36px; }
  h2, .h2 { font-size: 32px; }
  h3, .h3 { font-size: 24px; }

  .section { padding: var(--space-10) 0; }
  .section__title { font-size: 28px; }

  .hero-card {
    aspect-ratio: 16/9;
  }
  .hero-card__title { font-size: 28px; }
  .hero-card__content { padding: var(--space-6); }
  .hero-card__excerpt { font-size: 15px; }

  .latest-item__image { width: 200px; height: 130px; }
  .latest-item__title { font-size: 17px; }

  .section-one__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-height: none;
  }
  .section-one__featured { aspect-ratio: 16/9; }

  .video-showcase__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-showcase__item:nth-child(2) { border-right: none; }
  .video-showcase__title { font-size: 24px; }

  .tabs-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-7); }

  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-header__title { font-size: 36px; }

  .single-header__title { font-size: 32px; }
  .single-header__excerpt { font-size: 17px; }
  .page-header__title { font-size: 40px; }

  /* Show mobile nav toggle + search toggle, hide desktop-only elements */
  .header-topbar { display: none; }
  .header-social { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .search-toggle { display: flex; }

  /* Auth button: compact on mobile */
  .header-auth-btn { order: 2; padding: 6px 12px; font-size: 0; gap: 0; border-radius: 8px; }
  .header-auth-btn svg { width: 18px; height: 18px; }
  .header-auth-btn span { display: none; }
  .header-user { order: 2; }
  .header-user__toggle { padding: 2px 6px 2px 2px; }
  .header-user__avatar { width: 28px; height: 28px; }

  /* Mobile header: logo LEFT, [search icon] [menu] RIGHT */
  .header-main {
    height: 48px;
    padding: 0;
  }

  .header-main .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: var(--space-2);
    position: relative;
  }

  .site-logo {
    font-size: 22px;
    order: 1;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
  }

  /* Hide inline search on mobile — replaced by search toggle */
  .header-search {
    display: none;
  }

  .search-toggle {
    order: 2;
  }

  .nav-toggle {
    position: static;
    order: 3;
  }

  /* Mobile search dropdown — slides down */
  .header-search-mobile {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }

  .header-search-mobile.open {
    max-height: 60px;
    opacity: 1;
  }

  .header-search-mobile__form {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--space-2) 0 var(--space-3);
  }

  .header-search-mobile__form .header-search__input {
    width: 100%;
    font-size: 15px;
    padding: 10px 12px 10px 38px;
    border-radius: var(--radius-md);
  }

  .header-search-mobile__form .header-search__icon {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  /* Show header-nav on mobile with horizontal scroll */
  .header-nav {
    display: block;
    height: 40px;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
  }

  .header-nav .container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding-right: var(--space-8); /* fade space */
  }

  .header-nav .container::-webkit-scrollbar {
    display: none;
  }

  .nav-main {
    flex-wrap: nowrap;
    gap: 0;
  }

  .nav-main a {
    font-size: 13px;
    padding: var(--space-2) var(--space-3);
    white-space: nowrap;
  }

  /* ===== iOS Bottom Sheet ===== */
  .nav-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    pointer-events: none;
    transition: background 0.35s ease;
  }

  .nav-sheet-overlay.active {
    background: rgba(0, 0, 0, 0.35);
    pointer-events: auto;
  }

  .nav-sheet {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 80vh;
    overflow-y: auto;
    padding: 0 var(--space-5);
    padding-bottom: max(var(--space-7), env(safe-area-inset-bottom));
  }

  .nav-sheet.open {
    transform: translateY(0);
  }

  .nav-sheet__handle {
    width: 36px;
    height: 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.15);
    margin: 12px auto 20px;
  }

  .nav-sheet__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-sheet__list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-sheet__list li:last-child {
    border-bottom: none;
  }

  .nav-sheet__list a {
    display: block;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text-primary);
    padding: 16px var(--space-3);
    transition: background var(--transition-fast);
    text-decoration: none;
  }

  .nav-sheet__list a:active {
    background: var(--color-surface-secondary);
  }

  .nav-sheet__list a.active {
    color: var(--color-accent);
  }
}

/* ---------- RESPONSIVE: Mobile ---------- */
@media (max-width: 600px) {
  .container {
    padding: 0 10px;
  }

  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 24px; }
  h3, .h3 { font-size: 21px; }
  h4, .h4 { font-size: 19px; }

  body { font-size: 16px; }
  p { font-size: 16px; }

  .section { padding: var(--space-8) 0; }
  .section__title { font-size: 24px; }

  .hero-card {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
  }
  .hero-card__title {
    font-size: 22px;
  }
  .hero-card__content { padding: var(--space-5); }
  .hero-card__excerpt { display: none; }

  .latest-item {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  .latest-item__image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .latest-item__content {
    padding: var(--space-5);
  }

  .section-one__grid { max-height: none; }
  .section-one__featured .card__body { padding: var(--space-5); }
  .section-one__featured .card__title { font-size: 21px; }
  .section-one__sidebar .latest-item { padding: 0; flex-direction: column; }
  .section-one__sidebar .latest-item__image { width: 100%; height: 120px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .section-one__sidebar .latest-item__content { padding: var(--space-4); }
  .section-one__sidebar .latest-item__title { font-size: 15px; }

  .video-showcase__list {
    grid-template-columns: 1fr;
  }
  .video-showcase__item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .video-showcase__item:last-child { border-bottom: none; }
  .video-showcase__title { font-size: 21px; }
  .video-showcase__content { padding: var(--space-5); }

  .tabs-grid { grid-template-columns: 1fr; }
  .tabs-nav { gap: 0; }
  .tabs-nav__item { padding: var(--space-3); font-size: 13px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .related-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-header { padding: var(--space-8) 0 var(--space-7); }
  .category-header__title { font-size: 28px; }
  .category-header__desc { font-size: 16px; }
  .category-header__search { max-width: 100%; }

  .single-header { padding: var(--space-7) 0 var(--space-5); }
  .single-header__title { font-size: 26px; }
  .single-header__excerpt { font-size: 16px; }
  .single-hero-image { border-radius: var(--radius-lg); max-height: 400px; }
  .single-hero-image--contain { min-height: 200px; max-height: 400px; }
  .single-hero-image--contain .single-hero-image__img { max-height: 400px; }
  .single-hero-image--wide .single-hero-image__img { max-height: 400px; }
  .article-content p { font-size: 17px; }
  .article-content h2 {
	font-size: 21px;
	line-height: 1.19048;
	font-weight: 600;
	letter-spacing: 0.011em;
  }
  .article-content h3 { font-size: 21px; }
  .article-content h4 { font-size: 19px; }
  .article-content h5 { font-size: 15px; }
  .article-content pre { font-size: 13px; padding: var(--space-4); }
  .article-content blockquote { padding: var(--space-6) var(--space-5) var(--space-5); max-width: 100%; }
  .article-content blockquote::before { font-size: 56px; top: -4px; left: 16px; }
  .article-content blockquote p { font-size: 17px; }
  .article-content table { font-size: 14px; display: block; overflow-x: auto; }
  .article-content th, .article-content td { padding: var(--space-2) var(--space-3); }
  .share-box { flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
  .share-box__buttons { width: 100%; justify-content: center; }
  .comments-empty { padding: var(--space-7) var(--space-4); }
  .breadcrumbs__current { max-width: 160px; }

  /* Mobile safety: images and iframes must never exceed viewport */
  .article-content img,
  .article-content figure,
  .article-content .wp-block-image,
  .article-content video,
  .prose-iframe-wrap,
  .prose-iframe-wrap iframe {
    max-width: 100% !important;
    width: auto;
    height: auto;
  }
  .article-content iframe {
    max-width: 100% !important;
  }

  .page-header { padding: var(--space-10) 0 var(--space-7); }
  .page-header__title { font-size: 28px; }
  .page-content p { font-size: 16px; }

  /* ── Modal: full-screen on mobile ── */
  .ev-modal__container { max-width: 100%; max-height: 100vh; border-radius: 0; margin: 0; height: 100%; animation: none; flex-direction: column; }
  .ev-modal__brand { display: none; }
  .ev-modal__form-side { max-height: 100vh; }
  .ev-modal__body { padding: 20px 16px; }
  .ev-modal__tabs { padding: 0 16px; }
  /* Mobile: Google button comes first */
  .ev-modal .ev-auth-card { display: flex; flex-direction: column; }
  .ev-modal .ev-auth-social { order: -2; margin-bottom: 12px; }
  .ev-modal .ev-auth-divider { order: -1; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .ev-modal__container { max-width: 520px; }
  .ev-modal__brand { display: none; }

  /* ── Archive tighter ── */
  .ev-archive__layout { padding: 12px; gap: 0; }
  .ev-archive__header { padding: 16px 12px; }
  .ev-archive__header h1 { font-size: 22px; }
  .ev-archive__grid { gap: 10px; }
  .ev-acard { border-radius: 10px; }
  .ev-acard__title { font-size: 14px; }
  .ev-acard__meta { font-size: 12px; gap: 6px; }

  /* User dropdown mobile */
  .header-user__dropdown { right: -8px; width: 200px; }
  .header-user__link { padding: 9px 14px; font-size: 13px; }
}


/* ========== PRINT (global) ========== */
/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .section-video,
  .section-tabs,
  .tabs-nav {
    display: none !important;
  }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
}


/* ── Inline stars (generic) ── */
.evaslui-stars-inline {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.evaslui-stars-inline .star {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   COMMENT STAR RATING — Form input stars
   ========================================================================== */
.evaslui-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
  border: 0;
  padding: 0;
  margin: 4px 0 0;
}

.evaslui-stars__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.evaslui-stars__label {
  cursor: pointer;
  color: var(--color-text-tertiary);
  transition: color 0.15s;
}

.evaslui-stars__label svg {
  display: block;
  transition: transform 0.15s;
}

.evaslui-stars__label:hover svg {
  transform: scale(1.15);
}

.evaslui-stars__label:hover,
.evaslui-stars__label:hover ~ .evaslui-stars__label {
  color: #D4A017;
}

.evaslui-stars__label:hover svg,
.evaslui-stars__label:hover ~ .evaslui-stars__label svg {
  fill: #D4A017;
}

.evaslui-stars.rated .evaslui-stars__label.active,
.evaslui-stars.rated .evaslui-stars__label.active ~ .evaslui-stars__label {
  color: #D4A017;
}

.evaslui-stars.rated .evaslui-stars__label.active svg,
.evaslui-stars.rated .evaslui-stars__label.active ~ .evaslui-stars__label svg {
  fill: #D4A017;
}

/* Comment rating display */
.comment-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-2);
}


/* ==========================================================================
   READING PROGRESS BAR — Fixed under header
   ========================================================================== */
.reading-progress {
  position: fixed;
  top: var(--header-height, 48px);
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9998;
  background: transparent;
  pointer-events: none;
}

.reading-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent) 0%, #1D9E75 100%);
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
  will-change: width;
}




/* ==========================================================================
   FLOATING SCROLL-TO-TOP — Appears after 500px scroll
   ========================================================================== */
.floating-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-text-primary);
  color: var(--color-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s, background 0.2s;
}

.floating-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.floating-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.05);
}

.floating-top:active {
  transform: translateY(0) scale(0.95);
}

.floating-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .floating-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}


/* ==========================================================================
   PWA ZONE — App promo + Save offline (inline in article)
   ========================================================================== */
.pwa-zone {
  margin: var(--space-6) 0;
}

.pwa-zone__card {
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-xl, 20px);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}

.pwa-zone__card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* ── Row: icon + info + save btn ── */
.pwa-zone__app {
  display: flex;
  align-items: center;
  gap: var(--space-4, 16px);
}

.pwa-zone__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pwa-zone__icon-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pwa-zone__icon-btn:active {
  transform: scale(0.97);
}

.pwa-zone__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pwa-zone__icon--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-text-primary, #1A1A19);
  color: #fff;
}

.pwa-zone__app-info {
  flex: 1;
  min-width: 0;
}

.pwa-zone__app-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pwa-zone__app-desc {
  display: block;
  font-size: 12px;
  color: var(--color-text-tertiary);
  line-height: 1.3;
  margin-top: 2px;
}

/* ── Save button ── */
.pwa-zone__save {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border, #D3D1C7);
  background: var(--color-surface, #fff);
  color: var(--color-text-primary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.pwa-zone__save:hover {
  background: var(--color-text-primary, #1A1A19);
  color: #fff;
  border-color: var(--color-text-primary, #1A1A19);
}

.pwa-zone__save:active {
  transform: scale(0.97);
}

.pwa-zone__save:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ── Install button ── */
.pwa-zone__install {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: var(--space-4, 16px);
  padding: 12px 20px;
  border-radius: var(--radius-full, 980px);
  border: none;
  background: var(--color-text-primary, #1A1A19);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: all 0.25s;
}

.pwa-zone__install:hover {
  background: var(--color-accent, #1A5FA4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,123,191,0.25);
}

.pwa-zone__install:active {
  transform: scale(0.98);
}

/* ---------- Page Templates: Auth & Dashboard ---------- */
.ev-page-auth {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  background: var(--color-bg, #F8F7F3);
}

.ev-page-auth__container {
  width: 100%;
  max-width: 480px;
}

.ev-page-dashboard {
  padding: 0;
  background: var(--color-bg, #F8F7F3);
}

.ev-page-dashboard__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-4);
}

@media (max-width: 860px) {
  .ev-page-auth {
    min-height: 60vh;
    padding: var(--space-4) var(--space-3);
  }
  .ev-page-dashboard__container {
    padding: var(--space-2);
  }
}

/* ── Confirmare cont ── */
.ev-confirm { text-align: center; padding: 40px 0 32px; }
.ev-confirm__icon { margin-bottom: 20px; }
.ev-confirm__icon--success svg { filter: drop-shadow(0 4px 12px rgba(29,158,117,0.2)); }
.ev-confirm__icon--error svg { filter: drop-shadow(0 4px 12px rgba(226,75,74,0.2)); }
.ev-confirm__title { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; }
.ev-confirm__desc { font-size: 15px; color: var(--color-text-secondary, #5F5E5A); line-height: 1.6; max-width: 380px; margin: 0 auto 24px; }
.ev-confirm__btn { display: inline-block; padding: 12px 32px; background: var(--color-accent, #1A5FA4); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.ev-confirm__btn:hover { background: #0B3D6B; color: #fff; }
.ev-confirm__login { margin-top: 8px; padding-top: 32px; border-top: 1px solid var(--color-border, #D3D1C7); }
.ev-confirm__login-title { font-size: 18px; font-weight: 600; text-align: center; margin-bottom: 20px; }

/* ── Header Auth Button (not logged in) ── */
.header-auth-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: var(--color-accent, #1A5FA4); color: #fff; border: none; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.2s; white-space: nowrap; }
.header-auth-btn:hover { background: #0B3D6B; }
.header-auth-btn svg { flex-shrink: 0; }

/* ── Header User Dropdown (logged in) ── */
.header-user { position: relative; }
.header-user__toggle { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; background: none; border: 1px solid var(--color-border, #D3D1C7); border-radius: 24px; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.header-user__toggle:hover { background: var(--neutral-50, #F8F7F3); border-color: var(--neutral-300); }
.header-user__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.header-user__name { font-size: 13px; font-weight: 500; color: var(--neutral-700, #2C2C2A); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-user__dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 220px; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); z-index: 1000; padding: 6px 0; }
.header-user--open .header-user__dropdown { display: block; }
.header-user__link { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; color: var(--neutral-700); text-decoration: none; transition: background 0.15s; }
.header-user__link:hover { background: var(--neutral-50); }
.header-user__link i { font-size: 16px; color: var(--neutral-400); width: 20px; text-align: center; }
.header-user__link--logout { color: var(--red-500, #E24B4A); }
.header-user__link--logout i { color: var(--red-500, #E24B4A); }
.header-user__sep { height: 1px; background: var(--color-border); margin: 4px 0; }
@media (max-width: 768px) { .header-user__name { display: none; } }

/* ── Auth Modal ── */
.ev-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.ev-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ev-modal__container { position: relative; width: 100%; max-width: 860px; max-height: 90vh; background: #fff; border-radius: 20px; box-shadow: 0 24px 80px rgba(0,0,0,0.2); overflow: hidden; margin: 16px; animation: ev-modal-in 0.25s ease-out; display: flex; }
@keyframes ev-modal-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ev-modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(0,0,0,0.06); color: var(--neutral-500); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.15s; }
.ev-modal__close:hover { background: rgba(0,0,0,0.1); }

/* Left brand panel */
.ev-modal__brand { width: 320px; flex-shrink: 0; background: linear-gradient(135deg, #1A5FA4 0%, #0B3D6B 100%); color: #fff; display: flex; align-items: center; justify-content: center; padding: 40px 28px; position: relative; overflow: hidden; }
.ev-modal__brand::before { content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.ev-modal__brand::after { content: ''; position: absolute; bottom: -40px; left: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.04); }
.ev-modal__brand-inner { position: relative; z-index: 1; text-align: center; }
.ev-modal__brand-logo { margin-bottom: 20px; }
.ev-modal__logo-img { filter: brightness(0) invert(1); }
.ev-modal__logo-text { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.ev-modal__logo-text span { color: rgba(255,255,255,0.6); font-weight: 400; }
.ev-modal__brand-title { font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 12px; letter-spacing: -0.2px; color: #fff; }
.ev-modal__brand-desc { font-size: 13px; opacity: 0.85; line-height: 1.5; margin-bottom: 24px; color: rgba(255,255,255,0.85); }
.ev-modal__brand-stats { display: flex; gap: 12px; justify-content: center; }
.ev-modal__brand-stat { text-align: center; padding: 10px; background: rgba(255,255,255,0.1); border-radius: 10px; flex: 1; }
.ev-modal__brand-stat strong { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.ev-modal__brand-stat span { font-size: 11px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.8); }

/* Right form side */
.ev-modal__form-side { flex: 1; display: flex; flex-direction: column; overflow-y: auto; max-height: 90vh; }
.ev-modal__tabs { display: flex; border-bottom: 1px solid var(--neutral-200); padding: 0 24px; flex-shrink: 0; }
.ev-modal__tab { flex: 1; padding: 16px 0; background: none; border: none; font-size: 15px; font-weight: 600; color: var(--neutral-400); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; font-family: inherit; }
.ev-modal__tab--active { color: var(--color-accent, #1A5FA4); border-bottom-color: var(--color-accent, #1A5FA4); }
.ev-modal__body { padding: 24px; flex: 1; overflow-y: auto; }
.ev-modal__panel { display: none; }
.ev-modal__panel--active { display: block; }
body.ev-modal-open { overflow: hidden; }

/* ===== SINGLE CPT TEMPLATES ===== */
.ev-single { max-width: var(--container-max, 1440px); margin: 0 auto; padding: 24px var(--space-9, 36px); }
.ev-single__breadcrumb { font-size: 13px; color: var(--neutral-400, #888780); margin-bottom: 24px; }
.ev-single__breadcrumb a { color: var(--neutral-400); text-decoration: none; }
.ev-single__breadcrumb a:hover { color: var(--color-accent); text-decoration: underline; }
.ev-single__breadcrumb span { margin: 0 6px; color: var(--neutral-300); }

.ev-single__layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.ev-single__main { min-width: 0; }

/* Hero / Gallery */
.ev-single__hero { position: relative; border-radius: 16px; overflow: visible; margin-bottom: 20px; min-height: 280px; background: var(--neutral-100, #F1EFE8); }
.ev-single__hero--landscape { aspect-ratio: 21/9; min-height: 0; }
.ev-single__hero-img,
.ev-single__hero img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none; position: absolute; inset: 0; border-radius: 16px; }
.ev-single__hero-date { position: absolute; top: 16px; left: 16px; background: #fff; border-radius: 10px; padding: 8px 14px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); line-height: 1; z-index: 2; }
.ev-single__hero-day { display: block; font-size: 24px; font-weight: 700; color: var(--pink-500, #D4537E); }
.ev-single__hero-month { display: block; font-size: 11px; font-weight: 600; color: var(--neutral-500); text-transform: uppercase; }
.ev-single__hero-badge { position: absolute; top: 16px; right: 16px; padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; z-index: 2; }
.ev-single__hero-badge--sold { background: var(--red-500, #E24B4A); color: #fff; }
.ev-single__hero-badge--past { background: var(--neutral-700, #2C2C2A); color: #fff; }
.ev-single__hero-badge--urgent { background: var(--red-500); color: #fff; }
.ev-single__hero-badge--coral { background: var(--white, #fff); color: var(--coral-500, #D85A30); }
.ev-single__gallery { position: relative; border-radius: 16px; overflow: visible; margin-bottom: 20px; z-index: 1; }
.ev-single__gallery-main,
.ev-single__gallery img { width: 100% !important; border-radius: 16px; display: block; max-width: none; height: auto !important; overflow: hidden; }

/* Categories / Tags */
.ev-single__cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ev-single__cat { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--neutral-100, #F1EFE8); color: var(--neutral-600, #3C3C3A); text-transform: uppercase; letter-spacing: 0.5px; }
.ev-single__cat--pink { background: var(--pink-50); color: #993556; }
.ev-single__cat--green { background: var(--green-50, #E1F5EE); color: var(--green-500, #1D9E75); }
.ev-single__cat--blue { background: var(--blue-50, #E6F1FB); color: var(--blue-700, #1A5FA4); }
.ev-single__cat--coral { background: var(--coral-50, #FAECE7); color: var(--coral-500, #D85A30); }

/* Title & Price */
.ev-single__title { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 12px; }
.ev-single__subtitle { font-size: 15px; color: var(--neutral-500); margin-bottom: 4px; }
.ev-single__price { font-size: 28px; font-weight: 700; color: var(--green-500); margin-bottom: 16px; }
.ev-single__price-neg { font-size: 14px; font-weight: 400; color: var(--neutral-400); margin-left: 8px; }
.ev-single__rating { font-size: 16px; color: var(--gold-500, #D4A017); }
.ev-single__rating span { font-size: 14px; color: var(--neutral-500); margin-left: 4px; }

/* Info strip */
.ev-single__info-strip { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding: 14px 0; border-top: 1px solid var(--neutral-200, #D3D1C7); border-bottom: 1px solid var(--neutral-200); }
.ev-single__info-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--neutral-600, #3C3C3A); }
.ev-single__info-item .ev-single__info-label i { color: var(--neutral-400); }
.ev-single__info-item--green { color: var(--green-500); font-weight: 600; }
.ev-single__info-item--green i { color: var(--green-500); }

/* Content */
.ev-single__content { font-size: 16px; line-height: 1.75; color: var(--neutral-700, #2C2C2A); margin-bottom: 24px; }
.ev-single__content p { margin-bottom: 16px; }
.ev-single__content h2, .ev-single__content h3 { margin: 28px 0 12px; font-weight: 600; }
.ev-single__section { margin-bottom: 28px; }
.ev-single__section h2 { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ev-single__section h2 i { color: var(--neutral-400); }
.ev-single__text { font-size: 15px; line-height: 1.7; color: var(--neutral-600); }
.ev-single__text--sm { font-size: 13px; }

/* Sidebar */
.ev-single__sidebar { }
.ev-single__card { background: var(--white, #fff); border: 1px solid var(--neutral-200); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.ev-single__card h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.ev-single__card h3 i { color: var(--neutral-400); }
.ev-single__meta-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--neutral-100, #F1EFE8); font-size: 14px; }
.ev-single__meta-row:last-child { border-bottom: none; }
.ev-single__meta-row i { color: var(--neutral-400); margin-top: 2px; flex-shrink: 0; width: 16px; }
.ev-single__meta-label { color: var(--neutral-400); min-width: 80px; flex-shrink: 0; }
.ev-single__meta-value { color: var(--neutral-700); font-weight: 500; }
.ev-single__meta-link { color: var(--color-accent, #1A5FA4); text-decoration: none; }
.ev-single__meta-link:hover { text-decoration: underline; }

/* Author card (marketplace) */
.ev-single__card--author { display: flex; align-items: center; gap: 12px; }
.ev-single__author-avatar { width: 48px; height: 48px; border-radius: 50%; }
.ev-single__author-name { font-weight: 600; font-size: 15px; }
.ev-single__author-since { font-size: 12px; color: var(--neutral-400); }

/* Company header (directory) */
.ev-single__company-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 16px; }
.ev-single__company-info { display: flex; align-items: center; gap: 16px; }
.ev-single__company-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.ev-single__company-logo--init { display: flex; align-items: center; justify-content: center; background: var(--gold-50, #FAEEDA); color: var(--gold-800, #7A5A0A); font-size: 24px; font-weight: 700; }
.ev-single__contact-bar { display: flex; gap: 10px; margin-bottom: 24px; }
.ev-single__contact-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1px solid var(--neutral-200); border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--neutral-700); transition: all 0.15s; }
.ev-single__contact-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.ev-single__contact-btn i { font-size: 16px; }

/* Schedule (directory) */
.ev-single__schedule-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--neutral-100); font-size: 14px; }
.ev-single__schedule-row:last-child { border-bottom: none; }

/* Route header (transport) */
.ev-single--transport .ev-single__main { background: var(--white, #fff); border: 1px solid var(--neutral-200); border-radius: 14px; padding: 24px; }
.ev-single__route-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.ev-single__route-badge { width: 72px; height: 72px; border-radius: 18px; background: var(--purple-500, #534AB7); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; flex-shrink: 0; }

/* Stations (transport) */
.ev-single__stations { position: relative; padding-left: 24px; }
.ev-single__station { display: flex; align-items: center; gap: 12px; padding: 8px 0; position: relative; }
.ev-single__station::before { content: ''; position: absolute; left: -18px; top: 0; bottom: 0; width: 2px; background: var(--neutral-200); }
.ev-single__station:first-child::before { top: 50%; }
.ev-single__station:last-child::before { bottom: 50%; }
.ev-single__station-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neutral-300); position: absolute; left: -22px; top: 50%; transform: translateY(-50%); z-index: 1; }
.ev-single__station-dot--end { width: 14px; height: 14px; left: -24px; background: var(--purple-500); }
.ev-single__station-name { font-size: 14px; font-weight: 500; }

/* Timetable (transport) */
.ev-single__timetable { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.ev-single__time-row { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--neutral-50); border-radius: 8px; font-size: 14px; }
.ev-single__time-depart { font-weight: 600; color: var(--purple-500); }
.ev-single__time-arrow { color: var(--neutral-300); }
.ev-single__time-arrive { color: var(--neutral-600); }
.ev-single__time-note { font-size: 11px; color: var(--neutral-400); margin-left: auto; }
.ev-single__valid { font-size: 12px; color: var(--neutral-400); margin-top: 8px; }

/* Organizer (events) */
.ev-single__org-logo { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; margin-bottom: 8px; }
.ev-single__org-name { font-weight: 600; }

/* Share */
.ev-single__share { display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--neutral-200); margin-top: 24px; }
.ev-single__share-label { font-size: 13px; color: var(--neutral-400); }
.ev-single__share-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--neutral-200); background: var(--white); color: var(--neutral-500); font-size: 16px; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.ev-single__share-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.ev-single__share-btn--fb:hover { color: #1877F2; border-color: #1877F2; }
.ev-single__share-btn--wa:hover { color: #25D366; border-color: #25D366; }

/* Related */
.ev-single__related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--neutral-200); }
.ev-single__related-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.ev-single__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-single__related-card { text-decoration: none; color: inherit; border-radius: 12px; border: 1px solid var(--neutral-200); overflow: hidden; transition: all 0.2s; }
.ev-single__related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.ev-single__related-img { height: 140px; overflow: hidden; }
.ev-single__related-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-single__related-card h4 { padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 1.3; }

/* Responsive */
@media (max-width: 900px) {
  .ev-single { padding: 20px var(--space-6, 24px); }
  .ev-single__layout { grid-template-columns: 1fr; gap: 20px; }
  .ev-single__title { font-size: 24px; }
  .ev-single__related-grid { grid-template-columns: 1fr 1fr; }
  .ev-single__route-header { flex-wrap: wrap; }
  .ev-single__company-header { flex-wrap: wrap; }
  .ev-single__contact-bar { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .ev-single { padding: 12px; }
  .ev-single__title { font-size: 22px; letter-spacing: -0.3px; }
  .ev-single__breadcrumb { font-size: 12px; margin-bottom: 12px; }
  .ev-single__hero { border-radius: 12px; margin-bottom: 14px; min-height: 200px; }
  .ev-single__hero--landscape { aspect-ratio: 16/9; min-height: 0; }
  .ev-single__hero-img { width: 100% !important; height: 100% !important; object-fit: cover; position: absolute; inset: 0; }
  .ev-single__hero-badge { padding: 4px 10px; font-size: 11px; top: 10px; right: 10px; }
  .ev-single__hero-date { top: 10px; left: 10px; padding: 6px 10px; }
  .ev-single__hero-day { font-size: 20px; }
  .ev-single__cats { margin-bottom: 8px; gap: 6px; }
  .ev-single__cat { font-size: 10px; padding: 3px 8px; }
  .ev-single__price { font-size: 22px; margin-bottom: 12px; }
  .ev-single__info-strip { padding: 10px 0; margin-bottom: 14px; gap: 6px; flex-direction: column; }
  .ev-single__info-item { font-size: 13px; }
  .ev-single__content { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
  .ev-single__section { margin-bottom: 20px; }
  .ev-single__section h2 { font-size: 17px; margin-bottom: 10px; }
  .ev-single__card { padding: 14px; margin-bottom: 10px; border-radius: 12px; }
  .ev-single__card h3 { font-size: 15px; margin-bottom: 10px; }
  .ev-single__meta-row { padding: 6px 0; font-size: 13px; }
  .ev-single__meta-label { min-width: 65px; font-size: 12px; }
  .ev-single__related { margin-top: 20px; padding-top: 16px; }
  .ev-single__related-title { font-size: 18px; margin-bottom: 10px; }
  .ev-single__related-grid { grid-template-columns: 1fr; gap: 10px; }
  .ev-single__related-img { height: 120px; }
  .ev-single__share { gap: 8px; padding-top: 12px; margin-top: 16px; }
  .ev-single__share-btn { width: 32px; height: 32px; font-size: 14px; }
  /* Transport */
  .ev-single--transport .ev-single__main { padding: 16px; border-radius: 12px; }
  .ev-single__route-header { gap: 10px; margin-bottom: 14px; }
  .ev-single__route-badge { width: 52px; height: 52px; font-size: 18px; border-radius: 12px; }
  .ev-single__timetable { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 4px; }
  .ev-single__time-row { padding: 6px 8px; font-size: 13px; }
  /* Directory */
  .ev-single__company-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ev-single__company-logo { width: 48px; height: 48px; }
  .ev-single__contact-bar { gap: 6px; }
  .ev-single__contact-btn { padding: 8px 12px; font-size: 13px; flex: 1; justify-content: center; }
  .ev-single__schedule-row { font-size: 13px; padding: 6px 0; }
  /* Marketplace */
  .ev-single__gallery { border-radius: 12px; margin-bottom: 14px; }
  .ev-single__gallery-main { border-radius: 12px; }
  .ev-single__card--author { gap: 10px; }
  .ev-single__author-avatar { width: 40px; height: 40px; }
}

/* ── Global SVG safety ── */
svg:not([width]):not([class]) { max-width: 100%; height: auto; }
.category-header__search { position: relative; max-width: 440px; }
.category-header__search-icon { width: 18px; height: 18px; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }


/* Auth form inside modal — no nested card */
.ev-modal .ev-auth-wrap { max-width: none; margin: 0; padding: 0; }
.ev-modal .ev-auth-card { background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; }
.ev-modal .ev-auth-header { display: none; }
.ev-modal .ev-auth-footer { text-align: left; }

/* ═══════════════════════════════════════════
   REACTIONS — Like / Favorite / Bookmark
   ═══════════════════════════════════════════ */
.ev-rx {
  display: flex; gap: 8px; padding: 12px 0; margin: 8px 0;
}
.ev-rx__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px; border-radius: 21px;
  border: none; background: var(--neutral-100, #F1EFE8);
  font-family: inherit; font-size: 18px; cursor: pointer;
  color: var(--neutral-500); transition: all 0.2s ease;
}
.ev-rx__btn span { font-size: 13px; font-weight: 700; color: inherit; }
.ev-rx__btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.ev-rx__btn:active { transform: scale(0.95); }

.ev-rx--like { color: #E8536D; }
.ev-rx--like:hover { background: #FFEEF2; }
.ev-rx--like.active { background: #FF2D55; color: #fff; box-shadow: 0 4px 16px rgba(255,45,85,0.3); }

.ev-rx--fav { color: #E8A800; }
.ev-rx--fav:hover { background: #FFF6E0; }
.ev-rx--fav.active { background: #FFB800; color: #fff; box-shadow: 0 4px 16px rgba(255,184,0,0.3); }

.ev-rx--save { color: #1A5FA4; }
.ev-rx--save:hover { background: #E6F0FB; }
.ev-rx--save.active { background: #1A5FA4; color: #fff; box-shadow: 0 4px 16px rgba(26,95,164,0.3); }

.ev-rx__btn.active i { animation: ev-rx-pop 0.35s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes ev-rx-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* Overlay: horizontal row, bottom-right of image */
.ev-single__gallery + .ev-rx,
.ev-single__hero + .ev-rx {
  position: relative; z-index: 5;
  margin-top: -54px; margin-bottom: 12px;
  padding: 0 14px; justify-content: flex-end;
}
.ev-single__gallery + .ev-rx .ev-rx__btn,
.ev-single__hero + .ev-rx .ev-rx__btn {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.ev-single__gallery + .ev-rx .ev-rx__btn:hover,
.ev-single__hero + .ev-rx .ev-rx__btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.ev-single__gallery + .ev-rx .ev-rx--like.active,
.ev-single__hero + .ev-rx .ev-rx--like.active { background: #FF2D55; color: #fff; box-shadow: 0 4px 16px rgba(255,45,85,0.4); }
.ev-single__gallery + .ev-rx .ev-rx--fav.active,
.ev-single__hero + .ev-rx .ev-rx--fav.active { background: #FFB800; color: #fff; box-shadow: 0 4px 16px rgba(255,184,0,0.4); }
.ev-single__gallery + .ev-rx .ev-rx--save.active,
.ev-single__hero + .ev-rx .ev-rx--save.active { background: #1A5FA4; color: #fff; box-shadow: 0 4px 16px rgba(26,95,164,0.4); }

@media (max-width: 600px) {
  .ev-rx__btn { height: 38px; padding: 0 12px; font-size: 16px; }
  .ev-rx__btn span { font-size: 12px; }
  .ev-single__gallery + .ev-rx,
  .ev-single__hero + .ev-rx { margin-top: -46px; padding: 0 10px; }
}

/* ═══════════════════════════════════════════
   SINGLE CPT — Extended Sections (Modern Cards)
   ═══════════════════════════════════════════ */

/* ── Section titles ── */
.ev-single__card-title { font-size: 16px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; color: var(--color-text-primary); }
.ev-single__card-title i { color: var(--color-accent, #1A5FA4); font-size: 18px; }
.ev-single__section-title { font-size: 18px; font-weight: 700; margin: 28px 0 14px; display: flex; align-items: center; gap: 8px; }
.ev-single__section-title i { color: var(--color-accent); }
.ev-single__subtitle { font-size: 16px; color: var(--neutral-500); margin: -4px 0 12px; }

/* ── Sidebar cards — white, rounded ── */
.ev-single__card { background: #fff; border: 1px solid var(--neutral-200, #D3D1C7); border-radius: 14px; padding: 20px; margin-bottom: 14px; }

/* ── Contact list ── */
.ev-single__contact-list { display: flex; flex-direction: column; gap: 6px; }
.ev-single__contact-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--color-accent, #1A5FA4); text-decoration: none; color: #fff; font-size: 14px; font-weight: 500; transition: all 0.2s; margin-bottom: 6px; }
.ev-single__contact-item:hover { background: #164d87; color: #fff; transform: translateX(4px); }
.ev-single__contact-item:hover i { color: #fff; }
.ev-single__contact-item i { color: #fff; font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; opacity: 0.85; }
.ev-single__contact-item--wa { background: #25D366; }
.ev-single__contact-item--wa:hover { background: #1da851; }

/* ── Social links ── */
.ev-single__social-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ev-single__social-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--neutral-100); color: var(--neutral-600); font-size: 18px; text-decoration: none; transition: all 0.2s; }
.ev-single__social-btn:hover { background: var(--color-accent, #1A5FA4); color: #fff; transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* ── Mosaic Gallery ── */
.ev-gallery { margin: 16px 0; }
.ev-gallery__mosaic { display: grid; gap: 4px; border-radius: 14px; overflow: hidden; }
.ev-gallery__mosaic--1 { grid-template-columns: 1fr; max-height: 420px; }
.ev-gallery__mosaic--2 { grid-template-columns: 1fr 1fr; max-height: 340px; }
.ev-gallery__mosaic--3 { grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 1fr 1fr; max-height: 400px; }
.ev-gallery__mosaic--3 .ev-gallery__item:first-child { grid-row: 1 / 3; }
.ev-gallery__item { position: relative; overflow: hidden; display: block; cursor: pointer; min-height: 0; }
.ev-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ev-gallery__item:hover img { transform: scale(1.04); }
.ev-gallery__more {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-weight: 700; letter-spacing: -0.5px;
  transition: background 0.2s;
}
.ev-gallery__item:hover .ev-gallery__more { background: rgba(0,0,0,0.55); }

/* Strip (horizontal scroll for 4+ images) */
.ev-gallery__strip {
  display: flex; gap: 4px; margin-top: 4px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--neutral-300) transparent;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.ev-gallery__strip::-webkit-scrollbar { height: 6px; }
.ev-gallery__strip::-webkit-scrollbar-track { background: transparent; }
.ev-gallery__strip::-webkit-scrollbar-thumb { background: var(--neutral-300); border-radius: 3px; }
.ev-gallery__strip-item {
  flex-shrink: 0; width: 200px; height: 110px;
  border-radius: 10px; overflow: hidden; display: block;
  scroll-snap-align: start; cursor: pointer;
}
.ev-gallery__strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.ev-gallery__strip-item:hover img { transform: scale(1.06); }

@media (max-width: 600px) {
  .ev-gallery__mosaic--3 { grid-template-columns: 1fr 1fr; max-height: 280px; }
  .ev-gallery__strip-item { width: 160px; height: 90px; }
}

/* ── Videos ── */
.ev-single__videos { margin: 16px 0; }
.ev-single__videos-grid { display: flex; flex-direction: column; gap: 16px; }
.ev-single__video-embed { width: 100%; min-height: 400px; border-radius: 14px; overflow: hidden; background: #000; }
.ev-single__video-embed iframe { width: 100%; height: 100%; min-height: 400px; border: none; display: block; }
.ev-single__video-title { font-size: 13px; font-weight: 600; margin: 6px 0 0; color: var(--neutral-600); }
@media (max-width: 600px) { .ev-single__video-embed { min-height: 240px; } .ev-single__video-embed iframe { min-height: 240px; } }

/* ── Location card ── */
.ev-single__location-address { font-size: 14px; margin: 0 0 4px; color: var(--color-text-primary); font-weight: 500; }
.ev-single__location-city { font-size: 13px; margin: 0 0 4px; color: var(--neutral-500); }
.ev-single__location-zones { font-size: 13px; margin: 0 0 10px; color: var(--neutral-500); }
.ev-single__location-zones i { color: var(--color-accent); }
.ev-single__map-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 10px; background: var(--color-accent); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; transition: all 0.2s; margin-top: 6px; }
.ev-single__map-link:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,95,164,0.25); }

/* ── Info grid — white cards ── */
.ev-single__info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.ev-single__info-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--neutral-200); }
.ev-single__info-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--color-accent, #1A5FA4); color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.ev-single__info-label { display: block; font-size: 11px; color: var(--neutral-400); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.ev-single__info-value { display: block; font-size: 14px; font-weight: 700; color: var(--color-text-primary); margin-top: 2px; }
@media (max-width: 600px) { .ev-single__info-grid { grid-template-columns: 1fr; } }

/* ── Schedule table ── */
.ev-single__schedule { display: flex; flex-direction: column; gap: 2px; }
.ev-single__schedule-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.ev-single__schedule-row--today { background: rgba(26,95,164,0.06); font-weight: 600; }
.ev-single__schedule-day { font-weight: 500; color: var(--color-text-primary); }
.ev-single__schedule-hours { color: #1D9E75; font-weight: 600; }
.ev-single__schedule-hours--closed { color: #D85A30; }
.ev-single__schedule-note { font-size: 12px; color: var(--neutral-500); margin: 8px 0 0; display: flex; align-items: center; gap: 4px; }

/* ── Verified badge ── */
.ev-single__verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #1D9E75; background: rgba(29,158,117,0.08); padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; }

/* ── Tags ── */
.ev-single__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.ev-single__tag { font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--neutral-200); color: var(--neutral-600); text-decoration: none; transition: all 0.15s; }
.ev-single__tag:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ── Pills (services/amenities/payments) ── */
.ev-single__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ev-single__pill { font-size: 13px; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--neutral-200); color: var(--neutral-700); display: inline-flex; align-items: center; gap: 6px; }
.ev-single__pill i { font-size: 14px; color: var(--color-accent); }
.ev-single__pill--green { background: rgba(29,158,117,0.06); border-color: rgba(29,158,117,0.15); color: #1D9E75; }
.ev-single__pill--green i { color: #1D9E75; }
.ev-single__pill--gold { background: rgba(212,160,23,0.06); border-color: rgba(212,160,23,0.15); color: #B8860B; }
.ev-single__pill--gold i { color: #D4A017; }

/* ── Transport timetable ── */
.ev-single__timetable { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--neutral-200); margin: 14px 0; background: #fff; }
.ev-single__timetable th { background: var(--color-accent); color: #fff; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; text-align: left; }
.ev-single__timetable td { padding: 12px 14px; font-size: 14px; border-bottom: 1px solid var(--neutral-100); }
.ev-single__timetable tr:last-child td { border-bottom: none; }
.ev-single__timetable tr:hover td { background: rgba(26,95,164,0.02); }
.ev-day-badge { display: inline-block; font-size: 10px; padding: 3px 8px; border-radius: 5px; background: var(--neutral-100); color: var(--neutral-500); margin: 1px; font-weight: 600; }
.ev-day-badge--active { background: var(--color-accent); color: #fff; }

/* ── Transport Orar — Grouped Pills ── */
.ev-orar__group-title { font-size: 14px; font-weight: 600; color: var(--color-text-primary); margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--neutral-150, #e8e8e8); }
.ev-orar__group-title:first-of-type { margin-top: 10px; }
.ev-orar__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.ev-orar__pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--neutral-200); font-size: 14px; font-weight: 500; color: var(--color-text-primary); transition: border-color .2s, box-shadow .2s; }
.ev-orar__pill:hover { border-color: var(--color-accent); box-shadow: 0 2px 8px rgba(26,95,164,.1); }
.ev-orar__pill-dep { font-weight: 700; color: var(--color-accent); }
.ev-orar__pill-arrow { color: var(--neutral-400); font-size: 13px; }
.ev-orar__pill-arr { color: var(--neutral-600); }
@media (max-width: 767px) {
    .ev-orar__pill { padding: 7px 12px; font-size: 13px; }
    .ev-orar__pills { gap: 6px; }
}

/* ── Event tickets ── */
.ev-single__tickets { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.ev-single__ticket-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--neutral-200); }
.ev-single__ticket-name { font-weight: 600; font-size: 14px; }
.ev-single__ticket-price { font-weight: 700; font-size: 16px; color: var(--color-accent); }

/* ── Performers ── */
.ev-single__performers { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ev-single__performer { padding: 10px 18px; border-radius: 10px; background: linear-gradient(135deg, var(--color-accent), #0B3D6B); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 2px 8px rgba(26,95,164,0.2); }

/* ── Directory Services (name + price + desc) ── */
.ev-single__services-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.ev-single__service-item { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--neutral-200); }
.ev-single__service-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex: 1; min-width: 200px; }
.ev-single__service-price { font-size: 14px; font-weight: 700; color: var(--color-accent); white-space: nowrap; }
.ev-single__service-desc { font-size: 13px; color: var(--neutral-500); margin: 4px 0 0; width: 100%; }

/* ── Transport Stations Timeline ── */
.ev-single__stations { display: flex; flex-direction: column; gap: 0; margin: 14px 0; position: relative; padding-left: 24px; }
.ev-single__stations::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--color-accent); opacity: 0.2; }
.ev-single__station { display: flex; align-items: center; gap: 10px; padding: 8px 0; position: relative; }
.ev-single__station-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--color-accent); position: absolute; left: -24px; flex-shrink: 0; z-index: 1; }
.ev-single__station:first-child .ev-single__station-dot,
.ev-single__station:last-child .ev-single__station-dot { width: 16px; height: 16px; left: -25px; }
.ev-single__station-name { font-size: 14px; font-weight: 500; color: var(--color-text-primary); }
.ev-single__station-time { font-size: 12px; color: var(--neutral-400); margin-left: auto; }

/* ── Map Station Panel + Route Info ── */
.ev-map-route-info { background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.12); font-size: 13px; line-height: 1.5; }
.ev-map-route-info__num { font-size: 14px; font-weight: 700; color: #534AB7; }
.ev-map-route-info__name { font-weight: 600; margin: 2px 0; }
.ev-map-route-info__details { font-size: 12px; color: #666; }

.ev-map-stations { background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.12); max-width: 260px; overflow: hidden; font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; }
.ev-map-stations__toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer; font-size: 13px; font-weight: 600; background: #f8f9fa; border-bottom: 1px solid #eee; user-select: none; }
.ev-map-stations__toggle i { transition: transform .2s; font-size: 12px; }
.ev-map-stations.open .ev-map-stations__toggle i { transform: rotate(180deg); }
.ev-map-stations__list { max-height: 0; overflow-y: auto; transition: max-height .3s ease; }
.ev-map-stations.open .ev-map-stations__list { max-height: 320px; }
.ev-map-stations__item { display: flex; align-items: center; gap: 8px; padding: 7px 12px; cursor: pointer; font-size: 12px; line-height: 1.3; border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.ev-map-stations__item:last-child { border-bottom: none; }
.ev-map-stations__item:hover { background: #f0f6ff; }
.ev-map-stations__dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.ev-map-stations__name { font-weight: 500; color: #1d2327; flex: 1; }
.ev-map-stations__time { color: #888; font-size: 11px; white-space: nowrap; }

/* ── CTA Button ── */
.ev-single__cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; background: var(--color-accent); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer; margin: 8px 0; }
.ev-single__cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,95,164,0.25); }

/* ── Spacing before comments/related ── */
.ev-single .ev-single__share { margin-bottom: 24px; }
.ev-single .comments-section,
.ev-single #comments-section { margin-top: 32px; }
.ev-single .ev-single__related { margin-top: 32px; }



/* Author card (marketplace) */
.ev-single__card--author { display: flex; align-items: center; gap: 12px; }
.ev-single__author-avatar { width: 48px; height: 48px; border-radius: 50%; }
.ev-single__author-name { font-weight: 600; font-size: 15px; }
.ev-single__author-since { font-size: 12px; color: var(--neutral-400); }

/* Company header (directory) */
.ev-single__company-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 16px; }
.ev-single__company-info { display: flex; align-items: center; gap: 16px; }
.ev-single__company-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.ev-single__company-logo--init { display: flex; align-items: center; justify-content: center; background: var(--gold-50, #FAEEDA); color: var(--gold-800, #7A5A0A); font-size: 24px; font-weight: 700; }
.ev-single__contact-bar { display: flex; gap: 10px; margin-bottom: 24px; }
.ev-single__contact-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1px solid var(--neutral-200); border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--neutral-700); transition: all 0.15s; }
.ev-single__contact-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.ev-single__contact-btn i { font-size: 16px; }

/* Schedule (directory) */
.ev-single__schedule-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--neutral-100); font-size: 14px; }
.ev-single__schedule-row:last-child { border-bottom: none; }

/* Route header (transport) */
.ev-single--transport .ev-single__main { background: var(--white, #fff); border: 1px solid var(--neutral-200); border-radius: 14px; padding: 24px; }
.ev-single__route-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.ev-single__route-badge { width: 72px; height: 72px; border-radius: 18px; background: var(--purple-500, #534AB7); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; flex-shrink: 0; }

/* Stations (transport) */
.ev-single__stations { position: relative; padding-left: 24px; }
.ev-single__station { display: flex; align-items: center; gap: 12px; padding: 8px 0; position: relative; }
.ev-single__station::before { content: ''; position: absolute; left: -18px; top: 0; bottom: 0; width: 2px; background: var(--neutral-200); }
.ev-single__station:first-child::before { top: 50%; }
.ev-single__station:last-child::before { bottom: 50%; }
.ev-single__station-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neutral-300); position: absolute; left: -22px; top: 50%; transform: translateY(-50%); z-index: 1; }
.ev-single__station-dot--end { width: 14px; height: 14px; left: -24px; background: var(--purple-500); }
.ev-single__station-name { font-size: 14px; font-weight: 500; }

/* Timetable (transport) */
.ev-single__timetable { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.ev-single__time-row { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--neutral-50); border-radius: 8px; font-size: 14px; }
.ev-single__time-depart { font-weight: 600; color: var(--purple-500); }
.ev-single__time-arrow { color: var(--neutral-300); }
.ev-single__time-arrive { color: var(--neutral-600); }
.ev-single__time-note { font-size: 11px; color: var(--neutral-400); margin-left: auto; }
.ev-single__valid { font-size: 12px; color: var(--neutral-400); margin-top: 8px; }

/* Organizer (events) */
.ev-single__org-logo { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; margin-bottom: 8px; }
.ev-single__org-name { font-weight: 600; }

/* Share */
.ev-single__share { display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--neutral-200); margin-top: 24px; }
.ev-single__share-label { font-size: 13px; color: var(--neutral-400); }
.ev-single__share-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--neutral-200); background: var(--white); color: var(--neutral-500); font-size: 16px; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.ev-single__share-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.ev-single__share-btn--fb:hover { color: #1877F2; border-color: #1877F2; }
.ev-single__share-btn--wa:hover { color: #25D366; border-color: #25D366; }

/* Related */
.ev-single__related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--neutral-200); }
.ev-single__related-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.ev-single__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-single__related-card { text-decoration: none; color: inherit; border-radius: 12px; border: 1px solid var(--neutral-200); overflow: hidden; transition: all 0.2s; }
.ev-single__related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.ev-single__related-img { height: 140px; overflow: hidden; }
.ev-single__related-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-single__related-card h4 { padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 1.3; }

/* Responsive */
@media (max-width: 900px) {
  .ev-single { padding: 20px var(--space-6, 24px); }
  .ev-single__layout { grid-template-columns: 1fr; gap: 20px; }
  .ev-single__title { font-size: 24px; }
  .ev-single__related-grid { grid-template-columns: 1fr 1fr; }
  .ev-single__route-header { flex-wrap: wrap; }
  .ev-single__company-header { flex-wrap: wrap; }
  .ev-single__contact-bar { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .ev-single { padding: 12px; }
  .ev-single__title { font-size: 22px; letter-spacing: -0.3px; }
  .ev-single__breadcrumb { font-size: 12px; margin-bottom: 12px; }
  .ev-single__hero { border-radius: 12px; margin-bottom: 14px; min-height: 200px; }
  .ev-single__hero--landscape { aspect-ratio: 16/9; min-height: 0; }
  .ev-single__hero-img { width: 100% !important; height: 100% !important; object-fit: cover; position: absolute; inset: 0; }
  .ev-single__hero-badge { padding: 4px 10px; font-size: 11px; top: 10px; right: 10px; }
  .ev-single__hero-date { top: 10px; left: 10px; padding: 6px 10px; }
  .ev-single__hero-day { font-size: 20px; }
  .ev-single__cats { margin-bottom: 8px; gap: 6px; }
  .ev-single__cat { font-size: 10px; padding: 3px 8px; }
  .ev-single__price { font-size: 22px; margin-bottom: 12px; }
  .ev-single__info-strip { padding: 10px 0; margin-bottom: 14px; gap: 6px; flex-direction: column; }
  .ev-single__info-item { font-size: 13px; }
  .ev-single__content { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
  .ev-single__section { margin-bottom: 20px; }
  .ev-single__section h2 { font-size: 17px; margin-bottom: 10px; }
  .ev-single__card { padding: 14px; margin-bottom: 10px; border-radius: 12px; }
  .ev-single__card h3 { font-size: 15px; margin-bottom: 10px; }
  .ev-single__meta-row { padding: 6px 0; font-size: 13px; }
  .ev-single__meta-label { min-width: 65px; font-size: 12px; }
  .ev-single__cta-btn { padding: 12px 20px; font-size: 14px; }
  .ev-single__related { margin-top: 20px; padding-top: 16px; }
  .ev-single__related-title { font-size: 18px; margin-bottom: 10px; }
  .ev-single__related-grid { grid-template-columns: 1fr; gap: 10px; }
  .ev-single__related-img { height: 120px; }
  .ev-single__share { gap: 8px; padding-top: 12px; margin-top: 16px; }
  .ev-single__share-btn { width: 32px; height: 32px; font-size: 14px; }
  /* Transport */
  .ev-single--transport .ev-single__main { padding: 16px; border-radius: 12px; }
  .ev-single__route-header { gap: 10px; margin-bottom: 14px; }
  .ev-single__route-badge { width: 52px; height: 52px; font-size: 18px; border-radius: 12px; }
  .ev-single__timetable { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 4px; }
  .ev-single__time-row { padding: 6px 8px; font-size: 13px; }
  /* Directory */
  .ev-single__company-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ev-single__company-logo { width: 48px; height: 48px; }
  .ev-single__contact-bar { gap: 6px; }
  .ev-single__contact-btn { padding: 8px 12px; font-size: 13px; flex: 1; justify-content: center; }
  .ev-single__schedule-row { font-size: 13px; padding: 6px 0; }
  /* Marketplace */
  .ev-single__gallery { border-radius: 12px; margin-bottom: 14px; }
  .ev-single__gallery-main { border-radius: 12px; }
  .ev-single__card--author { gap: 10px; }
  .ev-single__author-avatar { width: 40px; height: 40px; }
}

/* ── Global SVG safety ── */
svg:not([width]):not([class]) { max-width: 100%; height: auto; }
.category-header__search { position: relative; max-width: 440px; }
.category-header__search-icon { width: 18px; height: 18px; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }


/* Auth form inside modal — no nested card */
.ev-modal .ev-auth-wrap { max-width: none; margin: 0; padding: 0; }
.ev-modal .ev-auth-card { background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; }
.ev-modal .ev-auth-header { display: none; }
.ev-modal .ev-auth-footer { text-align: left; }

/* ═══════════════════════════════════════════
   REACTIONS — Like / Favorite / Bookmark
   ═══════════════════════════════════════════ */
.ev-rx {
  display: flex; gap: 8px; padding: 12px 0; margin: 8px 0;
}
.ev-rx__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px; border-radius: 21px;
  border: none; background: var(--neutral-100, #F1EFE8);
  font-family: inherit; font-size: 18px; cursor: pointer;
  color: var(--neutral-500); transition: all 0.2s ease;
}
.ev-rx__btn span { font-size: 13px; font-weight: 700; color: inherit; }
.ev-rx__btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.ev-rx__btn:active { transform: scale(0.95); }

.ev-rx--like { color: #E8536D; }
.ev-rx--like:hover { background: #FFEEF2; }
.ev-rx--like.active { background: #FF2D55; color: #fff; box-shadow: 0 4px 16px rgba(255,45,85,0.3); }

.ev-rx--fav { color: #E8A800; }
.ev-rx--fav:hover { background: #FFF6E0; }
.ev-rx--fav.active { background: #FFB800; color: #fff; box-shadow: 0 4px 16px rgba(255,184,0,0.3); }

.ev-rx--save { color: #1A5FA4; }
.ev-rx--save:hover { background: #E6F0FB; }
.ev-rx--save.active { background: #1A5FA4; color: #fff; box-shadow: 0 4px 16px rgba(26,95,164,0.3); }

.ev-rx__btn.active i { animation: ev-rx-pop 0.35s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes ev-rx-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* Overlay: horizontal row, bottom-right of image */
.ev-single__gallery + .ev-rx,
.ev-single__hero + .ev-rx {
  position: relative; z-index: 5;
  margin-top: -54px; margin-bottom: 12px;
  padding: 0 14px; justify-content: flex-end;
}
.ev-single__gallery + .ev-rx .ev-rx__btn,
.ev-single__hero + .ev-rx .ev-rx__btn {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.ev-single__gallery + .ev-rx .ev-rx__btn:hover,
.ev-single__hero + .ev-rx .ev-rx__btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.ev-single__gallery + .ev-rx .ev-rx--like.active,
.ev-single__hero + .ev-rx .ev-rx--like.active { background: #FF2D55; color: #fff; box-shadow: 0 4px 16px rgba(255,45,85,0.4); }
.ev-single__gallery + .ev-rx .ev-rx--fav.active,
.ev-single__hero + .ev-rx .ev-rx--fav.active { background: #FFB800; color: #fff; box-shadow: 0 4px 16px rgba(255,184,0,0.4); }
.ev-single__gallery + .ev-rx .ev-rx--save.active,
.ev-single__hero + .ev-rx .ev-rx--save.active { background: #1A5FA4; color: #fff; box-shadow: 0 4px 16px rgba(26,95,164,0.4); }

@media (max-width: 600px) {
  .ev-rx__btn { height: 38px; padding: 0 12px; font-size: 16px; }
  .ev-rx__btn span { font-size: 12px; }
  .ev-single__gallery + .ev-rx,
  .ev-single__hero + .ev-rx { margin-top: -46px; padding: 0 10px; }
}

