.hero-stories-page {
    --stories-blue: #1e73be;
    --stories-navy: #12355b;
    --stories-cyan: #45c3e6;
    --stories-gold: #f4b942;
    background: #f5f9fd;
    color: #243c55;
    font-family: "Plus Jakarta Sans", "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
}

.hero-stories-page *:not(.fas):not(.far):not(.fab):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(i) {
    font-family: "Plus Jakarta Sans", "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif !important;
}

.stories-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0 88px;
    background: linear-gradient(125deg, #125993 0%, #1e73be 55%, #239ac7 100%);
    color: #fff;
}

.stories-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    content: "";
}

.stories-hero-orb {
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(8px);
}

.stories-hero-orb--one { top: -150px; left: -80px; background: rgba(94, 216, 255, .25); }
.stories-hero-orb--two { right: -100px; bottom: -210px; background: rgba(255, 211, 93, .2); }

.stories-hero-inner {
    max-width: 880px;
    text-align: center;
}

.stories-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #d7f6ff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.stories-eyebrow i { color: #ffd166; }

.stories-hero h1,
.story-detail-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 5vw, 4.15rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.stories-hero p {
    max-width: 740px;
    margin: 24px auto 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
}

.stories-list-section { padding: 76px 0 96px; }

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

.story-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce9f4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(18, 64, 106, .1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.story-card:hover { transform: translateY(-7px); box-shadow: 0 25px 55px rgba(18, 64, 106, .16); }

.story-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfeaf4;
}

.story-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.story-card:hover .story-card-media img { transform: scale(1.045); }

.story-card-kind {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 32px);
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(9, 39, 67, .76);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.3;
    backdrop-filter: blur(9px);
}

.story-card-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 4px solid rgba(255,255,255,.46);
    border-radius: 50%;
    background: #fff;
    color: var(--stories-blue);
    box-shadow: 0 10px 28px rgba(4, 30, 55, .28);
    transform: translate(-50%, -50%);
}

.story-card-play i { margin-left: 3px; }

