/* ════════════════════════════════════════════════════════════════
   color-combos.css
   Стили для страниц "Сочетания цветов" (8 страниц): sochetaniya-cvetov,
   baza-i-akcent, monohrom, kontrastnye-sochetaniya, tri-cveta-v-obraze,
   cvetovye-pary, yarkie-cveta, neytralnye-cveta.
   Вынесены из inline-style cvet-bezhevyi.html для переиспользования.
   ════════════════════════════════════════════════════════════════ */

/* ── Hero (двухколоночник с фото справа) ─────────────────── */
.color-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:center;
  padding:0 40px 16px;
}
.color-hero-grid h1{
  font-family:Georgia,serif;
  font-size:clamp(34px,3.8vw,50px);
  font-weight:520;
  line-height:1.04;
  margin:0 0 18px;
}
.color-hero-grid .lead{
  font-size:16.5px;
  color:var(--muted);
  line-height:1.65;
  margin:0 0 20px;
  max-width:560px;
}
.color-hero-grid .lead b{color:var(--ink);font-weight:660;}
.color-hero-grid .hero-tags{display:flex;flex-wrap:wrap;gap:8px;}
.color-hero-grid .hero-tags a{
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(189,139,46,.12);
  color:#8a6218;
  text-decoration:none;
  font-weight:660;
  letter-spacing:.02em;
}
.color-hero-photo{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 18px 46px rgba(17,17,17,.12);
  aspect-ratio:4/5;
}
.color-hero-photo img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:50% 38%;
  display:block;
}
.color-hero-photo .photo-source{
  position:absolute;right:10px;bottom:10px;
  font-size:11px;color:#fff;
  background:rgba(0,0,0,.5);
  padding:3px 8px;border-radius:999px;
  text-decoration:none;
}

/* ── История: timeline + иллюстрация (2 колонки) ────────── */
.history-block{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:36px;
  align-items:start;
}
.timeline-compact{display:grid;gap:0;}
.moment-compact{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:18px;
  padding:18px 0;
  border-bottom:1px solid rgba(17,17,17,.08);
}
.moment-compact:last-child{border-bottom:none;}
.moment-compact .year{
  font-family:Georgia,serif;
  font-style:italic;
  font-size:16px;
  color:#bd8b2e;
  letter-spacing:.04em;
}
.moment-compact p{
  font-size:14.5px;
  line-height:1.65;
  color:#1a1a1a;
  margin:0;
}
.moment-compact p b{color:var(--ink);font-weight:660;}

