@charset "UTF-8";
@font-face {
  font-family: "Public Reading Lora";
  src: url("/assets/public-spanish-lora-DnxXpLNu.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --home-navy: #111b3d;
  --home-cream: #f8f4e9;
  --home-gold: #f5d65b;
  color-scheme: light;
  --ink: #111b3d;
  --muted: #526075;
  --paper: #f8f4e9;
  --gold: #f5d65b;
  --line: #dedecf;
  --white: #fffdf7;
  --reading-font: 'Public Reading Lora', Georgia, 'Times New Roman', serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  min-width: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
  cursor: pointer;
}

a,
button,
summary {
  -webkit-tap-highlight-color: rgba(245, 214, 91, 0.3333333333);
}

:focus-visible {
  outline: 3px solid #465caf;
  outline-offset: 5px;
  border-radius: 2px;
}

p {
  margin: 0 0 1.25rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.wrapper {
  width: min(1120px, 100% - 64px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: normal;
  font-synthesis: weight style small-caps;
  display: flex;
  flex: none;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
  background: var(--home-navy);
}
@media (max-width: 600px) {
  .site-header {
    padding: 14px 0;
  }
}

.header-inner {
  display: flex;
  flex: 1;
  flex-direction: row;
  width: 100%;
  max-width: 1248px;
  padding: 0 32px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  overflow: visible;
}
@media (max-width: 600px) {
  .header-inner {
    padding: 0 20px;
  }
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-header .brand img {
  width: 58px;
  height: auto;
}
.site-header .brand .brand-label {
  color: var(--home-gold);
  font-weight: bold;
  font-size: 1.8rem;
  line-height: normal;
  letter-spacing: -0.03em;
}
.site-header .brand:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .site-header .brand {
    gap: 8px;
  }
  .site-header .brand img {
    width: 40px;
  }
  .site-header .brand .brand-label {
    font-size: 1.3rem;
  }
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 1rem;
}

.header-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--home-cream);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.header-links a:hover {
  color: var(--home-gold);
  text-decoration: underline;
}
.header-links a:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  transition: background 150ms, transform 150ms;
}

.button:hover {
  background: #25355e;
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.eyebrow {
  display: block;
  margin: 0 0 1.25rem;
  font-size: 0.73rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.28rem 0.75rem;
  border: 1px solid #d6d7c9;
  border-radius: 999px;
  color: #44506a;
  font-size: 0.78rem;
  font-weight: 550;
}

.hero {
  max-width: 800px;
  padding: 76px 0 65px;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 5.6vw, 4.6rem);
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.hero .lead {
  max-width: 630px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-actions > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
}

.stories-section {
  padding-bottom: 72px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.section-heading p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5d7cb;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms, box-shadow 180ms, border-color 180ms;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: #97a08b;
  box-shadow: 0 10px 22px rgba(17, 27, 61, 0.0392156863);
}

.story-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 228px;
  padding: 23px 25px;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 27, 61, 0.0862745098);
}

.cover-fantasy {
  background: #f1dc8c;
}

.cover-comedy {
  background: #cbdace;
}

.cover-mystery {
  background: #e5c3ac;
}

