/*
Theme Name: LetsGoNate Hub
Theme URI: https://letsgonate.com/
Description: A lightweight personal hub and editorial travel-story child theme for LetsGoNate.com.
Author: Nate Daniels
Template: hello-elementor
Version: 1.0.0
Text Domain: letsgonate-hub
*/

:root {
  --lgn-ink: #17212b;
  --lgn-navy: #102a43;
  --lgn-navy-deep: #0a1d2e;
  --lgn-blue: #2d6a87;
  --lgn-sky: #d8e8ee;
  --lgn-sand: #f5f1e8;
  --lgn-paper: #fffdf8;
  --lgn-white: #ffffff;
  --lgn-muted: #5b6873;
  --lgn-line: rgba(16, 42, 67, 0.14);
  --lgn-shadow: 0 18px 50px rgba(10, 29, 46, 0.11);
  --lgn-radius: 22px;
  --lgn-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--lgn-ink);
  background: var(--lgn-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--lgn-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lgn-navy);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
  border-radius: 4px;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--lgn-navy-deep);
  background: var(--lgn-white);
  box-shadow: var(--lgn-shadow);
}

.lgn-wrap {
  width: min(calc(100% - 48px), var(--lgn-max));
  margin-inline: auto;
}

.lgn-site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--lgn-line);
  background: rgba(255, 253, 248, 0.96);
}

.lgn-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.lgn-brand {
  color: var(--lgn-navy-deep);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
}

.lgn-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lgn-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--lgn-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.lgn-nav a:hover,
.lgn-nav .current-menu-item > a,
.lgn-nav .current_page_item > a {
  color: var(--lgn-navy-deep);
  background: var(--lgn-sky);
}

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

.lgn-hero {
  padding: clamp(56px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(216, 232, 238, 0.95), transparent 34%),
    linear-gradient(135deg, var(--lgn-paper), var(--lgn-sand));
}

.lgn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 8vw, 96px);
}