.museum-compact{
  border-radius:var(--radius);
  overflow:hidden;
  background:#fffaf0;
  box-shadow:0 14px 38px rgba(17,17,17,.09);
}
.museum-compact img{
  width:100%;display:block;
  aspect-ratio:4/5;
  object-fit:cover;
  background:#fffaf0;
}
.museum-compact figcaption{
  padding:10px 14px 14px;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

/* ── Эссе (вступление, переходы между секциями) ───────── */
.essay{max-width:860px;}
.essay p{
  font-size:15.5px;
  line-height:1.7;
  color:#1a1a1a;
  margin:0 0 16px;
}
.essay p b{color:var(--ink);font-weight:660;}
.essay p:last-child{margin-bottom:0;}

/* ── Луксовая сетка (3 карточки с иллюстрацией сверху) ── */
.luxe-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.luxe-card{
  display:flex;
  flex-direction:column;
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(17,17,17,.07);
}
.luxe-card figure{
  margin:0;
  aspect-ratio:4/3;
  background:#fffaf0;
  overflow:hidden;
}
.luxe-card figure img{
  width:100%;height:100%;
  object-fit:contain;
  display:block;
}
.luxe-card .body{padding:20px 22px 22px;}
.luxe-card h3{
  font-family:Georgia,serif;
  font-size:20px;
  font-weight:520;
  line-height:1.15;
  margin:0 0 10px;
  color:var(--ink);
}
.luxe-card p{
  font-size:14px;
  color:#1a1a1a;
  line-height:1.65;
  margin:0;
}
.luxe-card p b{color:var(--ink);font-weight:660;}

/* ── Мини-урок (компактные карточки с номером) ────────── */
.lesson-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.lesson-point{
  padding:20px 22px;
  border-radius:var(--radius);
  background:#fffaf0;
  border-left:3px solid #bd8b2e;
}
.lesson-point .l-num{
  font-family:Georgia,serif;
  font-style:italic;
  font-size:13px;
  color:#bd8b2e;
  letter-spacing:.06em;
  display:block;
  margin-bottom:6px;
}
.lesson-point h4{
  font-family:Georgia,serif;
  font-size:16.5px;
  font-weight:520;
  margin:0 0 6px;
  color:#1a1a1a;
  line-height:1.2;
}
.lesson-point p{
  font-size:13.5px;
  line-height:1.6;
  color:#1a1a1a;
  margin:0;
}
.lesson-point p b{color:var(--ink);font-weight:660;}

/* ── Формулы образов (3-4 карточки 50/50) ─────────────── */
.combo-formulas{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.combo-formula{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:0;
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(17,17,17,.07);
}
.combo-formula figure{margin:0;aspect-ratio:4/5;overflow:hidden;background:#fffaf0;position:relative;}
.combo-formula figure img{width:100%;height:100%;object-fit:cover;display:block;}
.combo-formula figure .photo-source{
  position:absolute;right:8px;bottom:8px;
  font-size:10.5px;color:#fff;
  background:rgba(0,0,0,.5);
  padding:2px 7px;border-radius:999px;
}
.combo-formula .body{padding:22px 24px;display:flex;flex-direction:column;gap:10px;}
.combo-formula .body h3{
  font-family:Georgia,serif;
  font-size:18px;
  font-weight:520;
  line-height:1.2;
  margin:0;
  color:#1a1a1a;
}
.combo-formula .body p{
  font-size:13.5px;
  line-height:1.6;
  color:#1a1a1a;
  margin:0;
}
.combo-formula .body ul{
  margin:4px 0 0;
  padding-left:18px;
  font-size:13px;
  color:#1a1a1a;
  line-height:1.65;
}
.combo-formula .body ul li b{color:var(--ink);font-weight:660;}

/* ── Ошибки и предупреждения ───────────────────────── */
.mistakes-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.mistake-card{
  padding:20px 22px;
  border-radius:var(--radius);
  background:#fff;
  border:1px solid rgba(17,17,17,.08);
  border-left:3px solid #c0473b;
}
.mistake-card h4{
  font-family:Georgia,serif;
  font-size:16px;
  font-weight:520;
  margin:0 0 6px;
  color:#1a1a1a;
}
.mistake-card p{
  font-size:13.5px;
  line-height:1.6;
  color:#1a1a1a;
  margin:0;
}
.mistake-card p b{color:var(--ink);font-weight:660;}

/* ── Footer (next-compact, как на cvet-bezhevyi) ───── */
.combo-next-compact{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.combo-next-compact a{
  display:block;
  padding:22px 24px;
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 6px 18px rgba(17,17,17,.07);
  text-decoration:none;
  color:var(--ink);
  transition:box-shadow .2s,transform .2s;
}
.combo-next-compact a:hover{
  box-shadow:0 14px 36px rgba(17,17,17,.12);
  transform:translateY(-2px);
}
.combo-next-compact .label{
  font-size:10.5px;
  font-weight:780;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#bd8b2e;
  margin-bottom:6px;
}
.combo-next-compact h4{
  font-family:Georgia,serif;
  font-size:17px;
  font-weight:520;
  line-height:1.15;
  margin:0 0 6px;
}
.combo-next-compact p{
  font-size:12.5px;
  color:var(--muted);
  line-height:1.55;
  margin:0;
}

/* ── Адаптив ────────────────────────────────────────── */
@media(max-width:1100px){
  .luxe-grid,.lesson-points,.combo-next-compact{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:960px){
  .color-hero-grid{grid-template-columns:1fr;padding:0 24px 8px;}
  .color-hero-photo{aspect-ratio:5/4;}
  .history-block{grid-template-columns:1fr;}
  .combo-formulas,.mistakes-grid{grid-template-columns:1fr;}
}
@media(max-width:700px){
  .luxe-grid,.lesson-points,.combo-next-compact{grid-template-columns:1fr;}
  .combo-formula{grid-template-columns:1fr;}
  .combo-formula figure{aspect-ratio:5/3;}
}
