/*
Theme Name: Lumea Feng Shui
Theme URI: https://lfs.ro/
Author: Lumea Feng Shui
Description: Temă editorială modernă, accesibilă și rapidă pentru relansarea Lumea Feng Shui.
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 7.4
Text Domain: lumea-feng-shui
*/

:root {
  --lfs-ink: #17211b;
  --lfs-ink-soft: #4d5a52;
  --lfs-paper: #f7f3e9;
  --lfs-white: #fffef9;
  --lfs-forest: #183f32;
  --lfs-forest-light: #2e604f;
  --lfs-cinnabar: #b83a2e;
  --lfs-cinnabar-dark: #8e2b23;
  --lfs-gold: #b78a3a;
  --lfs-line: #d9d2c3;
  --lfs-sage: #dce6dc;
  --lfs-shadow: 0 18px 55px rgba(24, 63, 50, .12);
  --lfs-radius: 1.25rem;
  --lfs-content: 76rem;
  --lfs-reading: 46rem;
  --lfs-serif: Georgia, 'Times New Roman', serif;
  --lfs-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lfs-white);
  color: var(--lfs-ink);
  font-family: var(--lfs-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lfs-forest); text-underline-offset: .2em; }
a:hover { color: var(--lfs-cinnabar); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--lfs-gold); outline-offset: 3px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  overflow: hidden; position: absolute !important; width: 1px; white-space: nowrap;
}
.skip-link:focus {
  clip: auto; clip-path: none; width: auto; height: auto; left: 1rem; top: 1rem;
  background: var(--lfs-white); color: var(--lfs-ink); padding: .75rem 1rem; z-index: 9999;
}
.lfs-container { width: min(calc(100% - 2rem), var(--lfs-content)); margin-inline: auto; }
.lfs-kicker { margin: 0 0 .7rem; color: var(--lfs-cinnabar); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lfs-section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.lfs-section--paper { background: var(--lfs-paper); }
.lfs-section-title { max-width: 15ch; margin: 0 0 1.2rem; font: 700 clamp(2rem, 4vw, 4rem)/1.04 var(--lfs-serif); letter-spacing: -.035em; }
.lfs-section-intro { max-width: 46rem; margin: 0 0 2.5rem; color: var(--lfs-ink-soft); font-size: 1.08rem; }

.site-header { background: rgba(255, 254, 249, .96); border-bottom: 1px solid var(--lfs-line); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); }
.lfs-utility { background: var(--lfs-forest); color: white; font-size: .78rem; }
.lfs-utility__inner { min-height: 2.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lfs-utility a { color: white; text-decoration: none; }
.lfs-header-main { min-height: 5.3rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.custom-logo-link img { width: auto; max-height: 3.3rem; }
.lfs-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--lfs-ink); text-decoration: none; }
.lfs-brand__mark { width: 2.8rem; height: 2.8rem; flex: none; }
.lfs-brand__name { display: block; font: 700 1.35rem/1 var(--lfs-serif); letter-spacing: -.02em; }
.lfs-brand__tag { display: block; margin-top: .28rem; color: var(--lfs-ink-soft); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.lfs-brand--historic { gap: 1rem; }
.lfs-brand__historic-logo { width: auto; height: 4.45rem; object-fit: contain; image-rendering: auto; }
.lfs-brand--historic .lfs-brand__tag { max-width: 14rem; line-height: 1.35; }
.lfs-nav { justify-self: end; }
.lfs-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.lfs-nav a { color: var(--lfs-ink); font-size: .86rem; font-weight: 750; text-decoration: none; }
.lfs-nav a:hover, .lfs-nav .current-menu-item > a { color: var(--lfs-cinnabar); }
.lfs-menu-toggle { display: none; border: 0; background: transparent; padding: .7rem; color: var(--lfs-ink); cursor: pointer; }
.lfs-menu-toggle span { display: block; width: 1.5rem; height: 2px; margin: 5px 0; background: currentColor; }
.lfs-search-link { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--lfs-line); border-radius: 50%; text-decoration: none; }
.lfs-search-form { display: flex; align-items: center; border: 1px solid var(--lfs-line); border-radius: 999px; overflow: hidden; background: white; }
.lfs-search-form input { width: 8rem; min-width: 0; border: 0; outline: 0; padding: .55rem .1rem .55rem .75rem; background: transparent; }
.lfs-search-form button { width: 2.35rem; height: 2.35rem; border: 0; background: transparent; color: var(--lfs-forest); cursor: pointer; }

