/*
Theme Name: Natalie Lament
Theme URI: https://www.natalie-lament.de/
Author: OpenAI Codex
Description: WordPress-Theme fuer Natalie Lament mit Startseite samt Titelbild, Video-Galerie und eigenstaendigem Buehnen-Look.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: natalie-lament
*/

:root {
  --sv-pearl: #f7f3ec;
  --sv-shell: #efe4d6;
  --sv-apricot: #e8a47e;
  --sv-coral: #cb6f5b;
  --sv-teal: #2f5d62;
  --sv-deep: #16343b;
  --sv-ink: #1d2529;
  --sv-shadow: 0 24px 70px rgba(23, 43, 49, 0.16);
  --sv-radius-xl: 32px;
  --sv-radius-lg: 22px;
  --sv-radius-md: 16px;
  --sv-content-width: min(1120px, calc(100vw - 3rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--sv-ink);
  background:
    radial-gradient(circle at top left, rgba(232, 164, 126, 0.32), transparent 34%),
    radial-gradient(circle at right bottom, rgba(47, 93, 98, 0.18), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, var(--sv-pearl) 52%, #f3ede6 100%);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sv-site {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.sv-site::before,
.sv-site::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.38;
  pointer-events: none;
  z-index: -1;
}

.sv-site::before {
  top: -7rem;
  left: -8rem;
  background: rgba(229, 147, 106, 0.48);
}

.sv-site::after {
  right: -9rem;
  bottom: -10rem;
  background: rgba(56, 112, 118, 0.22);
}

.sv-container {
  width: var(--sv-content-width);
  margin: 0 auto;
}

.sv-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 251, 245, 0.82);
  border-bottom: 1px solid rgba(22, 52, 59, 0.08);
}

.sv-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 102px;
  padding: 0.35rem 0;
}

.sv-branding {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.sv-branding img {
  width: 280px;
  max-width: min(34vw, 280px);
  height: auto;
}

.sv-branding__logo-image {
  object-fit: contain;
}

.sv-branding__wordmark {
  display: grid;
  gap: 0.1rem;
}

.sv-branding__kicker {
  color: var(--sv-teal);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sv-branding__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sv-nav {
  justify-self: center;
}

.sv-header__aside {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 0.55rem;
}

.sv-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sv-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sv-nav a:hover,
.sv-nav .current-menu-item > a,
.sv-nav .current_page_item > a {
  background: rgba(47, 93, 98, 0.11);
  color: var(--sv-deep);
  transform: translateY(-1px);
}

.sv-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.sv-social__link,
.sv-social__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
}

.sv-social__link {
  width: 40px;
  color: #fff;
  background: linear-gradient(155deg, var(--sv-deep), var(--sv-teal));
  box-shadow: 0 12px 26px rgba(22, 52, 59, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.sv-social__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(22, 52, 59, 0.26);
}

.sv-social__badge {
  padding: 0 0.95rem;
  color: var(--sv-deep);
  background: rgba(47, 93, 98, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
}

.sv-social__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sv-yoyo-link {
  display: inline-flex;
  justify-content: flex-end;
  max-width: 156px;
}

.sv-yoyo-link__image {
  width: 100%;
  max-width: 156px;
  height: auto;
  object-fit: contain;
}

.sv-main {
  padding: 1.5rem 0 4rem;
}

.sv-hero {
  position: relative;
  width: var(--sv-content-width);
  margin: 0 auto 2rem;
  min-height: min(78vh, 880px);
  border-radius: clamp(24px, 3vw, 42px);
  overflow: hidden;
  box-shadow: var(--sv-shadow);
  isolation: isolate;
}

.sv-hero--plain {
  min-height: auto;
  background: rgba(255, 252, 248, 0.88);
}

.sv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 52, 59, 0.12) 0%, rgba(22, 52, 59, 0.03) 34%, rgba(255, 251, 247, 0.22) 68%, rgba(255, 251, 247, 0.58) 100%),
    linear-gradient(180deg, rgba(255, 248, 243, 0.02) 0%, rgba(255, 248, 243, 0.18) 100%);
}

.sv-hero--plain::after {
  display: none;
}

