/*======================================================================
Stories ("Real conversations") - inc/functions/stories.php
- story page hero + first message card, closing bar, More real conversations
- story cards, stories listing (filter bar, dropdowns, chips, grid)
- new components: conversation_table, quote_stats, download_file
- story-page-only tweaks to existing components (stats, how it works, icon boxes)
Values from the Marvel design (1440 wide) and the phone mockups.
======================================================================*/

/*---------- shared ----------*/
.story-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.story-tags .bullet-meta-cat,
.story-tags .bullet-meta-item {
    margin: 0;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
    border-radius: 2px;
}
.story-tags-hero .bullet-meta-cat {
    background-color: var(--sk-white);
    color: var(--sk-primary);
}
/* default (peach) solution chip: darker text so it passes WCAG AA (Bullets' #FC3B02 is 3:1) */
.story-tags .bullet-meta-item:not(.blue):not(.green):not(.purple):not(.orange):not(.grey) {
    color: #B82B00;
}

/*---------- story hero ----------*/
.story-banner {
    position: relative;
    overflow: hidden;
    min-height: 589px;
    justify-content: flex-start;
    padding: 104px 0 72px;
}
.story-banner .container-fluid {
    position: relative;
    z-index: 2;
}
.story-back-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--sk-white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
}
.story-back-link:hover,
.story-back-link:focus {
    color: var(--sk-white);
    text-decoration: underline;
}
.story-banner-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-top: 86px;
}
.story-banner-text {
    flex: 1 1 auto;
    max-width: 600px;
    color: var(--sk-white);
}
/* headings use the site's heading weight (600), as elsewhere on the site (Chris, 24 Nov) */
.story-banner-title {
    color: var(--sk-white);
    font-size: 46px;
    line-height: 1.2;
    font-weight: 600;
    margin: 12px 0 12px;
}
.sub-banner p.story-banner-summary {
    max-width: 450px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 400;
    color: var(--sk-white);
}
.sub-banner p.story-banner-date {
    margin: 22px 0 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--sk-white);
}
.story-first-message {
    position: relative;
    z-index: 2;
    flex: 0 0 480px;
    max-width: 480px;
    margin: 24px 60px 0 0;
    padding: 38px 40px 40px 41px;
    background-color: var(--sk-white);
    border-radius: 16px;
}
.story-first-message-label {
    display: block;
    margin: 0 0 12px;
    color: var(--sk-primary);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    text-transform: uppercase;
}
.sub-banner .story-first-message-text,
.quote-stats-quote blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    quotes: none;
}
.sub-banner .story-first-message-text::before,
.sub-banner .story-first-message-text::after,
.quote-stats-quote blockquote::before,
.quote-stats-quote blockquote::after {
    content: none;
}
.sub-banner .story-first-message-text p {
    margin: 0;
    color: #3A0F2E;
    font-size: 23px;
    line-height: 1.48;
    font-weight: 500;
    font-style: italic;
}
/* pink shape behind the card (design: tilted oval, right of the hero) */
.story-banner-blob {
    position: absolute;
    z-index: 1;
    top: 198px;
    left: calc(50% + 225px);
    width: 600px;
    height: 820px;
    border-radius: 50%;
    background-color: #FFC2C2;
    transform: rotate(-28deg);
    transform-origin: 50% 50%;
    pointer-events: none;
}

/*---------- story page: existing components as in the design ----------*/
/* stats (Hero Content, layout 10): one row of equal boxes */
.single-story .new-number-row > .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}
.single-story .new-number-row .row > [class*="col-"] {
    flex: 1 1 0;
    width: auto;
    max-width: none;
}
.single-story .new-number-blog {
    padding: 30px 12px 32px;
    gap: 6px;
    border-radius: 4px;
}
.single-story .new-num {
    font-size: 40px;
    line-height: 1.2;
}
.single-story .new-number-blog p {
    font-size: 22px;
    line-height: 1.3;
    color: var(--sk-gray);
}

/* icon boxes (layout 1): three items sit three across, as in the design */
@media (min-width: 992px) {
    .single-story .content-row > .row > .col-lg-3:first-child:nth-last-child(3),
    .single-story .content-row > .row > .col-lg-3:first-child:nth-last-child(3) ~ .col-lg-3 {
        width: 33.3333%;
    }
    .single-story .content-row > .row:has(> .col-lg-3:first-child:nth-last-child(3)) {
        --bs-gutter-x: 56px;
    }
}

