/*
Theme Name: Ginas Journal
Theme URI: https://jacky-gina.de/
Author: Gerald & Gina
Description: Ein lebendiges, gut lesbares WordPress-Theme für Ginas Tagebuch, Lebensgeschichte, Bilder und Tipps.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: gina-journal
*/

:root {
  --gina-ink: #172a2d;
  --gina-ink-soft: #385054;
  --gina-paper: #fffaf4;
  --gina-white: #ffffff;
  --gina-sand: #f3e9db;
  --gina-teal: #116e73;
  --gina-teal-dark: #0b5155;
  --gina-coral: #cf5935;
  --gina-coral-dark: #a94025;
  --gina-sun: #f0b43c;
  --gina-line: rgba(23, 42, 45, 0.14);
  --gina-shadow: 0 22px 70px rgba(23, 42, 45, 0.12);
  --gina-shadow-soft: 0 12px 36px rgba(23, 42, 45, 0.09);
  --gina-radius: 24px;
  --gina-radius-small: 14px;
  --gina-content: 1180px;
  --gina-reading: 760px;
  --gina-accent: #cf5935;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gina-ink);
  background: var(--gina-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

a {
  color: var(--gina-teal-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--gina-coral-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gina-sun);
  outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--gina-white);
  background: var(--gina-ink);
  border-radius: 10px;
}

.gina-container {
  width: min(calc(100% - 40px), var(--gina-content));
  margin-inline: auto;
}

.gina-reading-width {
  width: min(calc(100% - 40px), var(--gina-reading));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--gina-line);
  box-shadow: 0 8px 30px rgba(23, 42, 45, 0.06);
}

.site-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.site-branding a {
  text-decoration: none;
}

.custom-logo {
  width: auto;
  max-height: 54px;
}

.gina-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--gina-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.gina-wordmark__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--gina-white);
  background: var(--gina-coral);
  border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(207, 89, 53, 0.25);
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.primary-navigation ul,
.footer-navigation ul {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: block;
  padding-block: 10px;
  color: var(--gina-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--gina-coral);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
  transform: scaleX(1);
}

.header-search {
  width: 176px;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field {
  width: 100%;
  min-height: 44px;
  padding: 9px 44px 9px 15px;
  color: var(--gina-ink);
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: 999px;
}

.search-field::placeholder {
  color: #6b7d80;
}

.search-submit {
  position: absolute;
  right: 5px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: var(--gina-white);
  background: var(--gina-teal);
  border: 0;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  margin-left: auto;
  place-items: center;
  color: var(--gina-ink);
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: 50%;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 4px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle__lines::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.gina-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 92px) 0 58px;
}

.gina-hero::before {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -180px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle at 35% 35%, rgba(240, 180, 60, 0.3), rgba(207, 89, 53, 0.1) 54%, transparent 55%);
  border-radius: 50%;
}

.gina-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.77fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
}

.gina-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gina-teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gina-kicker::before,
.section-kicker::before {
  width: 30px;
  height: 3px;
  content: "";
  background: var(--gina-sun);
  border-radius: 999px;
}

.gina-hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.gina-hero h1 em {
  color: var(--gina-coral);
  font-style: italic;
  font-weight: 500;
}

.gina-hero__intro {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--gina-ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.gina-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.gina-button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  color: var(--gina-white);
  background: var(--gina-accent);
  border: 2px solid var(--gina-accent);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.gina-button:hover,
.gina-button:focus-visible,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  color: var(--gina-white);
  background: var(--gina-coral-dark);
  border-color: var(--gina-coral-dark);
  box-shadow: 0 10px 24px rgba(169, 64, 37, 0.2);
  transform: translateY(-2px);
}

.gina-button--ghost {
  color: var(--gina-ink);
  background: transparent;
  border-color: var(--gina-line);
}

.gina-button--ghost:hover,
.gina-button--ghost:focus-visible {
  color: var(--gina-teal-dark);
  background: var(--gina-white);
  border-color: var(--gina-teal);
  box-shadow: none;
}

