/* ====================================================
   ARTICLE PAGE — article.css
   Дизайн Клик — Статья: Стили интерьера
   Расширяет guide.css специфичными блоками для статей:
   фотогалереи, цитаты, стиль-карточки, pull-quotes
   ==================================================== */

/* ===== ARTICLE LAYOUT override ===== */
/* article.css подключается вместе с guide.css;
   guide.css даёт nav, hero, footer, modal, sidebar, базовый grid */

/* Статья — чуть шире основной колонки */
.article-main {
  min-width: 0;
}

/* ===== ARTICLE INTRO ===== */
.article-intro {
  background: #fff; border-radius: 12px;
  padding: 36px 40px; margin-bottom: 40px;
  border-left: 4px solid #c36036;
}
.article-intro p {
  font-size: 17px; line-height: 1.8; color: #2a2a2a;
}
.article-intro strong { color: #c36036; }

/* ===== ARTICLE SECTION — аналог guide-step для статей ===== */
.article-section {
  background: #fff; border-radius: 16px;
  padding: 40px; margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.article-section::before {
  content: attr(data-letter);
  position: absolute; top: -12px; right: 24px;
  font-size: 120px; font-weight: 900; line-height: 1;
  color: rgba(195,96,54,0.05); letter-spacing: -0.05em;
  pointer-events: none; user-select: none;
}
.article-section__eyebrow {
  font-size: 11px; font-weight: 700; color: #c36036;
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.article-section__title {
  font-size: 26px; font-weight: 800; color: #141414;
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.article-section__body {
  font-size: 15px; color: #2a2a2a; line-height: 1.8;
}
.article-section__body p { margin-bottom: 16px; }
.article-section__body p:last-child { margin-bottom: 0; }
.article-section__body strong { color: #141414; font-weight: 600; }
.article-section__body a { color: #c36036; text-decoration: underline; text-underline-offset: 3px; }
.article-section__body ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin: 16px 0;
}
.article-section__body ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #2a2a2a; line-height: 1.55;
}
.article-section__body ul li::before {
  content: '';
  flex-shrink: 0; margin-top: 4px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23c36036'/%3E%3Cpath d='M3.5 7l2.5 2.5 4-4' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== HERO PHOTO (для статей — фото вместо видео) ===== */
.hero--photo .hero__photo-main {
  position: absolute; inset: 0;
  background-size: cover; background-position: 70% center;
}

/* ===== PULL QUOTE ===== */
.article-quote {
  margin: 28px 0;
  padding: 28px 32px;
  background: #141414;
  border-radius: 14px;
  position: relative;
}
.article-quote::before {
  content: '\201C';
  position: absolute; top: 12px; left: 24px;
  font-size: 72px; line-height: 1;
  color: #c36036; font-family: Georgia, serif;
  opacity: 0.6;
}
.article-quote__text {
  font-size: 18px; font-weight: 600; color: #fff;
  line-height: 1.6; letter-spacing: -0.01em;
  padding-left: 12px;
}
.article-quote__author {
  margin-top: 14px; padding-left: 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ===== MAIN IMAGE ===== */
.article-img {
  margin: 28px 0;
  border-radius: 14px; overflow: hidden;
  position: relative;
}
.article-img img {
  width: 100%; height: 320px;
  object-fit: cover; display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}
.article-img:hover img { transform: scale(1.02); }
.article-img__caption {
  margin-top: 10px;
  font-size: 12px; color: #999; line-height: 1.5;
  font-style: italic;
}
.article-img--wide img { height: 420px; }
.article-img--tall img { height: 520px; }

/* ===== PHOTO GALLERY (2 или 3 колонки) ===== */
.article-gallery {
  margin: 28px 0;
  display: grid;
  gap: 12px;
}
.article-gallery--2 { grid-template-columns: repeat(2, 1fr); }
.article-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.article-gallery__item {
  border-radius: 12px; overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  background: #f0ece4;
}
.article-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.article-gallery__item:hover img { transform: scale(1.05); }
.article-gallery__caption {
  position: absolute; inset-x: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 20px 14px 12px;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.08em;
  opacity: 0; transition: opacity 0.25s;
}
.article-gallery__item:hover .article-gallery__caption { opacity: 1; }

/* ===== STYLE CARD (большая карточка стиля) ===== */
.article-style-card {
  margin: 28px 0;
  border-radius: 16px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(195,96,54,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.article-style-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.article-style-card__photo {
  width: 100%; height: 340px;
  object-fit: cover; display: block;
}
.article-style-card__body {
  padding: 28px 32px 32px;
}
.article-style-card__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #c36036;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.article-style-card__tag::before {
  content: ''; width: 20px; height: 1px; background: #c36036;
}
.article-style-card__title {
  font-size: 22px; font-weight: 800; color: #141414;
  letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 14px;
}
.article-style-card__desc {
  font-size: 15px; color: #444; line-height: 1.75;
  margin-bottom: 20px;
}
.article-style-card__traits {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.article-style-card__trait {
  background: #faf8f4; border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #f0ece4;
}
.article-style-card__trait-label {
  font-size: 10px; font-weight: 700; color: #c36036;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.article-style-card__trait-value {
  font-size: 13px; font-weight: 600; color: #141414;
  line-height: 1.4;
}

/* ===== COMPARE BLOCK (2 стиля рядом) ===== */
.article-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 20px 0;
}
.article-compare__col {
  background: #faf8f4; border-radius: 12px;
  padding: 20px; border: 1px solid #f0ece4;
}
.article-compare__col--accent {
  background: #fdf6f2; border-color: rgba(195,96,54,0.2);
}
.article-compare__title {
  font-size: 13px; font-weight: 700; color: #141414;
  margin-bottom: 12px;
}
.article-compare__title span {
  display: block; font-size: 10px; font-weight: 600;
  color: #c36036; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 3px;
}
.article-compare__list {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
}
.article-compare__list li {
  font-size: 13px; color: #444; line-height: 1.45;
  padding-left: 16px; position: relative;
}
.article-compare__list li::before {
  content: '—'; position: absolute; left: 0;
  color: #c36036; font-weight: 700;
}

/* ===== PRICE TAG ===== */
.article-price-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 20px 0;
}
.article-price-tag {
  display: inline-flex; flex-direction: column;
  background: #141414; border-radius: 10px;
  padding: 14px 20px; min-width: 140px;
}
.article-price-tag__label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.article-price-tag__value {
  font-size: 20px; font-weight: 800; color: #fff;
  letter-spacing: -0.03em;
}
.article-price-tag__note {
  font-size: 11px; color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

/* ===== INLINE HINT / NOTE ===== */
.article-hint {
  margin: 20px 0;
  background: #fdf6f2; border-radius: 10px;
  border-left: 3px solid #c36036;
  padding: 16px 20px; font-size: 14px; color: #3a2a22; line-height: 1.65;
}
.article-hint__label {
  font-size: 11px; font-weight: 700; color: #c36036;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}
.article-hint strong { font-weight: 600; color: #1a1a1a; }

/* ===== WARN BLOCK ===== */
.article-warn {
  margin: 20px 0;
  background: #f5f1e8; border-radius: 10px;
  border-left: 3px solid #1a1a1a;
  padding: 16px 20px; font-size: 14px; color: #2a2a2a; line-height: 1.65;
}
.article-warn__label {
  font-size: 11px; font-weight: 700; color: #1a1a1a;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}

/* ===== FEATURE LIST WITH ICONS ===== */
.article-features {
  display: flex; flex-direction: column; gap: 0;
  margin: 20px 0;
}
.article-feature {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0ece4;
}
.article-feature:last-child { border-bottom: none; }
.article-feature__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(195,96,54,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #c36036;
}
.article-feature__text {}
.article-feature__title {
  font-size: 14px; font-weight: 700; color: #141414;
  margin-bottom: 3px;
}
.article-feature__desc { font-size: 13px; color: #666; line-height: 1.55; }

/* ===== CHECKLIST ===== */
.article-checklist {
  display: flex; flex-direction: column; gap: 8px;
  margin: 16px 0;
}
.article-checklist__item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #faf8f4; border-radius: 8px;
  padding: 10px 14px; font-size: 14px; color: #2a2a2a; line-height: 1.5;
}
.article-checklist__item::before {
  content: '';
  flex-shrink: 0; margin-top: 3px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23c36036'/%3E%3Cpath d='M4.5 8l2.5 2.5 4-4.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== BRAND CHIPS ===== */
.article-brands {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0;
}
.article-brand {
  display: inline-block;
  background: #fff; border: 1.5px solid #e8e3d8;
  border-radius: 20px; padding: 5px 14px;
  font-size: 13px; font-weight: 500; color: #333;
  transition: border-color 0.2s, color 0.2s;
}
.article-brand:hover { border-color: #c36036; color: #c36036; }

/* ===== SECTION DIVIDER ===== */
.article-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 36px 0;
}
.article-divider::before,
.article-divider::after {
  content: ''; flex: 1; height: 1px; background: #e8e3d8;
}
.article-divider__text {
  font-size: 11px; font-weight: 700; color: #c36036;
  text-transform: uppercase; letter-spacing: 0.15em;
  white-space: nowrap;
}

/* ===== SUMMARY / ИТОГИ ===== */
.article-summary {
  background: #141414; border-radius: 16px;
  padding: 40px; margin-bottom: 32px;
}
.article-summary__title {
  font-size: 22px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.article-summary__list {
  display: flex; flex-direction: column; gap: 12px;
}
.article-summary__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6;
}
.article-summary__item::before {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23c36036'/%3E%3Cpath d='M3.5 7l2.5 2.5 4-4' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  align-self: start;
}
.article-summary__item strong { color: #fff; font-weight: 700; }

/* ===== SIDEBAR TOC для статьи ===== */
/* Наследуется от guide.css .guide-toc / .guide-sidebar-cta / .guide-info-card */
/* Специфичный override для label "О статье" */
.article-info-label {
  font-size: 13px; font-weight: 700; color: #888;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #f0ece4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .article-style-card__traits { grid-template-columns: 1fr; }
  .article-gallery--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* guide.css already handles .guide-layout → single column */
  .article-gallery--2,
  .article-gallery--3 { grid-template-columns: 1fr; }
  .article-compare { grid-template-columns: 1fr; }
  .article-style-card__photo { height: 240px; }
  .article-img img { height: 220px; }
  .article-img--wide img { height: 260px; }
  .article-img--tall img { height: 320px; }
  .article-quote__text { font-size: 16px; }
}

@media (max-width: 600px) {
  .article-section { padding: 28px 22px; }
  .article-intro { padding: 24px; }
  .article-style-card__body { padding: 22px; }
  .article-price-row { flex-direction: column; }
  .article-price-tag { min-width: unset; }
}