/*---------- closing bar: date left, "Share" + icons right, all on one line ----------*/
.story-closing {
    padding: 0 0 28px;
}
.post-footer.story-post-footer {
    align-items: center;
    padding-top: 26px;
    border-top-color: #CFCFD8;
}
.story-post-date {
    text-align: left;
}
.story-post-footer .post-social-right {
    flex-direction: row;
    align-items: center;
    gap: 22px;
}
.story-post-footer .post-social-right p {
    margin: 0;
}
.story-post-footer .post-social {
    gap: 22px;
}

/*---------- More real conversations ----------*/
.story-related {
    padding: 96px 0 94px;
}
.story-related-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 33px;
}
.story-related-title {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}
.btn.story-related-btn {
    padding: 13px 18px;
    background-color: var(--sk-white);
}
.story-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}
.story-related .story-card-img {
    height: 199px;
}

/*---------- story card ----------*/
.story-grid-item {
    display: flex;
    min-width: 0;
}
.story-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: var(--sk-white);
    border-radius: 6px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16);
    overflow: hidden;
    isolation: isolate;
}
.story-card-img {
    position: relative;
    height: 222px;
    background-color: #E9E9E9;
    overflow: hidden;
}
.story-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-card-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(221, 49, 49, 0.78);
    color: var(--sk-white);
    font-size: 20px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.story-card:hover .story-card-hover,
.story-card:focus-within .story-card-hover {
    opacity: 1;
}
.story-card-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0;
    padding: 33px 31px 48px;
}
.story-card .story-tags {
    margin-bottom: 18px;
}
.story-card-title {
    margin: 0 0 9px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}
.story-card-link {
    color: var(--sk-secondary);
    text-decoration: none;
}
.story-card-link:hover,
.story-card-link:focus {
    color: var(--sk-secondary);
    text-decoration: none;
}
/* the whole card is the link */
.story-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
}
.story-card-link:focus-visible {
    outline: none;
}
.story-card:focus-within {
    outline: 3px solid var(--sk-primary);
    outline-offset: 3px;
}
.story-card-summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
}
.story-card-more {
    display: none;
    margin-top: 12px;
    color: var(--sk-primary);
    font-size: 15px;
    font-weight: 500;
}

/*---------- stories listing ----------*/
.stories-filter-bar {
    padding: 21px 0 20px;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 47px;
}
.stories-filter-row {
    display: flex;
    align-items: center;
    gap: 18px;
}
.stories-filter-row .stories-search {
    flex: 0 0 409px;
    margin-right: 6px;
}
.stories-search input,
.stories-mobile-search input {
    height: 49px;
}
.stories-dropdown {
    position: relative;
    flex: 0 0 226px;
}
.stories-dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 49px;
    padding: 0 48px 0 23px;
    background-color: var(--sk-white);
    border: 1px solid #E2E2E2;
    border-radius: 2px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.04);
    color: var(--sk-secondary);
    font-family: inherit;
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}
.stories-dropdown-toggle:hover,
.stories-dropdown.is-open .stories-dropdown-toggle {
    border-color: var(--sk-primary);
}
.stories-dropdown-toggle:focus-visible {
    outline: 2px dashed var(--sk-primary);
    outline-offset: 2px;
}
.stories-dropdown-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.stories-dropdown-count {
    color: var(--sk-primary);
    font-weight: 500;
}
.stories-dropdown-arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 15px;
    height: auto;
    margin-top: -4px;
    transition: transform 0.2s ease;
}
.stories-dropdown.is-open .stories-dropdown-arrow {
    transform: rotate(180deg);
}
.stories-dropdown-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 340px;
    padding: 18px 20px;
    background-color: var(--sk-white);
    border: 1px solid #E2E2E2;
    border-radius: 2px;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.12);
}
.stories-dropdown-panel[hidden] {
    display: none;
}
.stories-dropdown-panel .stories-check-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
/* tick boxes: the theme's styled checkboxes (as on the Bullets page), a little smaller text */
.bullet-post-filter-check-row.stories-check-group {
    gap: 8px;
}
.stories-check-group label {
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
}
.stories-check-group .jq-checkbox {
    top: 3px;
}
.stories-check-group .jq-checkbox.focused {
    outline: 2px dashed var(--sk-primary);
    outline-offset: 2px;
}
.stories-reset-link {
    margin-left: auto;
    color: var(--sk-primary);
    font-size: 14px;
    line-height: 1.3;
    text-decoration: underline;
    white-space: nowrap;
}
.stories-reset-link:hover {
    color: var(--sk-hover);
}
.stories-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-bottom: 34px;
}
.stories-summary[hidden] {
    display: none;
}
.stories-count {
    margin: 0;
    color: var(--sk-secondary);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}
