/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. Event Shortcodes & Navigation
   2. Blog & Post Styles
   3. Issues & Categories
   4. Video & Media
   5. Footer
   6. Lightbox
   7. Podcast Styles
   8. Modal & Video Wrapper
   9. Biography Section
   10. Filter Section
   11. Book Section
   12. Hero Section
   13. Logo Slider
   14. Gallery Section
   15. Header & Navigation
   16. Responsive Styles
   ======================================== */

/* ========================================
   1. EVENT SHORTCODES & NAVIGATION
   ======================================== */

.fusion-events-shortcode.fusion-events-shortcode-1 .fusion-load-more-button {
    margin: auto !important;
    max-width: 300px;
}

.fusion-events-post .fusion-events-thumbnail a.url,
.fusion-events-post h2 a.url {
    pointer-events: none;
    cursor: default;
}

/* Remove duplicate Swiper navigation arrows */


.swiper-navigation-icon {display:none;}

.upcoming .swiper-button-prev,
.upcoming .swiper-button-next {
    width: 28px;
    height: 28px;
    display: block;
    position: absolute;
    z-index: 9;
    top: 50%;
    margin-top: 40px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.upcoming .swiper-button-prev {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='512' height='512' x='0' y='0' viewBox='0 0 6.35 6.35' style='enable-background:new 0 0 512 512' xml:space='preserve' class=''%3E%3Cg transform='matrix(-1.5,1.8369701987210297e-16,-1.8369701987210297e-16,-1.5,7.933741807937622,7.937619388103485)'%3E%3Cpath d='M2.258 1.315a.265.265 0 0 0-.174.469L3.703 3.17l-1.62 1.386a.265.265 0 1 0 .345.4L4.28 3.373a.265.265 0 0 0 0-.403L2.428 1.382a.265.265 0 0 0-.17-.067z' fill='%23000000' opacity='1' data-original='%23000000' class=''%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

.upcoming .swiper-button-next {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='512' height='512' x='0' y='0' viewBox='0 0 6.35 6.35' style='enable-background:new 0 0 512 512' xml:space='preserve' class=''%3E%3Cg transform='matrix(1.5,0,0,1.5,-1.586748361587524,-1.5875238776206975)'%3E%3Cpath d='M2.258 1.315a.265.265 0 0 0-.174.469L3.703 3.17l-1.62 1.386a.265.265 0 1 0 .345.4L4.28 3.373a.265.265 0 0 0 0-.403L2.428 1.382a.265.265 0 0 0-.17-.067z' fill='%23000000' opacity='1' data-original='%23000000' class=''%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   2. BLOG & POST STYLES
   ======================================== */

.blog-shortcode-post-title {
    color: #ffffff !important;
    font-size: 1.5em !important;
    letter-spacing: normal !important;
    text-align: center;
}

.fusion-post-content-container,
.tax-nsf_issue_category .issues_post .fusion-post-content-wrapper .fusion-post-content-container p {
    color: #ffffff !important;
    text-align: center;
    font-style: italic;
}

.page-id-2026 .date-title,
.page-id-2116 .date-title {
    display: none;
}

.page-id-2026 .fusion-post-content-container,
.tax-nsf_issue_category .issues_post .fusion-post-content-wrapper .fusion-post-content-container p,
.post-type-archive-nsf_issues .fusion-post-content-wrapper .fusion-post-content-container p,
.news-card .fusion-post-content-container p {
    color: #000 !important;
}

.page-id-2026 .fusion-blog-shortcode .fusion-read-more,
.tax-nsf_issue_category .issues_post .fusion-post-content-wrapper .fusion-read-more {
    text-transform: uppercase;
    font-size: 1.25em;
}

.post-type-archive-nsf_issues .fusion-post-content-wrapper h2,
.news-card h2 {
    line-height: 1.2 !important;
}

.post-type-archive-nsf_issues .fusion-post-content-wrapper .fusion-meta-info a,
.issues_post .fusion-read-more {
    text-transform: uppercase;
    padding-top: var(--button_padding-top, 13px);
    padding-right: var(--button_padding-right, 29px);
    padding-bottom: var(--button_padding-bottom, 13px);
    padding-left: var(--button_padding-left, 29px);
    line-height: var(--button_line_height, 1);
    font-size: var(--button_font_size, 14px);
    letter-spacing: 3px;
    width: 100%;
    display: block;
    background: #327ae7;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #327ae7;
    font-weight: 700;
}

.news-card .issues_cat_meta {
    text-align: center;
}

.post-type-archive-nsf_issues .fusion-post-content-wrapper .fusion-meta-info a:hover,
.issues_post .fusion-read-more:hover {
    background: var(--button_gradient_top_color_hover);
}

.page-id-2026 .post h2 a,
.tax-nsf_issue_category .issues_post .fusion-post-content-wrapper h2 a,
.post-type-archive-nsf_issues .fusion-post-content-wrapper h2 a,
.news-card h2 a {
    color: #19335f !important;
}

.post-type-archive-nsf_issues .fusion-post-content-wrapper h2 a,
.news-card h2 a {
    font-size: 24px;
}

/* ========================================
   3. ISSUES & CATEGORIES
   ======================================== */

.issue_category {
    background: red;
    padding: 4px 10px;
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    margin: 3px;
}

.issue_category:hover {
    color: #19335f;
}

.human-trafficking_cat { background: #0982ed; }
.homelessness_cat { background: #778899; }
.opioids_cat { background: #1e8281; }
.education_cat { background: #8dc641; }
.civil-injustice_cat { background: #398ebf; }
.mental-health-suicide-prevention_cat { background: #eaa631; }
.military-veteran_cat { background: #1e8281; }
.sexual-trauma_cat { background: #065481; }

.issues_post .issues_meta {
    text-align: center;
    margin-bottom: 15px !important;
    display: block;
}

.post-type-archive-nsf_issues .fusion-post-content-wrapper .issues_cat_meta {
    text-align: center;
}

.post-type-archive-nsf_issues .fusion-post-content-wrapper .blog-shortcode-post-title,
.tax-nsf_issue_category .fusion-post-content-wrapper .entry-title,
.news-card h2 {
    margin-bottom: 5px;
    line-height: 1.2 !important;
}

/* ========================================
   4. VIDEO & MEDIA
   ======================================== */

.fusion-post-wrapper .fusion-image-wrapper img {
    height: 195px;
    object-fit: cover;
    background: #fff;
}

.video_icon {
    cursor: pointer;
}

.video_icon a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84' fill='none'%3E%3Cpath d='M42 82C64.092 82 82 64.092 82 42C82 19.908 64.092 2 42 2C19.908 2 2 19.908 2 42C2 64.092 19.908 82 42 82V82Z' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M35.0833 24.5985C33.85 23.8268 32.3 23.8014 31.0417 24.5222C29.7833 25.2431 29 26.6 29 28.0756V57.9275C29 59.4031 29.7833 60.76 31.0417 61.4809C32.3 62.2017 33.85 62.1678 35.0833 61.4045L59.0833 46.4786C60.275 45.7408 61 44.4263 61 43.0015C61 41.5768 60.275 40.2708 59.0833 39.5245L35.0833 24.5985Z' fill='white'/%3E%3C/svg%3E");
    width: 70px;
    height: 70px;
    background-position: center;
    background-size: cover;
    z-index: 9;
}

.video_icon a:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video_icon a {
    display: block;
    z-index: 99;
    position: relative;
}

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   5. FOOTER
   ======================================== */

.footer-new {
    background: #000;
    padding: 90px 0px 60px;
}

.footer-new p {
    color: #8c8989;
}

.footer-new .widget-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
}

section#media_image-2,
section#media_image-3 {
    margin-bottom: 20px;
    max-width: 200px;
}

/* ========================================
   6. LIGHTBOX
   ======================================== */

.ilightbox-overlay.metro-white {
    background: #19335f !important;
    opacity: 1 !important;
}

/* ========================================
   7. PODCAST STYLES
   ======================================== */

.podcast-card {
    background-color: #fff;
    padding: 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 16px;
    align-items: flex-start;
}

.podcast-card .thumb-image {
    width: 100%;
}

.podcast-card time {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: #19335f;
    margin-bottom: 8px;
}

.podcast-card .podcast-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #19335f;
    margin: 0 0 16px;
    flex-grow: 1;
    display: block;
}

.podcast-card .podcast-title:hover h4,
.podcast-card h4:hover {
    color: var(--link_color);
}

.podcast-card h4 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25 !important;
    color: #19335f;
    margin: 0;
}

.podcast-card .red-line {
    width: 32px;
    height: 4px;
    background-color: var(--link_color);
    margin-bottom: 8px;
}

.podcast-card [id^=sb_youtube_].sb_youtube .sby_info {
    display: none;
}

.fusion-layout-column.podcast-filter-column {
    margin-bottom: 30px !important;
}

.podcast-filter-column #filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -8px;
    align-items: flex-end;
    margin-bottom: -12px;
}

.podcast-filter-column .input-col {
    padding: 0 8px;
    margin-bottom: 12px;
}

.podcast-filter-column .input-col label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #7e8e9e;
}

.podcast-filter-column select,
.podcast-filter-column input[type=search] {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
    padding: 0 16px;
    height: 48px;
    width: 100%;
    color: #19335f;
    border-radius: 4px;
    border: 0;
    font-size: 14px;
}

.podcast-filter-column .fusion-button-default-size.fusion-button {
    height: 48px !important;
    border-radius: 4px !important;
}

.podcast-filter-column {
    margin-bottom: 20px;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    margin-top: -16px;
    margin-right: -8px;
    margin-left: -8px;
}

.podcast-col {
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    margin-top: 16px;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

/* ========================================
   8. MODAL & VIDEO WRAPPER
   ======================================== */

.modal {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
}

.modal.is-visible {
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-wrapper {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 95%;
    background-color: #000;
    max-width: 900px;
}

.modal-transition {
    transition: all 0.3s 0.12s;
    transform: translate(-50%, -90%);
    opacity: 0;
}

.modal.is-visible .modal-transition {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.modal-header,
.modal-content {
    padding: 1em;
}

.modal-header {
    position: relative;
    background-color: #000;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
    border-bottom: 1px solid #e8e8e8;
}

.modal-close {
    position: absolute;
    top: -33px;
    right: -33px;
    background: none;
    border: 0;
    cursor: pointer;
    width: 35px;
    height: 35px;
}

.modal-heading {
    font-size: 1.125em;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modal-content > *:first-child {
    margin-top: 0;
}

.modal-content > *:last-child {
    margin-bottom: 0;
}

/* ========================================
   9. BIOGRAPHY SECTION
   ======================================== */

.bio-wrap p {
    /* Was "Avenir", which the site never loads: fine on Macs, a default font elsewhere. */
    font-family: inherit;
}

.bio-wrap img {
    width: 130px;
}

.bio-main-img .fusion-imageframe {
    display: block;
}

.bio-main-img img {
    width: 100%;
}

.sign-img {
    padding-left: 40px;
}

.sign-img:before {
    content: '';
    border-top-width: 2px;
    width: 32px;
    height: 2px;
    display: inline-block;
    background: #333;
    position: absolute;
    top: 50%;
    left: 0;
}

/* ========================================
   10. FILTER SECTION
   ======================================== */

.nsf-filter-section > .container p {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #3178e3;
    margin: 0 auto 10px !important;
    text-align: center;
}

.nsf-filter-section .filter-wrap {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.issues_select_filters {
    display: none;
}

.nsf-filter-section .filter-wrap li {
    display: inline-block;
    margin: 0 6px;
    font-size: 14px;
}

.nsf-filter-section .filter-wrap li a {
    color: #000;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: capitalize;
}

.nsf-filter-section .filter-wrap li .filter_active,
.nsf-filter-section .filter-wrap li:hover a {
    color: #3178e3;
}

.nsf-filter-section {
    margin-bottom: 40px;
}

/* ========================================
   11. BOOK SECTION
   ======================================== */

.book-buy-section {
    padding: 80px 0 !important;
}

.book-buy-section .fusion-image-element {
    margin-bottom: 30px;
}

.book-buy-section .fusion-button {
    width: auto;
    margin: 0 auto !important;
}

.new-book-section {
    padding: 50px 0 85px !important;
}

.download_btn {
    font-size: 10px !important;
    width: auto;
    margin-bottom: 22px;
    border-radius: 4px !important;
    padding: 3px 12px !important;
    letter-spacing: 2px;
}

/* ========================================
   12. HERO SECTION
   ======================================== */

.hero-new-section {
    background: url('https://nextstepsforward.com/wp-content/uploads/2025/03/new-home-bg.svg') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding: 110px 0 0 !important;
    background-image: url(https://nextstepsforward.com/wp-content/uploads/2022/05/Steps-Forward-Background.jpg) !important;
    background-position: center !important;
}

.author-img {
    width: 70% !important;
    margin-bottom: -43px;
}

.firstcol .book-img {
    bottom: 50px !important;
    top: auto !important;
    width: 200px !important;
    margin-left: auto;
    margin-right: 30px;
    box-shadow: 0px 2px 20px 24px rgba(0, 0, 0, 0.26);
}

.hero-new-section .fusion-builder-row {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper {
    justify-content: flex-end !important;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper > div {
    text-align: right !important;
}

.hero-new-section .firstcol .btn-book {
    display: inline-block;
    text-align: center;
    width: 150px;
    margin: auto;
    left: auto;
    right: 53px;
    bottom: 30px;
    z-index: 9;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper > div .imageframe-1 {
    max-width: 100% !important;
    width: 100%;
    display: block;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper > div .imageframe-2 {
    position: absolute;
    right: 50px;
    z-index: 1;
    display: block;
    top: 15vw;
    max-width: 18vw !important;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper {
    max-width: 675px;
    margin: 0 auto;
    padding: 0 15px !important;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-title-1 {
    margin: 10px 0 15px !important;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-title-1 h4 {
    font-size: 28px !important;
    line-height: 1.35 !important;
    color: #e0031b !important;
    font-weight: 800;
    font-family: "Avenir";
    text-align: center;
    margin: 0 auto;
    max-width: 320px;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-1 p {
    max-width: 675px;
    font-size: 16px;
    line-height: 1.65;
    color: #ffffff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    margin-top: 15px;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-2 {
    max-width: 792px;
    font-size: 22px;
    line-height: 35px;
    font-style: italic;
    color: #ffffff;
    font-weight: 500;
    font-family: "Avenir";
    text-align: center;
    margin: 20px auto;
    padding: 0;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-2 p {
    margin-bottom: 10px;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-2 h6 {
    color: #e0031b;
    margin-top: 10px;
    margin-bottom: 0;
    font-style: italic;
    font-size: 30px;
    font-weight: 500;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-builder-row-inner {
    margin: 15px 0;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-builder-row-inner .fusion-builder-nested-column-0 .fusion-column-wrapper > div {
    text-align: right !important;
    margin-right: 8px !important;
}

.hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-builder-row-inner .fusion-builder-nested-column-1 .fusion-column-wrapper > div {
    text-align: left !important;
    margin-left: 8px !important;
}

/* ========================================
   13. LOGO SLIDER
   ======================================== */

.logo-slider .fusion-image-carousel {
    margin-bottom: 0;
}

.logo-slider {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.featured_on_logos .swiper-wrapper {
    align-items: center;
}

.featured_on_logos .swiper-wrapper .fusion-image-wrapper {
    border: none;
}

.featured_on_logos .swiper-wrapper .fusion-image-wrapper img {
    max-height: unset !important;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.featured_on_logos .swiper-slide {
    padding-right: 10px !important;
}

/* ========================================
   14. GALLERY SECTION
   ======================================== */

.image-gallery {
    padding: 80px 0 0 !important;
}

.image-gallery-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    position: relative;
    overflow: hidden;
}

.image-gallery-wrapper .gallery-row {
    display: flex;
}

.image-gallery-wrapper .gallery-row .gallery-img {
    width: 14%;
    padding: 0px;
    flex: 1 0 auto;
}

.image-gallery-wrapper .gallery-row .gallery-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.image-gallery-wrapper #row1 {
    transform: translate(-80px, 0);
}

.gallery-row {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.gallery-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #19335f;
}

/* "Pop" between photos (js/custom-scripts.js): the current photo shrinks and fades,
   the tile's navy shows for a beat, and the new photo settles in from a slight zoom. */
.image-gallery-wrapper .gallery-row .gallery-img img {
    object-position: center 25%; /* keep faces in frame for non-square uploads */
    transition: opacity .55s ease, transform .7s cubic-bezier(.3, .7, .2, 1);
}
.image-gallery-wrapper .gallery-row .gallery-img img.is-leaving { opacity: 0; transform: scale(.9); }
.image-gallery-wrapper .gallery-row .gallery-img img.gallery-fade {
    position: absolute; inset: 0;
    opacity: 0; transform: scale(1.12);
    transition: opacity .6s ease .35s, transform .95s cubic-bezier(.2, .8, .2, 1) .35s;
}
.image-gallery-wrapper .gallery-row .gallery-img img.gallery-fade.is-visible { opacity: 1; transform: scale(1); }
.image-gallery-wrapper .gallery-row .gallery-img.is-resetting img { transition: none !important; }

/* ========================================
   15. HEADER & NAVIGATION
   ======================================== */

header .fusion-logo a {
    display: block;
    width: 100%;
    max-width: 190px;
}

.fusion-body .fusion-main-menu .current-menu-item>a {
    color: #ed1e24 !important;
}

.fusion-body .fusion-main-menu .current-menu-item>a:hover {
    color: #ed1e24 !important;
}


.fusion-header-wrapper .fusion-row {
    padding: 10px 80px 10px 10px;
}

.fusion-header-wrapper .fusion-logo-link {
    max-width: 120px;
}

.fusion-header-wrapper .fusion-mobile-nav-holder li.menu-item-has-children .fusion-open-submenu {
    display: block !important;
    position: absolute;
    right: 0;
}

.fusion-header-wrapper .fusion-mobile-nav-holder li.menu-item-has-children .fusion-open-submenu[aria-expanded="true"]:before {
    transform: rotate(180deg);
}

.fusion-top-header .fusion-header {
    background-image: url(https://nextstepsforward.com/wp-content/uploads/2022/05/Steps-Forward-Background.jpg);
    background-position: center;
}

.page-id-2026.admin-bar .fusion-header-has-flyout-menu .fusion-header,
.single-post.admin-bar .fusion-header-has-flyout-menu .fusion-header,
.page-id-2116 .fusion-header-has-flyout-menu .fusion-header {
    background: #050505;
}

.page-id-2026 .fusion-page-title-bar,
.single-post .fusion-page-title-bar,
.page-id-2116 .fusion-page-title-bar,
.tax-nsf_issue_category .fusion-page-title-bar,
.single-nsf_issues .fusion-page-title-bar,
.post-type-archive-nsf_issues .fusion-page-title-bar {
    max-height: auto;
    height: auto;
    background: #19335f;
    padding: 30px 0;
}

.page-id-2390 .fusion-page-title-bar {
    height: auto;
    background: #19335f;
    padding: 30px 0;
}

.page-id-2026 .fusion-breadcrumbs {
    display: none;
}

.single-post .fusion-page-title-bar h1 {
    line-height: 1.25 !important;
    margin-bottom: 10px;
}

.single-post .fusion-page-title-bar h3 {
    display: inline-block;
}

.single-post .fusion-page-title-bar .date-title:after {
    content: '-';
    padding-left: 10px;
    padding-right: 6px;
}

.single-nsf_issues .post-content {
    margin-top: 30px;
}

/* Page Specific */
.page-id-3577 .avada-page-titlebar-wrapper {
    display: none;
}

.page-id-3577 #main {
    padding-bottom: 0;
}

.page-id-3535 .fusion-header-wrapper {
    background: #000;
}

.page-id-3577 .fusion-page-title-bar.fusion-page-title-bar-breadcrumbs {
    max-height: auto;
    height: auto;
    background: #19335f;
    padding: 30px 0;
}

.page-id-1485 .fusion-logo img,
.page-id-2019 .fusion-logo img {
    width: auto;
    max-width: 160px;
    display: none;
}

.page-id-1485 .heronsf,
.page-id-2019 .heronsf {
    background-image: url(https://nextstepsforward.com/wp-content/uploads/2022/05/Steps-Forward-Background.jpg) !important;
    background-position: center !important;
}

.page-id-1485.fusion-body .fusion-flex-container.fusion-builder-row-1,
.page-id-2019.fusion-body .fusion-flex-container.fusion-builder-row-1 {
    padding-top: 85px;
    margin-top: 0px;
    padding-right: 0;
    padding-bottom: 0;
    margin-bottom: 0px;
    padding-left: 0;
}

.page-id-1485 .heronsf .fusion-builder-row,
.page-id-2019 .heronsf .fusion-builder-row {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch;
}

/* Testimonials */
.testimonial-section .testimonial-pagination:empty {
    margin: 0;
}

.author .company-name strong {
    text-transform: uppercase;
}

.endorsementssection .fusion-testimonials.clean blockquote q {
    line-height: 26px;
    font-size: 16px;
    letter-spacing: 1px;
}

.endorsementssection .fusion-testimonials.clean .author {
    font-size: 0;
    letter-spacing: 1px;
}

.endorsementssection .fusion-testimonials.clean .author .company-name strong {
    font-size: 16px;
    color: #e0031b;
    display: block;
}

.endorsementssection .fusion-testimonials.clean .author .company-name span {
    font-size: 14px;
    display: block;
}

.home-testimonial .testimonial-thumbnail img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
}

/* Pagination */
.pagination {
    display: block;
    width: 100%;
    padding-bottom: 20px;
    text-align: center;
    clear: both;
}

.misha_loadmore {
    text-align: center;
    display: block;
    width: 200px;
    margin: 20px auto 0;
    margin-bottom: 26px;
}

.pagination .page-numbers {
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    color: #4f4f4f;
    border: 1px solid #c7c7c7 !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
    border-radius: 4px !important;
}

.pagination .page-numbers.current {
    color: #000;
    background-color: #c7c7c7;
    border: 1px solid #c7c7c7 !important;
}

.pagination .pagination-next:after,
.pagination .pagination-prev:before {
    color: #327ae7;
}

.featured-list .pagination .current {
    background: #327ae7;
    border-color: #327ae7;
}

.featured-list .pagination a {
    font-size: 14px;
    margin: 0 10px !important;
    display: inline-block;
}

/* Guest Spotlight Search */
#guest-spotlight-search p {
    margin-bottom: 10px;
    font-size: 14px;
    font-family: 'Roboto';
}

#guest-spotlight-search form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

#guest-spotlight-search form button {
    height: 48px;
    border-radius: 4px;
    background: #327ae7;
    border: 1px solid #327ae7;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-family: 'Roboto';
    min-width: 150px;
}

#guest-spotlight-search form input {
    padding: 14px !important;
    height: 48px;
    font-size: 14px;
    font-weight: 400;
}

#search-results ul.fusion-grid {
    margin: 0;
    padding: 0;
}

/* Icons */
.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    fill: currentcolor;
}

/* ========================================
   16. RESPONSIVE STYLES
   ======================================== */

/* Desktop Large */
@media (max-width: 1500px) {
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-title-1 h4 {
        font-size: 24px !important;
        line-height: 34px;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-1 p {
        font-size: 16px;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-2 {
        font-size: 20px;
        line-height: 25px;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-2 h6 {
        font-size: 20px;
    }
}

@media (max-width: 1400px) {
    .hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper > div .imageframe-2 {
        top: 19vw;
        max-width: 16vw !important;
    }
}

@media (max-width: 1367px) {
    .page-id-2026 .fusion-page-title-bar h1,
    .single-post .fusion-page-title-bar h1 {
        font-size: 30px !important;
    }
}

/* Tablet Landscape */
@media (min-width: 1025px) and (max-width: 1199px) {
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-button.button-1 {
        padding-right: 40px;
        padding-left: 40px;
    }
    
    .hero-new-section .firstcol {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .book-section img,
    .book-section .fusion-imageframe {
        width: 100%;
    }
    
    .row-reverse-md .fusion-row {
        flex-direction: column-reverse;
    }
    
    .single-post .fusion-page-title-bar {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .nsf-filter-section > .container p {
        display: block;
        text-align: center;
        margin-bottom: 10px !important;
    }
    
    .book-buy-section .fusion-layout-column {
        margin-bottom: 60px;
    }
    
    .book-buy-section .fusion-layout-column:last-child {
        margin-bottom: 0;
    }
    
    .hero-new-section {
        padding: 0 !important;
    }
    
    .new-book-section {
        padding: 0px 30px 30px !important;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-1 p {
        margin-top: 0;
    }
    
    .page-id-3535 .fusion-header-wrapper .fusion-row {
        padding: 10px;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper > div .imageframe-2 {
        width: 100%;
        max-width: 30% !important;
        bottom: 20px !important;
        right: 20px;
    }
    
    .hero-new-section .btn-book {
        display: none;
    }
    
    .author-img {
        margin-bottom: 0 !important;
    }
    
    .new-book-section {
        padding-top: 0 !important;
    }
    
    .new-book-section .fusion-title {
        margin-top: 0 !important;
    }
    
    .new-book-section .btn-area {
        text-align: center;
    }
    
    .new-book-section .btn-left .fusion-button {
        padding-left: 0;
        padding-right: 0;
    }
    
    .book-content-col .fusion-builder-row {
        flex-direction: row;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .new-book-section {
        padding-bottom: 60px;
    }
    
    .page-id-3535.fusion-body .fusion-flex-container.logo-slider {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    
    .page-id-3535.fusion-body .logo-slider .fusion-title {
        margin-bottom: 30px !important;
        font-size: 24px;
    }
    
    .page-id-3535.fusion-body .logo-slider .fusion-content-layout-column {
        padding-bottom: 0 !important;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-builder-row-inner .fusion-button {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .hero-new-section .firstcol .fusion-column-wrapper {
        height: auto !important;
        aspect-ratio: 4 / 3;
        min-height: 800px;
    }
    
    .book-img-sm .fusion-image-element {
        width: 250px;
        margin: 0 auto 30px;
    }
    
    .image-gallery-wrapper .gallery-row .gallery-img {
        width: 20%;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

@media (max-width: 1024px) {
    .page-id-1485 .heronsf .fusion-builder-row .fusion-builder-column-1,
    .page-id-2019 .heronsf .fusion-builder-row .fusion-builder-column-1 {
        padding-bottom: 40px;
    }
    
    .page-id-1485.fusion-body .fusion-flex-container.fusion-builder-row-1,
    .page-id-2019.fusion-body .fusion-flex-container.fusion-builder-row-1 {
        padding-top: 50px;
    }
    
    .page-id-1485 .heronsf .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper,
    .page-id-2019 .heronsf .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper {
        max-width: 710px;
    }
    
    .upcoming .swiper-button-prev,
    .upcoming .swiper-button-next {
        margin-top: 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .image-gallery-wrapper .gallery-row .gallery-img {
        width: 30%;
    }
}

/* Mobile Large */
@media (max-width: 800px) {
    .page-id-2026 .fusion-page-title-bar h1,
    .single-post .fusion-page-title-bar h1 {
        font-size: 30px !important;
    }
    
    .page-id-2026 .fusion-page-title-bar,
    .single-post .fusion-page-title-bar {
        max-height: 100%;
    }
    
    .page-id-1485 .heronsf .fusion-builder-row .fusion-builder-column-1,
    .page-id-2019 .heronsf .fusion-builder-row .fusion-builder-column-1 {
        padding-top: 0;
    }
    
    .fusion-body .endorsementssection.fusion-flex-container.fusion-builder-row-2 {
        padding-top: 40px !important;
    }
    
    .single-nsf_issues .fusion-page-title-row {
        padding: 0 !important;
    }
    
    .single-nsf_issues .fusion-page-title-row .entry-title {
        line-height: 1 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .podcast-filter-column .input-col {
        width: 100%;
    }
    
    .podcast-filter-column select,
    .podcast-filter-column input[type=search] {
        width: 100%;
    }
    
    .podcast-filter-column .fusion-button-default-size.fusion-button {
        width: 100%;
    }
    
    .single-post .fusion-page-title-bar h1 {
        margin-bottom: 10px !important;
    }
    
    .nsf-filter-section .filter-wrap {
        display: none;
    }
    
    .issues_select_filters {
        display: inline-block;
        margin-left: 15px;
        width: 100%;
        flex: 1;
    }
    
    .nsf-filter-section > .container p {
        margin-bottom: 0 !important;
    }
    
    .nsf-filter-section .container {
        max-width: 750px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .new-book-section .book-content-col .fusion-builder-row .fusion-button {
        margin-bottom: 10px;
    }
    
    .new-book-section .book-content-col .fusion-builder-row > div:last-child .fusion-button {
        margin-bottom: 0;
    }
    
    .book-buy-section .fusion-layout-column {
        margin-bottom: 60px;
    }
    
    .book-buy-section {
        padding: 60px 0 !important;
    }
    
    .page-id-2594.fusion-body .post-content .fusion-flex-container.fusion-builder-row-2 {
        padding-top: 0 !important;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-0 .fusion-column-wrapper > div .imageframe-2 {
        max-width: 35% !important;
    }
    
    .firstcol .book-img {
        width: 150px !important;
    }
    
    .hero-new-section .firstcol .btn-book {
        right: 37px;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        width: 130px;
    }
    
    .book-img-col .book-img {
        width: 200px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    .book-copy-col .fusion-title {
        margin: 10px 0 !important;
    }
    
    .book-copy-col .fusion-title-2 {
        margin-bottom: 15px !important;
    }
    
    .book-img-col .fusion-image-element {
        width: 250px;
        margin: 0 auto 20px;
    }
    
    .book-new-section {
        padding: 30px 35px !important;
    }
    
    .book-new-section .fusion-builder-row-inner .fusion-column-wrapper {
        margin: 0;
    }
    
    .endorsements-section .awb-quote {
        padding: 20px 0 20px !important;
    }
    
    .book-content-col {
        padding-top: 30px;
    }
    
    .book-img-sm .fusion-image-element {
        width: 250px;
        margin: 0 auto;
    }
    
    .book-buy-section .fusion-imageframe {
        max-width: 250px;
    }
    
    .image-gallery-wrapper #row1 {
        transform: translate(-30px, 0);
    }
    
    .image-gallery-wrapper .gallery-row .gallery-img {
        width: 27%;
    }
    
    .hero-new-section .firstcol .fusion-column-wrapper {
        min-height: 400px;
    }
    
    .upcoming .swiper-button-prev,
    .upcoming .swiper-button-next {
        margin-top: 20px;
    }
    
    .modal-close {
        top: -35px;
        right: 0;
        width: 25px;
        height: 25px;
    }
}

/* Mobile Small */
@media (max-width: 640px) {
    .upcoming .fusion-events-content-wrapper {
        padding: 0 !important;
    }
    
    .upcoming .fusion-events-content-wrapper .fusion-events-meta h2 {
        font-size: 24px !important;
    }
    
    .endorsementssection .fusion-testimonials.clean .author {
        margin-top: 5px !important;
    }
    
    .sponcer-section .gform_wrapper#gform_wrapper_1 {
        margin-bottom: 0 !important;
        margin-top: 10px !important;
    }
    
    .avada-has-breadcrumb-mobile-hidden.fusion-body .fusion-page-title-bar .fusion-breadcrumbs {
        display: block !important;
    }
    
    .page-id-2026 .fusion-page-title-bar h1,
    .single-post .fusion-page-title-bar h1 {
        font-size: 20px !important;
        line-height: 27px !important;
    }
    
    .page-id-2026 .fusion-page-title-bar h3,
    .single-post .fusion-page-title-bar h3 {
        font-size: 16px !important;
        line-height: 26px !important;
    }
    
    .page-id-2026 .fusion-page-title-bar,
    .single-post .fusion-page-title-bar {
        padding: 20px 0 !important;
    }
    
    .fusion-body div#wrapper .fusion-header-wrapper .fusion-header,
    .fusion-body .fusion-header-wrapper .fusion-secondary-main-menu {
        background-color: #000;
    }
    
    .fusion-top-header .fusion-header {
        background: #000;
    }
    
    .single-post.layout-wide-mode.avada-has-pagetitle-100-width.avada-has-header-100-width .fusion-page-title-row,
    .page-id-2026.layout-wide-mode.avada-has-pagetitle-100-width.avada-has-header-100-width .fusion-page-title-row {
        padding: 0;
    }
    
    .endorsementssection .fusion-testimonials.clean blockquote q {
        letter-spacing: 0;
        font-size: 14px;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-builder-row-inner .fusion-builder-nested-column-0 .fusion-column-wrapper > div {
        text-align: center !important;
        margin-right: 0 !important;
    }
    
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-builder-row-inner .fusion-builder-nested-column-1 .fusion-column-wrapper > div {
        text-align: center !important;
        margin-left: 0 !important;
    }
    
    .page-id-2019 .heronsf .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-2 {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-new-section .fusion-builder-row .fusion-builder-column-1 .fusion-column-wrapper .fusion-text-1 p {
        font-size: 14px;
    }
}

/* Responsive Podcast Grid */
@media (min-width: 768px) {
    .podcast-col {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .podcast-col {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

@media (min-width: 1200px) {
    .podcast-col {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

/* ========================================
   END OF STYLESHEET
   ======================================== */

/* .fusion-flyout-mobile-menu.fusion-mobile-nav-holder .fusion-mobile-nav-item a{
    color: #fff !important;
} */

/* ========================================
   Episode grid: play overlay on thumbnails (same icon as .video_icon elsewhere)
   ======================================== */
.podcast-card .podcast-thumb { width: 100%; }
.podcast-card .podcast-thumb a { overflow: hidden; border-radius: 2px; }
.podcast-card .podcast-thumb .thumb-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.podcast-card .podcast-thumb a:hover .thumb-image,
.podcast-card .podcast-thumb a:focus-visible .thumb-image { transform: scale(1.03); }
.podcast-card .podcast-thumb a:focus-visible { outline: 3px solid #327ae7; outline-offset: 2px; }
.modal-close { padding: 0; }
.modal-close img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
	.podcast-card .podcast-thumb .thumb-image { transition: none; }
}


/* ========================================
   Issues archive (/nsf-issues/ and /issues-category/...) - markup in inc/issues.php
   ======================================== */
.nsf-issues-filter { max-width: 1100px; margin: 0 auto 36px; }
.nsf-issues-filter ul {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin: 0; padding: 0; list-style: none;
}
.nsf-issues-filter a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #d5dbe5; border-radius: 999px;
    background: #fff;
    color: #19335f; font-size: 14px; font-weight: 500; line-height: 1.2;
    white-space: nowrap; text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nsf-issues-filter a:hover { border-color: #19335f; color: #19335f; }
.nsf-issues-filter a.is-active { background: #19335f; border-color: #19335f; color: #fff; }
.nsf-issues-filter a:focus-visible,
.nsf-issue-card a:focus-visible,
.nsf-issues__pagination a:focus-visible { outline: 3px solid #327ae7; outline-offset: 2px; }

.nsf-issues__grid { display: grid; grid-template-columns: 1fr; gap: 28px; transition: opacity .2s ease; }
.nsf-issues.is-loading .nsf-issues__grid { opacity: .45; pointer-events: none; }

.nsf-issue-card {
    display: flex; flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 28, 51, .06), 0 6px 20px rgba(15, 28, 51, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.nsf-issue-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 28, 51, .08), 0 14px 32px rgba(15, 28, 51, .14); }

.nsf-issue-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e8ecf2; }
.nsf-issue-card__media a { display: block; height: 100%; }
.nsf-issue-card__media img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.nsf-issue-card:hover .nsf-issue-card__media img { transform: scale(1.04); }

.nsf-issue-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; }
.nsf-issue-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nsf-issue-card .issue_category {
    --tag: #c8102e;
    display: inline-block; margin: 0;
    padding: 4px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--tag) 12%, #fff);
    color: color-mix(in srgb, var(--tag) 78%, #000);
    font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase;
    text-decoration: none;
}
.nsf-issue-card .issue_category:hover { background: color-mix(in srgb, var(--tag) 22%, #fff); color: color-mix(in srgb, var(--tag) 85%, #000); }
.nsf-issue-card .human-trafficking_cat { --tag: #0982ed; }
.nsf-issue-card .homelessness_cat { --tag: #5f6b78; }
.nsf-issue-card .opioids_cat,
.nsf-issue-card .military-veteran_cat { --tag: #1e8281; }
.nsf-issue-card .education_cat { --tag: #4f8a10; }
.nsf-issue-card .civil-injustice_cat { --tag: #2b7bb0; }
.nsf-issue-card .mental-health-suicide-prevention_cat { --tag: #c27a06; }
.nsf-issue-card .sexual-trauma_cat { --tag: #065481; }
.nsf-issue-card .healthcare_cat { --tag: #0f766e; }
.nsf-issue-card .first-responders_cat { --tag: #c2410c; }
.nsf-issue-card .terrorism_cat { --tag: #4b5563; }
.nsf-issue-card .technology_cat { --tag: #4338ca; }
.nsf-issue-card .nutrition_cat { --tag: #4d7c0f; }
.nsf-issue-card .news_cat { --tag: #19335f; }
.nsf-news-intro { max-width: 820px; margin: 0 auto 32px; text-align: center; }

.nsf-issue-card__title { margin: 0 !important; font-size: 21px !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: 0 !important; text-align: left; }
.nsf-issue-card__title a { color: #19335f; text-decoration: none; }
.nsf-issue-card__title a:hover { color: #ed1e24; }
.nsf-issue-card__meta { margin: 0 !important; color: #5a6475; font-size: 13px; line-height: 1.4; }
.nsf-issue-card__excerpt {
    margin: 0 !important;
    color: #3a4250; font-size: 15px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.nsf-issue-card__button {
    display: block; margin-top: auto;
    padding: 13px 16px; border-radius: 4px;
    background: #2a68cf; color: #fff !important;
    font-size: 13px; font-weight: 700; letter-spacing: 2px; line-height: 1; text-align: center; text-transform: uppercase; text-decoration: none;
    transition: background-color .15s ease;
}
.nsf-issue-card__body > :nth-last-child(2) { margin-bottom: 8px !important; }
.nsf-issue-card__button:hover { background: #1f55ad; }

.nsf-issues__pagination { display: flex; justify-content: center; margin-top: 48px; }
.nsf-issues__pagination ul.page-numbers,
.nsf-issues__pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: auto; margin: 0; padding: 0; list-style: none; border: 0; border-radius: 0; background: none; box-shadow: none; }
.nsf-issues__pagination li { margin: 0; padding: 0; border: 0; }
.nsf-issues__pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 14px; gap: 6px;
    border: 1px solid #d5dbe5; border-radius: 999px;
    background: #fff; color: #19335f; font-weight: 500; text-decoration: none;
}
.nsf-issues__pagination a.page-numbers:hover { border-color: #19335f; }
.nsf-issues__pagination .page-numbers.current { background: #19335f; border-color: #19335f; color: #fff; }
.nsf-issues__pagination .page-numbers.dots { border: 0; background: transparent; min-width: 0; padding: 0 4px; }
.nsf-issues__empty { padding: 48px 0; text-align: center; color: #5a6475; }

@media (min-width: 640px) { .nsf-issues__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .nsf-issues__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 800px) {
    .nsf-issues-filter ul {
        flex-wrap: nowrap; justify-content: flex-start;
        overflow-x: auto; scrollbar-width: none;
        margin: 0 -20px; padding: 2px 20px 8px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 28px), transparent);
                mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 28px), transparent);
    }
    .nsf-issues-filter ul::-webkit-scrollbar { display: none; }
    .nsf-issue-card__body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .nsf-issue-card, .nsf-issue-card__media img, .gallery-img .gallery-fade { transition: none; }
    .nsf-issue-card:hover, .nsf-issue-card:hover .nsf-issue-card__media img { transform: none; }
}


/* ========================================
   Homepage polish (sections tagged with CSS classes in the page builder:
   .logo-slider, .endorsements-section, .nsf-episodes, .nsf-about, .nsf-listen, .nsf-platforms)
   ======================================== */

/* Featured On: even logo heights and a soft fade where the strip meets the screen edge. */
.logo-slider .featured_on_logos {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-slider .featured_on_logos .swiper-slide { display: flex; align-items: center; justify-content: center; }
.logo-slider .featured_on_logos img { width: auto !important; max-width: 100%; max-height: 72px; object-fit: contain; }
/* Each logo is trimmed and tagged with --lw (its shape) in inc/featured-logos.php, so
   wide wordmarks and square badges read at the same visual size. --logo sets the scale. */
.logo-slider .featured_on_logos { --logo: 52px; }
.logo-slider .featured_on_logos .swiper-wrapper .fusion-image-wrapper img.nsf-logo {
    width: calc(var(--logo) * var(--lw, 1)) !important;
    height: auto !important;
    max-width: 100%;
    max-height: calc(var(--logo) * 1.1) !important;
    aspect-ratio: auto;
    object-fit: contain;
}
.logo-slider .featured_on_logos .swiper-slide { padding-right: 0 !important; }

/* Endorsements (behaviour in js/endorsements.js) */
.endorsements-section {
    background-image:
        radial-gradient(900px 420px at 50% -10%, rgba(255, 255, 255, .08), transparent 70%),
        radial-gradient(600px 300px at 100% 100%, rgba(237, 30, 36, .10), transparent 70%) !important;
}
.endorsements-section .fusion-title h2::after {
    content: ""; display: block;
    width: 40px; height: 3px; margin: 16px auto 0;
    border-radius: 2px; background: #ed1e24;
}

/* The slider: one card, never resizing the section. */
.endorsements-section .fusion-testimonials .reviews { max-width: 920px !important; margin: 0 auto; overflow: visible; }
.endorsements-section .fusion-testimonials .reviews .swiper-wrapper { align-items: stretch !important; height: auto !important; }
.endorsements-section .fusion-testimonials .review {
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    height: auto !important;
    align-self: stretch !important;
    position: relative;
    margin-top: 52px;
    padding: 64px 64px 40px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(5, 15, 35, .25);
    text-align: center;
}
.endorsements-section .fusion-testimonials .testimonial-thumbnail {
    position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
    width: 104px !important; height: 104px; margin: 0 !important;
    border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 0 4px #19335f, 0 0 0 6px rgba(255, 255, 255, .35), 0 10px 24px rgba(0, 0, 0, .3);
}
.endorsements-section .fusion-testimonials .testimonial-thumbnail img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.endorsements-section .fusion-testimonials blockquote {
    position: relative; margin: 0 !important; padding: 0 !important;
    background: none !important; font-style: normal !important;
}
.endorsements-section .fusion-testimonials .review::before {
    content: "\201C";
    position: absolute; top: 26px; left: 34px;
    font: 700 88px/1 Georgia, "Times New Roman", serif;
    color: rgba(237, 30, 36, .85);
    pointer-events: none;
}
.endorsements-section .fusion-testimonials blockquote::after { display: none !important; }
.endorsements-section .fusion-testimonials .awb-quote-content,
.endorsements-section .fusion-testimonials .awb-quote-content p,
.endorsements-section .fusion-testimonials .awb-quote-content em {
    font-size: 18px !important; line-height: 1.7 !important;
    letter-spacing: 0 !important; font-style: normal !important;
    color: #eef3fb !important;
}
.endorsements-section .fusion-testimonials .awb-quote-content p { margin: 0 0 .8em; }
.endorsements-section .fusion-testimonials .awb-quote-content p:last-child { margin-bottom: 0; }
.endorsements-section .fusion-testimonials .review.is-clamped .awb-quote-content {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden;
}
.endorsements-section .nsf-quote-toggle {
    display: inline-block; margin-top: 14px; padding: 4px 2px;
    background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .45);
    color: #fff; font: 600 13px/1.4 Roboto, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase;
    cursor: pointer;
}
.endorsements-section .nsf-quote-toggle:hover { border-bottom-color: #fff; }

/* Attribution: red rule, name, title. No stray comma. */
.endorsements-section.fusion-fullwidth .fusion-testimonials .author { margin-top: 26px !important; font-size: 0; letter-spacing: 0 !important; }
.endorsements-section .fusion-testimonials .author::before { content: ""; display: block; width: 32px; height: 2px; margin: 0 auto 14px; background: #ed1e24; }
.endorsements-section .fusion-testimonials .author .awb-testimonial-sep { display: none !important; }
.endorsements-section .fusion-testimonials .author .testimonial-name {
    display: block; color: #fff !important;
    font-size: 15px !important; font-weight: 700; letter-spacing: .1em !important; text-transform: uppercase;
}
.endorsements-section .fusion-testimonials .author .testimonial-extras,
.endorsements-section .fusion-testimonials .author .testimonial-company {
    display: block; margin-top: 4px;
    color: #b9c7de !important; font-size: 14px !important; letter-spacing: .02em !important; line-height: 1.5;
}

/* Controls: arrows on the card's left and right edges, pill dots underneath. */
.endorsements-section .fusion-testimonials .reviews { position: relative; }
.endorsements-section .nsf-testimonial-arrow {
    position: absolute; z-index: 5;
    top: var(--nsf-arrow-top, calc(50% + 26px)); /* set by js/endorsements.js to the card's centre */
    transform: translateY(-50%);
    display: grid; place-items: center;
    width: 48px; height: 48px; padding: 0;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
    background: #19335f; color: #fff; cursor: pointer;
    box-shadow: 0 6px 18px rgba(5, 15, 35, .3);
    transition: background-color .15s ease, border-color .15s ease;
}
.endorsements-section .nsf-testimonial-arrow--prev { left: -76px; }
.endorsements-section .nsf-testimonial-arrow--next { right: -76px; }
.endorsements-section .nsf-testimonial-arrow:hover { background: #24457a; border-color: rgba(255, 255, 255, .6); }
.endorsements-section .nsf-testimonial-nav { display: flex; justify-content: center; margin-top: 28px; }
.endorsements-section .nsf-testimonial-nav .testimonial-pagination { position: static !important; width: auto !important; margin: 0 !important; display: flex; align-items: center; gap: 6px; }
.endorsements-section .testimonial-pagination .swiper-pagination-bullet {
    width: 8px !important; height: 8px !important; margin: 0 !important;
    border: 0 !important; border-radius: 999px;
    background: rgba(255, 255, 255, .35) !important; opacity: 1 !important;
    transition: width .25s ease, background-color .25s ease;
}
.endorsements-section .testimonial-pagination .swiper-pagination-bullet-active { width: 26px !important; background: #fff !important; }
.endorsements-section .nsf-testimonial-arrow:focus-visible,
.endorsements-section .nsf-quote-toggle:focus-visible,
.endorsements-section .swiper-pagination-bullet:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 3px; }

/* Narrower screens: no room outside the card, so the arrows straddle its edges
   (they sit over the card's side padding, never over the text). */
@media (max-width: 1099px) {
    .endorsements-section .nsf-testimonial-arrow--prev { left: -22px; }
    .endorsements-section .nsf-testimonial-arrow--next { right: -22px; }
    .endorsements-section .nsf-testimonial-arrow { width: 44px; height: 44px; }
}

/* Press quotes: three matching cards. */
.endorsements-section .fusion-separator .fusion-separator-border { border-color: rgba(255, 255, 255, .12) !important; }
.endorsements-section .fusion_builder_column_1_3 > .fusion-column-wrapper,
.endorsements-section .fusion_builder_column_1_3 > .fusion-column-wrapper:hover {
    height: 100%; padding: 26px 24px !important;
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 12px;
    box-shadow: none !important; transform: none !important; filter: none !important;
    justify-content: center !important;
    transition: none !important;
}
.endorsements-section .fusion_builder_column_1_3 .fusion-text p:first-child,
.endorsements-section .fusion_builder_column_1_3 .fusion-text p:first-child em { font-size: 17px; line-height: 1.55; color: #fff; }
.endorsements-section .fusion_builder_column_1_3 .fusion-text p:last-child {
    margin: 12px 0 0 !important;
    color: #9fb2d2; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

@media (max-width: 767px) {
    .endorsements-section .fusion-testimonials .review { margin-top: 44px; padding: 56px 22px 28px; border-radius: 14px; }
    .endorsements-section .fusion-testimonials .testimonial-thumbnail { top: -44px; width: 88px !important; height: 88px; }
    .endorsements-section .fusion-testimonials .review::before { top: 16px; left: 18px; font-size: 60px; }
    .endorsements-section .fusion-testimonials .awb-quote-content,
    .endorsements-section .fusion-testimonials .awb-quote-content p,
    .endorsements-section .fusion-testimonials .awb-quote-content em { font-size: 16px !important; line-height: 1.65 !important; }
    .endorsements-section .fusion-testimonials .review.is-clamped .awb-quote-content { -webkit-line-clamp: 8; }
    .endorsements-section .nsf-testimonial-arrow { width: 36px; height: 36px; box-shadow: 0 4px 12px rgba(5, 15, 35, .35); }
    .endorsements-section .nsf-testimonial-arrow svg { width: 15px; height: 15px; }
    .endorsements-section .nsf-testimonial-arrow--prev { left: -16px; }
    .endorsements-section .nsf-testimonial-arrow--next { right: -16px; }
    .endorsements-section .fusion-testimonials .review { padding-left: 26px; padding-right: 26px; }
    .endorsements-section .nsf-testimonial-nav .testimonial-pagination { gap: 4px; }
    .endorsements-section .testimonial-pagination .swiper-pagination-bullet { width: 6px !important; height: 6px !important; }
    .endorsements-section .testimonial-pagination .swiper-pagination-bullet-active { width: 18px !important; }
    .endorsements-section .fusion_builder_column_1_3 { margin-bottom: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .endorsements-section .testimonial-pagination .swiper-pagination-bullet { transition: none; }
}

/* Latest Episodes: less empty space above the heading; calmer card titles. */
.nsf-episodes.fusion-fullwidth { padding-top: 56px !important; }
.podcast-card h4 { letter-spacing: 0 !important; font-weight: 600 !important; font-size: 19px !important; line-height: 1.3 !important; }

/* About Chris: body-size bio text. */
.nsf-about .bio-wrap p { font-size: 18px; line-height: 1.7; color: #333; }

/* Also Available On: centre the second row and give every icon the same box so labels line up. */
.nsf-platforms .fusion-builder-row { justify-content: center; }
.nsf-platforms .fusion-layout-column:not(:first-child) .fusion-column-wrapper { justify-content: flex-start !important; }
.nsf-platforms .fusion-layout-column:not(:first-child) .fusion-separator { display: none; }
.nsf-platforms .fusion-layout-column:not(:first-child) .fusion-imageframe { display: flex !important; align-items: center; justify-content: center; height: 72px; margin: 0 auto 10px; }
.nsf-platforms .fusion-layout-column:not(:first-child) .fusion-imageframe img { max-height: 64px; width: auto; object-fit: contain; }
.nsf-platforms .fusion-layout-column:not(:first-child) { margin-bottom: 32px !important; }

@media (max-width: 767px) {
    .logo-slider .featured_on_logos img { max-height: 52px; }
    /* Tighter strip: small label on top, one compact row of logos. */
    .logo-slider .featured_on_logos { --logo: 44px; }
    /* .fusion-fullwidth beats the global "second section: 8vh" rule in Avada > Theme Options > Custom CSS. */
    .fusion-body .fusion-flex-container.fusion-fullwidth.logo-slider { padding-top: 26px !important; padding-bottom: 26px !important; }
    .logo-slider .fusion-layout-column { --awb-padding-bottom-medium: 0px !important; --awb-padding-bottom-small: 0px !important; }
    .fusion-body .fusion-flex-container.logo-slider .fusion-title { margin: 0 0 14px !important; --awb-margin-bottom-small: 14px !important; }
    .logo-slider .fusion-title .fusion-title-heading { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2 !important; }
    .nsf-about .bio-wrap p { font-size: 16px; }

    /* Episodes: one swipeable row instead of nine stacked cards. */
    .nsf-episodes .custom-row.load_post {
        flex-wrap: nowrap;
        gap: 12px;
        margin: 0 -27px;
        padding: 0 27px 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 27px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }
    .nsf-episodes .custom-row.load_post .podcast-col {
        flex: 0 0 82%;
        width: 82% !important;
        padding: 0;
        scroll-snap-align: start;
        display: flex;
    }
    .nsf-episodes .custom-row.load_post .podcast-card { margin-bottom: 0; }
    .nsf-episodes .misha_loadmore { display: block; width: 100%; margin-top: 16px; }

    /* Listen & Watch: the phone mockup in the background sat behind the text on phones. */
    .nsf-listen.fusion-fullwidth,
    .nsf-listen .fullwidth-faded {
        background-image: linear-gradient(180deg, #ffffff 0%, #e4ecf9 55%, #a9c3ef 100%) !important;
        background-attachment: scroll !important;
    }
    .nsf-listen .fusion-text p { padding-right: 0 !important; }

    /* Also Available On: three icons per row instead of one. */
    .nsf-platforms .fusion-layout-column:not(:first-child) {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
    .nsf-platforms .fusion-layout-column:not(:first-child) .fusion-separator { display: none; }
    .nsf-platforms .fusion-layout-column:not(:first-child) { margin-bottom: 24px !important; }
    .nsf-platforms .fusion-layout-column:not(:first-child) .fusion-column-wrapper { justify-content: flex-start !important; }
    .nsf-platforms .fusion-layout-column:not(:first-child) .fusion-imageframe { display: flex !important; align-items: center; justify-content: center; height: 44px; max-width: 72px; margin: 0 auto 8px; }
    .nsf-platforms .fusion-layout-column:not(:first-child) .fusion-imageframe img { max-height: 40px; width: auto; object-fit: contain; }
    .nsf-platforms .fusion-layout-column:not(:first-child) .fusion-text p { font-size: 13px; margin: 0; }
}


/* ========================================
   Video hero (alternate homepage: /home-video/). Behaviour in js/video-hero.js.
   The video, poster image, and text are all edited in the page builder.
   ======================================== */
.hero-video-section.fusion-fullwidth {
    position: relative;
    overflow: hidden;
    background-color: #0b1528 !important;
    background-size: cover !important;
    background-position: center 30% !important;
}
/* Navy wash so the text reads on any footage: darker on the left where the copy sits. */
.hero-video-section::before {
    content: "";
    position: absolute; inset: 0; z-index: 6;
    background:
        linear-gradient(90deg, rgba(11, 21, 40, .97) 0%, rgba(11, 21, 40, .92) 34%, rgba(11, 21, 40, .7) 58%, rgba(11, 21, 40, .42) 100%),
        linear-gradient(0deg, rgba(11, 21, 40, .7) 0%, rgba(11, 21, 40, 0) 45%);
    pointer-events: none;
}
.hero-video-section > .fusion-builder-row { position: relative; z-index: 7; }
/* Fallback / poster image (Background -> Image in the builder): always painted
   first and preloaded (inc/video-hero.php). Phones get the lighter
   "Background Image (Small)" or, if none is set, an automatic 768px copy. */
.hero-video-section.fusion-fullwidth { background-image: var(--hv-poster) !important; }
@media (max-width: 767px) {
    .hero-video-section.fusion-fullwidth { background-image: var(--hv-poster-small, var(--hv-poster)) !important; }
}
/* The video sits on top of the image and fades in only once it's actually playing. */
.hero-video-section .hv-media {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden; pointer-events: none;
    opacity: 0; transition: opacity .8s ease;
    container-type: size;
}
.hero-video-section .hv-media.is-playing { opacity: 1; }
.hero-video-section .hv-media iframe,
.hero-video-section .hv-media video {
    position: absolute; top: 50%; left: 50%;
    width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
    transform: translate(-50%, -50%);
    border: 0;
}
.hero-video-section .hv-media video { width: 100%; height: 100%; object-fit: cover; }
/* YouTube/Vimeo: zoom slightly so the player's title bar and any captions fall
   outside the frame. (Uploaded MP4s don't need this.) */
.hero-video-section .hv-media--youtube iframe,
.hero-video-section .hv-media--vimeo iframe { transform: translate(-50%, -50%) scale(1.32); }

/* "Passion. Purpose. Pursuit." stays on one line: the size scales with the
   screen so it always fits the copy column. */
.hero-video-section .hv-title h1 {
    white-space: nowrap;
    font-size: clamp(26px, 3.75vw, 52px) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: -.015em;
    color: #fff !important;
}
.hero-video-section .hv-intro p {
    max-width: 620px;
    margin: 18px 0 0;
    font-size: 19px; line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}
.hero-video-section .hv-copy .fusion-button-wrapper { display: inline-block; margin: 30px 12px 0 0; }
.hero-video-section .hv-btn { min-width: 200px; text-align: center; }
.hero-video-section .hv-btn--ghost {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, .7) !important;
}
.hero-video-section .hv-btn--ghost:hover { background: rgba(255, 255, 255, .12) !important; border-color: #fff !important; }
.hero-video-section .hv-quote p {
    position: relative;
    max-width: 560px;
    margin: 40px 0 0; padding-left: 20px;
    border-left: 3px solid #ed1e24;
    font-size: 19px; line-height: 1.55; font-style: italic;
    color: rgba(255, 255, 255, .92);
}
.hero-video-section .hv-signature { margin: 14px 0 0 20px !important; }
.hero-video-section .hv-signature img { max-width: 150px; filter: brightness(0) invert(1); opacity: .9; }

.hero-video-section .hv-book .fusion-column-wrapper { align-items: center; }
/* Straight cover with the same light "sheen" sweep on hover as the homepage
   (.cover-sheen, defined in the page's custom CSS). Shadow sits on the frame so
   the sheen's overflow clipping doesn't cut it off. */
.hero-video-section .hv-book__cover {
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 8px 18px rgba(0, 0, 0, .35);
}
.hero-video-section .hv-book__cover img { border-radius: 4px; }
.hero-video-section .hv-book__label p {
    margin: 26px 0 0; text-align: center;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
}
.hero-video-section .hv-btn--book { margin-top: 12px; }

/* Pause / play control (WCAG 2.2.2: moving content longer than 5s needs a pause). */
.hv-video-toggle {
    position: absolute; right: 24px; bottom: 24px; z-index: 8;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 10px;
    border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px;
    background: rgba(11, 21, 40, .55);
    color: #fff; font: 600 12px/1 Roboto, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hv-video-toggle:hover { background: rgba(11, 21, 40, .8); border-color: #fff; }
.hv-video-toggle:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 3px; }
.hv-video-toggle svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
    .hero-video-section::before { background: linear-gradient(180deg, rgba(11, 21, 40, .88) 0%, rgba(11, 21, 40, .8) 100%); }
    .hero-video-section .hv-copy { text-align: center; }
    .hero-video-section .hv-title h1 { font-size: min(calc((100vw - 170px) / 11.8), 52px) !important; }
    .hero-video-section .hv-intro p, .hero-video-section .hv-quote p { margin-left: auto; margin-right: auto; }
    .hero-video-section .hv-quote p { padding-left: 0; padding-top: 16px; border-left: 0; border-top: 3px solid #ed1e24; max-width: 520px; }
    .hero-video-section .hv-signature { margin: 14px auto 0 !important; }
    .hero-video-section .hv-copy .fusion-button-wrapper { margin: 26px 6px 0; }
    .hero-video-section .hv-book { margin-top: 48px; }
}
@media (max-width: 640px) {
    .hero-video-section .hv-title h1 { font-size: calc((100vw - 64px) / 12.2) !important; }
    .hero-video-section .hv-intro p { font-size: 17px; }
    .hero-video-section .hv-copy .fusion-button-wrapper { display: block; margin: 14px 0 0; }
    .hero-video-section .hv-copy .fusion-button-wrapper:first-of-type { margin-top: 26px; }
    .hero-video-section .hv-btn { width: 100%; }
    .hero-video-section .hv-quote p { font-size: 17px; }
    .hero-video-section .hv-book__cover img { max-width: 190px; }
    .hv-video-toggle { right: 14px; bottom: 14px; }
}
/* Signature always centred under the quote on tablet/phone (the builder floats it left). */
@media (max-width: 1024px) {
    .hero-video-section .hv-signature { float: none !important; display: table !important; margin: 16px auto 0 !important; }
    /* The quote's red rule becomes a short accent instead of a full-width line. */
    .hero-video-section .hv-quote p { border-top: 0; padding-top: 22px; }
    .hero-video-section .hv-quote p::before {
        content: ""; position: absolute; top: 0; left: 50%;
        width: 44px; height: 3px; margin-left: -22px;
        border-radius: 2px; background: #ed1e24;
    }
}
/* Room between "The new book from Chris Meek" and Buy Now. */
.hero-video-section .hv-book .hv-btn--book { margin-top: 20px !important; }

/* Phones: image (or video) on top, the copy below on navy, like the main homepage. */
@media (max-width: 767px) {
    .hero-video-section.fusion-fullwidth {
        --hv-media-h: min(100vw, 480px);
        background-image: none !important;
        padding-top: calc(var(--hv-media-h) + 36px) !important;
        padding-bottom: 56px !important;
    }
    .hero-video-section::after {
        content: "";
        position: absolute; top: 0; left: 0; right: 0; z-index: 0;
        height: var(--hv-media-h);
        background: #0b1528 var(--hv-poster-small, var(--hv-poster)) center 30% / cover no-repeat;
    }
    .hero-video-section .hv-media { inset: 0 0 auto 0; height: var(--hv-media-h); z-index: 1; }
    /* The navy wash becomes a soft fade where the image meets the copy. */
    .hero-video-section::before {
        top: calc(var(--hv-media-h) - 110px); bottom: auto; height: 111px;
        background: linear-gradient(180deg, rgba(11, 21, 40, 0) 0%, #0b1528 100%);
    }
    .hero-video-section .hv-copy .fusion-button-wrapper:first-of-type { margin-top: 24px; }
    .hero-video-section .hv-quote p { margin-top: 36px; }
    /* The book has its own section right below the logo strip, so skip it here. */
    .hero-video-section .hv-book { display: none !important; }
    .hv-video-toggle { top: calc(var(--hv-media-h) - 52px); bottom: auto; }
}
/* Reduced motion: show the still image instead of the video. */
@media (prefers-reduced-motion: reduce) {
    .hero-video-section .hv-media,
    .hv-video-toggle { display: none !important; }
}

/* ========================================
   No widows: headings split into even lines, body text never ends on a lone word.
   js/widows.js also joins the last two words of every block with a non-breaking space.
   ======================================== */
:is(h1, h2, h3, h4, h5, h6, .fusion-title-heading, .fusion-button) { text-wrap: balance; }
:is(p, li, blockquote, figcaption, .testimonial-extras, .testimonial-company) { text-wrap: pretty; }
/* Homepage hero: "Passion. Purpose. Pursuit." on one line on phones, like the video homepage. */
@media (max-width: 767px) {
    .hero-new-section h1 { white-space: nowrap; font-size: calc((100vw - 64px) / 12.2) !important; }
}
/* Small phones: "Next Steps Forward Symposiums" breaks as "Next Steps / Forward Symposiums". */
@media (max-width: 400px) {
    .nsf-symposium .fusion-title h1 { font-size: 8.6vw !important; }
}
