/*
Theme Name: Selbstkraft Mindset Child
Theme URI: https://selbstkraftmindset.ch/
Description: Child theme for Twenty Twenty-Four customized for Selbstkraft Mindset.
Author: OpenAI Codex
Version: 1.0.0
Template: twentytwentyfour
Text Domain: selbstkraftmindset-child
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --sk-navy: #18385f;
  --sk-royal: #244f79;
  --sk-ocean: #2d6f9f;
  --sk-teal: #7ec7c1;
  --sk-gold: #c58c2f;
  --sk-light-gold: #f5d97f;
  --sk-ivory: #f8f4e6;
  --sk-stone: #8b8b80;
  --sk-midnight: #0d2947;
  --sk-white: #ffffff;
  --sk-border: rgba(24, 56, 95, 0.12);
  --sk-shadow: 0 30px 80px rgba(13, 41, 71, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sk-midnight);
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(245, 217, 127, 0.45), transparent 24%),
    radial-gradient(circle at left 20%, rgba(126, 199, 193, 0.28), transparent 22%),
    linear-gradient(180deg, #fefdf9 0%, #f8f4e6 52%, #fcfaf3 100%);
}

body .is-layout-flow > * {
  margin-block-start: 0;
}

.wp-site-blocks {
  padding-top: 0;
  padding-bottom: 0;
}

.sk-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.sk-topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(24, 56, 95, 0.08);
}

.sk-brand {
  display: block;
  width: 232px;
}

.sk-brand-link {
  text-decoration: none;
}

.sk-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.sk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--sk-royal);
  font-size: 0.95rem;
}

.sk-nav a {
  position: relative;
  text-decoration: none;
}

.sk-nav .wp-block-navigation-item__content,
.sk-nav .wp-block-navigation__responsive-container-content a {
  position: relative;
  color: var(--sk-royal);
  text-decoration: none;
}

.sk-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--sk-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.sk-nav a:hover::after,
.sk-nav a:focus-visible::after {
  transform: scaleX(1);
}

.sk-button {
  margin: 0;
}

.sk-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sk-royal), var(--sk-navy));
  color: var(--sk-white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(24, 56, 95, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sk-button .wp-block-button__link:hover,
.sk-button .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(24, 56, 95, 0.24);
}

.sk-button.is-secondary .wp-block-button__link {
  color: var(--sk-navy);
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(24, 56, 95, 0.16);
  box-shadow: none;
}

.sk-button.is-small .wp-block-button__link {
  min-height: 42px;
  padding: 0 18px;
}

.sk-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 72px 0 48px;
}

.sk-eyebrow {
  margin: 0 0 14px;
  color: var(--sk-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sk-page h1,
.sk-page h2,
.sk-page h3,
.sk-page blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

.sk-page h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  line-height: 0.92;
  color: var(--sk-navy);
}

.sk-page h2 {
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  line-height: 0.98;
  color: var(--sk-navy);
}

.sk-page h3 {
  font-size: 1.95rem;
  color: var(--sk-royal);
}

.sk-lead,
.sk-about-copy p,
.sk-card p,
.sk-pathway p,
.sk-contact-copy p,
.sk-contact-card p,
.sk-trust-item p {
  line-height: 1.75;
}

.sk-lead {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
  color: rgba(13, 41, 71, 0.84);
}

.sk-actions,
.sk-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.sk-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sk-pill-list li {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--sk-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--sk-royal);
  font-size: 0.92rem;
}

.sk-hero-visual {
  position: relative;
}

.sk-portrait-frame {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44)),
    linear-gradient(120deg, rgba(36, 79, 121, 0.16), rgba(126, 199, 193, 0.18));
  box-shadow: var(--sk-shadow);
}

.sk-portrait-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 28px;
}

.sk-portrait-frame .wp-block-image {
  margin: 0;
}

.sk-glow-orb {
  position: absolute;
  inset: auto auto 74% 70%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 251, 232, 0.96) 0%, rgba(245, 217, 127, 0.66) 34%, rgba(245, 217, 127, 0) 72%);
  pointer-events: none;
}

.sk-hero-card {
  position: absolute;
  right: -18px;
  bottom: 26px;
  padding: 18px 20px;
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  background: rgba(13, 41, 71, 0.88);
  color: var(--sk-white);
  box-shadow: 0 24px 56px rgba(13, 41, 71, 0.25);
}

.sk-card-label {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sk-card-copy {
  margin: 0;
  font-size: 1.35rem;
  font-family: "Cormorant Garamond", serif;
}

.sk-trust-strip,
.sk-cards,
.sk-about,
.sk-pathway,
.sk-contact {
  display: grid;
  gap: 18px;
}

.sk-trust-strip,
.sk-cards,
.sk-pathway {
  grid-template-columns: repeat(3, 1fr);
}

.sk-about,
.sk-contact {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

.sk-trust-strip {
  margin-top: 20px;
}

.sk-trust-item,
.sk-card,
.sk-about-panel,
.sk-pathway article,
.sk-contact-card,
.sk-quote {
  border: 1px solid var(--sk-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--sk-shadow);
}

.sk-trust-item,
.sk-card,
.sk-pathway article,
.sk-contact-card {
  padding: 24px 28px;
}

.sk-trust-number {
  margin: 0 0 10px;
  color: var(--sk-gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.sk-section {
  padding-top: 108px;
}

.sk-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.sk-card p,
.sk-pathway p,
.sk-about-copy p,
.sk-contact-copy p {
  margin: 14px 0 0;
}

.sk-trust-item p,
.sk-contact-card p,
.sk-quote p {
  margin: 0;
}

.sk-pathway .sk-card > p:first-child {
  margin-top: 0;
}

.sk-card.is-accent {
  background: linear-gradient(160deg, rgba(24, 56, 95, 0.94), rgba(36, 79, 121, 0.92));
  color: var(--sk-white);
}

.sk-card.is-accent h3 {
  color: var(--sk-ivory);
}

.sk-about-panel {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.56)),
    linear-gradient(180deg, rgba(126, 199, 193, 0.16), rgba(245, 217, 127, 0.1));
}

.sk-panel-inner {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 244, 230, 0.88), rgba(255, 255, 255, 0.7));
}

.sk-panel-title {
  margin: 0 0 18px;
  color: var(--sk-navy);
  font-size: 1.65rem;
  font-family: "Cormorant Garamond", serif;
}

.sk-about-panel ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
  color: var(--sk-royal);
}

.sk-pathway span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sk-gold), var(--sk-light-gold));
  color: var(--sk-midnight);
  font-weight: 700;
}

.sk-quote {
  padding: 42px;
  border: 0;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--sk-midnight), var(--sk-royal));
  color: var(--sk-ivory);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  box-shadow: 0 28px 64px rgba(13, 41, 71, 0.22);
}

.sk-contact-card {
  font-style: normal;
}

.sk-contact-card p {
  margin: 8px 0 0;
}

.sk-contact-card a {
  color: var(--sk-royal);
  text-decoration: none;
}

.sk-footer-shell {
  margin-top: 108px;
  padding: 28px 0 44px;
}

.sk-footer {
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--sk-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--sk-shadow);
}

.sk-footer h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.sk-footer p {
  margin: 0;
  line-height: 1.75;
}

.sk-footer-nav {
  gap: 10px;
  font-size: 0.95rem;
}

.sk-footer-nav .wp-block-navigation-item__content,
.sk-footer a {
  color: var(--sk-royal);
  text-decoration: none;
}

.sk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.sk-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .sk-topbar,
  .sk-hero,
  .sk-trust-strip,
  .sk-cards,
  .sk-about,
  .sk-pathway,
  .sk-contact {
    grid-template-columns: 1fr;
  }

  .sk-topbar {
    position: static;
    justify-items: start;
  }

  .sk-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .sk-page h1 {
    max-width: none;
  }

  .sk-hero-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .sk-page {
    width: min(100% - 20px, 1180px);
  }

  .sk-topbar,
  .sk-portrait-frame,
  .sk-trust-item,
  .sk-card,
  .sk-about-panel,
  .sk-pathway article,
  .sk-contact-card,
  .sk-quote {
    border-radius: 24px;
  }

  .sk-actions,
  .sk-contact-actions {
    flex-direction: column;
  }

  .sk-button,
  .sk-button.is-small,
  .sk-button .wp-block-button__link,
  .sk-button.is-small .wp-block-button__link {
    width: 100%;
  }

  .sk-quote {
    padding: 30px 24px;
  }
}

body.editor-styles-wrapper {
  padding: 24px !important;
}

body.editor-styles-wrapper .wp-block-post-title {
  max-width: none !important;
  margin-bottom: 24px !important;
  font-size: clamp(2.5rem, 4vw, 3.8rem) !important;
  line-height: 1 !important;
}

body.editor-styles-wrapper .sk-page {
  width: min(100%, 1180px) !important;
  padding-bottom: 24px !important;
}

body.editor-styles-wrapper .sk-topbar {
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
}

body.editor-styles-wrapper .sk-hero {
  display: block !important;
  min-height: auto !important;
  padding: 32px 0 24px !important;
}

body.editor-styles-wrapper .sk-hero > .wp-block-column {
  flex-basis: auto !important;
}

body.editor-styles-wrapper .sk-page h1 {
  max-width: none !important;
  font-size: clamp(3rem, 4.5vw, 4.5rem) !important;
  line-height: 1.02 !important;
}

body.editor-styles-wrapper .sk-lead {
  margin-top: 18px !important;
}

body.editor-styles-wrapper .sk-section {
  padding-top: 48px !important;
}

body.editor-styles-wrapper .sk-reveal {
  opacity: 1 !important;
  transform: none !important;
}

body.editor-styles-wrapper .sk-glow-orb {
  opacity: 0.45 !important;
}
