/**
 * article.css — locuiestibine.ro
 * Clean editorial reading layout: max 720px, generous spacing, dropcap
 */

:root {
  --lb-terra:      #C1694F;
  --lb-terra-dark: #A0523A;
  --lb-terra-pale: #F0D9D1;
  --lb-forest:     #2C5F4A;
  --lb-forest-pale:#D4E6DF;
  --lb-bg:         #FAF6F1;
  --lb-surface:    #FFFFFF;
  --lb-border:     #E4D9CF;
  --lb-text:       #1E1A17;
  --lb-text-muted: #6B5E54;
  --lb-text-light: #9B8C83;
  --lb-ff-heading: 'DM Serif Display', Georgia, serif;
  --lb-ff-body:    'Inter', system-ui, sans-serif;
  --lb-shadow-sm:  0 1px 3px rgba(30,26,23,.08), 0 1px 2px rgba(30,26,23,.05);
  --lb-shadow-md:  0 4px 12px rgba(30,26,23,.10), 0 2px 4px rgba(30,26,23,.06);
  --lb-shadow-lg:  0 8px 24px rgba(30,26,23,.13), 0 4px 8px rgba(30,26,23,.07);
  --lb-transition: 180ms ease;
  --lb-gap:        24px;
}

.lb-article-wrap { padding: 48px 0 80px; }

.lb-article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}

.lb-article-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.lb-article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  color: var(--lb-text-light);
  margin-bottom: 20px;
}
.lb-article-breadcrumb a { color: var(--lb-terra); transition: opacity 120ms; }
.lb-article-breadcrumb a:hover { opacity: .75; }
.lb-article-breadcrumb-sep { color: var(--lb-border); }

.lb-article-category { display: inline-block; margin-bottom: 16px; }

.lb-article-title {
  font-family: var(--lb-ff-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--lb-text);
  margin-bottom: 18px;
}

.lb-article-lede {
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--lb-text-muted);
  font-style: italic;
  border-left: 3px solid var(--lb-terra);
  padding-left: 18px;
  margin-bottom: 20px;
}

.lb-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .78rem;
  color: var(--lb-text-light);
  padding-bottom: 24px;
  border-bottom: 2px solid var(--lb-text);
}
.lb-article-meta-sep { color: var(--lb-border); }

.lb-article-hero-img-wrap {
  max-width: 720px;
  margin-bottom: 36px;
  background: var(--lb-terra-pale);
  overflow: hidden;
}
.lb-article-hero-img-wrap img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  display: block;
}
.lb-article-img-caption {
  font-size: .72rem;
  color: var(--lb-text-light);
  padding: 8px 0 0;
  font-style: italic;
}

.lb-article-body {
  max-width: 720px;
  font-family: var(--lb-ff-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--lb-text);
}

/* Dropcap */
.lb-article-body > p:first-of-type::first-letter {
  font-family: var(--lb-ff-heading);
  font-size: 4.2em;
  font-weight: 400;
  float: left;
  line-height: .78;
  margin: .04em .1em 0 0;
  color: var(--lb-terra);
}

.lb-article-body p { margin-bottom: 1.45em; }

.lb-article-body h2 {
  font-family: var(--lb-ff-heading);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--lb-text);
  margin: 2.2em 0 .6em;
  line-height: 1.25;
  border-bottom: 1px solid var(--lb-border);
  padding-bottom: .35em;
}

.lb-article-body h3 {
  font-family: var(--lb-ff-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--lb-text);
  margin: 1.8em 0 .5em;
  line-height: 1.3;
}

.lb-article-body h4 {
  font-family: var(--lb-ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lb-text);
  margin: 1.5em 0 .4em;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.lb-article-body ul,
.lb-article-body ol { padding-left: 1.6em; margin-bottom: 1.45em; }
.lb-article-body ul { list-style: disc; }
.lb-article-body ol { list-style: decimal; }
.lb-article-body li { margin-bottom: .4em; }

.lb-article-body strong { font-weight: 700; color: var(--lb-text); }
.lb-article-body em { font-style: italic; }

.lb-article-body a {
  color: var(--lb-terra);
  text-decoration: underline;
  text-decoration-color: var(--lb-terra-pale);
  text-underline-offset: 3px;
  transition: text-decoration-color 120ms;
}
.lb-article-body a:hover { text-decoration-color: var(--lb-terra); }

.lb-article-body blockquote {
  border-left: 4px solid var(--lb-terra);
  margin: 2em 0;
  padding: 18px 24px;
  background: var(--lb-bg);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--lb-text-muted);
}
.lb-article-body blockquote cite {
  display: block;
  font-size: .82rem;
  font-style: normal;
  margin-top: 8px;
  color: var(--lb-text-light);
}

.lb-article-body img { max-width: 100%; height: auto; margin: 1.8em auto; }
.lb-article-body hr { border: none; border-top: 1px solid var(--lb-border); margin: 2.5em 0; }

.lb-article-body .lb-pullquote {
  border: none;
  border-top: 2px solid var(--lb-terra);
  border-bottom: 2px solid var(--lb-terra);
  background: transparent;
  text-align: center;
  font-family: var(--lb-ff-heading);
  font-size: 1.35rem;
  color: var(--lb-terra-dark);
  padding: 24px;
  margin: 2.5em 0;
}

.lb-article-tags {
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
  padding-top: 24px;
  border-top: 1px solid var(--lb-border);
}
.lb-article-tag {
  padding: 4px 12px;
  background: var(--lb-bg);
  border: 1px solid var(--lb-border);
  font-size: .75rem;
  font-weight: 600;
  color: var(--lb-text-muted);
  transition: all 120ms;
}
.lb-article-tag:hover { border-color: var(--lb-terra); color: var(--lb-terra); }

.lb-related { max-width: 720px; margin-top: 56px; }

.lb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lb-related-card {
  background: var(--lb-surface);
  box-shadow: var(--lb-shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--lb-transition);
}
.lb-related-card:hover { box-shadow: var(--lb-shadow-md); }
.lb-related-card:hover .lb-related-img { transform: scale(1.04); }

.lb-related-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--lb-terra-pale);
}
.lb-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lb-transition);
}

.lb-related-body { padding: 14px 16px 18px; }
.lb-related-title {
  font-family: var(--lb-ff-heading);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--lb-text);
  transition: color var(--lb-transition);
}
.lb-related-card:hover .lb-related-title { color: var(--lb-terra); }

.lb-article-sidebar { position: sticky; top: 24px; }

.lb-share {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
  padding: 18px 0;
  border-top: 1px solid var(--lb-border);
  border-bottom: 1px solid var(--lb-border);
}
.lb-share-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lb-text-light);
}
.lb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--lb-surface);
  border: 1.5px solid var(--lb-border);
  color: var(--lb-text-muted);
  transition: all var(--lb-transition);
}
.lb-share-btn:hover { border-color: var(--lb-terra); color: var(--lb-terra); }

@media (max-width: 1024px) {
  .lb-article-layout { grid-template-columns: 1fr; }
  .lb-article-sidebar { position: static; }
  .lb-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .lb-article-title { font-size: 1.6rem; }
  .lb-article-lede { font-size: 1rem; }
  .lb-article-body { font-size: .97rem; }
  .lb-article-body > p:first-of-type::first-letter { font-size: 3.5em; }
  .lb-related-grid { grid-template-columns: 1fr; }
  .lb-share { flex-wrap: wrap; }
}
