/* ============================================================
   Добрый Волк — страница статьи блога
   ============================================================ */

/* ---------- article header ---------- */
.a-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,246,238,0.94); backdrop-filter: blur(0.625rem);
  box-shadow: 0 1px 0 var(--gray-line), 0 0.375rem 1.5rem rgba(31,30,27,0.05);
}
.a-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.a-header .brand { color: var(--pine); }
.a-header .brand__mark { width: 3.25rem; height: 2.75rem; }
.a-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9063rem; font-weight: 500; color: #4a473f; transition: gap .2s var(--ease), color .2s var(--ease); }
.a-back svg { width: 1.0625rem; height: 1.0625rem; transition: transform .2s var(--ease); }
.a-back:hover { color: var(--pine); }
.a-back:hover svg { transform: translateX(-3px); }
.a-header__cta { display: flex; align-items: center; gap: 1.125rem; }

/* ---------- hero ---------- */
.a-hero { position: relative; min-height: 35rem; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.a-hero__bg { position: absolute; inset: 0; }
.a-hero__bg .ph { width: 100%; height: 100%; border-radius: 0; }
.a-hero__bg .ph svg { width: 2.5rem; height: 2.5rem; opacity: .35; }
.a-hero__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,33,12,0.35) 0%, rgba(24,33,12,0.12) 35%, rgba(20,28,10,0.55) 70%, rgba(18,25,8,0.92) 100%); }
.a-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 8.125rem; padding-bottom: 3.375rem; }
.a-crumbs { display: flex; align-items: center; gap: 0.5625rem; font-size: 0.8125rem; color: rgba(255,255,255,0.75); margin-bottom: 1.375rem; flex-wrap: wrap; }
.a-crumbs a { color: rgba(255,255,255,0.75); transition: color .2s var(--ease); }
.a-crumbs a:hover { color: var(--honey); }
.a-crumbs svg { width: 0.875rem; height: 0.875rem; opacity: .6; }
.a-kicker { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--honey); margin-bottom: 1rem; }
.a-hero h1 { color: #fff; font-size: 4.25rem; line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; margin-bottom: 1.5rem; text-shadow: 0 2px 1.875rem rgba(0,0,0,0.3); }
.a-meta { display: flex; flex-wrap: wrap; gap: 0.625rem 0.75rem; }
.a-meta__chip { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); padding: 0.5rem 0.9375rem; border-radius: 6.25rem; backdrop-filter: blur(0.375rem); }
.a-meta__chip svg { width: 1rem; height: 1rem; color: var(--honey); }

/* ---------- body ---------- */
.a-body { padding: 4rem 0 1.25rem; }
.a-col { max-width: 45rem; margin: 0 auto; }
.a-lead { font-family: var(--serif); font-size: 1.5625rem; line-height: 1.45; color: var(--pine); font-style: italic; margin: 0 0 2.375rem; padding-bottom: 2.125rem; border-bottom: 1px solid var(--gray-line); text-wrap: pretty; }
.a-col p { font-size: 1.125rem; line-height: 1.72; color: #36342c; margin: 0 0 1.5rem; }
.a-col h2 { font-size: 1.9375rem; margin: 2.875rem 0 1.125rem; }
.a-col h2::before { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--honey); border-radius: 2px; margin-bottom: 1.125rem; }

.a-quote { margin: 2.5rem 0; padding: 0.25rem 0 0.25rem 1.75rem; border-left: 3px solid var(--honey); }
.a-quote p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--pine); font-style: italic; margin: 0 0 0.75rem; }
.a-quote cite { font-style: normal; font-family: var(--mono); font-size: 0.7813rem; letter-spacing: .04em; color: var(--gray); }

.a-tips { background: var(--cream-card); border: 1px solid var(--gray-line); border-radius: var(--r-card); padding: 1.75rem 1.875rem; margin: 2.5rem 0; box-shadow: var(--shadow-soft); }
.a-tips__title { display: flex; align-items: center; gap: 0.625rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--pine); margin-bottom: 1.125rem; }
.a-tips__title svg { width: 1.3125rem; height: 1.3125rem; color: var(--honey-600); }
.a-tips ul { display: flex; flex-direction: column; gap: 0.75rem; }
.a-tips li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; color: #3a382f; line-height: 1.5; }
.a-tips li svg { width: 1.1875rem; height: 1.1875rem; color: var(--pine); flex-shrink: 0; margin-top: 2px; }