.cover-number {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cover-title {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin-top: 17px;
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.story-cover svg {
  position: absolute;
  right: 11px;
  bottom: 8px;
  width: 105px;
  height: 105px;
  opacity: 0.58;
  pointer-events: none;
}

.story-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 25px 25px;
}

.story-meta {
  display: block;
  margin-bottom: 10px;
  color: #65706c;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.story-card-copy h3 {
  margin-bottom: 0.3rem;
}

.english-title {
  color: var(--muted);
  font-size: 0.9rem;
}

.story-card-copy .english-title {
  margin-bottom: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.description {
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.read-link {
  display: block;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.87rem;
  font-weight: 700;
}

.reading-guide {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}

.reading-guide h2 {
  margin-bottom: 1.75rem;
}

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

.guide-grid h3 {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq {
  max-width: 820px;
  padding: 30px 0 64px;
}

.faq h2 {
  margin-bottom: 1.6rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 62px;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  font-weight: 400;
}

.faq details[open] > summary::after {
  content: "−";
}

.faq details > p,
.faq details > div {
  max-width: 680px;
  padding-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.story-heading {
  max-width: 820px;
  padding: 40px 0 48px;
}

.story-heading h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.45rem, 5.4vw, 4.05rem);
  line-height: 1.09;
  letter-spacing: -0.06em;
}

.story-heading .english-title {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.story-heading .lead {
  max-width: 620px;
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 240px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.story-text {
  min-width: 0;
  font-family: var(--reading-font);
  font-size: 1.2rem;
  line-height: 1.9;
  color: #232d40;
}

.story-text p {
  margin-bottom: 1.55rem;
}

.reading-aside {
  position: sticky;
  top: 2rem;
  padding: 21px 22px;
  border: 1px solid #dbddce;
  border-radius: 8px;
  background: #f0efe2;
  font-size: 0.84rem;
}

.reading-aside h2,
.reading-aside h3 {
  margin-bottom: 0.8rem;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.reading-notes {
  color: var(--muted);
}

.reading-aside p {
  margin-bottom: 0.8rem;
}

.reading-aside a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.glossary-word {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #d7b434;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  text-decoration-skip-ink: auto;
  border-radius: 2px;
}

.glossary-word:hover,
.glossary-word:focus-visible {
  background: rgba(245, 214, 91, 0.3333333333);
}

.glossary {
  max-width: 820px;
  margin-top: 48px;
  padding: 36px 0 25px;
  border-top: 1px solid var(--line);
}

.glossary h2 {
  margin-bottom: 1rem;
}

.glossary > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
}

.glossary-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.glossary-list dt {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.glossary-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.translation {
  max-width: 820px;
  margin: 20px 0 56px;
  border: 1px solid #d9dbcf;
  border-radius: 8px;
  background: var(--white);
}

.translation > summary {
  padding: 21px 24px;
  min-height: 64px;
  font-size: 1rem;
  font-weight: 650;
}

.translation > summary:hover {
  background: #f1efe3;
}

.translation-text {
  padding: 6px 28px 20px;
  font-family: var(--reading-font);
  color: #30394a;
  font-size: 1.08rem;
  line-height: 1.85;
}

.translation-text p {
  margin-bottom: 1.3rem;
}

.continue-reading {
  margin: 12px 0 44px;
  padding: 40px 42px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.continue-reading .eyebrow {
  color: var(--gold);
}

.continue-reading h2 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.3vw, 2.55rem);
}

.continue-reading > p {
  max-width: 600px;
  color: #d3d7e1;
  font-size: 1rem;
}

.continue-reading .button {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.continue-reading .button:hover {
  background: #ffe280;
}

.continue-reading .cta-note {
  margin: 1rem 0 0;
  color: #ccd3e2;
  font-size: 0.8rem;
}

.more-stories {
  margin: 0 0 54px;
}

.more-stories h2,
.more-stories h3 {
  margin-bottom: 0.75rem;
}

.more-stories a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: normal;
  font-synthesis: weight style small-caps;
  display: flex;
  justify-content: center;
  padding: 32px 24px;
  border-top: 1px solid var(--home-gold, #f5d65b);
  background: var(--home-navy, #111b3d);
}
@media (max-width: 700px) {
  .site-footer {
    padding: 28px 20px;
  }
}

.footer-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 1184px;
  overflow: visible;
  padding: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    gap: 18px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-label {
  margin: 0;
  color: var(--home-gold, #f5d65b);
  font-size: 1.4rem;
  line-height: normal;
  letter-spacing: -0.025em;
}

.footer-second-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (max-width: 700px) {
  .footer-second-column {
    width: 100%;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}
@media (max-width: 700px) {
  .footer-links {
    justify-content: center;
    gap: 4px 20px;
  }
}

.footer-links a,
.footer-links button {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-cream, #f8f4e9);
  font-size: 0.8125rem;
  text-decoration: none;
  cursor: pointer;
}
.footer-links a > :nth-child(2),
.footer-links button > :nth-child(2) {
  margin-left: 5px;
}
.footer-links a:hover,
.footer-links button:hover {
  color: var(--home-gold, #f5d65b);
  text-decoration: underline;
}
.footer-links a:focus-visible,
.footer-links button:focus-visible {
  outline: 2px solid var(--home-gold, #f5d65b);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
}

.footer-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
  font-size: 1rem;
}

.footer-made-by {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .footer-made-by {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
  }
}

.footer-made-by-text {
  color: #cbd0df;
  font-size: 0.75rem;
}

.footer-flags {
  display: flex;
}
.footer-flags img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-flags img:not(:first-child) {
  margin-left: 6px;
}

.glossary-list dt:target {
  width: fit-content;
  background: rgba(245, 214, 91, 0.4);
  outline: 5px solid rgba(245, 214, 91, 0.4);
  border-radius: 2px;
}

#word-help {
  width: min(380px, 100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 30px;
  overflow-y: auto;
  border: 1px solid #d8dccb;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(17, 27, 61, 0.1490196078);
}

#word-help::backdrop {
  background: rgba(17, 27, 61, 0.3490196078);
}

.dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  margin: -15px -15px 4px auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
}

.dialog-close:hover {
  background: #eeeede;
}

#word-help-title {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  overflow-wrap: anywhere;
}

#word-help-meaning {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

#analytics-consent h2 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

#analytics-consent {
  position: fixed;
  z-index: 10;
  inset-inline: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(820px, 100% - 40px);
  max-height: min(36dvh, 260px);
  margin-inline: auto;
  padding: 18px 20px;
  overflow-y: auto;
  border: 1px solid #d0d4c9;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 32px rgba(17, 27, 61, 0.1019607843);
}

.consent-copy {
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.consent-copy p {
  margin: 0;
}

.consent-copy a {
  font-weight: 600;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.consent-actions button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}

.consent-actions button:first-child {
  background: transparent;
  color: var(--ink);
}

.consent-actions button:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}

@media (max-width: 960px) {
  .story-grid {
    gap: 16px;
  }
  .story-cover {
    padding: 20px;
    min-height: 216px;
  }
  .story-card-copy {
    padding: 20px;
  }
  .reading-layout {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 35px;
  }
  .reading-aside {
    padding: 18px;
  }
}
@media (max-width: 700px) {
  .wrapper {
    width: calc(100% - 40px);
  }
  .hero {
    padding: 48px 0 44px;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 9vw, 3.6rem);
  }
  .section-heading {
    display: block;
    margin-bottom: 1.3rem;
  }
  .section-heading p {
    margin-top: 0.65rem;
  }
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .story-cover {
    min-height: 218px;
    padding: 22px 25px;
  }
  .cover-title {
    max-width: 12ch;
    font-size: 2rem;
  }
  .story-cover svg {
    width: 116px;
    height: 116px;
    right: 20px;
  }
  .story-card-copy {
    padding: 22px 25px 25px;
  }
  .stories-section {
    padding-bottom: 44px;
  }
  .reading-guide {
    padding: 34px 0 40px;
  }
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .faq {
    padding: 22px 0 40px;
  }
  .breadcrumb {
    margin-top: 17px;
  }
  .story-heading {
    padding: 28px 0 32px;
  }
  .story-heading h1 {
    font-size: clamp(2.3rem, 8.5vw, 3.5rem);
  }
  .reading-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 28px;
  }
  .story-text {
    font-size: 1.13rem;
    line-height: 1.86;
  }
  .story-text p {
    margin-bottom: 1.4rem;
  }
  .reading-aside {
    position: static;
    display: block;
    padding: 20px 22px;
  }
  .reading-aside a {
    display: inline-flex;
    margin-right: 20px;
  }
  .glossary {
    margin-top: 30px;
    padding-top: 28px;
  }
  .glossary-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .translation {
    margin-bottom: 36px;
  }
  .translation > summary {
    padding: 18px 20px;
  }
  .translation-text {
    padding: 5px 20px 14px;
    font-size: 1rem;
  }
  .continue-reading {
    margin-bottom: 30px;
    padding: 30px 25px;
  }
  .continue-reading .button {
    width: 100%;
  }
  .more-stories {
    margin-bottom: 34px;
  }
  #analytics-consent {
    inset-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-height: min(38dvh, 245px);
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
  }
  .consent-actions {
    width: 100%;
  }
  .consent-actions button {
    flex: 1;
  }
}
@media (max-width: 360px) {
  .wrapper {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 2.35rem;
  }
  .story-heading h1 {
    font-size: 2.15rem;
  }
  .story-cover,
  .story-card-copy {
    padding-inline: 20px;
  }
  .continue-reading {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}