.stories-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.stories-chips:empty {
    display: none;
}
.story-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 9px 0 10px;
    background-color: var(--sk-white);
    border: 1px solid #D9D9D9;
    border-radius: 0;
    color: #444444;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}
.story-chip svg {
    color: var(--sk-secondary);
}
.story-chip:hover {
    border-color: var(--sk-primary);
}
.story-chip:focus-visible {
    outline: 2px dashed var(--sk-primary);
    outline-offset: 2px;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}
.stories-listing-section.is-loading .stories-grid {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.stories-no-results {
    margin-top: 0;
}
.stories-load-more {
    margin-top: 56px;
}
.stories-filter-modal .modal-header .stories-modal-reset {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: none;
    color: var(--sk-primary);
    font-size: 14px;
    line-height: 1.3;
    text-decoration: underline;
    cursor: pointer;
}
.stories-filter-modal .modal-header .stories-modal-reset:hover:not(:disabled) {
    color: var(--sk-hover);
}
/* nothing ticked = nothing to reset: greyed out and not clickable */
.stories-filter-modal .modal-header .stories-modal-reset:disabled {
    color: #A5A5A5;
    cursor: default;
}
.stories-filter-modal .modal-header h2 {
    margin: 0;
}
/* the footer sits outside .modal-content, where Bootstrap turns pointer events off:
   make the "Show N stories" button itself tappable (on Bullets the tap only hits the backdrop) */
.stories-filter-modal .modal-footer {
    pointer-events: auto;
}
/* a fieldset's legend sits on its top edge, outside the padding: the space above each heading
   comes from the margin between groups, the space below it from the legend's own margin */
.stories-modal-groups .stories-check-group {
    margin: 0;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid #E3E3E3;
    min-width: 0;
    gap: 12px;
}
.stories-modal-groups .stories-check-group + .stories-check-group {
    margin-top: 20px;
}
.stories-modal-groups .stories-check-group label {
    white-space: normal;
}
.stories-modal-groups .stories-check-group:last-child {
    border-bottom: 0;
}
.stories-check-legend {
    float: none;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    color: #555555;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/*---------- preview note (section not live yet) ----------*/
.stories-preview-note {
    position: fixed;
    z-index: 9999;
    left: 16px;
    bottom: 16px;
    max-width: 420px;
    padding: 10px 14px;
    background-color: #222222;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/*======================================================================
Component: conversation_table ("The conversation")
======================================================================*/
.conversation-head {
    margin-bottom: 44px;
}
.conversation-heading {
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}
.conversation-intro {
    margin: 0;
    max-width: 800px;
    font-size: 18px;
    line-height: 1.5;
    color: var(--sk-gray);
}
.conversation-table-wrap {
    background-color: var(--sk-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.conversation-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 16px;
    line-height: 1.5;
}
.conversation-table th,
.conversation-table td,
.conversation-table tr {
    border: 0;
    background: none;
    box-shadow: none;
}
.conversation-table tbody tr,
.conversation-table tbody tr:nth-child(odd),
.conversation-table tbody tr:nth-child(even) {
    background-color: var(--sk-white);
}
.conversation-table thead th {
    padding: 19px 32px 18px 33px;
    background-color: #DD3131;
    color: var(--sk-white);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}
.conversation-table thead th:nth-child(1) { width: 22%; }
.conversation-table thead th:nth-child(2) { width: 42%; }
.conversation-table tbody tr + tr {
    border-top: 1px solid #DDDDDD;
}
.conversation-table tbody th,
.conversation-table tbody td {
    padding: 24px 32px 32px 33px;
    vertical-align: top;
    text-align: left;
}
.conversation-table tbody td {
    color: #444444;
    font-size: 16px;
}
.conversation-step {
    font-weight: 400;
}
.conversation-time {
    display: block;
    color: var(--sk-primary);
    font-size: 16px;
    line-height: 1.5;
}
.conversation-title {
    display: block;
    margin-top: 2px;
    color: var(--sk-secondary);
    font-size: 18px;
    line-height: 1.45;
}
.conversation-meta {
    display: block;
    margin-top: 4px;
    color: #444444;
    font-size: 12px;
    line-height: 1.4;
}

/*======================================================================
Component: quote_stats ("What success looks like")
======================================================================*/
.quote-stats-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 40px;
}
.quote-stats-heading {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}
.quote-stats-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}
.bg-black .quote-stats-note,
.bg-secondary .quote-stats-note,
.bg-primary .quote-stats-note {
    color: var(--sk-white);
}
.quote-stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 731fr) minmax(0, 493fr);
    gap: 24px;
}
.quote-stats-grid.quote-only,
.quote-stats-grid.stats-only {
    grid-template-columns: minmax(0, 1fr);
}
.quote-stats-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0;
    padding: 60px 56px;
    background-color: var(--sk-white);
    border-radius: 3px;
    text-align: center;
}
.quote-stats-mark {
    display: block;
    width: 57px;
    height: auto;
}
.quote-stats-quote blockquote {
    margin: 0;
}
.quote-stats-quote blockquote p {
    margin: 0;
    color: var(--sk-secondary);
    font-size: 30px;
    line-height: 1.45;
    font-weight: 400;
}
.quote-stats-quote figcaption {
    color: var(--sk-secondary);
    font-size: 16px;
    line-height: 1.4;
}
.quote-stats-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.stats-only .quote-stats-stats {
    flex-direction: row;
}
.quote-stats-stat {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 192px;
    padding: 32px;
    background-color: #DD3131;
    border-radius: 3px;
    text-align: center;
}
.quote-stats-section .quote-stats-stat p {
    margin: 0;
    color: var(--sk-white);
}
.quote-stats-section p.quote-stats-value {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}
.quote-stats-section p.quote-stats-text {
    max-width: 330px;
    font-size: 22px;
    line-height: 1.25;
}