.gina-hero__visual {
  position: relative;
  width: min(100%, 470px);
  justify-self: end;
}

.gina-hero__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gina-sand);
  border-radius: 46% 54% 47% 53% / 36% 41% 59% 64%;
  box-shadow: var(--gina-shadow);
  transform: rotate(1.5deg);
}

.gina-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.02) rotate(-1.5deg);
}

.gina-hero__badge {
  position: absolute;
  right: -15px;
  bottom: 30px;
  max-width: 190px;
  padding: 17px 20px;
  color: var(--gina-white);
  background: var(--gina-teal);
  border: 5px solid var(--gina-paper);
  border-radius: 20px;
  box-shadow: var(--gina-shadow-soft);
  transform: rotate(-3deg);
}

.gina-hero__badge strong,
.gina-hero__badge span {
  display: block;
}

.gina-hero__badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.25;
}

.gina-hero__badge span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gina-facts {
  padding-bottom: clamp(58px, 8vw, 94px);
}

.gina-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--gina-ink);
  border-radius: var(--gina-radius);
  box-shadow: var(--gina-shadow-soft);
}

.gina-fact {
  min-width: 0;
  padding: 24px 28px;
  color: var(--gina-white);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.gina-fact:last-child {
  border-right: 0;
}

.gina-fact__label,
.gina-fact__value {
  display: block;
}

.gina-fact__label {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gina-fact__value {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gina-section {
  padding: clamp(62px, 9vw, 110px) 0;
}

.gina-section--white {
  background: var(--gina-white);
}

.gina-section--dark {
  color: var(--gina-white);
  background: var(--gina-ink);
}

.gina-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.gina-section__header > div {
  max-width: 720px;
}

.gina-section h2,
.page-header h1,
.entry-header h1,
.comments-title,
.comment-reply-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.5vw, 4.1rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.gina-section__intro {
  max-width: 670px;
  margin: 15px 0 0;
  color: var(--gina-ink-soft);
  font-size: 1.05rem;
}

.gina-section--dark .gina-section__intro,
.gina-section--dark .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.gina-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  position: relative;
  overflow: hidden;
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: var(--gina-radius);
  box-shadow: 0 6px 24px rgba(23, 42, 45, 0.05);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.post-card:hover,
.post-card:focus-within {
  box-shadow: var(--gina-shadow-soft);
  transform: translateY(-5px);
}

.post-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gina-sand);
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-card__image {
  transform: scale(1.035);
}

.post-card__body {
  padding: 24px 24px 26px;
}

.post-card__meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: #66777a;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card__category {
  color: var(--gina-coral-dark);
}

.post-card h3 {
  margin: 10px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.post-card h3 a {
  color: var(--gina-ink);
  text-decoration: none;
}

.post-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--gina-ink-soft);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--gina-teal-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

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

.post-card__more:hover::after {
  transform: translateX(4px);
}

.gina-empty {
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--gina-ink-soft);
  background: var(--gina-paper);
  border: 1px dashed rgba(23, 42, 45, 0.25);
  border-radius: var(--gina-radius);
  text-align: center;
}

