/* ТАРА Соматик · общ стил за вътрешните страници (поверителност, условия, ресурси) · бранд кит 4.0, както началната страница */
:root {
  --olive: #918958;
  --burgundy: #6F271F;
  --cream: #D6C9B1;
  --cream-lt: #EFE7DA;
  --ink: #2E1718;
  --display: 'Kurale', Georgia, serif;
  --sans: 'Sofia Sans Semi Condensed', 'Arial Narrow', sans-serif;
  --edge: clamp(20px, 6vw, 88px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream-lt);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.page { max-width: 1180px; margin: 0 auto; padding: 0 var(--edge); }
.read { max-width: 760px; margin: 0 auto; }

/* горна лента */
.cover { background: var(--burgundy); color: var(--cream-lt); }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding: 26px 0; }
.logo { text-decoration: none; display: inline-flex; align-items: baseline; gap: 14px; }
.logo b { font-family: 'Oranienbaum', Georgia, serif; font-weight: 400; font-size: 25px; letter-spacing: .16em; line-height: 1; }
.logo span { font-family: var(--sans); font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--cream); }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 16px; }
.top nav a { text-decoration: none; color: var(--cream); }
.top nav a:hover, .top nav a.go, .top nav a[aria-current] { color: var(--cream-lt); text-decoration: underline; text-underline-offset: 6px; }

/* съдържание */
main { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; color: var(--burgundy); }
h1 { font-size: clamp(34px, 5vw, 56px); margin: 14px 0 12px; }
h2 { font-size: clamp(23px, 2.6vw, 28px); margin: 44px 0 12px; }
h3 { font-size: 22px; margin: 30px 0 8px; }
p + p, p + ul, ul + p { margin-top: 14px; }
ul { padding-left: 1.2em; }
li + li { margin-top: 6px; }
.meta { color: var(--burgundy); font-size: 17px; }
.lead { font-size: 21px; margin-top: 28px; }
.note { margin-top: 18px; padding: 16px 20px; background: var(--cream); font-size: 18px; }
figure { margin: 36px 0; }
figure img { display: block; width: 100%; height: auto; }
.back { display: inline-block; margin-top: 56px; color: var(--burgundy); }

/* списък със статии */
.posts { list-style: none; padding: 0; margin-top: 40px; }
.posts li { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--cream); margin: 0; }
.posts li:last-child { border-bottom: 1px solid var(--cream); }
.posts img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.posts h2 { margin: 4px 0 8px; }
.posts h2 a { text-decoration: none; }
.posts h2 a:hover { text-decoration: underline; }

footer { background: var(--ink); color: var(--cream); font-size: 16px; padding: 30px 0 34px; }
footer .page { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; }
footer p { max-width: 52ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
footer a:hover { color: var(--cream-lt); }

@media (max-width: 860px) {
  body { font-size: 18px; }
}
@media (max-width: 520px) {
  .logo span { display: none; }
  .top nav { gap: 6px 18px; font-size: 15px; }
  .posts li { grid-template-columns: 1fr; gap: 16px; }
  .posts img { aspect-ratio: 16 / 9; }
}