.story-card-body { padding: 24px; }
.story-card-person { color: var(--stories-blue); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.story-card h2 {
    margin: 10px 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.38;
    overflow-wrap: anywhere;
}

.story-card h2 a { color: var(--stories-navy); text-decoration: none; }
.story-card h2 a:hover { color: var(--stories-blue); }

.story-card-body > p {
    display: -webkit-box;
    min-height: 4.65em;
    margin: 0;
    overflow: hidden;
    color: #60778c;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.story-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5eef6;
}

.story-card-author { display: inline-flex; min-width: 0; align-items: center; gap: 9px; }
.story-card-author img { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; object-fit: cover; }
.story-card-author strong { overflow-wrap: anywhere; color: #334d65; font-size: .76rem; line-height: 1.35; }
.story-card-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: var(--stories-blue); font-size: .75rem; font-weight: 800; text-decoration: none; }
.story-card-link:hover { color: #114f85; }

.stories-empty { max-width: 640px; margin: 0 auto; padding: 58px 30px; border: 1px solid #dce9f4; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 18px 45px rgba(18,64,106,.08); }
.stories-empty > i { color: var(--stories-blue); font-size: 2.4rem; }
.stories-empty h2 { margin: 18px 0 8px; color: var(--stories-navy); font-size: 1.45rem; }
.stories-empty p { margin: 0; color: #60778c; }

.story-detail-header {
    padding: 68px 0 110px;
    background: linear-gradient(125deg, #114e82, #1e73be 60%, #258fae);
    color: #fff;
}

.story-detail-header-inner { max-width: 940px; }
.story-detail-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px; color: rgba(255,255,255,.86); font-size: .82rem; font-weight: 700; text-decoration: none; }
.story-detail-back:hover { color: #fff; }
.story-detail-header .stories-eyebrow { display: flex; margin-bottom: 14px; }
.story-detail-header h1 { max-width: 900px; font-size: clamp(2rem, 4.6vw, 3.65rem); }
.story-detail-summary { max-width: 790px; margin: 22px 0 0; color: rgba(255,255,255,.84); font-size: 1.04rem; line-height: 1.75; }

.story-detail-author { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.story-detail-author > img { width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; object-fit: cover; }
.story-detail-author > span:nth-child(2) { display: grid; gap: 2px; }
.story-detail-author small { color: rgba(255,255,255,.68); font-size: .7rem; }
.story-detail-author strong { color: #fff; font-size: .88rem; }
.story-detail-rating { display: inline-flex; gap: 3px; margin-left: 8px; color: #ffd166; font-size: .78rem; }

.story-detail-shell {
    position: relative;
    z-index: 2;
    max-width: 1040px;
    margin-top: -64px;
    padding-bottom: 80px;
}

.story-detail-media { overflow: hidden; border: 8px solid #fff; border-radius: 28px; background: #dce8f2; box-shadow: 0 26px 60px rgba(11, 49, 83, .2); }
.story-detail-media > img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.story-video-frame { position: relative; aspect-ratio: 16 / 9; background: #06121d; }
.story-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-media-caption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fff; color: var(--stories-navy); font-size: .75rem; font-weight: 800; }
.story-media-caption i { color: #e62117; }

.story-detail-content { position: relative; max-width: 800px; margin: 46px auto 0; padding: 42px 48px; border: 1px solid #dce9f4; border-radius: 24px; background: #fff; box-shadow: 0 16px 44px rgba(18,64,106,.08); }
.story-detail-quote { position: absolute; top: -21px; left: 38px; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--stories-blue); color: #fff; box-shadow: 0 10px 20px rgba(30,115,190,.25); }
.story-detail-text { color: #425d75; font-size: 1rem; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }

.stories-related { padding: 68px 0 88px; background: #fff; }
.stories-related-heading { margin-bottom: 28px; }
.stories-related-heading span { color: var(--stories-blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.stories-related-heading h2 { margin: 8px 0 0; color: var(--stories-navy); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; }
.stories-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-related-card { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-width: 0; padding: 10px; border: 1px solid #dce9f4; border-radius: 18px; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.story-related-card:hover { border-color: #99c9eb; color: inherit; box-shadow: 0 12px 26px rgba(18,64,106,.1); transform: translateY(-3px); }
.story-related-card img { width: 78px; height: 72px; border-radius: 12px; object-fit: cover; }
.story-related-card span { display: grid; min-width: 0; gap: 4px; }
.story-related-card small { color: var(--stories-blue); font-size: .66rem; font-weight: 800; }
.story-related-card strong { color: var(--stories-navy); font-size: .79rem; line-height: 1.4; overflow-wrap: anywhere; }
.story-related-card > i { color: var(--stories-blue); }

@media (max-width: 991.98px) {
    .stories-grid, .stories-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-related-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
    .stories-hero { padding: 64px 0 58px; }
    .stories-list-section { padding: 46px 0 64px; }
    .stories-grid, .stories-related-grid { grid-template-columns: 1fr; }
    .story-related-card:last-child:nth-child(odd) { grid-column: auto; }
    .story-detail-header { padding: 46px 0 92px; }
    .story-detail-shell { margin-top: -50px; padding-bottom: 58px; }
    .story-detail-media { border-width: 5px; border-radius: 20px; }
    .story-detail-content { margin-top: 34px; padding: 36px 24px 28px; border-radius: 19px; }
    .story-detail-quote { left: 22px; }
    .story-detail-author { flex-wrap: wrap; }
    .stories-related { padding: 50px 0 62px; }
}

@media (max-width: 479.98px) {
    .stories-hero h1, .story-detail-header h1 { font-size: 1.9rem; }
    .story-card-body { padding: 20px; }
    .story-card-footer { align-items: flex-start; flex-direction: column; }
    .story-detail-rating { width: 100%; margin-left: 60px; }
}
