/* Rehber (guides) — editorial index + reading experience.
   Token-driven; reuses the site's own devices (Fraunces italic + coral em,
   forest bands, data-reveal motion, the fish motif). Loaded only by
   rehber*.html. */

/* ---------- Index ---------- */

.rehber-index {
  padding-top: clamp(7rem, 5rem + 6vw, 10rem);
}

.rehber-index__head {
  max-width: 64ch;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.rehber-index__head h1 {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: var(--text-h2);
  line-height: 1.08;
  color: var(--forest);
  margin-bottom: var(--s-2);
  max-width: none;
}

.rehber-index__head h1 em {
  font-style: italic;
  color: var(--coral);
}

.rehber-index__lead {
  color: var(--ink-soft);
  font-size: var(--text-lg);
  max-width: 56ch;
}

/* Featured (newest) post — the section's forest peak */

.rehber-feature {
  position: relative;
  display: block;
  background: var(--forest);
  color: var(--cream);
  border-radius: 26px;
  padding: clamp(1.8rem, 1.4rem + 2.4vw, 3.4rem);
  text-decoration: none;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rehber-feature:hover,
.rehber-feature:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(22, 48, 41, 0.28);
}

.rehber-feature__meta {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mustard-bright);
  margin-bottom: var(--s-2);
}

.rehber-feature h2 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 470;
  font-size: var(--text-h2);
  line-height: 1.1;
  color: var(--cream);
  max-width: 21ch;
  margin-bottom: var(--s-2);
}

.rehber-feature__teaser {
  color: rgba(251, 246, 236, 0.82);
  font-size: var(--text-base);
  max-width: 58ch;
  margin-bottom: var(--s-3);
}

.rehber-feature .btn {
  pointer-events: none; /* whole panel is the link */
}

.rehber-feature__fish {
  position: absolute;
  top: clamp(1.2rem, 1rem + 1.5vw, 2.4rem);
  right: clamp(1.2rem, 1rem + 1.5vw, 2.4rem);
  width: clamp(40px, 34px + 2vw, 64px);
  height: auto;
  transform: rotate(-10deg);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rehber-feature:hover .rehber-feature__fish {
  transform: rotate(-2deg) translateX(6px);
}

/* Editorial rows — a contents page, not a card grid */

.rehber-rows {
  margin: clamp(2rem, 1.6rem + 1.6vw, 3.2rem) 0 var(--s-8);
  border-top: 1px solid var(--line);
}

.rehber-row {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: baseline;
  padding: clamp(1.4rem, 1.2rem + 1vw, 2.1rem) var(--s-2);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 200ms ease;
}

.rehber-row:hover,
.rehber-row:focus-visible {
  background: var(--cream-warm);
}

.rehber-row__meta {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mustard-ink);
}

.rehber-row h2 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 470;
  font-size: var(--text-h3);
  line-height: 1.16;
  color: var(--forest);
  max-width: none;
  margin-bottom: 0.35rem;
  transition: color 200ms ease;
}

.rehber-row:hover h2 {
  color: var(--coral-deep);
}

.rehber-row p {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

.rehber-row__arrow {
  align-self: center;
  color: var(--coral-deep);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rehber-row__arrow svg {
  width: 26px;
  height: 26px;
  display: block;
}

.rehber-row:hover .rehber-row__arrow,
.rehber-row:focus-visible .rehber-row__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 760px) {
  .rehber-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .rehber-row__arrow {
    display: none;
  }
}

/* ---------- Article ---------- */

.post {
  padding-top: clamp(7rem, 5rem + 6vw, 10rem);
}

.post__header {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 1.6rem + 1.6vw, 3rem);
}

.post__header h1 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 470;
  font-size: var(--text-h2);
  line-height: 1.06;
  color: var(--forest);
  margin-bottom: var(--s-2);
  max-width: none;
}

.post__meta {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mustard-ink);
  margin-bottom: var(--s-3);
}

.post__lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}

.post__body {
  max-width: 68ch;
  padding-bottom: var(--s-6);
}

.post__body h2 {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: var(--text-h3);
  color: var(--forest);
  max-width: none;
  margin: clamp(2.2rem, 1.8rem + 1.6vw, 3.4rem) 0 var(--s-2);
}

.post__body p {
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}

.post__body ul {
  padding-left: 1.35rem;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}

.post__body li {
  margin-bottom: 0.45rem;
}

.post__body li::marker {
  color: var(--coral);
}

.post__body strong {
  color: var(--ink);
}

/* Drop cap on the opening paragraph — Fraunces earns it */

.post__opener::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.1em;
  line-height: 0.82;
  float: left;
  color: var(--forest);
  padding: 0.06em 0.14em 0 0;
}

/* Pull-quote — forest band that breaks the column */

.post__quote {
  position: relative;
  background: var(--forest);
  border-radius: 22px;
  padding: clamp(1.6rem, 1.3rem + 1.5vw, 2.6rem);
  margin: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem) 0;
  overflow: hidden;
}

.post__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 470;
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
  max-width: 44ch;
}

.post__quote img {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 34px;
  height: auto;
  transform: rotate(-10deg);
}

@media (max-width: 640px) {
  .post__quote img {
    display: none;
  }
}

@media (min-width: 1100px) {
  .post__quote {
    width: calc(100% + 9rem);
    margin-left: -4.5rem;
  }

  .post__quote p {
    margin-inline: auto;
  }
}

/* Closing: CTA + circulation */

.post__cta {
  border-top: 1px solid var(--line);
  margin-top: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem);
  padding-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  justify-content: space-between;
}

.post__cta p {
  margin: 0;
  color: var(--ink-soft);
}

.post__next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: center;
  margin: var(--s-5) 0 var(--s-7);
  padding: clamp(1.3rem, 1.1rem + 1vw, 1.9rem) var(--s-3);
  background: var(--cream-warm);
  border-radius: 18px;
}

.post__next-link {
  text-decoration: none;
  min-width: 0;
}

.post__next-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mustard-ink);
  margin-bottom: 0.3rem;
}

.post__next-title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: var(--text-h3);
  line-height: 1.2;
  color: var(--forest);
  transition: color 200ms ease;
}

.post__next-link:hover .post__next-title,
.post__next-link:focus-visible .post__next-title {
  color: var(--coral-deep);
}

.post__all {
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.post__all:hover,
.post__all:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .post__next {
    grid-template-columns: 1fr;
  }
}
