:root { --story-cream: #f5f1e8; }
body { background: #fff; }
.stories-site-header { position: relative; }
.stories-hero { min-height: 390px; padding: clamp(62px, 9vw, 104px) 6vw; display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; background: linear-gradient(115deg, rgba(245,241,232,.98), rgba(245,241,232,.88)), url("../assets/reviews/mulwanda-avani-3.jpg") center/cover; }
.stories-hero > div { max-width: 760px; }
.stories-hero h1 { margin: 18px 0; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(52px, 7vw, 92px); line-height: .91; letter-spacing: -.065em; }
.stories-hero h1 em { color: var(--coral); font-family: Georgia, serif; font-weight: 400; }
.stories-hero p { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.stories-share-button { flex: 0 0 auto; }
.featured-stories, .stories-library { padding: clamp(54px, 8vw, 88px) 6vw; }
.featured-stories { color: white; background: var(--navy); }
.stories-heading { max-width: 1320px; margin: 0 auto 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.stories-heading h2 { margin: 12px 0 0; font-family: Manrope, sans-serif; font-size: clamp(38px, 4.5vw, 60px); line-height: 1; letter-spacing: -.05em; }
.stories-heading > p { max-width: 410px; margin: 0; color: var(--muted); line-height: 1.6; }
.featured-stories .stories-heading > p { color: rgba(255,255,255,.68); }
.featured-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.featured-story, .story-card { overflow: hidden; border-radius: 22px; background: white; box-shadow: 0 16px 45px rgba(5,34,45,.14); }
.featured-story { min-height: 460px; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.featured-story:hover { transform: translateY(-3px); box-shadow: 0 20px 52px rgba(5,34,45,.2); }
.featured-story:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.featured-story-media { width: 100%; height: 370px; position: relative; overflow: hidden; background: var(--navy); }
.featured-story-media img, .featured-story-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.featured-story-media img { object-position: var(--story-image-focus, center); }
.featured-story-copy { min-height: 90px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--navy); background: white; }
.featured-story-copy strong, .featured-story-copy span { display: block; }
.featured-story-copy strong { font-family: Manrope, sans-serif; font-size: 16px; }
.featured-story-copy > div > span { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.featured-story-copy > div { min-width: 0; }
.featured-story-copy small { flex: 0 0 auto; color: var(--coral); font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.featured-story-copy small span { display: inline; }
.story-person small, .story-dialog-person small { width: max-content; margin-top: 12px; padding: 6px 9px; display: block; border-radius: 999px; color: #9ce0d8; background: rgba(19,147,152,.18); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.stories-library { background: white; }
.story-filters { max-width: 1320px; margin: 0 auto; padding: 14px; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; border-radius: 18px; background: #edf4f1; }
.story-filters label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.story-filters select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: white; font: 600 14px DM Sans, sans-serif; }
.story-clear { min-height: 48px; padding: 0 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: white; font: 800 13px DM Sans, sans-serif; }
.story-results-line { max-width: 1320px; margin: 22px auto 14px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.story-results-line strong { color: var(--navy); }
.story-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(7,59,76,.08); cursor: pointer; }
.story-card-media { height: 230px; position: relative; overflow: hidden; background: var(--navy); }
.story-card-media img, .story-card-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.story-card-media img { object-position: var(--story-image-focus, center); }
.story-card-media .story-video-mark { width: 48px; height: 48px; position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; color: var(--navy); background: white; font-size: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.story-card-copy { min-height: 220px; padding: 24px; display: flex; flex-direction: column; }
.story-card-copy blockquote { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 0; color: #29464d; font-family: Manrope, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.5; }
.story-person { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.story-person strong { font-family: Manrope, sans-serif; font-size: 15px; }
.story-person span { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.story-person small, .story-dialog-person small { color: var(--teal); background: #e8f6f4; }
.story-empty { max-width: 1320px; margin: 20px auto 0; padding: 46px 28px; border-radius: 20px; background: #edf4f1; text-align: center; }
.story-empty h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 25px; }
.story-empty p { margin: 8px 0 0; color: var(--muted); }
.story-pagination { max-width: 1320px; margin: 28px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.story-page-button { min-width: 44px; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); background: white; font: 800 13px DM Sans, sans-serif; }
.story-page-button.active { color: white; border-color: var(--navy); background: var(--navy); }
.story-pagination-ellipsis { color: var(--muted); }
.story-cta { max-width: 1320px; margin: 56px auto 0; padding: clamp(30px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 38px; border-radius: 26px; color: white; background: var(--navy); }
.story-cta > div:first-child { max-width: 690px; }
.story-cta > div > span { color: var(--aqua); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story-cta h2 { margin: 10px 0; font-family: Manrope, sans-serif; font-size: clamp(32px, 4vw, 50px); line-height: 1; letter-spacing: -.04em; }
.story-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; }
.story-cta-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.story-secondary-button { color: white; border: 1px solid rgba(255,255,255,.28); background: transparent; }
.story-dialog { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: white; box-shadow: 0 28px 100px rgba(5,25,35,.3); }
.story-dialog::backdrop, .stories-share-dialog::backdrop { background: rgba(5,25,35,.72); backdrop-filter: blur(5px); }
.story-dialog[open] { display: grid; grid-template-columns: 1.15fr .85fr; }
.story-dialog-close { width: 42px; height: 42px; position: absolute; z-index: 2; top: 14px; right: 14px; border: 0; border-radius: 50%; color: var(--navy); background: white; font-size: 25px; box-shadow: 0 7px 20px rgba(0,0,0,.14); }
.story-dialog-media { min-height: 560px; background: var(--navy); }
.story-dialog-media img, .story-dialog-media video { width: 100%; height: 100%; display: block; object-fit: contain; }
.story-dialog-copy { padding: 54px 38px 38px; display: flex; flex-direction: column; justify-content: center; }
.story-dialog-copy blockquote { margin: 26px 0 0; color: #29464d; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 700; line-height: 1.5; }
.story-dialog-person { margin-top: 28px; padding-top: 20px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.story-dialog-person strong { font-family: Manrope, sans-serif; font-size: 17px; }
.story-dialog-person span { margin-top: 5px; color: var(--muted); font-size: 14px; }
.stories-share-dialog { width: min(520px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: 24px; background: white; box-shadow: 0 28px 100px rgba(5,25,35,.3); }
.stories-share-dialog h2 { margin: 12px 0 8px; font-family: Manrope, sans-serif; font-size: 32px; letter-spacing: -.04em; }
.stories-share-dialog > p { margin: 0; color: var(--muted); line-height: 1.55; }
.stories-share-options { margin-top: 22px; display: grid; gap: 10px; }
.stories-share-options a, .stories-share-options button { width: 100%; padding: 16px 18px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); background: white; text-align: left; text-decoration: none; font: inherit; }
.stories-share-options strong { font-family: Manrope, sans-serif; font-size: 15px; }
.stories-share-options span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.toast { min-width: 140px; position: fixed; z-index: 20; right: 22px; bottom: 22px; padding: 12px 16px; border-radius: 12px; color: white; background: var(--navy); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: none; }
@media (max-width: 980px) { .featured-grid, .story-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .story-filters { grid-template-columns: 1fr 1fr; } .story-cta { align-items: flex-start; flex-direction: column; } }
@media (max-width: 720px) { .stories-site-header .desktop-nav { display: none; } .stories-hero { min-height: 0; padding: 64px 18px; align-items: stretch; flex-direction: column; } .stories-hero h1 { font-size: 52px; } .stories-share-button { width: 100%; } .featured-stories, .stories-library { padding: 58px 18px; } .stories-heading { align-items: flex-start; flex-direction: column; gap: 10px; } .featured-grid, .story-grid, .story-filters { grid-template-columns: 1fr; } .featured-story { min-height: 0; } .featured-story-media { height: 350px; } .story-card { display: grid; grid-template-columns: 42% 1fr; } .story-card-media { height: 100%; min-height: 250px; } .story-card-copy { min-height: 250px; padding: 18px; } .story-card-copy blockquote { font-size: 16px; } .story-cta { padding: 30px 24px; } .story-cta-actions { width: 100%; align-items: stretch; flex-direction: column; } .story-cta-actions .button { width: 100%; } .story-dialog[open] { display: block; overflow: auto; } .story-dialog-media { min-height: 0; height: 52vh; } .story-dialog-copy { padding: 30px 24px; } .stories-share-dialog { padding: 30px 24px; } }
@media (max-width: 460px) { .stories-site-header .button-small { padding: 0 13px; font-size: 12px; } .story-card { display: block; } .story-card-media { min-height: 0; height: 220px; } .story-card-copy { min-height: 220px; } .story-results-line { align-items: flex-start; flex-direction: column; gap: 5px; } }
