/* =========================================================
   Vajgar Wellness Loft – blog (doplněk k style.css)
   ========================================================= */

/* ---------- Úvodní pás stránky ---------- */
.page-hero {
  position: relative;
  min-height: clamp(440px, 46vw, 640px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--white);
  isolation: isolate;
  text-align: center;
}
.page-hero .hero-media {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0,0,0,.5) 76%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0,0,0,.5) 76%, transparent 98%);
}
.page-hero .hero-media::after {
  background:
    linear-gradient(to bottom, rgba(28, 16, 9, .6) 0%, rgba(28, 16, 9, .15) 30%, rgba(28, 16, 9, 0) 45%),
    radial-gradient(60% 42% at 50% 70%, rgba(30, 17, 9, .78) 0%, rgba(30, 17, 9, .3) 65%, rgba(30, 17, 9, 0) 100%);
}
.page-hero-content {
  width: min(900px, calc(100% - 2 * var(--gutter)));
  padding: 140px 0 clamp(26px, 3vw, 44px);
}
.page-hero .hero-eyebrow { margin-bottom: clamp(14px, 1.4vw, 20px); }
.page-title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(20, 10, 4, .45);
}
.page-meta {
  margin-top: clamp(14px, 1.4vw, 20px);
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: .06em;
  opacity: .92;
}
.page-meta span { margin: 0 .6em; opacity: .7; }

/* ---------- Článek ---------- */
.article {
  width: min(760px, calc(100% - 2 * var(--gutter)));
  margin: clamp(30px, 4vw, 60px) auto 0;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
}
.article p + p { margin-top: 1.1em; }
.article .lead {
  font-family: var(--f-display);
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.45;
  color: var(--ink);
}
.article h2 {
  position: relative;
  margin: 1.9em 0 .6em;
  padding-top: 22px;
  font-family: var(--f-serif);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.1;
  color: var(--ink);
}
.article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--copper);
}
.article-figure { margin: clamp(30px, 3.4vw, 48px) 0; }
.article-figure img {
  width: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 18px 40px -22px rgba(60, 30, 10, .55);
}
.article-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--copper);
  letter-spacing: .03em;
}
.article-figure.wide {
  width: min(1040px, calc(100vw - 2 * var(--gutter)));
  margin-left: 50%;
  transform: translateX(-50%);
}
.article-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.2vw, 16px);
}
.article-pair img { aspect-ratio: 3 / 4; object-fit: cover; height: 100%; }

.article-quote {
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid var(--copper-soft);
  border-bottom: 1px solid var(--copper-soft);
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}
.article-sign {
  margin-top: 18px;
  text-align: right;
  font-family: var(--f-display);
  font-style: italic;
  color: var(--copper);
}

/* ---------- Výzva k rezervaci ---------- */
.article-cta {
  width: min(1040px, calc(100% - 2 * var(--gutter)));
  margin: clamp(48px, 6vw, 90px) auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 40px;
  padding: clamp(24px, 3vw, 40px) clamp(22px, 3.4vw, 48px);
  background: var(--cream-light);
  border: 1px solid rgba(201, 154, 85, .55);
  border-radius: 16px;
}
.article-cta h2 { font-family: var(--f-serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
.article-cta p { margin-top: 8px; color: var(--ink-soft); }
.article-cta .btn-dark { font-size: clamp(16px, 1.3vw, 19px); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: clamp(28px, 3vw, 40px);
  color: var(--copper);
  font-size: 16px;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Přehled článků ---------- */
.blog-list {
  width: min(1100px, calc(100% - 2 * var(--gutter)));
  margin: clamp(30px, 4vw, 60px) auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border: 1px solid rgba(201, 154, 85, .5);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(60, 30, 10, .6); }
.post-card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); font-weight: 500; }
.post-card h2 { margin-top: 10px; font-family: var(--f-serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.12; color: var(--ink); }
.post-card p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.post-card-more { margin-top: auto; padding-top: 18px; color: var(--copper); font-size: 16px; }

.blog-footer-space { height: clamp(40px, 5vw, 80px); }

@media (max-width: 640px) {
  .page-hero { min-height: 480px; }
  .article-cta { grid-template-columns: 1fr; }
  .article-cta .btn { justify-self: start; }
  .article-figure.wide { width: 100%; margin-left: 0; transform: none; }
}

/* ---------- Odkazy v textu a box s tipem ---------- */
.text-link { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }
.gym-box {
  margin: clamp(28px, 3vw, 40px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px);
  background: var(--footer);
  color: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 40px -24px rgba(40, 20, 8, .7);
}
.gym-box-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--glow); font-weight: 500; }
.gym-box-title { margin-top: 4px; font-family: var(--f-serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.gym-box-info { margin-top: 6px; font-size: 15px; opacity: .85; }
.gym-box-info span { margin: 0 .4em; }
.gym-box .btn-dark { background: rgba(255, 248, 239, .06); font-size: clamp(16px, 1.3vw, 18px); }
.gym-box .btn-dark:hover { background: rgba(244, 195, 91, .14); }

/* ---------- Menší fotky v článku + zvětšení po kliknutí ---------- */
.article-figure a[data-zoom] { display: block; position: relative; cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.article-figure a[data-zoom] img { transition: transform .5s ease; }
.article-figure a[data-zoom]:hover img { transform: scale(1.03); }
.article-figure a[data-zoom]::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(30, 18, 10, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff8ef' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 15px no-repeat;
  opacity: 0;
  transition: opacity .3s;
}
.article-figure a[data-zoom]:hover::after { opacity: 1; }
.article-pair { max-width: 600px; margin-inline: auto; }
.article-pair a[data-zoom] { height: 100%; }
.article-figure.wide { width: 100%; margin-left: 0; transform: none; }
.article-figure figcaption { text-align: center; }
.article-cover { margin-top: 0; }

/* úvodní pás s rozmazanou atmosférou (fotka je pak ostře pod nadpisem) */
.page-hero--ambient { min-height: clamp(380px, 34vw, 480px); }
.page-hero--ambient .hero-img { filter: blur(18px) saturate(1.15); transform: scale(1.12); }

/* trojice fotek */
.article-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 14px);
  max-width: 720px;
  margin-inline: auto;
}
.article-trio a[data-zoom] { height: 100%; }
.article-trio img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Tipy na podniky (článek Hradec podle chuti) ---------- */
.article .h2-num { display: block; margin-bottom: 6px; font-family: var(--f-sans, inherit); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.place { margin-top: clamp(22px, 2.4vw, 32px); }
.place h3 { font-family: var(--f-serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; color: var(--ink); margin-bottom: .2em; }
.place-sub { display: block; font-size: 15px; font-style: italic; opacity: .75; margin-bottom: .55em; }
.place-src { margin-top: .5em !important; font-size: 13px; letter-spacing: .02em; opacity: .7; }
.place-src a { color: inherit; text-underline-offset: 3px; }
.article-note { margin-top: 2em !important; padding: 14px 18px; border-left: 3px solid var(--copper); font-size: 15px; opacity: .85; }