.lgn-eyebrow {
  margin: 0 0 14px;
  color: var(--lgn-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lgn-hero h1,
.lgn-page-hero h1,
.lgn-story-header h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--lgn-navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.lgn-deck {
  margin: 24px 0 0;
  color: var(--lgn-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.35;
}

.lgn-intro {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--lgn-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.lgn-hero-media {
  position: relative;
  margin: 0;
}

.lgn-hero-media::before {
  position: absolute;
  inset: -16px 18px 18px -16px;
  z-index: 0;
  border: 1px solid rgba(45, 106, 135, 0.35);
  border-radius: 34px;
  content: "";
}

.lgn-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: var(--lgn-shadow);
}

.lgn-hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--lgn-white);
  background: rgba(10, 29, 46, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.lgn-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

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

.lgn-section--dark {
  color: var(--lgn-white);
  background: var(--lgn-navy-deep);
}

.lgn-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.lgn-section-heading h2,
.lgn-personal-copy h2 {
  margin: 0;
  color: var(--lgn-navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.lgn-section-heading p {
  margin: 0;
  color: var(--lgn-muted);
}

.lgn-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.lgn-card {
  min-width: 0;
}

.lgn-card-link {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lgn-line);
  border-radius: var(--lgn-radius);
  color: var(--lgn-ink);
  background: var(--lgn-paper);
  box-shadow: 0 8px 26px rgba(10, 29, 46, 0.07);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lgn-card-link:hover {
  color: var(--lgn-ink);
  border-color: rgba(45, 106, 135, 0.42);
  box-shadow: var(--lgn-shadow);
  transform: translateY(-3px);
}

.lgn-card-media {
  overflow: hidden;
  background: var(--lgn-sky);
}

.lgn-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 320ms ease;
}

.lgn-card-link:hover .lgn-card-media img {
  transform: scale(1.025);
}

.lgn-card-media--logo {
  display: grid;
  min-height: 235px;
  place-items: center;
  padding: 42px;
  background: linear-gradient(145deg, #eaf3f8, #cddfe8);
}

.lgn-card-media--logo img {
  width: min(82%, 390px);
  aspect-ratio: auto;
  object-fit: contain;
}

.lgn-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 4vw, 36px);
}

.lgn-card-body h3 {
  margin: 0;
  color: var(--lgn-navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.lgn-card-kicker {
  margin: 10px 0 0;
  color: var(--lgn-blue);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.lgn-card-copy {
  margin: 18px 0 26px;
  color: var(--lgn-muted);
}

.lgn-card-cta,
.lgn-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--lgn-white);
  background: var(--lgn-navy);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.lgn-card-cta::after,
.lgn-button::after {
  content: "\2192";
}

.lgn-personal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
}

.lgn-personal-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--lgn-radius);
  object-fit: cover;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.23);
}

.lgn-personal-copy h2 {
  color: var(--lgn-white);
}

.lgn-personal-copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

.lgn-personal-copy .lgn-button {
  margin-top: 18px;
  color: var(--lgn-navy-deep);
  background: var(--lgn-white);
  text-decoration: none;
}

.lgn-page-hero,
.lgn-story-header {
  padding: clamp(60px, 9vw, 110px) 0 clamp(48px, 7vw, 82px);
  background: linear-gradient(145deg, var(--lgn-sand), var(--lgn-paper));
}

.lgn-page-hero h1,
.lgn-story-header h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

.lgn-page-intro {
  max-width: 760px;
  margin-top: 28px;
  color: var(--lgn-muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.lgn-page-intro p {
  margin: 0 0 1em;
}

.lgn-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.lgn-story-card {
  overflow: hidden;
  border: 1px solid var(--lgn-line);
  border-radius: var(--lgn-radius);
  background: var(--lgn-white);
  box-shadow: 0 8px 28px rgba(10, 29, 46, 0.07);
}

.lgn-story-card a {
  color: inherit;
  text-decoration: none;
}

.lgn-story-card-image {
  display: block;
  overflow: hidden;
}

.lgn-story-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 300ms ease;
}

.lgn-story-card:hover .lgn-story-card-image img {
  transform: scale(1.025);
}

.lgn-story-card-body {
  padding: clamp(24px, 4vw, 34px);
}

.lgn-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  color: var(--lgn-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lgn-story-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lgn-story-card h2 a:hover {
  color: var(--lgn-blue);
}

.lgn-story-card p {
  color: var(--lgn-muted);
}

.lgn-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--lgn-navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.lgn-text-link::after {
  content: "\2192";
}

.lgn-pagination {
  margin-top: 48px;
}

.lgn-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lgn-pagination a,
.lgn-pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--lgn-line);
  border-radius: 999px;
  text-decoration: none;
}

.lgn-pagination .current {
  color: var(--lgn-white);
  background: var(--lgn-navy);
}

.lgn-story-header .lgn-story-meta {
  margin-bottom: 18px;
}

.lgn-story-hero {
  width: min(calc(100% - 48px), 1240px);
  margin: -24px auto 0;
}

.lgn-story-hero img {
  display: block;
  width: 100%;
  max-height: 720px;
  border-radius: var(--lgn-radius);
  object-fit: cover;
  box-shadow: var(--lgn-shadow);
}

.lgn-story-body {
  width: min(calc(100% - 48px), 840px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
  font-size: clamp(1.05rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.lgn-story-body > p:first-child {
  font-size: 1.12em;
}

.lgn-story-body h2,
.lgn-story-body h3,
.lgn-entry h2,
.lgn-entry h3 {
  margin: 1.8em 0 0.55em;
  color: var(--lgn-navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.lgn-story-body h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.lgn-story-body h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.lgn-story-body p,
.lgn-story-body ul,
.lgn-story-body ol {
  margin: 0 0 1.35em;
}

.lgn-story-body .elementor {
  font-size: inherit;
  line-height: inherit;
}

.lgn-story-body .elementor-widget-text-editor {
  color: var(--lgn-ink);
  font: inherit;
}

.lgn-story-body .elementor-widget-text-editor p {
  line-height: 1.72;
}

.lgn-story-body .elementor-widget-container img,
.lgn-story-body .elementor-gallery-item {
  border-radius: 14px;
}

.lgn-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(calc(100% - 48px), 960px);
  margin: 0 auto clamp(64px, 9vw, 110px);
}

.lgn-post-nav a {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid var(--lgn-line);
  border-radius: 16px;
  color: var(--lgn-ink);
  background: var(--lgn-white);
  text-decoration: none;
}

.lgn-post-nav a:hover {
  border-color: var(--lgn-blue);
}

.lgn-post-nav small {
  color: var(--lgn-blue);
  font-weight: 800;
  text-transform: uppercase;
}

.lgn-post-nav span {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.lgn-back-link {
  display: block;
  width: fit-content;
  min-height: 44px;
  margin: -34px auto 40px;
  padding: 8px 16px;
  font-weight: 800;
}

.lgn-entry {
  width: min(calc(100% - 48px), 840px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.lgn-empty {
  padding: 64px 0;
}

.lgn-site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--lgn-navy-deep);
}

.lgn-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  padding: 64px 0 42px;
}

.lgn-footer-brand {
  margin: 0;
  color: var(--lgn-white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.lgn-footer-note {
  max-width: 34ch;
  margin: 10px 0 0;
}

.lgn-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lgn-footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--lgn-white);
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.lgn-footer-bottom {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .lgn-hero-grid,
  .lgn-personal-grid {
    grid-template-columns: 1fr;
  }

  .lgn-hero-media {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .lgn-hero-copy {
    max-width: 720px;
  }

  .lgn-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lgn-personal-image {
    max-height: 560px;
  }
}

@media (max-width: 720px) {
  .lgn-wrap,
  .lgn-story-hero,
  .lgn-story-body,
  .lgn-post-nav,
  .lgn-entry {
    width: min(calc(100% - 32px), var(--lgn-max));
  }

  .lgn-header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 0 12px;
  }

  .lgn-brand {
    text-align: center;
  }

  .lgn-nav ul {
    justify-content: center;
  }

  .lgn-card-grid,
  .lgn-stories-grid,
  .lgn-post-nav,
  .lgn-footer-inner {
    grid-template-columns: 1fr;
  }

  .lgn-card-link {
    min-height: 0;
  }

  .lgn-footer-inner {
    gap: 30px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .lgn-wrap,
  .lgn-story-hero,
  .lgn-story-body,
  .lgn-post-nav,
  .lgn-entry {
    width: min(calc(100% - 24px), var(--lgn-max));
  }

  .lgn-nav a {
    padding-inline: 11px;
    font-size: 0.9rem;
  }

  .lgn-hero h1,
  .lgn-page-hero h1,
  .lgn-story-header h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .lgn-hero-media::before {
    inset: -9px 10px 10px -9px;
  }

  .lgn-card-media--logo {
    min-height: 190px;
    padding: 30px;
  }

  .lgn-footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .lgn-site-header,
  .lgn-site-footer,
  .lgn-post-nav,
  .lgn-back-link {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