.lfs-hero { position: relative; min-height: min(46rem, calc(100vh - 7.4rem)); display: grid; align-items: center; overflow: hidden; background: #d9cdb8; }
.lfs-hero__media, .lfs-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lfs-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 28, 23, .80) 0%, rgba(20, 28, 23, .48) 41%, rgba(20, 28, 23, .04) 73%); }
.lfs-hero__content { position: relative; z-index: 1; width: min(43rem, 63vw); padding: 5rem 0; color: white; }
.lfs-hero .lfs-kicker { color: #f3cc7c; }
.lfs-hero h1 { margin: 0; font: 700 clamp(3rem, 6.6vw, 6.8rem)/.93 var(--lfs-serif); letter-spacing: -.055em; text-wrap: balance; }
.lfs-hero__lead { max-width: 37rem; margin: 1.6rem 0 2rem; font-size: clamp(1rem, 1.5vw, 1.24rem); color: rgba(255,255,255,.9); }
.lfs-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.lfs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 999px; background: var(--lfs-cinnabar); color: white; font-weight: 800; text-decoration: none; }
.lfs-button:hover { background: var(--lfs-cinnabar-dark); color: white; }
.lfs-button--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.lfs-button--ghost:hover { background: white; color: var(--lfs-ink); }

.lfs-trust-strip { border-block: 1px solid var(--lfs-line); background: var(--lfs-white); }
.lfs-trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.lfs-trust-item { padding: 1.35rem 1.5rem; display: flex; gap: .8rem; align-items: center; border-right: 1px solid var(--lfs-line); font-size: .88rem; }
.lfs-trust-item:last-child { border-right: 0; }
.lfs-trust-item strong { display: block; color: var(--lfs-forest); }
.lfs-trust-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--lfs-cinnabar); flex: none; }