.a-info { background: var(--pine); color: #f1ede1; border-radius: var(--r-card); padding: 1.75rem 1.875rem; margin: 2.5rem 0; }
.a-info__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.a-info__row { display: flex; justify-content: space-between; gap: 1.125rem; padding: 0.6875rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.9688rem; }
.a-info__row:last-child { border-bottom: none; }
.a-info__row span:first-child { color: rgba(255,255,255,0.7); }
.a-info__row span:last-child { color: #fff; font-weight: 500; text-align: right; }

/* location photos — large figures that break out wider than the text column */
.a-figure { width: 100%; margin: 3.25rem 0; }
.a-figure__photo { width: 100%; height: auto; display: block; border-radius: var(--r-md); }
.a-figure .ph { width: 100%; aspect-ratio: 3/2; border-radius: var(--r-md); overflow: hidden; }
.a-figure .ph svg { width: 2.25rem; height: 2.25rem; opacity: .4; }
.a-figure .ph__tag { max-width: 34ch; opacity: .7; }

/* ---------- cta banner ---------- */
.a-cta { margin: 1.875rem auto 0; max-width: 60rem; }
.a-cta__inner { position: relative; overflow: hidden; border-radius: 1.125rem; background: var(--pine-900); color: #fff; padding: 3rem 3.125rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.a-cta__inner::after { content: ""; position: absolute; right: -3.75rem; top: -3.75rem; width: 15rem; height: 15rem; border-radius: 50%; background: radial-gradient(circle, rgba(232,165,71,0.22), transparent 70%); }
.a-cta h3 { color: #fff; font-size: 1.875rem; margin-bottom: 0.5rem; }
.a-cta p { color: rgba(255,255,255,0.78); font-size: 1rem; margin: 0; max-width: 44ch; }
.a-cta__act { position: relative; z-index: 2; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- related ---------- */
.a-related { padding: 5rem 0; }
.a-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; flex-wrap: wrap; }
.a-related__head h2 { font-size: 2rem; }
.a-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.rel-card { background: var(--cream-card); border: 1px solid var(--gray-line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .3s var(--ease); }
.rel-card:hover { transform: translateY(-0.3125rem); box-shadow: var(--shadow-lift); }
.rel-card__media { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.rel-card__media .ph { position: absolute; inset: 0; border-radius: 0; }
.rel-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.rel-card:hover .rel-card__photo { transform: scale(1.05); }
.rel-card__kicker { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; font-family: var(--mono); font-size: 0.625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pine-900); background: var(--honey); padding: 0.3125rem 0.625rem; border-radius: 6.25rem; }
.rel-card__body { padding: 1.25rem 1.375rem 1.375rem; display: flex; flex-direction: column; flex: 1; }
.rel-card__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--pine); margin-bottom: 0.4375rem; line-height: 1.15; }
.rel-card__excerpt { font-size: 0.875rem; line-height: 1.55; color: #5c594f; margin: 0 0 1rem; }
.rel-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4375rem; font-size: 0.875rem; font-weight: 600; color: var(--pine); }
.rel-card__more svg { width: 0.9375rem; height: 0.9375rem; transition: transform .2s var(--ease); }
.rel-card:hover .rel-card__more svg { transform: translateX(3px); }

@media (max-width: 1024px) {
  .a-related__grid { grid-template-columns: repeat(2, 1fr); }
  .a-related__grid .rel-card:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .a-hero { min-height: 460px; }
  .a-hero__inner { padding-top: 104px; padding-bottom: 40px; }
  .a-hero h1 { font-size: clamp(26px, 7vw, 40px); }
  .a-col h2 { font-size: 22px; }
  .a-lead { font-size: 19px; }
  .a-col p { font-size: 16.5px; }
  .a-figure { margin: 2rem 0; }
  .a-related__grid { grid-template-columns: 1fr; }
  .a-related__grid .rel-card:nth-child(3) { display: flex; }
  .a-cta__inner { padding: 30px 24px; }
  .a-cta h3 { font-size: 25px; }
  .a-back span, .a-header .a-back { display: none; }
  .a-body { padding: 44px 0 16px; }
  .a-related { padding: 56px 0; }
}