.gina-empty h3 {
  margin: 0 0 8px;
  color: var(--gina-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.gina-empty p {
  margin: 0;
}

.gina-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gina-topic {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  overflow: hidden;
  color: var(--gina-white);
  background: var(--gina-teal);
  border-radius: var(--gina-radius);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.gina-topic:nth-child(2),
.gina-topic:nth-child(5) {
  background: var(--gina-coral);
}

.gina-topic:nth-child(3),
.gina-topic:nth-child(6) {
  color: var(--gina-ink);
  background: var(--gina-sun);
}

.gina-topic:hover,
.gina-topic:focus-visible {
  color: var(--gina-white);
  background: var(--gina-teal-dark);
  transform: translateY(-4px) rotate(-0.35deg);
}

.gina-topic:nth-child(3):hover,
.gina-topic:nth-child(6):hover,
.gina-topic:nth-child(3):focus-visible,
.gina-topic:nth-child(6):focus-visible {
  color: var(--gina-ink);
  background: #f6c964;
}

.gina-topic__number {
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  opacity: 0.68;
}

.gina-topic h3 {
  max-width: 270px;
  margin: 30px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.gina-topic__arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 1.4rem;
}

.gina-story-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 6vw, 66px);
  color: var(--gina-white);
  background: var(--gina-ink);
  border-radius: clamp(24px, 4vw, 40px);
}

.gina-story-callout h2 {
  max-width: 760px;
}

.gina-story-callout p {
  max-width: 700px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.gina-story-callout .gina-button--ghost {
  color: var(--gina-white);
  border-color: rgba(255, 255, 255, 0.38);
}

.gina-story-callout .gina-button--ghost:hover {
  color: var(--gina-ink);
  background: var(--gina-white);
  border-color: var(--gina-white);
}

.page-main {
  min-height: 60vh;
}

.page-header {
  padding: clamp(54px, 8vw, 94px) 0 38px;
}

.page-header__intro {
  max-width: 700px;
  margin: 15px 0 0;
  color: var(--gina-ink-soft);
  font-size: 1.08rem;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 56px;
  padding-bottom: 100px;
}

.archive-posts {
  display: grid;
  gap: 24px;
}

.archive-posts .post-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
}

.archive-posts .post-card__image-link {
  height: 100%;
  aspect-ratio: auto;
}

.gina-sidebar {
  align-self: start;
  padding: 25px;
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: var(--gina-radius);
}

.gina-sidebar__section + .gina-sidebar__section {
  padding-top: 23px;
  margin-top: 23px;
  border-top: 1px solid var(--gina-line);
}

.gina-sidebar h2 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gina-sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.gina-sidebar li + li {
  margin-top: 9px;
}

.gina-sidebar a {
  color: var(--gina-ink-soft);
  font-weight: 650;
  text-decoration: none;
}

.gina-sidebar a:hover {
  color: var(--gina-coral-dark);
}

.nav-links,
.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
}

.page-numbers,
.post-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 15px;
  color: var(--gina-ink);
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.post-navigation a:hover {
  color: var(--gina-white);
  background: var(--gina-teal);
  border-color: var(--gina-teal);
}

.single-hero {
  padding: clamp(52px, 8vw, 92px) 0 36px;
}