.sv-hero__image {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.sv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--sv-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sv-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.sv-hero h1,
.sv-page-hero h1,
.entry-title,
.sv-post-card__title,
.sv-home-story__main h2,
.sv-section-heading h2,
.sv-sidebar__card h2,
.sv-sidebar__card h3,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.sv-section {
  width: var(--sv-content-width);
  margin: 0 auto;
}

.sv-section--tight-top {
  margin-top: 0.5rem;
}

.sv-section + .sv-section {
  margin-top: 2rem;
}

.sv-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--sv-radius-xl);
  background: rgba(255, 252, 248, 0.84);
  border: 1px solid rgba(22, 52, 59, 0.08);
  box-shadow: var(--sv-shadow);
}

.sv-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.sv-home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
}

.sv-home-content {
  max-width: 100%;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background:
    linear-gradient(140deg, rgba(255, 252, 248, 0.93), rgba(246, 238, 229, 0.88)),
    radial-gradient(circle at right top, rgba(232, 164, 126, 0.16), transparent 32%);
}

.sv-home-intro {
  margin: 0 0 0.9rem;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--sv-deep);
}

.sv-home-quote {
  margin: 0 0 1.4rem;
  font-size: 1.04rem;
  color: rgba(29, 37, 41, 0.8);
}

.sv-home-single-image {
  margin-top: 1.4rem;
  overflow: hidden;
  border-radius: var(--sv-radius-lg);
  background: linear-gradient(145deg, rgba(239, 228, 214, 0.92), rgba(255, 252, 248, 0.98));
}

.sv-home-single-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.sv-home-story__main h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.sv-home-story__aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sv-intro__lead {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--sv-deep);
}

.sv-stat {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sv-stat__item {
  padding: 1rem 1.1rem;
  border-radius: var(--sv-radius-lg);
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.96), rgba(239, 228, 214, 0.95));
}

.sv-stat__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--sv-teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sv-stat__value {
  font-size: 1.04rem;
  font-weight: 700;
}

.sv-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.sv-section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
}

.sv-section-heading p,
.sv-page-hero p,
.entry-content p,
.entry-content li,
.sv-post-card__excerpt,
.sv-video-card__text {
  color: rgba(29, 37, 41, 0.82);
}

.sv-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.sv-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--sv-radius-xl);
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(22, 52, 59, 0.07);
  box-shadow: var(--sv-shadow);
}

.sv-post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(239, 228, 214, 0.95), rgba(247, 241, 232, 1));
}

.sv-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-post-card__body {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem 1.2rem 1.35rem;
}

.sv-post-card__meta,
.sv-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--sv-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sv-post-card__title {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.sv-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sv-coral);
  font-weight: 800;
}

.sv-link::after {
  content: "\2192";
  transition: transform 160ms ease;
}

.sv-link:hover::after {
  transform: translateX(3px);
}

.sv-page-hero {
  width: var(--sv-content-width);
  margin: 0 auto 1.8rem;
}

.sv-page-hero__inner {
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--sv-radius-xl);
  background:
    linear-gradient(140deg, rgba(255, 252, 248, 0.95), rgba(241, 233, 224, 0.92)),
    radial-gradient(circle at right top, rgba(203, 111, 91, 0.12), transparent 30%);
  border: 1px solid rgba(22, 52, 59, 0.09);
  box-shadow: var(--sv-shadow);
}

.sv-page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.sv-single-layout {
  width: var(--sv-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
}

.sv-post {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--sv-radius-xl);
  background: rgba(255, 252, 248, 0.92);
  box-shadow: var(--sv-shadow);
}

.sv-post__thumbnail {
  margin-bottom: 1.4rem;
  overflow: hidden;
  border-radius: var(--sv-radius-lg);
}

.sv-post__thumbnail img {
  width: 100%;
  height: auto;
}

