/* Nikki Kahani visual refresh */
body { background: #f5f6f3; color: #1e2928; }
.header-bar { background: #193c36; }
.nav-desktop { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav-desktop a { opacity: 1; }
.nav-desktop a:focus-visible, .collection-card:focus-visible, .latest-card-link:focus-visible { outline: 3px solid #e8a848; outline-offset: 3px; }
.hero-bar { background: #dceee8; color: #193c36; }
.hero-title, .hero-tagline { color: #193c36; text-shadow: none; }
.hero-tagline::before, .hero-tagline::after { color: #b45a42; }
.hero-search { background: #fff; border: 1px solid #bed3ca; border-radius: 8px; box-shadow: none; }
.hero-search input, .hero-search button { border-radius: 5px; }
.hero-search button { background: #ae4b36; color: #fff; }
.hero-search button:hover { background: #863a2d; color: #fff; }
.home-intro { max-width: none; background: transparent; border: 0; border-bottom: 1px solid #cddbd6; border-radius: 0; padding: 8px 0 28px; }
.home-section-heading h2, .home-intro h2 { color: #193c36; }
.home-eyebrow { color: #a44636; letter-spacing: 0; }
.home-languages { margin: 0 0 42px; }
.home-languages h2 { color: #193c36; font-size: 24px; margin: 0 0 14px; }
.home-language-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-language-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; min-width: 0; color: #193c36; background: #e5f1ec; border: 1px solid #c3ddd1; border-radius: 6px; text-decoration: none; }
.home-language-links a:nth-child(2) { background: #fcebe6; border-color: #efcfc5; }
.home-language-links a:nth-child(3) { background: #e9eef9; border-color: #cbd5eb; }
.home-language-links a:nth-child(4) { background: #fbf2d9; border-color: #eadbb1; }
.home-language-links span { font-size: 21px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.home-language-links small { font-size: 13px; color: #495b53; }
.home-language-links a:hover, .home-language-links a:focus-visible { outline: 2px solid #245c4b; outline-offset: 2px; }
@media (max-width: 600px) { .home-language-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collection-grid .collection-card { border-radius: 6px; box-shadow: none; min-height: 190px; }
.collection-grid .collection-card:nth-child(1) { background: #e5f1ec; border-color: #bdd9ce; border-top-color: #2a725b; }
.collection-grid .collection-card:nth-child(2) { background: #fcebe6; border-color: #efcfc5; border-top-color: #b14d3b; }
.collection-grid .collection-card:nth-child(3) { background: #e9eef9; border-color: #cbd5eb; border-top-color: #526da3; }
.collection-grid .collection-card:nth-child(4) { background: #fbf2d9; border-color: #eadbb1; border-top-color: #a87725; }
.collection-card .collection-index { letter-spacing: 0; }
.latest-card { border-radius: 6px; box-shadow: none; border-color: #d5ded9; }
.latest-card-link { border-radius: 5px; }
.latest-card:nth-child(3n+1) { border-top: 4px solid #2a725b; }
.latest-card:nth-child(3n+2) { border-top: 4px solid #b14d3b; }
.latest-card:nth-child(3n) { border-top: 4px solid #526da3; }
.latest-grid .latest-card:first-child { grid-column: span 2; background: #edf5f1; border-color: #b9d7cb; border-top-color: #2a725b; }
.latest-grid .latest-card:first-child .latest-card-link { padding: 30px; }
.latest-grid .latest-card:first-child h3 { font-size: 28px; line-height: 1.35; }
.latest-grid .latest-card:first-child p { font-size: 16px; max-width: 70ch; }
@media (max-width: 600px) {
  .latest-grid .latest-card:first-child { grid-column: auto; }
  .latest-grid .latest-card:first-child .latest-card-link { padding: 22px; }
  .latest-grid .latest-card:first-child h3 { font-size: 22px; }
}
.story-list-card, .single-story { border-radius: 6px; }
.section-container .section-intro { background: transparent; border: 0; border-bottom: 1px solid #cddbd6; border-radius: 0; box-shadow: none; padding: 12px 0 24px; }
.section-intro-kicker { color: #a44636; letter-spacing: 0; }
.language-buttons a { border-radius: 6px; border-color: #c9d9d2; }
.language-buttons a.active-lang { background: #245c4b; border-color: #245c4b; color: #fff; }
.story-list-card { border-color: #d5ded9; border-left: 4px solid #2a725b; box-shadow: none; }
.story-list-card:nth-child(3n+2) { border-left-color: #b14d3b; }
.story-list-card:nth-child(3n) { border-left-color: #526da3; }
.story-list-card .story-list-read { background: transparent; padding: 0; color: #245c4b; }
.story-list-card .story-list-read:hover { background: transparent; color: #9a3f30; }
.single-story { box-shadow: none; border-color: #d5ded9; }
.story-hero { border-bottom: 2px solid #dcebe5; }
.story-meta-line span { background: #e8f1ed; color: #245c4b; }
.story-content { color: #25322e; overflow-wrap: anywhere; }
.related-reading-card { border-radius: 6px; background: #f2f7f5; border-color: #d8e7e0; }
.story-nav-btn { background: #245c4b; box-shadow: none; }
.story-nav-btn:hover { background: #193f34; box-shadow: none; }
.story-engagement { background: #f5f8f6; box-shadow: none; }
/* Story and poem reading pages */
.single-story { padding: 0 46px 46px; overflow: hidden; }
.single-story .story-hero.refined { max-width: none; margin: 0 -46px 24px; padding: 34px 46px 26px; background: #dceee8; border: 0; border-top: 5px solid #b14d3b; }
.single-story .story-title-main { color: #193c36; font-size: 36px; line-height: 1.35; overflow-wrap: anywhere; }
.single-story .story-meta-line span { background: #fff; color: #245c4b; border-radius: 5px; }
.single-story .reader-controls { padding-bottom: 12px; border-bottom: 1px solid #e0e9e4; }
.single-story .font-btn { border-radius: 5px; background: #eef6f2; }
.single-story .story-content { padding-top: 14px; line-height: 1.9; }
.single-story .story-author-signature { border-top: 1px solid #dce9e2; padding-top: 16px; }
.single-story .related-reading-card { background: #edf5f1; border-radius: 6px; }
.single-story .related-reading-card:nth-child(2) { background: #fbefeb; }
.single-story .related-reading-card:nth-child(3) { background: #edf1fa; }
@media (max-width: 640px) {
  .single-story { padding: 0 20px 28px; }
  .single-story .story-hero.refined { margin: 0 -20px 20px; padding: 25px 20px 20px; }
  .single-story .story-title-main { font-size: 27px; }
  .single-story .story-content { line-height: 1.85; }
}
/* Contact, author and policy pages */
.contact-hero, .section-hero { padding: 24px 28px; margin-bottom: 24px; background: #dceee8; border-left: 5px solid #b14d3b; border-radius: 6px; }
.contact-hero h1, .section-hero h1 { color: #193c36; line-height: 1.3; }
.contact-card.refined, .author-card.refined, .about-card, .legal-card, .editorial-policy-card { border: 1px solid #d5ded9; border-radius: 6px; box-shadow: none; background: #fff; }
.about-card, .legal-card, .editorial-policy-card { border-top: 5px solid #2a725b; }
.editorial-policy-card { border-top-color: #b14d3b; }
.about-card h1, .legal-card h1, .editorial-policy-card h1 { color: #193c36; line-height: 1.3; }
.about-card { padding: 36px 40px; overflow-wrap: anywhere; }
.about-card h1 { margin: 0 0 20px; font-size: 32px; }
.about-card h2 { margin: 28px 0 10px; font-size: 21px; line-height: 1.4; }
.about-card p { margin: 0 0 16px; color: #35443d; font-size: 16px; text-align: left; }
.about-card a { color: #245c4b; text-decoration: underline; overflow-wrap: anywhere; }
.section-hero.refined h1 { display: block; margin: 0; color: #193c36; font-size: 32px; line-height: 1.3; }
.about-card h2, .legal-card h2, .editorial-policy-card h2 { color: #245c4b; }
.about-card p, .legal-card p, .editorial-policy-card p, .author-text { line-height: 1.8; }
.contact-form input, .contact-form textarea { border: 1px solid #a9c4b8; border-radius: 6px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid #c17845; outline-offset: 2px; }
.contact-form .read-btn { background: #245c4b; color: #fff; border-radius: 6px; }
.lang-switcher .lang-btn { border-radius: 6px; }
@media (max-width: 640px) { .contact-hero, .section-hero { padding: 20px; } .about-card { padding: 24px 20px; } .about-card h1, .section-hero.refined h1 { font-size: 27px; } }
.archive-intro { border-bottom: 1px solid #cddbd6; padding-bottom: 24px; }
.archive-eyebrow { color: #a44636; letter-spacing: 0; }
.archive-filters { background: #e5f1ec; border-color: #c3ddd1; border-radius: 6px; box-shadow: none; }
.archive-filter-btn { background: #245c4b; }
.archive-reset { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 16px; border: 1px solid #9bbcaf; border-radius: 7px; background: #fff; color: #245c4b; font-size: 14px; font-weight: 700; }
.archive-reset:hover, .archive-reset:focus-visible { text-decoration: underline; }
.archive-card { border-radius: 6px; box-shadow: none; border-left: 4px solid #2a725b; }
.archive-card:nth-child(3n+2) { border-left-color: #b14d3b; }
.archive-card:nth-child(3n) { border-left-color: #526da3; }
@media (max-width: 680px) { .archive-reset { width: 100%; } }
.search-page { max-width: 900px; }
.search-page-form { display: flex; gap: 10px; margin-bottom: 30px; }
.search-page-form input { min-width: 0; flex: 1; padding: 12px 14px; border: 1px solid #aac6ba; border-radius: 6px; font: inherit; }
.search-page-form button { padding: 12px 22px; border: 0; border-radius: 6px; background: #245c4b; color: white; font: inherit; font-weight: 700; cursor: pointer; }
.search-results-title { font-size: 20px; overflow-wrap: anywhere; }
.search-result { margin-bottom: 16px; padding: 22px; background: #fff; border: 1px solid #d5ded9; border-left: 4px solid #2a725b; border-radius: 6px; }
.search-result:nth-of-type(3n+2) { border-left-color: #b14d3b; }
.search-result:nth-of-type(3n) { border-left-color: #526da3; }
.search-result-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #527065; font-size: 12px; font-weight: 700; }
.search-result h3 { margin: 8px 0; font-size: 22px; overflow-wrap: anywhere; }
.search-result p { color: #485851; line-height: 1.7; }
.search-result-read { display: inline-block; margin-top: 10px; color: #245c4b; font-weight: 700; }
@media (max-width: 600px) { .search-page-form { flex-wrap: wrap; } .search-page-form input { flex-basis: 100%; } .search-page-form button { width: 100%; } }
@media (max-width: 900px) { .power-header .hero-tagline { color: #193c36; letter-spacing: 0; } }