/*======================================================================
Component: download_file ("Download the full story")
======================================================================*/
.download-file-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.download-file-heading {
    margin: 0 0 16px;
    font-size: 38px;
    line-height: 1.2;
}
.download-file-text {
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.5;
    color: #444444;
}
.bg-black .download-file-text,
.bg-secondary .download-file-text,
.bg-primary .download-file-text {
    color: var(--sk-white);
}
.download-file-btn svg {
    flex: 0 0 auto;
}

/*======================================================================
Laptop / tablet / phone
======================================================================*/
@media (max-width: 1399px) {
    .stories-filter-row .stories-search {
        flex: 1 1 300px;
    }
    .stories-dropdown {
        flex: 0 1 210px;
    }
}

@media (max-width: 1199px) {
    .story-first-message {
        flex-basis: 420px;
        max-width: 420px;
        margin-right: 0;
        padding: 32px;
    }
    .sub-banner .story-first-message-text p {
        font-size: 21px;
    }
    .story-banner-blob {
        left: calc(50% + 120px);
    }
    .story-related-grid {
        gap: 30px;
    }
    .quote-stats-quote {
        padding: 48px 40px;
    }
}

@media (max-width: 991px) {
    .story-banner {
        min-height: 0;
        padding: 110px 0 56px;
    }
    .story-banner-row {
        flex-direction: column;
        gap: 32px;
        margin-top: 40px;
    }
    .story-first-message {
        flex: 0 0 auto;
        max-width: 560px;
        width: 100%;
        margin: 0;
    }
    .story-banner-blob {
        top: auto;
        bottom: -360px;
        left: auto;
        right: -280px;
        width: 520px;
        height: 640px;
    }
    .single-story .new-number-row .row > [class*="col-"] {
        flex: 0 0 auto;
        width: 50%;
    }
    .story-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .story-related-grid .story-grid-item:nth-child(3) {
        display: none;
    }
    .stories-filter-bar {
        margin-bottom: 0;
    }
    .stories-mobile-filter {
        margin-bottom: 24px;
    }
    .stories-mobile-search {
        margin: -8px 0 24px;
    }
    .stories-summary {
        gap: 12px;
        margin-bottom: 24px;
    }
    .stories-count {
        flex: 0 0 100%;
        font-size: 20px;
    }
    .stories-summary .stories-reset-link {
        margin-left: 4px;
    }
    .stories-grid {
        gap: 30px;
    }
    .quote-stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .quote-stats-stats {
        flex-direction: row;
    }
    .story-card-more {
        display: block;
    }
    .story-card-hover {
        display: none;
    }
}