.lfs-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lfs-topic { min-height: 17rem; padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--lfs-line); border-radius: var(--lfs-radius); background: var(--lfs-white); color: var(--lfs-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lfs-topic:hover { transform: translateY(-4px); box-shadow: var(--lfs-shadow); border-color: transparent; color: var(--lfs-ink); }
.lfs-topic:nth-child(1), .lfs-topic:nth-child(5) { background: var(--lfs-forest); color: white; }
.lfs-topic:nth-child(3) { background: var(--lfs-sage); }
.lfs-topic__number { font: 700 .75rem/1 var(--lfs-sans); letter-spacing: .14em; color: var(--lfs-cinnabar); }
.lfs-topic:nth-child(1) .lfs-topic__number, .lfs-topic:nth-child(5) .lfs-topic__number { color: #f3cc7c; }
.lfs-topic h3 { margin: 0; max-width: 10ch; font: 700 1.8rem/1.05 var(--lfs-serif); letter-spacing: -.03em; }
.lfs-topic p { margin: .7rem 0 0; max-width: 28ch; color: inherit; opacity: .78; font-size: .9rem; }

.lfs-editorial-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lfs-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.lfs-card { overflow: hidden; border: 1px solid var(--lfs-line); border-radius: var(--lfs-radius); background: var(--lfs-white); }
.lfs-card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--lfs-sage), var(--lfs-paper)); overflow: hidden; }
.lfs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lfs-card:hover .lfs-card__media img { transform: scale(1.025); }
.lfs-card__body { padding: 1.25rem; }
.lfs-card__meta { color: var(--lfs-cinnabar); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lfs-card h3 { margin: .55rem 0 .7rem; font: 700 1.45rem/1.13 var(--lfs-serif); }
.lfs-card h3 a { color: var(--lfs-ink); text-decoration: none; }
.lfs-card p { margin: 0; color: var(--lfs-ink-soft); font-size: .92rem; }
.lfs-sidebar-note { position: sticky; top: 9rem; padding: 2rem; border-radius: var(--lfs-radius); background: var(--lfs-forest); color: white; }
.lfs-sidebar-note h3 { margin: 0 0 .8rem; font: 700 2rem/1.05 var(--lfs-serif); }
.lfs-sidebar-note p { color: rgba(255,255,255,.78); }
.lfs-sidebar-note a { color: white; }

.lfs-method { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: calc(var(--lfs-radius) * 1.3); overflow: hidden; background: var(--lfs-cinnabar); color: white; }
.lfs-method__symbol { min-height: 28rem; display: grid; place-items: center; background: var(--lfs-forest); }
.lfs-method__symbol svg { width: min(72%, 20rem); opacity: .95; }
.lfs-method__copy { padding: clamp(2rem, 6vw, 5.5rem); }
.lfs-method__copy h2 { margin: 0; font: 700 clamp(2.4rem, 5vw, 4.8rem)/.98 var(--lfs-serif); letter-spacing: -.045em; }
.lfs-method__copy p { max-width: 40rem; color: rgba(255,255,255,.85); }

.lfs-affiliate { margin: 2rem 0; padding: 1.25rem; border: 1px solid var(--lfs-line); border-left: 4px solid var(--lfs-gold); border-radius: .75rem; background: #fffaf0; }
.lfs-affiliate__label { margin: 0 0 .35rem; color: var(--lfs-cinnabar); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lfs-affiliate p { margin: 0; }

.site-main--inner { padding: clamp(3rem, 7vw, 6rem) 0; }
.lfs-page-header { max-width: var(--lfs-reading); margin-bottom: 3rem; }
.lfs-page-header h1 { margin: 0; font: 700 clamp(2.6rem, 6vw, 5.4rem)/.98 var(--lfs-serif); letter-spacing: -.05em; }
.lfs-breadcrumbs { margin-bottom: 1rem; color: var(--lfs-ink-soft); font-size: .82rem; }
.lfs-entry { max-width: var(--lfs-reading); margin-inline: auto; }
.lfs-entry__meta { margin: 1rem 0 2rem; color: var(--lfs-ink-soft); font-size: .85rem; }
.lfs-entry__content { font-family: var(--lfs-serif); font-size: clamp(1.08rem, 1.8vw, 1.22rem); }
.lfs-entry__content > p:first-of-type { font-size: 1.25em; color: var(--lfs-forest); }
.lfs-entry__content h2, .lfs-entry__content h3 { margin-top: 2.2em; line-height: 1.12; }
.lfs-entry__content blockquote { margin: 2rem 0; padding: .7rem 0 .7rem 1.5rem; border-left: 3px solid var(--lfs-cinnabar); color: var(--lfs-forest); font-size: 1.15em; }
.lfs-source-box { margin-top: 3rem; padding: 1.5rem; border-radius: 1rem; background: var(--lfs-paper); font-family: var(--lfs-sans); font-size: .9rem; }
.lfs-source-box h2 { margin: 0 0 .7rem; font: 700 1.35rem var(--lfs-serif); }

.site-footer { background: #10291f; color: rgba(255,255,255,.78); }
.lfs-footer-grid { padding: 4rem 0; display: grid; grid-template-columns: 1.2fr repeat(2, .6fr); gap: 2rem; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer h2 { margin: 0; font: 700 2rem var(--lfs-serif); }
.lfs-footer-logo { width: auto; height: 5.2rem; margin-bottom: 1rem; }
.site-footer h3 { margin: 0 0 .9rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: white; }
.lfs-footer-bottom { padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; }

.lfs-consent { position: fixed; right: 1rem; bottom: 1rem; z-index: 120; width: min(31rem, calc(100% - 2rem)); padding: 1.25rem; border: 1px solid var(--lfs-line); border-radius: 1rem; box-shadow: var(--lfs-shadow); background: var(--lfs-white); }
.lfs-consent[hidden] { display: none; }
.lfs-consent h2 { margin: 0 0 .45rem; font: 700 1.3rem var(--lfs-serif); }
.lfs-consent p { margin: 0 0 1rem; color: var(--lfs-ink-soft); font-size: .88rem; }
.lfs-consent__actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.lfs-consent button { padding: .62rem .9rem; border: 1px solid var(--lfs-forest); border-radius: 999px; background: var(--lfs-forest); color: white; font-weight: 750; cursor: pointer; }
.lfs-consent button[data-choice='necessary'] { background: transparent; color: var(--lfs-forest); }

@media (max-width: 920px) {
  .lfs-menu-toggle { display: block; justify-self: end; }
  .lfs-header-main { grid-template-columns: 1fr auto auto; gap: .5rem; }
  .lfs-nav { display: none; grid-column: 1 / -1; justify-self: stretch; padding: 0 0 1rem; }
  .lfs-nav.is-open { display: block; }
  .lfs-nav ul { display: grid; gap: 0; }
  .lfs-nav a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--lfs-line); }
  .lfs-search-form input { display: none; }
  .lfs-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .lfs-editorial-grid, .lfs-method { grid-template-columns: 1fr; }
  .lfs-sidebar-note { position: static; }
  .lfs-method__symbol { min-height: 20rem; }
  .lfs-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .lfs-utility__inner span:last-child { display: none; }
  .lfs-brand__tag { display: none; }
  .lfs-brand__historic-logo { height: 3.9rem; }
  .lfs-hero { min-height: 42rem; align-items: end; }
  .lfs-hero__overlay { background: linear-gradient(0deg, rgba(20,28,23,.9), rgba(20,28,23,.22)); }
  .lfs-hero__content { width: 100%; padding: 4rem 0 2.5rem; }
  .lfs-trust-strip__inner { grid-template-columns: 1fr; }
  .lfs-trust-item { border-right: 0; border-bottom: 1px solid var(--lfs-line); }
  .lfs-topic-grid, .lfs-cards { grid-template-columns: 1fr; }
  .lfs-topic { min-height: 13rem; }
  .lfs-footer-grid { grid-template-columns: 1fr; }
  .lfs-footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .lfs-consent, .lfs-actions { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