.single-hero .entry-header {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.single-hero .entry-meta {
  justify-content: center;
  margin-bottom: 16px;
}

.single-hero .entry-header h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.single-featured {
  width: min(calc(100% - 40px), 1080px);
  max-height: 680px;
  margin: 38px auto 0;
  overflow: hidden;
  background: var(--gina-sand);
  border-radius: clamp(20px, 3vw, 34px);
  box-shadow: var(--gina-shadow-soft);
}

.single-featured img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.entry-content {
  color: #263b3e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.2rem);
  line-height: 1.85;
}

.entry-content > * {
  max-width: var(--gina-reading);
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignwide {
  max-width: 1080px;
}

.entry-content > .alignfull {
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--gina-ink);
  line-height: 1.2;
}

.entry-content h2 {
  margin-top: 2.1em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.entry-content h3 {
  margin-top: 1.8em;
  font-size: 1.6rem;
}

.entry-content a {
  color: var(--gina-teal-dark);
  font-weight: 700;
}

.entry-content blockquote {
  padding: 7px 0 7px 24px;
  color: var(--gina-ink-soft);
  border-left: 5px solid var(--gina-sun);
  font-size: 1.35rem;
  font-style: italic;
}

.entry-content img {
  border-radius: 18px;
}

.entry-content figcaption {
  margin-top: 8px;
  color: #64777a;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  text-align: center;
}

.entry-content .wp-block-gallery {
  gap: 12px;
}

.entry-content .wp-block-gallery img {
  height: 100%;
  object-fit: cover;
}

.entry-footer {
  width: min(calc(100% - 40px), var(--gina-reading));
  padding: 22px 0 48px;
  margin-inline: auto;
  color: #64777a;
  border-bottom: 1px solid var(--gina-line);
  font-size: 0.9rem;
}

.entry-footer a {
  font-weight: 700;
}

.post-navigation {
  width: min(calc(100% - 40px), var(--gina-reading));
  margin-inline: auto;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  max-width: 48%;
}

.comments-area {
  width: min(calc(100% - 40px), var(--gina-reading));
  padding: 60px 0 90px;
  margin-inline: auto;
}

.comments-title,
.comment-reply-title {
  margin-bottom: 25px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.comment-list,
.comment-list .children {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment-list .children {
  padding-left: 30px;
}

.comment-body {
  padding: 22px 24px;
  margin-bottom: 16px;
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: 18px;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 850;
}

.comment-metadata,
.comment-metadata a {
  color: #6a7b7e;
  font-size: 0.78rem;
  text-decoration: none;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply a {
  font-size: 0.85rem;
  font-weight: 800;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comment-form > p {
  margin: 0;
}

.comment-form-comment,
.comment-form-cookies-consent,
.form-submit,
.logged-in-as,
.comment-notes {
  grid-column: 1 / -1;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.page-content input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  color: var(--gina-ink);
  background: var(--gina-white);
  border: 1px solid rgba(23, 42, 45, 0.24);
  border-radius: 12px;
}

.comment-form textarea {
  min-height: 170px;
  resize: vertical;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.comment-form-cookies-consent input {
  margin-top: 6px;
}

.comment-form-cookies-consent label {
  font-weight: 500;
}

.gina-timeline {
  position: relative;
  max-width: 920px;
  padding: 12px 0 100px;
  margin-inline: auto;
}

.gina-timeline::before {
  position: absolute;
  top: 0;
  bottom: 80px;
  left: 144px;
  width: 2px;
  content: "";
  background: var(--gina-line);
}

.timeline-year {
  position: relative;
  padding: 30px 0 8px;
  color: var(--gina-coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 50px;
  padding: 22px 0;
}

.timeline-item::before {
  position: absolute;
  top: 34px;
  left: 137px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--gina-sun);
  border: 3px solid var(--gina-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gina-teal);
}

.timeline-item__date {
  padding-top: 4px;
  color: #64777a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.timeline-item__content {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: 20px;
}

.timeline-item__image {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
}

.timeline-item__content h2 {
  margin: 2px 0 8px;
  font-size: 1.55rem;
}

.timeline-item__content h2 a {
  color: var(--gina-ink);
  text-decoration: none;
}

.timeline-item__content p {
  margin: 0;
  color: var(--gina-ink-soft);
}

.gina-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
  padding-bottom: 100px;
}

.gina-gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gina-sand);
  border-radius: 18px;
}

.gina-gallery__item:nth-child(7n + 1),
.gina-gallery__item:nth-child(7n + 5) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gina-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gina-gallery__item:hover img {
  transform: scale(1.045);
}

.gina-gallery__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 15px 13px;
  color: var(--gina-white);
  background: linear-gradient(transparent, rgba(23, 42, 45, 0.82));
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gina-gallery__item:hover .gina-gallery__caption,
.gina-gallery__item:focus-within .gina-gallery__caption {
  opacity: 1;
}

.gina-profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(38px, 8vw, 90px);
  align-items: start;
  padding-bottom: 100px;
}

.gina-profile__photo {
  position: sticky;
  top: 110px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gina-sand);
  border-radius: 32px;
  box-shadow: var(--gina-shadow-soft);
}

.gina-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gina-profile__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  margin: 0 0 34px;
  background: var(--gina-white);
  border: 1px solid var(--gina-line);
  border-radius: var(--gina-radius);
}

.gina-profile__facts div {
  padding: 13px;
}

.gina-profile__facts dt {
  color: #687a7d;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gina-profile__facts dd {
  margin: 2px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.gina-profile .entry-content {
  font-size: 1.1rem;
}

.gina-profile .entry-content > * {
  max-width: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #102225;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 44px;
  align-items: end;
  padding: 58px 0 42px;
}

.site-footer .gina-wordmark {
  color: var(--gina-white);
}

.site-footer__text {
  max-width: 540px;
  margin: 16px 0 0;
}

.footer-navigation ul {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-navigation a {
  color: var(--gina-white);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.page-content {
  padding-bottom: 90px;
}

.not-found {
  max-width: 700px;
  padding: 90px 0 120px;
  margin-inline: auto;
  text-align: center;
}

.not-found__code {
  margin: 0;
  color: var(--gina-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found h1 {
  margin: 24px 0 12px;
}

.not-found p {
  color: var(--gina-ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  .primary-navigation {
    gap: 18px;
  }

  .primary-navigation ul {
    gap: 17px;
  }

  .header-search {
    display: none;
  }

  .gina-hero__grid {
    gap: 50px;
  }

  .gina-card-grid,
  .gina-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gina-card-grid .post-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-navigation {
    position: fixed;
    z-index: 80;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 30px 20px;
    overflow-y: auto;
    background: var(--gina-paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation ul {
    display: block;
  }

  .primary-navigation li {
    border-bottom: 1px solid var(--gina-line);
  }

  .primary-navigation a {
    padding: 16px 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
  }

  .primary-navigation a::after {
    display: none;
  }

  .gina-hero__grid {
    grid-template-columns: 1fr;
  }

  .gina-hero__content {
    text-align: center;
  }

  .gina-hero__intro,
  .gina-hero h1 {
    margin-right: auto;
    margin-left: auto;
  }

  .gina-kicker {
    justify-content: center;
  }

  .gina-actions {
    justify-content: center;
  }

  .gina-hero__visual {
    width: min(82vw, 470px);
    margin-inline: auto;
    justify-self: center;
  }

  .gina-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gina-fact:nth-child(2) {
    border-right: 0;
  }

  .gina-fact:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .gina-section__header {
    display: block;
  }

  .gina-section__header .gina-button {
    margin-top: 22px;
  }

  .archive-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gina-sidebar {
    order: -1;
  }

  .gina-story-callout {
    grid-template-columns: 1fr;
  }

  .gina-profile {
    grid-template-columns: 1fr;
  }

  .gina-profile__photo {
    position: static;
    width: min(100%, 520px);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .footer-navigation ul {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .gina-container,
  .gina-reading-width,
  .single-featured,
  .entry-footer,
  .post-navigation,
  .comments-area {
    width: min(calc(100% - 28px), var(--gina-content));
  }

  .gina-wordmark {
    font-size: 1.35rem;
  }

  .gina-wordmark__mark {
    width: 40px;
    height: 40px;
  }

  .gina-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .gina-hero__badge {
    right: -8px;
    bottom: 18px;
  }

  .gina-facts__grid,
  .gina-card-grid,
  .gina-topics,
  .gina-profile__facts {
    grid-template-columns: 1fr;
  }

  .gina-fact,
  .gina-fact:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .gina-fact:last-child {
    border-bottom: 0;
  }

  .gina-card-grid .post-card:first-child,
  .archive-posts .post-card {
    grid-column: auto;
    display: block;
  }

  .archive-posts .post-card__image-link {
    aspect-ratio: 4 / 3;
  }

  .gina-topic {
    min-height: 160px;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }

  .comment-form > p {
    grid-column: 1;
  }

  .gina-timeline::before {
    left: 7px;
  }

  .timeline-item {
    display: block;
    padding-left: 32px;
  }

  .timeline-item::before {
    top: 31px;
    left: 1px;
  }

  .timeline-item__date {
    padding: 0 0 8px;
    text-align: left;
  }

  .timeline-item__content {
    grid-template-columns: 1fr;
  }

  .timeline-item__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .gina-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gina-gallery__item:nth-child(7n + 1),
  .gina-gallery__item:nth-child(7n + 5) {
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    max-width: 100%;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__legal {
    margin-top: 12px;
  }
}