.entry-title {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content li {
  font-size: 1.06rem;
}

.entry-content h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.entry-content a {
  color: var(--sv-coral);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.sv-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sv-sidebar__card {
  padding: 1.2rem;
  border-radius: var(--sv-radius-lg);
  background: rgba(255, 250, 246, 0.92);
  border: 1px solid rgba(22, 52, 59, 0.08);
  box-shadow: var(--sv-shadow);
}

.sv-sidebar__card h2,
.sv-sidebar__card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 2rem;
}

.sv-sidebar__card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.sv-sidebar__card li + li {
  margin-top: 0.55rem;
}

.sv-video-gallery {
  margin-top: 1.8rem;
}

.sv-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.sv-video-card {
  overflow: hidden;
  border-radius: var(--sv-radius-lg);
  background: rgba(255, 250, 246, 0.95);
  border: 1px solid rgba(22, 52, 59, 0.1);
  box-shadow: var(--sv-shadow);
}

.sv-video-card__embed {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(239, 228, 214, 1), rgba(233, 164, 126, 0.44));
}

.sv-video-card__embed iframe,
.sv-video-card__embed video,
.sv-video-card__embed .wp-video {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.sv-video-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1.2rem;
  text-align: center;
  color: var(--sv-deep);
  background: linear-gradient(145deg, rgba(247, 236, 226, 0.94), rgba(232, 164, 126, 0.28));
}

.sv-video-card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.sv-video-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.08;
}

.sv-video-note {
  margin-top: 1.8rem;
  padding: 1.2rem;
  border-radius: var(--sv-radius-lg);
  background: rgba(255, 248, 241, 0.92);
  border: 1px dashed rgba(22, 52, 59, 0.22);
}

.sv-video-note p {
  margin: 0 0 0.65rem;
}

.sv-video-note__example {
  margin: 0;
  white-space: pre-wrap;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  color: rgba(29, 37, 41, 0.82);
}

.sv-video-shortcode-note {
  padding: 1rem 1.1rem;
  border-radius: var(--sv-radius-md);
  background: rgba(255, 248, 241, 0.92);
  border: 1px dashed rgba(22, 52, 59, 0.22);
  color: var(--sv-deep);
}

.sv-footer {
  padding: 1.8rem 0 2.6rem;
}

.sv-footer__inner {
  width: var(--sv-content-width);
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.76);
  border: 1px solid rgba(22, 52, 59, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(29, 37, 41, 0.74);
  font-size: 0.92rem;
}

.sv-footer__menu-wrap {
  flex: 1 1 320px;
  min-width: 0;
}

.sv-footer__nav ul,
.sv-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sv-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--sv-deep);
  background: rgba(47, 93, 98, 0.08);
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.sv-footer__nav a:hover,
.sv-footer__nav .current-menu-item > a,
.sv-footer__nav .current_page_item > a {
  background: rgba(47, 93, 98, 0.16);
  transform: translateY(-1px);
}

.sv-footer__copyright {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.sv-empty {
  padding: 2rem;
  border-radius: var(--sv-radius-xl);
  text-align: center;
  background: rgba(255, 252, 248, 0.88);
  box-shadow: var(--sv-shadow);
}

.sv-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.sv-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.84);
  border: 1px solid rgba(22, 52, 59, 0.08);
}

.sv-pagination .current,
.sv-pagination .page-numbers:hover {
  background: rgba(47, 93, 98, 0.14);
}

@media (max-width: 1040px) {
  .sv-header__bar,
  .sv-intro,
  .sv-home-story,
  .sv-single-layout,
  .sv-post-grid,
  .sv-video-grid {
    grid-template-columns: 1fr;
  }

  .sv-header__bar {
    padding: 1rem 0;
  }

  .sv-header__aside {
    justify-items: start;
  }

  .sv-nav {
    justify-self: start;
  }

  .sv-social {
    justify-content: flex-start;
  }

  .sv-hero {
    min-height: 70vh;
  }
}

@media (max-width: 720px) {
  :root {
    --sv-content-width: min(100vw - 1.25rem, 100%);
  }

  .sv-header {
    position: relative;
  }

  .sv-header__bar {
    gap: 1rem;
  }

  .sv-branding img {
    width: min(68vw, 230px);
  }

  .sv-branding__name {
    font-size: 1.55rem;
  }

  .sv-yoyo-link,
  .sv-yoyo-link__image {
    max-width: 140px;
  }

  .sv-hero {
    min-height: 62vh;
    margin-top: 0.25rem;
  }

  .sv-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .sv-footer__inner {
    border-radius: 28px;
  }

  .sv-footer__copyright {
    text-align: left;
    white-space: normal;
  }
}