@media (max-width: 767px) {
    .story-banner {
        padding: 96px 0 44px;
    }
    .story-back-link {
        font-size: 15px;
    }
    .story-banner-row {
        margin-top: 32px;
        gap: 28px;
    }
    .story-banner-title {
        font-size: 32px;
        line-height: 1.15;
        margin: 14px 0 14px;
    }
    .sub-banner p.story-banner-summary {
        font-size: 16px;
        line-height: 1.6;
    }
    .sub-banner p.story-banner-date {
        margin-top: 18px;
    }
    .story-first-message {
        padding: 24px 22px 26px;
        border-radius: 12px;
    }
    .story-first-message-label {
        font-size: 13px;
    }
    .sub-banner .story-first-message-text p {
        font-size: 19px;
        line-height: 1.45;
    }
    .story-tags .bullet-meta-cat,
    .story-tags .bullet-meta-item {
        font-size: 14px;
        padding: 5px 9px;
    }
    .single-story .new-number-row > .row {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }
    .single-story .new-number-blog {
        padding: 20px 10px 22px;
    }
    .single-story .new-num {
        font-size: 32px;
    }
    .single-story .new-number-blog p {
        font-size: 17px;
    }
    .story-related {
        padding: 56px 0 60px;
    }
    .story-related-title {
        font-size: 28px;
    }
    .story-related-head {
        margin-bottom: 24px;
    }
    .story-related-grid,
    .stories-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .story-related-grid .story-grid-item:nth-child(3) {
        display: flex;
    }
    .story-card-img,
    .story-related .story-card-img {
        height: 176px;
    }
    .story-card-info {
        padding: 22px 20px 26px;
    }
    .story-card .story-tags {
        margin-bottom: 12px;
    }
    .story-card-title {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .story-card-summary {
        font-size: 15px;
    }
    .stories-load-more {
        margin-top: 40px;
    }
    .stories-load-more .btn {
        width: 100%;
        justify-content: center;
    }
    .story-closing {
        padding-bottom: 24px;
    }
    .post-footer.story-post-footer {
        padding-top: 20px;
    }

    /* conversation table: each row becomes a card */
    .conversation-heading,
    .quote-stats-heading {
        font-size: 28px;
    }
    .conversation-head {
        margin-bottom: 24px;
    }
    .conversation-intro {
        font-size: 16px;
    }
    .conversation-table-wrap {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }
    .conversation-table,
    .conversation-table tbody,
    .conversation-table tr,
    .conversation-table th,
    .conversation-table td {
        display: block;
        width: 100%;
    }
    .conversation-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .conversation-table tbody tr {
        margin-bottom: 16px;
        background-color: var(--sk-white);
        border-radius: 8px;
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
        overflow: hidden;
    }
    .conversation-table tbody tr + tr {
        border-top: 0;
    }
    .conversation-table tbody th {
        padding: 18px 20px 14px;
        border-bottom: 1px solid #EEEEEE;
    }
    .conversation-table tbody td {
        padding: 14px 20px 4px;
        font-size: 15px;
    }
    .conversation-table tbody td:last-child {
        padding-bottom: 20px;
    }
    .conversation-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--sk-primary);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    /* quote + stats: the space under the quote = the space between the stats */
    .quote-stats-head {
        margin-bottom: 24px;
    }
    .quote-stats-grid {
        gap: 16px;
    }
    .quote-stats-quote {
        padding: 36px 24px;
        gap: 16px;
    }
    .quote-stats-mark {
        width: 44px;
    }
    .quote-stats-quote blockquote p {
        font-size: 22px;
    }
    .quote-stats-stats,
    .stats-only .quote-stats-stats {
        flex-direction: column;
        gap: 16px;
    }
    .quote-stats-stat {
        flex: 0 0 auto;
        min-height: 0;
        padding: 26px 20px;
    }
    .quote-stats-section p.quote-stats-value {
        font-size: 32px;
    }
    .quote-stats-section p.quote-stats-text {
        font-size: 18px;
    }

    /* download */
    .download-file-heading {
        font-size: 28px;
    }
    .download-file-text {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-card-hover,
    .stories-dropdown-arrow {
        transition: none;
    }
}
