/*********** MEDIA QUERIES - ORGANIZED BY BREAKPOINT ***********/
/*********** ALL RESPONSIVE OVERRIDES EXTRACTED FROM MAIN SCSS ***********/

/* Hide skip links on touch devices */
@media (hover: none) and (pointer: coarse) {
    .skip-links {
        display: none !important;
    }
}
/*********** HEADER: MOBILE MODE (<=1199px) ***********/
@media only screen and (max-width: 1199px) {

  body { overflow-x: hidden; }
  div#page { overflow-x: hidden; }

  /* Hide topbar on mobile */
  div#topbar,
  .top-menu-right,
  .logo-container { display: none !important; }

  /* Remove body padding on mobile/tablet */
  body { padding-top: 0 !important; }
  .logged-in body { padding-top: 46px !important; }

  /* Fixed header on mobile */
  header#masthead {
    height: auto;
    position: fixed !important;
    top: 0 !important;
  }
.logged-in header#masthead {
    top: 92px;
}
  #masthead.ScrollOn,
  body.header-fixed #masthead { top: 0 !important; }

  .logged-in #masthead,
  .logged-in #masthead.ScrollOn,
  .logged-in.header-fixed #masthead { top: 32px !important; }

  /* Mobile menu container widths */
  #headerNav,
  div#mega-menu-wrap-top_menu { width: 100%; }

  /* Body lock when burger open */
  body.mega-menu-top_menu-mobile-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }

  /* Make mobile menu scrollable */
  #mega-menu-wrap-top_menu .mega-menu-toggle.mega-menu-open + #mega-menu-top_menu {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15vh;
  }

  div#mega-toggle-block-1 {
    display: flex;
    align-items: center;
  }

  #mega-menu-wrap-top_menu #mega-menu-top_menu > li.mega-menu-megamenu > ul.mega-sub-menu {
    padding-top: 2rem !important;
  }

  /* Advert swap in burger mode */
  .advert-desktop { display: none; }
  .advert-mob { display: block; margin-top: 2rem; }

.col-lg-6.top-menu-left {
    width: 100%;
}
  

  /* Approved Phase 2 navigation: mobile and tablet layout. */
  .mastheadWrapper.og-header-shell { height: 88px; }
  body.og-menu-open { overflow: hidden; }
  .og-header-shell div#topbar.og-utility-bar { display: none !important; }
  .og-header-shell header#masthead.og-approved-header,
  .og-header-shell header#masthead.og-approved-header.ScrollOn {
    height: 88px; min-height: 88px; position: fixed !important; top: var(--og-admin-offset) !important;
  }
  .og-header-shell header#masthead.og-approved-header .og-header-inner { padding: 20px; gap: 12px; }
  .og-header-shell header#masthead.og-approved-header .og-header-logo { width: 142px; flex-basis: 142px; }
  .og-header-shell header#masthead.og-approved-header .og-header-logo img { width: 142px; max-height: 44px; }
  .og-header-shell header#masthead.og-approved-header .og-header-actions { margin-left: auto; gap: 12px; }
  .og-header-shell header#masthead.og-approved-header .og-action-links a { min-height: 44px; color: #1c3b38; }
  .og-header-shell header#masthead.og-approved-header .og-desktop-search { display: none; }
  .og-menu-enhanced .og-header-shell header#masthead.og-approved-header .og-menu-toggle {
    display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0; width: 60px;
    background: transparent; color: #dcd9ce; border: 0; font-size: 14px; line-height: 20px; font-weight: 600;
  }
  .og-header-shell header#masthead.og-approved-header .og-primary-navigation {
    position: absolute; top: 100%; left: 0; width: 100%; padding: 24px 20px 28px; background: #dcd9ce;
    height: calc(100vh - 88px - var(--og-admin-offset));
    height: calc(100dvh - 88px - var(--og-admin-offset));
    max-height: calc(100dvh - 88px - var(--og-admin-offset)); overflow-y: auto; overscroll-behavior: contain;
  }
  .og-menu-enhanced .og-header-shell #og-primary-navigation { display: none; }
  .og-menu-enhanced.og-menu-open .og-header-shell #og-primary-navigation { display: block; }
  .og-header-shell header#masthead.og-approved-header .og-mobile-search {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 16px; margin-bottom: 8px;
    border: 0; border-radius: 8px; background: #f5f4f1; color: #1c3b38; font-size: 14px; font-weight: 600;
  }
  .og-header-shell header#masthead.og-approved-header .og-mobile-search span { font-size: 24px; }
  .og-header-shell header#masthead.og-approved-header .og-nav-list { display: block; }
  .og-header-shell header#masthead.og-approved-header .og-nav-list > li { margin: 0 0 8px; }
  .og-header-shell header#masthead.og-approved-header .og-nav-toggle {
    justify-content: space-between; width: 100%; min-height: 52px; padding: 12px;
    color: #1c3b38; font-size: 20px; line-height: 28px; border-radius: 8px;
  }
  .og-header-shell header#masthead.og-approved-header .og-nav-indicator::after { content: '+'; font-size: 24px; border: 0; transform: none; width: auto; height: auto; }
  .og-header-shell header#masthead.og-approved-header .og-nav-list > li.og-dropdown-open > .og-nav-toggle { background: #1c3b38; color: #dcd9ce; }
  .og-header-shell header#masthead.og-approved-header .og-dropdown-open .og-nav-indicator::after { content: '−'; }
  .og-header-shell header#masthead.og-approved-header .sub-menu,
  .og-header-shell header#masthead.og-approved-header .og-topics-dropdown > .sub-menu {
    position: static; width: 100%; padding: 4px 0 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 8px;
  }
  .og-header-shell header#masthead.og-approved-header .sub-menu::before { display: none; }
  .og-header-shell header#masthead.og-approved-header .sub-menu a { font-size: 16px; }


  /* Recommendations adapt to available content width. */

  .og-recommendations ol.og-recommendations__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .og-glance ul.og-glance__grid { grid-template-columns: minmax(0,1fr); }


  /* Publications filter v3: preserve readable labels at tablet widths. */
  .pubFilterAllSection.og-pub-filter .og-pub-heading { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 24px; }
  .pubFilterAllSection.og-pub-filter .og-pub-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pubFilterAllSection.og-pub-filter .og-pub-date-popup { width: min(668px,calc(100vw - 64px)); }

}


/*********** START (max-width: 1365.99px) ***********/
@media only screen and (max-width: 1365.99px) {

    /*********** GENERAL STYLES ***********/
    body {
        overflow-x: hidden;
    }
    
    #wpadminbar {
        position: fixed;
        width: 100%;
    }
    
    div#page {
        overflow-x: hidden;
    }
    
    li#wp-admin-bar-wpseo-menu, 
    li#wp-admin-bar-simple-history, 
    li#wp-admin-bar-password_protected, 
    li#wp-admin-bar-gform-forms,
    li#wp-admin-bar-duplicate-post,
    li#wp-admin-bar-theme-helper,
    li#wp-admin-bar-show_template_file_name_on_top {
        display: none!important;
    }

        .skip-links {
        display: none !important;
    }


/*********** MAX MEGA MENU: BURGER RANGE (<=1365.99px) - 3 COLS + ADVERT MOVED BELOW ***********/

  /* Remove the desktop advert column entirely so it doesn't reserve an empty column */
  #mega-menu-wrap-top_menu li.mega-menu-column.mega-col--advert {
    display: none !important;
  }

  /* Force the remaining columns row into 3 equal columns */
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-mega-menu-sub-menu-wrapper > ul.mega-sub-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  /* Make each MMM column behave like a normal grid item */
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-mega-menu-sub-menu-wrapper
  > ul.mega-sub-menu
  > li.mega-menu-column.mega-mega-menu-sub-menu-columns {
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
  }

  /* Ensure the mobile advert row is visible and full width */
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-advert-mob {
    display: block !important;
  }
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-advert-mob > ul.mega-sub-menu {
    display: block !important;
  }

/*********** HERO STLYES ***********/
    .heroSection {
        padding-left: 0;
    }
.heroSection {
    padding-top: 125px !important;
}

/*********** SINGLE STLYES ***********/
.container.single-container{
  padding-top: 10rem;  
}

/*********** TOPIC CARD STLYES ***********/
.topicCardsSection--5box img.topicCardImg.mobile-image {
    height: 390px !important;
}

} /**END (max-width: 1365.99px)**/

/*********** START (min-width: 320px) and (max-width: 575.99px) ***********/
@media screen and (min-width: 320px) and (max-width: 575.99px) {

    /*********** EXPERTS SINGLE POST LAYOUT ***********/
    .team-member-publications-grid {
        grid-template-columns: 1fr;
    }

    .team-member-publications-title {
        font-size: 1.75rem;
    }

    /*********** TOPIC CARDS SMALL MOBILE ***********/
    .topicCardsSection {
        margin-top: 0 !important;
    }
    
    #topicCardsWrapper {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .topicCardsTitle {
        font-size: 28px !important;
        margin-bottom: 24px !important;
    }
    
    .topicCard {
        min-height: 260px;
    }
    
    .topicCardBody {
        padding: 20px !important;
    }
    
    .topicCardTitle {
        font-size: 22px !important;
    }
    
    .topicCardDescription {
        font-size: 15px !important;
    }

    /*********** TOPIC CARDS 2 COLUMN SMALL MOBILE ***********/
    .topicCard2ColContent {
        padding: 30px 20px !important;
    }
    
    .topicCard2ColTitle {
        font-size: 32px !important;
    }
    
    .topicCard2ColSubtitle {
        font-size: 15px !important;
    }

    /*********** PUBLICATIONS POST 3 BOX STYLES ***********/
    .publications3-card-small {
        flex-direction: column;
    }
    
    .publications3-card-image-small {
        width: 100%;
        height: auto;
    }

    /*********** PUBLICATIONS 1X4 ***********/
    .publications1x4-grid {
        grid-template-columns: 1fr!important;
    }
    
    .publications1x4Section {
        padding: 40px 15px;
    }

    /*********** LATEST PUBLICATIONS ***********/
    .latestPublicationsLeftColumn, .latestPublicationsRightColumn {
        max-width: 50%;
    }
    
    .latestPublicationsMainTitle {
        font-size: 28px;
    }    

    /*********** OUR TEAM ***********/
    .team-photo-wrapper {
        margin-top: 3rem;
    }

} /**END (min-width: 320px) and (max-width: 575.99px)**/

/*********** START (min-width: 320px) and (max-width: 767.99px) ***********/
@media screen and (min-width: 320px) and (max-width: 767.99px) {

    /*********** HERO ONE COLUMN CAROUSEL FULL BLEED ***********/
    .heroFullBleedSection {
        --og-hero-height: var(--og-hero-height-mobile, 600px);
    }
    .heroFullBleedSection .heroFullBleedSlide {
        padding: var(--og-hero-padding-mobile, 0px);
    }
    .heroFullBleedSection .heroFullBleedPagination { right: 0; bottom: 20px; left: 0; }
    .heroFullBleedSection .heroFullBleedDots .slick-dots { width: calc(100% - 60px); padding-right: 30px; gap: 4px; }
    .heroFullBleedSection .heroFullBleedDots .slick-dots li { min-width: 30px; max-width: 80px; }
    .heroFullBleedSection .heroFullBleedDots .slick-dots li button { height: 10px; }




    /*********** GENERAL STYLES ***********/
    .logged-in .modal-content {
        margin-top: 46px;
    }
    
    .mega-mega-menu-sub-menu-columns {
        margin-right: 0!important;
    }

    /*********** OUR TEAMS FILTER STYLES ***********/
        nav.ourteams-filter-tabs {
        gap: 15px;
    }
        button.ourteams-tab {
        padding: 6px;
    }
    .expert-photo img {
        height: 390px;
    }

    /*********** OUR TEAMS SINGLE POST LAYOUT STYLES ***********/

    .single-experts .container.single-container {
        padding-top: 7rem;
    }

    .single-experts .post-title {
    display: block;
    text-align: center;
    }
    
    span.gender-pronoun {
        position: static !important;
        display: block;
        margin: 0.5rem auto 0 auto;
        transform: none !important;
        font-size: 16px;
        font-size: 1.6rem;
        text-align: center;
    }
    .single-experts #page {
        padding-top: 180px;
    }
    .single-experts .container.single-container .featured-image-wrapper {
        margin-top: 4rem;
    }

    /*********** HERO STYLES ***********/
    section.heroSection {
        padding: 0 1rem;
    }
    
    .heroSection {
        padding-top: 125px!important;
    }
    
    .heroCarouselSlideContent {
        flex-direction: column;
    }
    
    .heroCarouselSlide {
        min-height: 100%!important;
        height: 100%!important;
    }
    
    .heroTwoColumnCategory.right {
        padding: 0 10px;
    }
    
    .heroCarousel .slick-dots {
        padding-right: 30px;
        gap: 4px;
        bottom: -36px;
    }
    
    .heroCarousel .slick-dots li {
        min-width: 30px;
        max-width: 80px;
    }
    
    .heroCarousel .slick-dots button {
        height: 10px;
    }
    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin: 20px auto;
        max-width: 100%;
    }

    .heroCarouselSlide, .heroTwoColumnContainer {
        padding: 15px;
    }

    .heroTwoColumn {
        padding-right: 0!important;
    }
    .heroTwoColumn.right img {
    position: relative;
    right: -8px;
}

/*********** MOBILE FOOTER STYLES - MATCH TABLET ***********/
    .container-fluid.footer-base,
    .container.fbContainer {
        padding: 2rem 1rem;
    }
    /* Make footer widgets wrap */
    aside.widget-area.footer-widgets {
        flex-wrap: wrap;
    }
    /* Logo - Full width */
    .widget-column.footer-widget-1 {
        flex: 0 0 100% !important;
        max-width: 100%;
        text-align: left;
        margin-bottom: 3rem;
        padding-left: 0;
    }
    .widget-column.footer-widget-1 img {
        width: 200px;
        height: auto;
    }
    /* Widgets 2-5 - 2 column layout */
    .widget-column.footer-widget-2,
    .widget-column.footer-widget-3,
    .widget-column.footer-widget-4,
    .widget-column.footer-widget-5 {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px);
        justify-content: flex-start;
        text-align: left;
    }
    /* Footer base widget column - enable wrapping */
    .widget-column.footer-widget-base {
        flex-wrap: wrap;
        justify-content: center;
    }
    /* Code widget (copyright) - 100% width */
    section#codewidget-2 {
        flex: 0 0 100% !important;
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    /* Navigation menu widget - 100% width */
    section#nav_menu-5 {
        flex: 0 0 100% !important;
        width: 100%;
    }
    /* Footer base menu - row direction, centered */
    ul#menu-footer-base {
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    #menu-footer-base li {
        margin-bottom: 0.5rem;
    }
    #menu-footer-base li a {
        margin-right: 1rem;
        margin-left: 1rem;
    }
    /* Copyright text - centered */
    p.itCopy {
        text-align: center;
        margin: 0 auto 1rem;
    }
    /* Social icons - center them */
    .widget-column.footer-widget-base .social-icons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    } 
    
    /*********** PUBLICATIONS 3 BOX - MOBILE (1 COLUMN) ***********/
    .publications3-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .publications3-card-large {
        grid-column: 1;
        grid-row: auto;
    }
    .publications3-card-small {
        grid-column: 1;
    } 

    /*********** TOPIC CARDS ***********/
    .topicCardsSection:not(.topicCards1x3Section) .topicCardImage img {
        height: 332px !important;
    }
    .topicCardsSection.topicCards1x3Section .topicCardMedia img.mobile-image {
        display: block !important;
        height: 234px !important;
        min-height: 0 !important;
        object-fit: cover;
    }

   /*********** TOPIC CARDS 5-BOX: MOBILE HARD RESET (1 COLUMN) ***********/
.topicCardsSection.topicCardsSection--5box .topicCardsGrid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-auto-rows: auto !important;
  grid-auto-flow: row !important;
  gap: 20px !important;
}
.topicCardsSection.topicCardsSection--5box .topicCardsGrid > * {
  grid-column: auto !important;
  grid-row: auto !important;
}
/* Aviation card: force stacked (text top, image bottom) */
.topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 {
  flex-direction: column !important;
}
.topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 .topicCardBody {
  order: 1 !important;
}
.topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 .topicCardImageWrapper {
  order: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
}

/*********** START CONTENT CATEGORY FILTER STYLES ***********/
div#catFilter-controls-1 {
    justify-content: center;
}
.catFilter-search-wrapper {
    min-width: 100%;
}
.catFilter-custom-select {
    min-width: 48%;
}

/*********** START FEATURED PUBLICATIONS SLIDER STYLES ***********/

.featuredPublicationsSection .slick-dots {
    bottom: -20px;
    left: 12px; 
}

/*********** START SINGLE POST LAYOUT PUBLICATIONS STYLES ***********/
.single-publication div#page {
    padding-top: 100px;
}
.container.single-container .featured-image-wrapper {
    margin-bottom: -110px;
}
.container.single-container .featured-image {
    width: 100%;
}

/*********** START RELATED PUBLICATIONS STYLES ***********/
h2.related-publications-heading {
    font-size: 30px;
}

/*********** START 2 COLUMN COMPONENT STYLES ***********/
.twoColRowOne img, .twoColRowTwo img  {
    width: 100%;
    height: auto;
}

    /*********** PUBLICATIONS AJAX FILTER - MOBILE STACK ***********/
    .pubFilterAll-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .pubFilterAll-header-top {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }
    
    .pubFilterAll-title-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .pubFilterAll-main-title {
        font-size: 32px;
    }
    
    .pubFilterAll-search-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .pubFilterAll-controls {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .pubFilterAll-custom-select {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }

/*********** 3 COLUMN INFO BOX STYLES ***********/
  .threeColumBoxSection .threeColumBoxContainer > .row {
    flex-wrap: wrap !important;
  }
  .threeColumBoxSection .boxOne,
  .threeColumBoxSection .boxTwo,
  .threeColumBoxSection .boxThree {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    /* override inline gap margins from the template */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Optional: add vertical spacing between stacked boxes */
  .threeColumBoxSection .boxOne,
  .threeColumBoxSection .boxTwo {
    margin-bottom: 16px !important;
  }


} /**END (min-width: 320px) and (max-width: 767.99px)**/


/*********** START TOPIC CARDS 1X3 - SMALL TABLET IMAGE TWEAK (min-width: 610px) and (max-width: 767.99px) ***********/
@media screen and (min-width: 610px) and (max-width: 767.99px) {
  /* Give the bottom image more height in this narrow range */
  .topicCardsSection.topicCards1x3Section .topicCardWrapper.topicCard1x3-0 .topicCardMedia.topicCardImage--bottom img {
    height: 320px !important;
    object-position: center center;
  }
}

/*********** START (min-width: 768px) ***********/
@media screen and (min-width: 768px) {

    /* Add any styles that apply from 768px and up */

} /**END (min-width: 768px)**/

/*********** START (min-width: 320px) and (max-width: 1024px) ***********/
@media screen and (min-width: 320px) and (max-width: 1024px) {

    /*********** TOPIC CARDS 1X3  ***********/

  .topicCardsSection.topicCards1x3Section .topicCardMedia img.desktop-image {
        display: none!important;
    }  


} /**END (min-width: 320px) and (max-width: 1024px)**/

/*********** START (min-width: 320px) and (max-width: 374.99px) ***********/
@media screen and (min-width: 320px) and (max-width: 374.99px) {

    /* Very small mobile devices */


  /* Approved navigation compact phone sizing. */
  .og-header-shell header#masthead.og-approved-header .og-header-inner { padding: 16px; gap: 8px; }
  .og-header-shell header#masthead.og-approved-header .og-header-logo { width: 112px; flex-basis: 112px; }
  .og-header-shell header#masthead.og-approved-header .og-header-logo img { width: 112px; }
  .og-header-shell header#masthead.og-approved-header .og-header-actions { gap: 8px; }

} /**END (min-width: 320px) and (max-width: 374.99px)**/

/*********** START (min-width: 375px) and (max-width: 767.99px) ***********/
@media screen and (min-width: 375px) and (max-width: 767.99px) {

    /*********** GENERAL STYLES ***********/
    .logged-in .modal-content {
        margin-top: 46px;
    }
    
    div#mega-toggle-block-1 img {
        max-width: 70% !important;
    }

    /*********** HEADER STYLES ***********/
    #mega-menu-wrap-top_menu .mega-menu-toggle .mega-toggle-block-1 a.mega-menu-logo img.mega-menu-logo {
        padding-left: 0.5rem;
    }
    
    nav#headerNav {
        width: 100%;
    }
    
    a.menuCtaBtnBlue {
        display: none;
    }
    
    div#mainMenuArea {
        position: relative;
        width: 100%;
    }
    
    div#mega-menu-wrap-top_menu {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
    }
    
    .htSearchWrapper {
        display: none;
    }
    
    header#masthead {
        padding: 0;
    }

    /*********** HERO STYLES ***********/
    .heroCarouselColumn {
        width: 100%;
        padding: 20px;
    }

    .heroCarouselSlide {
        flex-direction: column;
    }

    /*********** PUBLICATIONS POST CAROUSEL STYLES ***********/
    .publicationsPostSlider .slick-list {
        padding-right: 50px !important;
    }
    
    .publicationsPostCarousel .slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /*********** PUBLICATIONS POST 2x2 STYLES ***********/
    .publications2x2-grid {
        grid-template-columns: 1fr;
    }
    
    .publications2x2Section {
        padding: 40px 15px;
    }
    
    .publications2x2-header {
        margin-bottom: 30px;
        gap: 20px;
    }
    
    .publications2x2-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .publications2x2-category-filter,
    .publications2x2-view-all-btn {
        width: 100%;
        text-align: center;
    }

/*********** PSINGLE POST LAYOUT STYLES ***********/
        .spSidebarWrapper {
        display: none;
    }

} /**END (min-width: 375px) and (max-width: 767.99px)**/



/*********** CONTENT SLIDER: STACKED MODE (768–1199.99px) ***********/
@media (min-width: 768px) and (max-width: 1199.99px) {

@media (orientation: portrait) {
  /*********** START OPTIONAL TOPIC CONTENTS ***********/
  .content-tabs-wrapper .og-topic-content-layout { flex-direction: column; gap: 24px; }
  .content-tabs-wrapper .og-topic-content-layout > .og-topic-contents-wrap,
  .content-tabs-wrapper .og-topic-content-layout > .og-topic-contents-wrap.og-topic-desktop-contents-off { display: block; order: 0; flex: 0 0 auto; width: 100%; max-width: none; min-height: 0 !important; }
  .content-tabs-wrapper .og-topic-content-layout > .og-topic-contents-wrap.og-topic-small-contents-off { display: none; }
  .content-tabs-wrapper .og-topic-contents-wrap .spSidebarInner.sticky-sidebar { position: relative !important; top: auto !important; bottom: auto !important; width: 100% !important; max-width: 100% !important; max-height: none !important; overflow: visible !important; margin-bottom: 0 !important; }
  .content-tabs-wrapper .og-topic-content-layout > .spMainContentWrapper { order: 1; width: 100%; max-width: none; }
  /*********** FINISH OPTIONAL TOPIC CONTENTS ***********/

  /*********** START PUBLICATION SMALL SCREEN PANEL ***********/
  .single-blog-wrapper { width: calc(100% - 40px); max-width: none; padding: 0; }
  .single-blog-wrapper .single-blog-content { flex-direction: column; gap: 24px; margin-right: 0; margin-left: 0; }
  .single-blog-wrapper .single-blog-content::after { display: none; }
  .single-blog-wrapper .spSidebarWrapper { display: block; order: 0; flex: 0 0 auto; width: 100%; max-width: none; min-height: 0 !important; }
  .single-blog-wrapper .spMainContentWrapper { order: 1; width: 100%; max-width: none; }
  .single-blog-wrapper .og-publication-sidebar { position: relative !important; top: auto !important; bottom: auto !important; width: 100% !important; max-height: none !important; overflow: visible; padding: 16px; margin: 0; gap: 20px; }
  .single-blog-wrapper .spSidebarWrapper.og-pub-desktop-hidden { display: block; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-desktop-hidden:not(.og-pub-small-hidden) { display: block; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-small-hidden { display: none !important; }
  .single-blog-wrapper .spSidebarWrapper:has(.og-pub-small-empty) { display: none; }
  .single-blog-wrapper .og-publication-sidebar .publication-author-box { border-radius: 6px; }
  .single-blog-wrapper .og-publication-sidebar .publication-author-box h3 { font-size: 14px; }
  .single-blog-wrapper .og-publication-sidebar .author-header { gap: 12px; align-items: center; flex-direction: row; text-align: left; }
  .single-blog-wrapper .og-publication-sidebar .author-info,
  .single-blog-wrapper .og-publication-sidebar .author-name,
  .single-blog-wrapper .og-publication-sidebar .author-pronoun,
  .single-blog-wrapper .og-publication-sidebar .author-job-title { text-align: left; }
  .single-blog-wrapper .og-publication-sidebar .author-name { font-size: 18px; line-height: 1.5; text-decoration: underline; }
  .single-blog-wrapper .og-publication-sidebar .author-bio { line-height: 1.5; }
  .single-blog-wrapper .og-publication-sidebar .author-social { padding: 0; border: 0; }
  .single-blog-wrapper .og-publication-sidebar .author-social a { flex: 1 1 0; min-height: 44px; border: 1px solid #ffffff; border-radius: 4px; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-contact-label { display: inline; text-decoration: underline; font-size: 14px; }
  .single-blog-wrapper .og-publication-sidebar .publication-downloads { padding: 20px 0 0; border-top-color: #ffffff; }
  .single-blog-wrapper .og-publication-sidebar .download-link { min-height: 56px; margin-top: 8px; padding: 12px; border: 1px solid #ffffff; border-radius: 6px; }
  .single-blog-wrapper .og-publication-sidebar .download-icon { width: 18px; height: 18px; flex-basis: 18px; border: 0; border-radius: 0; }
  .single-blog-wrapper .og-publication-sidebar .download-link:hover, .single-blog-wrapper .og-publication-sidebar .download-link:active { color: #1c3b38; background: #ffffff; }
  .single-blog-wrapper .og-publication-sidebar .publication-toc { order: 0; padding: 0; border: 0; }
  .single-blog-wrapper .og-publication-sidebar a:focus-visible,
  .single-blog-wrapper .og-publication-sidebar button:focus-visible { outline: 2px solid #fa6e47 !important; outline-offset: 2px; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-small-first.publication-downloads,
  .single-blog-wrapper .og-publication-sidebar .og-pub-small-first.publication-sidebar-tags { padding-top: 0; border-top: 0; }
  /*********** FINISH PUBLICATION SMALL SCREEN PANEL ***********/

}

  .slider-container { flex-direction: column; }
  .slide-item:not(.active) { width: 100%; height: auto; }
  .slide-button-collapsed { flex-direction: row; padding: 20px; justify-content: center; }
  .button-label-vertical,
  .header-label-vertical { writing-mode: horizontal-tb; }
  .content-text { padding: 30px; }
  .content-title { font-size: 28px; }
  .content-image { height: auto; }
}


/*********** START (min-width: 768px) and (max-width: 1375.999px) ***********/
@media (min-width: 768px) and (max-width: 1375.999px) {

    /*********** HERO ONE COLUMN CAROUSEL FULL BLEED ***********/
    .heroFullBleedSection {
        --og-hero-height: var(--og-hero-height-tablet, 600px);
    }
    .heroFullBleedSection .heroFullBleedSlide {
        padding: var(--og-hero-padding-tablet, 0px);
    }

    .heroFullBleedSection .heroFullBleedDots .slick-dots { padding-right: 40px; gap: 5px; }
    .heroFullBleedSection .heroFullBleedDots .slick-dots li { min-width: 35px; max-width: 150px; }
    .heroFullBleedSection .heroFullBleedDots .slick-dots li button { height: 11px; }




    .heroCarousel .slick-dots {
        padding-right: 40px;
        gap: 5px;
    }
    
    .heroCarousel .slick-dots li {
        min-width: 35px;
        max-width: 150px;
    }
    
    .heroCarousel .slick-dots button {
        height: 11px;
    }

    /*********** PUBLICATIONS POST 3 BOX STYLES ***********/

    .publications3-category-filter,
    .publications3-view-all-btn {
        width: 100%;
        text-align: center;
    }

    .publications3-main-title {
        font-size: 32px;
    }

    .publications3-card-image-large {
        height: auto;
    }

    .publications3-card-content-large {
        padding: 25px;
    }

    .publications3-card-content-large .publications3-card-title {
        font-size: 22px;
    }

    .publications3-card-small {
        flex-direction: column;
    }

    .publications3-card-image-small {
        width: 100%;
        min-height: 200px;
    }

    /* Tablet + laptop: 2-column grid, no tall spanning card */
    .publications3-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    /* Key fix: large card must NOT span 2 rows here */
    .publications3-card-large {
        grid-column: 1;
        grid-row: 1;
    }
    /* Keep small cards as "stacked" (image on top) so they don't look squashed */
    .publications3-card-small {
        flex-direction: column;
    }
    /* Make small images full width and a sensible height */
    .publications3-card-image-small {
        width: 100%;
        height: auto;
    }
    .publications3-card-image-small img {
        width: 100%;
        height: 220px;         /* tweak as needed */
        object-fit: cover;
        display: block;
    }
    /* Make sure the two small cards don't try to stretch to match weird heights */
    .publications3-card-content-small {
        flex: 1 1 auto;
    }
    /* FORCE grid placement so the 3rd card sits under the large card (left),
    not under the right column. This removes the "odd right aligned" feel. */
    .publications3-grid > .publications3-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    .publications3-grid > .publications3-card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }
    /* Optional: keep the large image from becoming huge */
    .publications3-card-image-large img {
        min-height: 300px !important;
        max-height: 380px !important;
        object-fit: cover;
    }

    /*********** VACANCIES SINGLE POST LAYOUT ***********/
    .vacanciesLeft.labels-col {
        display: none!important;
    }
    
    .vacanciesRow > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }
    
    .vacanciesRow p {
        flex: 1;
        display: flex;
        align-items: flex-start;
    }
    
    .labels-col {
        display: none;
    }
    
    .mobile-label {
        display: inline;
        font-weight: bold;
        margin-right: 0.5rem;
        min-width: 100px;
    }

    /*********** CURRENT VACANCIES STYLES ***********/
    .vacancyCard {
        padding: 1.5rem;
    }

    /*********** EXPERTS SINGLE POST LAYOUT ***********/
    .team-member-publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .team-member-publications-header {
        flex-direction: column;
        align-items: stretch;
    }

    .team-member-category-filter {
        width: 100%;
    }
    
    .topicCardsSection:not(.topicCards1x3Section):not(.topicCardsSection--5box) .topicCard  {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        flex-direction: column !important;
        min-height: 300px;
    }
    
    /* Side-by-side cards stack vertically on mobile */
    .topicCardsSection:not(.topicCards1x3Section) .topicCard .topicCardImageWrapper {
        flex: 1 1 auto !important;
        max-width: 100% !important;
    }
    
    /* Images full width on mobile with bottom radius */
    .topicCardImage {
        border-radius: 0 0 24px 24px !important;
    }
    
    /* Cover images maintain full height */
    .topicCardImageCover img {
        height: 100% !important;
    }
    
    /* Title sizing */
    .topicCardsTitle {
        font-size: 32px !important;
        margin-bottom: 30px !important;
    }
    
    .topicCardTitle {
        font-size: 24px !important;
    }
    
    /* Padding adjustments */
    .topicCardBody {
        padding: 24px !important;
    }
    
    /* Container padding */
    .topicCardsContainer {
        padding: 0 16px !important;
    }

    /*********** TOPIC CARDS 2 COLUMN MOBILE ***********/
    .topicCard2ColImage {
        min-height: 250px !important;
    }
    
    .topicCard2ColContent {
        padding: 40px 30px !important;
    }
    
    .topicCard2ColTitle {
        font-size: 36px !important;
        margin-bottom: 16px !important;
    }
    
    .topicCard2ColSubtitle {
        font-size: 16px !important;
        margin-bottom: 24px !important;
    }

    /*********** FAQS STYLES ***********/
    .faqsMainTitle {
        font-size: 36px;
    }

    .faqsSubTitle {
        font-size: 16px;
    }

    .faqColumns-twoColumns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faqAccordionHeader {
        padding: 15px 20px;
    }

    .faqAccordionTitle {
        font-size: 16px;
    }

    .faqAccordionInner {
        padding: 20px;
    }

    /*********** MOBILE FOOTER STYLES ***********/
    .container-fluid.footer-base,
    .container.fbContainer {
        padding: 2rem 1rem;
    }

    /* Make footer widgets wrap on mobile */
    aside.widget-area.footer-widgets {
        flex-wrap: wrap;
    }

    /* Logo - Full width on mobile */
    .widget-column.footer-widget-1 {
        flex: 0 0 100% !important;
        max-width: 100%;
        text-align: left;
        margin-bottom: 3rem;
        padding-left: 0;
    }

    .widget-column.footer-widget-1 img {
        width: 130px;
        height: auto;
    }

    /* Widgets 2-5 - 2 column layout on mobile */
    .widget-column.footer-widget-2,
    .widget-column.footer-widget-3,
    .widget-column.footer-widget-4,
    .widget-column.footer-widget-5 {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px);
        justify-content: flex-start;
        text-align: left;
    }

    /* Footer base widget column - enable wrapping */
    .widget-column.footer-widget-base {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Code widget (copyright) - 100% width */
    section#codewidget-2 {
        flex: 0 0 100% !important;
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Navigation menu widget - 100% width */
    section#nav_menu-5 {
        flex: 0 0 100% !important;
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Footer base menu - row direction, centered */
    ul#menu-footer-base {
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    #menu-footer-base li {
        margin-bottom: 0.5rem;
    }

    #menu-footer-base li a {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    /* Copyright text - centered */
    p.itCopy {
        text-align: center;
        margin: 0 auto 1rem;
    }

    /* Social icons - center them */
    .widget-column.footer-widget-base .social-icons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    /*********** PUBLICATIONS POST 2X2 BOX STYLES ***********/
    .publications2x2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    /*********** FEATURED PUBLICATIONS SLIDER ***********/
    .featured-title {
        font-size: 24px;
    }
    
    .featured-meta {
        flex-wrap: wrap;
    }
    
    .featuredPublicationsSection .slide-arrow {
        width: 40px;
        height: 40px;
        bottom: -60px;
    }
    
    .featuredPublicationsSection .prev-arrow {
        right: 60px;
    }
    
    .featuredPublicationsSection .slide-arrow i {
        font-size: 16px;
    }
    
    .featuredPublicationsSection .slick-dots {
        bottom: -45px;
    }

    /*********** PUBLICATIONS AJAX FILTER ***********/
    .pubFilterAll-main-title {
        font-size: 36px;
    }
    
    .pubFilterAll-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pubFilterAll-search-wrapper,
    .pubFilterAll-category-filter,
    .pubFilterAll-tag-filter {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .pubFilterAll-card-content {
        padding: 24px 20px;
    }
    
    .pubFilterAll-card-title {
        font-size: 20px;
    }

    /*********** CATEGORY FILTER ***********/
    .catFilter-main-title {
        font-size: 36px;
    }
    
    .catFilter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .catFilter-search-wrapper,
    .catFilter-custom-select {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .catFilter-card-content {
        padding: 24px 20px;
    }
    
    .catFilter-card-title {
        font-size: 20px;
    }

    /*********** SINGLE POST LAYOUT ***********/

    .container.single-container .featured-image {
        width: 100%;
    }
    
    .single-blog-content {
        padding-top: 0;
    }

    .spMainContentWrapper {
        order: 1;
    }

    .publication-author-box {
        padding: 1.5rem;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
    }

    .author-photo {
        margin: 0 auto 1rem;
    }

    .author-info {
        text-align: center;
    }

    .author-social {
        justify-content: center;
    }

    .author-more-articles {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }

    .publication-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .publication-tags {
        width: 100%;
    }

    /*********** CATEGORY FILTER ***********/
    .catFilter-controls {
        flex-direction: column;
        gap: 12px;
    }

    .catFilter-search-wrapper,
    .catFilter-tag-filter,
    .catFilter-location-filter {
        width: 100%;
        max-width: 100%;
    }

    .catFilter-main-title {
        font-size: 32px;
    }

    .catFilter-card-title {
        font-size: 20px;
    }

    .catFilter-card-content {
        padding: 24px 20px;
    }

    /*********** PUBLICATIONS 1X4 ***********/
    .publications1x4-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .publications1x4-controls {
        justify-content: flex-start;
        width: 100%;
    }

    /*********** SPOKESPEOPLE ***********/
    .spokespeople-main-title {
        font-size: 28px;
    }
    
    .spokespeopleSection .expert-content {
        padding: 20px;
    }
    
    .spokespeople-subtitle {
        font-size: 16px;
    }

    /*********** PUBLICATIONS ARCHIVE ***********/
    .pubArchive-main-title {
        font-size: 32px;
    }
    
    .pubArchive-card-content {
        padding: 24px 20px;
    }
    
    .pubArchive-card-title {
        font-size: 20px;
    }

    /*********** PUBLICATIONS POST CAROUSEL ***********/
    .ppcarousel-main-heading {
        font-size: 28px;
        max-width: 50%;
    }
    
    .publicationsPostCarousel .publications-heading {
        font-size: 28px;
    }
    
    .ppcarousel-main-cta-btn {
        max-width: 50%;
        text-align: right;
    }

    /*********** RELATED PUBLICATIONS POST CAROUSEL ***********/
    .crpcarousel-headings-col, .crpcarousel-cta-btn-col {
        max-width: 50%;
    }

    .relatedPublicationsCarousel .related-publications-heading {
        font-size: 28px;
    }

    /* FIX: Force intro box hidden on mobile */
    .related-intro-box-static {
        display: none !important;
    }

    .related-publications-left-overlay {
        display: none !important;
    }

    /* FIX: Mobile carousel */
    .relatedPublicationsSlider .slick-list {
        padding: 0 15px !important;
        overflow: hidden !important;
    }

    .relatedPublicationsSlider .slick-slide {
        padding: 0 16px !important;
    }

    .relatedPublicationsSlider .slick-track {
        margin-left: 0 !important;
    }

    .relatedPublicationsCarousel {
        padding-bottom: 100px;
    }

    /*********** OUR TEAMS FILTER ***********/
    .expert-photo img {
        height: 420px;
    }

    /*********** GET IN TOUCH ***********/
    .getInTouchSocialIcons {
        margin-bottom: 2rem;
    }

    /*********** FEATURED IN ***********/
    .featuredInMainTitle {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .featuredInLogosWrapper {
        justify-content: center;
        gap: 4rem;
    }

    /*********** PUBLICATIONS 2X2 ***********/
    .pub2x2-card {
        flex-wrap: wrap;
    }
    
    .pub2x2-card-image {
        width: 100%;
    }

    /*********** FEATURED PUBLICATION CAROUSEL ***********/
    .featured-publication-slide.slick-slide {
        margin: 1rem;
    }
    
    .featuredPublicationsSection .slick-dots {
        bottom: -15px;
        left: 20px;
    }

  /*********** EXPERTS SINGLE STYLES ***********/  
.single-experts #page {
    padding-top: 200px;
}
  .single-experts .container.single-container .featured-image {
    max-height: 62vh;
  }

  /*********** TEAM MEMBER PUBLICATIONS: HEADER 2-COL (992–1375.999) ***********/
.team-member-publications-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px !important; /* left text, right dropdown */
  align-items: end !important;
  gap: 24px !important;
}
.team-member-publications-subtitle {
  margin: 0 !important;
  max-width: 100% !important;
}
.team-member-category-filter {
  width: 100% !important;
  max-width: 260px !important;
  justify-self: end !important;
}

/*********** TOPIC PAGE STYLES ***********/ 



} /**END (min-width: 768px) and (max-width: 1375.999px)**/


/*********** START (min-width: 992px) and (max-width: 1199.99px) ***********/
@media (min-width: 992px) and (max-width: 1199.99px) {

    /*********** CONTENT SLIDER STYLES - 2 SLIDE LAYOUT ***********/
    /* Turn the slider into a 2-up grid and disable accordion-like behavior in this range */
    .slider-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        min-height: auto !important;
        align-items: stretch;
    }

    /* Each slide behaves like a normal card (not accordion tabs) */
    .slide-item,
    .slide-item.active,
    .slide-item:not(.active) {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-height: auto !important;
        height: auto !important;
    }

    /* Hide accordion UI that breaks in this range */
    .slide-button-collapsed {
        display: none !important;
    }

    /* Ensure expanded content is always visible */
    .slide-item .slide-expanded {
        display: flex !important;
    }

    /* Hide the vertical header (accordion-style) */
    .slide-header {
        display: none !important;
    }

    /* Within each slide: keep a clean stacked layout (text then image) */
    .slide-content-box {
        flex-direction: column !important;
        min-height: 100% !important;
    }

    .content-text {
        max-width: 100% !important;
        margin-right: 0 !important;
        padding: 30px 24px !important;
    }

    .content-title {
        font-size: 28px !important;
    }

    /* Image sits under text, full width */
    .content-image {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        order: 2 !important;
    }

    .content-image img {
        width: 100% !important;
        height: 342px !important; /* tweak if you want taller/shorter cards */
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 0 0 20px 20px !important;
        display: block !important;
    }

    /* Image variants: use MOBILE image for stacked card layout in this range */
    .content-image img.desktop-image {
        display: none !important;
    }
    .content-image img.mobile-image {
        display: block !important;
    }

}
/**END (min-width: 992px) and (max-width: 1199.99px)**/


/*********** START (max-width: 782.999px) ***********/
@media (max-width: 782.999px) {

    /* Header for logged-in users on mobile */
    .logged-in header#masthead {
        top: 46px !important;
    }

    .logged-in #masthead.ScrollOn,
    .logged-in.header-fixed #masthead {
        top: 46px !important;
    }

} /**END (max-width: 782.999px)**/

/*********** START (max-width: 991.99px) ***********/
@media only screen and (max-width: 991.99px) {
  /*********** START OPTIONAL TOPIC CONTENTS ***********/
  .content-tabs-wrapper .og-topic-content-layout { flex-direction: column; gap: 24px; }
  .content-tabs-wrapper .og-topic-content-layout > .og-topic-contents-wrap,
  .content-tabs-wrapper .og-topic-content-layout > .og-topic-contents-wrap.og-topic-desktop-contents-off { display: block; order: 0; flex: 0 0 auto; width: 100%; max-width: none; min-height: 0 !important; }
  .content-tabs-wrapper .og-topic-content-layout > .og-topic-contents-wrap.og-topic-small-contents-off { display: none; }
  .content-tabs-wrapper .og-topic-contents-wrap .spSidebarInner.sticky-sidebar { position: relative !important; top: auto !important; bottom: auto !important; width: 100% !important; max-width: 100% !important; max-height: none !important; overflow: visible !important; margin-bottom: 0 !important; }
  .content-tabs-wrapper .og-topic-content-layout > .spMainContentWrapper { order: 1; width: 100%; max-width: none; }
  /*********** FINISH OPTIONAL TOPIC CONTENTS ***********/

  /*********** START PUBLICATION SMALL SCREEN PANEL ***********/
  .single-blog-wrapper { width: calc(100% - 40px); max-width: none; padding: 0; }
  .single-blog-wrapper .single-blog-content { flex-direction: column; gap: 24px; margin-right: 0; margin-left: 0; }
  .single-blog-wrapper .single-blog-content::after { display: none; }
  .single-blog-wrapper .spSidebarWrapper { display: block; order: 0; flex: 0 0 auto; width: 100%; max-width: none; min-height: 0 !important; }
  .single-blog-wrapper .spMainContentWrapper { order: 1; width: 100%; max-width: none; }
  .single-blog-wrapper .og-publication-sidebar { position: relative !important; top: auto !important; bottom: auto !important; width: 100% !important; max-height: none !important; overflow: visible; padding: 16px; margin: 0; gap: 20px; }
  .single-blog-wrapper .spSidebarWrapper.og-pub-desktop-hidden { display: block; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-desktop-hidden:not(.og-pub-small-hidden) { display: block; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-small-hidden { display: none !important; }
  .single-blog-wrapper .spSidebarWrapper:has(.og-pub-small-empty) { display: none; }
  .single-blog-wrapper .og-publication-sidebar .publication-author-box { border-radius: 6px; }
  .single-blog-wrapper .og-publication-sidebar .publication-author-box h3 { font-size: 14px; }
  .single-blog-wrapper .og-publication-sidebar .author-header { gap: 12px; align-items: center; flex-direction: row; text-align: left; }
  .single-blog-wrapper .og-publication-sidebar .author-info,
  .single-blog-wrapper .og-publication-sidebar .author-name,
  .single-blog-wrapper .og-publication-sidebar .author-pronoun,
  .single-blog-wrapper .og-publication-sidebar .author-job-title { text-align: left; }
  .single-blog-wrapper .og-publication-sidebar .author-name { font-size: 18px; line-height: 1.5; text-decoration: underline; }
  .single-blog-wrapper .og-publication-sidebar .author-bio { line-height: 1.5; }
  .single-blog-wrapper .og-publication-sidebar .author-social { padding: 0; border: 0; }
  .single-blog-wrapper .og-publication-sidebar .author-social a { flex: 1 1 0; min-height: 44px; border: 1px solid #ffffff; border-radius: 4px; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-contact-label { display: inline; text-decoration: underline; font-size: 14px; }
  .single-blog-wrapper .og-publication-sidebar .publication-downloads { padding: 20px 0 0; border-top-color: #ffffff; }
  .single-blog-wrapper .og-publication-sidebar .download-link { min-height: 56px; margin-top: 8px; padding: 12px; border: 1px solid #ffffff; border-radius: 6px; }
  .single-blog-wrapper .og-publication-sidebar .download-icon { width: 18px; height: 18px; flex-basis: 18px; border: 0; border-radius: 0; }
  .single-blog-wrapper .og-publication-sidebar .download-link:hover, .single-blog-wrapper .og-publication-sidebar .download-link:active { color: #1c3b38; background: #ffffff; }
  .single-blog-wrapper .og-publication-sidebar .publication-toc { order: 0; padding: 0; border: 0; }
  .single-blog-wrapper .og-publication-sidebar a:focus-visible,
  .single-blog-wrapper .og-publication-sidebar button:focus-visible { outline: 2px solid #fa6e47 !important; outline-offset: 2px; }
  .single-blog-wrapper .og-publication-sidebar .og-pub-small-first.publication-downloads,
  .single-blog-wrapper .og-publication-sidebar .og-pub-small-first.publication-sidebar-tags { padding-top: 0; border-top: 0; }
  /*********** FINISH PUBLICATION SMALL SCREEN PANEL ***********/


    /*********** SINGLE POST LAYOUT ***********/
    .single-blog-content {
        flex-direction: column;
    }
    
    .spSidebarWrapper {
        flex: 0 0 auto;
        max-width: 100%;
        order: 2;
    }
    
    .spMainContentWrapper {
        order: 1;
    }
    
    .spSidebarInner.sticky-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    /*********** PUBLICATIONS HEADER ***********/
    .publication-right {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }

/*********** RELATED PUBLICATIONS CAROUSEL ***********/
.relatedPublicationsCarousel {
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.related-intro-box-static {
    display: none !important;
}

.related-publications-left-overlay {
    width: 0 !important;
}

/* Put equal gutters on the actual slider container (prevents double-padding issues) */
.relatedPublicationsCarousel .related-publications-slider-clip {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* FINAL OVERRIDE: prevent peeking + even gutters + consistent gap */
.relatedPublicationsCarousel .relatedPublicationsSlider .slick-list {
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.relatedPublicationsCarousel .relatedPublicationsSlider .slick-slide {
    padding: 0 8px !important;
    height: auto;
}

.relatedPublicationsCarousel .relatedPublicationsSlider .slick-slide > div,
.relatedPublicationsCarousel .relatedPublicationsSlider .related-publication-card,
.relatedPublicationsCarousel .relatedPublicationsSlider .related-publication-card .card {
    width: 100% !important;
}

/* Title + button on one row (override Bootstrap col-12 stacking) */
.relatedPublicationsCarousel .row.mb-4.mb-lg-7.align-items-center {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.relatedPublicationsCarousel .crpcarousel-headings-col {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

.relatedPublicationsCarousel .crpcarousel-cta-btn-col {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-top: 0 !important;
    text-align: right !important;
}

    /*********** TABS COMPONENT ***********/
    .tab-nav-btn {
        white-space: nowrap;
        padding: 1.2rem 1.5rem;
        font-size: 14px;
        font-size: 1.4rem;
    }
    
    .tab-panel .single-blog-content {
        flex-direction: column;
    }
    
    .tab-panel .spSidebarWrapper {
        flex: 0 0 auto;
        max-width: 100%;
        order: 2;
    }
    
    .tab-panel .spMainContentWrapper {
        order: 1;
    }
    
    .tab-panel .spSidebarInner.sticky-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    /*********** PUBLICATIONS 2X2 ***********/
    .publications2x2-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .publications2x2-controls {
        justify-content: flex-start;
    }
    
    .publications2x2-category-filter {
        min-width: 200px;
    }

    /*********** VACANCIES CTA BANNER ***********/
    .vacancyColLeft, .ctaBannerColLeft {
        padding: 40px;
    }
    
    .vacancyColRight, .ctaBannerColRight {
        padding: 40px 0 40px 40px;
    }
    
    .ctaBanner-columnrightleft .ctaBannerColRight,
    .vacancyBanner-columnrightleft .vacancyColRight {
        padding: 40px;
    }
    
    .vacancy-right-image, .ctaBanner-right-image {
        margin-top: 20px;
    }

    /*********** CURRENT VACANCIES ***********/
    .vacanciesGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vacancyCardHeader {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vacancyHeaderBadges {
        width: 100%;
        justify-content: flex-start;
    }
    
    .vacancyDeadline {
        align-self: flex-start;
    }

    /*********** PUBLICATIONS POST CAROUSEL ***********/
    .publicationsPostSlider .slick-list {
        padding-right: 100px !important;
    }

    /*********** FEATURED PUBLICATIONS SLIDER ***********/
    .featured-content {
        padding-left: 0;
        padding-top: 20px;
    }
    
    .featured-title {
        font-size: 28px;
    }
    
    .featuredPublicationsSection .prev-arrow {
        right: 70px;
    }

    /*********** PUBLICATIONS AJAX FILTER ***********/
    .pubFilterAll-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pubFilterAll-title-wrapper {
        max-width: 100%;
    }
    
    .pubFilterAll-controls {
        justify-content: flex-start;
    }

    /*********** CATEGORY FILTER ***********/
    .catFilter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .catFilter-title-wrapper {
        max-width: 100%;
    }
    .catFilter-controls {
        width: 100%;
        justify-content: flex-start;
    }
    .catFilter-search-wrapper {
        max-width: 100%;
    }
    .catFilter-main-title {
        font-size: 36px;
    }  

    /*********** CONTENT SLIDER ***********/
    .slider-container {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }

    .slide-item {
        min-height: auto;
        width: 100% !important;
        flex: 1 !important;
    }

    .slide-item:not(.active) {
        width: 100% !important;
    }

    /* Hide collapsed buttons on mobile */
    .slide-button-collapsed {
        display: none !important;
    }

    /* Show all slides expanded on mobile */
    .slide-item .slide-expanded {
        display: flex !important;
    }

    .slide-content-box {
        flex-direction: column;
        min-height: auto;
    }

    /* Hide the vertical header on mobile */
    .slide-header {
        display: none !important;
    }

    .content-text {
        max-width: 100%;
        margin-right: 0;
        padding: 30px 20px;
    }

    .content-title {
        font-size: 36px;
    }

    /* Image takes full width below content on mobile */
    .content-image {
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        order: 2;
    }

    .content-image img {
        border-radius: 0 0 20px 20px;
        object-position: center center;
    }
    
    img.desktop-image {
        display: none!important;
    }

    /*********** CATEGORY FILTER ***********/
    .catFilter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .catFilter-title-wrapper {
        max-width: 100%;
    }

    .catFilter-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .catFilter-search-wrapper {
        max-width: 100%;
    }

    .catFilter-main-title {
        font-size: 36px;
    }

    /*********** DONORBOX ***********/
    .donorboxWrapper {
        flex-direction: column !important;
    }
    
    .donorboxContent {
        padding-right: 15px;
        margin-bottom: 30px;
    }
    
    .donorboxEmbed {
        padding-left: 15px;
    }

    /*********** SPOKESPEOPLE ***********/
    .spokespeople-main-title {
        font-size: 36px;
    }

    /*********** PUBLICATIONS ARCHIVE ***********/
    .pubArchive-header {
        margin-bottom: 40px;
    }
    
    .pubArchive-main-title {
        font-size: 36px;
    }

/*********** TOPIC CARDS 1X3 TABLET/MOBILE ***********/
.topicCardsSection .topicCard1x3-0,
.topicCardsSection .topicCard1x3-1,
.topicCardsSection .topicCard1x3-2 {
    min-height: 340px;
}
.topicCardsSection.topicCards1x3Section .topicCard1x3-2 {
    flex-direction: column !important;
}
.topicCardsSection.topicCards1x3Section .topicCard1x3-2 .topicCardImageWrapper {
    flex: 1 1 auto !important;
    max-width: 100% !important;
}

} /**END (max-width: 991.99px)**/

/*********** START (max-width: 1024px) ***********/
@media (min-width: 768px) and (max-width: 1024px) {
    
    /*********** TOPIC CARDS TABLET ***********/
    .topicCardsSection:not(.topicCards1x3Section) .topicCardsGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .topicCardsSection:not(.topicCards1x3Section) .topicCard {
        grid-column: span 2 !important;
    }
    
    .topicCardsTitle {
        font-size: 36px !important;
    }
    
    /* Aviation card - stack vertically on tablet */
    .topicCardsSection:not(.topicCards1x3Section) .topicCard-2 {
        flex-direction: column !important;
    }
    
    .topicCardsSection:not(.topicCards1x3Section) .topicCard-2 .topicCardImageWrapper {
        flex: 1 1 auto !important;
        max-width: 100% !important;
    }

/*********** TOPIC CARDS 1X3 - TABLET (768–1024: 2 COLUMNS) ***********/
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 24px !important;
}
/* Prevent any card spanning weirdly */
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid > .topicCardWrapper {
    grid-column: auto !important;
}
/* Set unified image height for tablet */
.topicCardsSection.topicCards1x3Section {
    --tc1x3-img-h: var(--tc1x3-img-h-tablet);
}
/* Stack the side-by-side card on tablet for consistent card widths/heights */
.topicCardsSection.topicCards1x3Section .topicCardWrapper.topicCard1x3.is-side-by-side {
    flex-direction: column !important;
}
.topicCardsSection.topicCards1x3Section .topicCardWrapper.topicCard1x3.is-side-by-side .topicCardImageWrapper {
    flex: 0 0 auto !important;
    max-width: 100% !important;
}

} /**END (max-width: 1024px)**/



/*********** START (max-width: 1200px) ***********/
@media (max-width: 1200px) {
    
    /*********** PUBLICATIONS 1X4 ***********/
    .publications1x4-grid {
        grid-template-columns: repeat(3, 1fr);
    }

} /**END (max-width: 1200px)**/

/*********** START (max-width: 992px) ***********/
@media (max-width: 992px) {
    
    /*********** PUBLICATIONS 1X4 ***********/
    .publications1x4-grid {
        grid-template-columns: repeat(2, 1fr);
    }

} /**END (max-width: 992px)**/

/* ----------- iPad 1, 2, Mini, Air, iPad 3, 4 and Pro 9.7" And Similar Sized Devices ----------- */
/* Portrait and Landscape */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {

    /*********** CONTENT SLIDER STYLES ***********/
    .slide-content-box {
        flex-direction: column;
    }
    
    .content-title {
        font-size: 36px;
    }
    
    .content-image {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .content-image img {
        border-radius: 10px;
    }

    /*********** PUBLICATIONS POST 3 BOX STYLES ***********/
/* Keep 2-column grid but fix heights */
.publications3-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
/* Large card - consistent image height */
.publications3-card-large {
    grid-column: 1;
    grid-row: 1 / 3;
}
.publications3-card-image-large img {
    min-height: 300px !important;
    max-height: 300px !important;
    object-fit: cover;
}
.publications3-card-content-large {
    padding: 30px;
    min-height: 250px;
}
.publications3-card-content-large .publications3-card-title {
    font-size: 22px;
    margin-bottom: 12px;
}
.publications3-card-content-large .publications3-card-excerpt {
    font-size: 14px;
    margin-bottom: 20px;
}
/* Small cards - consistent image height */
.publications3-card-small {
    flex-direction: row;
}
.publications3-card-image-small {
    width: 40%;
}
.publications3-card-image-small img {
    min-height: 100% !important;
    max-height: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.publications3-card-content-small {
    padding: 20px;
    min-height: 200px;
}
.publications3-card-title-small {
    font-size: 18px;
    margin-bottom: 10px;
}
.publications3-card-excerpt-small {
    font-size: 13px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
    /*********** PUBLICATIONS POST 2x2 STYLES ***********/
    .publications2x2-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .publications2x2-controls {
        justify-content: flex-start;
    }
    
    .publications2x2-category-filter {
        min-width: 200px;
    }

    /*********** VACANCIES CTA BANNER ***********/
    .vacancyColLeft, .ctaBannerColLeft {
        padding: 40px;
    }
    
    .vacancyColRight, .ctaBannerColRight {
        padding: 40px;
    }
    
    .ctaBanner-columnrightleft .ctaBannerColRight,
    .vacancyBanner-columnrightleft .vacancyColRight {
        padding: 40px;
    }
    
    .vacancy-right-image, .ctaBanner-right-image {
        margin-top: 20px;
    }

    /*********** CURRENT VACANCIES STYLES ***********/
    .vacanciesGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vacancyCardHeader {
        flex-direction: row;
        align-items: center;
    }
    
    .vacancyHeaderBadges {
        width: 50%;
        justify-content: flex-end;
    }
    
    .vacancyDeadline {
        align-self: flex-start;
    }

    /*********** PUBLICATIONS POST CAROUSEL ***********/
    .publicationsPostSlider .slick-list {
        padding-right: 100px !important;
    }

    /*********** FEATURED PUBLICATIONS SLIDER ***********/
    .featured-content {
        padding-left: 0;
        padding-top: 20px;
    }
    
    .featured-title {
        font-size: 28px;
    }
    
    .featuredPublicationsSection .prev-arrow {
        right: 70px;
    }

    /*********** PUBLICATIONS AJAX FILTER ***********/
    .pubFilterAll-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pubFilterAll-title-wrapper {
        max-width: 100%;
    }
    
    .pubFilterAll-controls {
        justify-content: flex-start;
    }

    /*********** CATEGORY FILTER ***********/
    .catFilter-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .catFilter-title-wrapper {
        max-width: 100%;
    }
    
    .catFilter-controls {
        justify-content: flex-start;
    }   

    /*********** SINGLE POST LAYOUT ***********/
    .single-blog-content {
        gap: 2rem;
    }

    .spSidebarWrapper {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .spSidebarInner.sticky-sidebar {
        padding: 1.5rem;
        top: 156px;
    }

    .logged-in .spSidebarInner.sticky-sidebar {
        top: 188px;
    }

    /*********** TOPIC CARDS TABLET (iPad specific) ***********/
    .topicCardsSection:not(.topicCards1x3Section) .topicCardsGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .topicCardsSection:not(.topicCards1x3Section) .topicCard {
        grid-column: span 2 !important;
    }
    
    /* Wide cards span full width */
    .topicCardsSection:not(.topicCards1x3Section) .topicCard-2,
    .topicCardsSection:not(.topicCards1x3Section) .topicCard-3 {
        grid-column: span 4 !important;
    }
    
    /* First card (tall) */
    .topicCardsSection:not(.topicCards1x3Section) .topicCard-0 {
        grid-row: span 2 !important;
    }
    
    .topicCardsTitle {
        font-size: 40px !important;
    }
    
    .topicCardTitle {
        font-size: 26px !important;
    }

} /**END (min-device-width: 768px) and (max-device-width: 1024px)**/

/* Portrait */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {

    /*********** TOPIC CARDS iPad PORTRAIT ***********/
    .topicCardsGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .topicCard {
        grid-column: span 2 !important;
    }
    
    .topicCardsTitle {
        font-size: 36px !important;
    }
/*********** PUBLICATIONS POST 3 BOX PORTRAIT - 2 COLUMN LAYOUT ***********/
    
    /* Keep 2-column grid */
    .publications3-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 20px !important;
    }
    
    /* Large card - left side, spans 2 rows */
    .publications3-card-large {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    .publications3-card-image-large img {
        min-height: 300px !important;
        max-height: 300px !important;
        object-fit: cover;
    }
    
    .publications3-card-content-large {
        padding: 30px !important;
        min-height: 250px !important;
    }
    
    /* Small cards - right side, stacked */
    .publications3-card-small {
        grid-column: 2 !important;
        flex-direction: row !important;
    }
    
    .publications3-card-image-small {
        width: 40% !important;
    }
    
    .publications3-card-image-small img {
        min-height: 100% !important;
        height: 100% !important;
    }
    
    .publications3-card-content-small {
        padding: 20px !important;
        min-height: 200px !important;
    }
    
    .publications3-card-title-small {
        font-size: 18px !important;
    }
    
.publications3-card-excerpt-small {
    font-size: 13px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
}

/*********** TOPIC CARDS 1X3 - iPad (768-1024) PORTRAIT (2 COLUMNS) ***********/
.topicCardsSection .topicCardsGrid.topicCards1x3Grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid .topicCard1x3-2 {
    grid-column: auto !important;
}  
/*********** HERO STYLES ***********/
    .heroTwoColumn.right img {
        width: 100%;
    }

} /**END (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait)**/

/* Landscape */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {

    /*********** HEADER ***********/
    .logged-in #masthead, .logged-in #masthead.ScrollOn, .logged-in.header-fixed #masthead {
        top: 32px !important;
    }

    /*********** HERO ***********/
    .heroSection {
        padding-top: 125px !important;
    }
    .heroCarouselSlide, .heroTwoColumnContainer {
        padding-left: 0;
    }
    .heroTwoColumn.left {
    padding-left: 40px;
    }

    /*********** TOPIC CARDS iPad LANDSCAPE ***********/
    .topicCardsGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .topicCard {
        grid-column: span 2 !important;
    }
    
    .topicCardsTitle {
        font-size: 36px !important;
    }
    
    .topicCard-2 {
        flex-direction: column !important;
    }
    
    .topicCard-2 .topicCardImageWrapper {
        flex: 1 1 auto !important;
        max-width: 100% !important;
    }

    /*********** FOOTER iPad LANDSCAPE ***********/
    .widget-column.footer-widget-1 img {
        width: 180px !important;
    }

    /*********** CONTENT ACCORDION SLIDER - Keep Horizontal Layout ***********/
    
    /* Container stays horizontal */
    .slider-container {
        display: flex !important;
        flex-direction: row !important;
        min-height: 450px;
        gap: 20px;
    }
    
    /* Slide items stay horizontal */
    .slide-item {
        min-height: 450px;
    }
    
    /* Collapsed slides - NARROW vertical tabs */
    .slide-item:not(.active) {
        width: 70px !important;
        flex: 0 0 70px !important;
    }
    
    /* FORCE: Collapsed button ONLY shows on inactive slides */
    .slide-item:not(.active) .slide-button-collapsed {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 450px;
        width: 70px !important;
        padding: 20px 8px !important;
    }
    
    /* FORCE: Hide collapsed button on active slide */
    .slide-item.active .slide-button-collapsed {
        display: none !important;
    }
    
    /* FORCE: Hide expanded content on inactive slides */
    .slide-item:not(.active) .slide-expanded {
        display: none !important;
    }
    
    /* FORCE: Show expanded content ONLY on active slide */
    .slide-item.active .slide-expanded {
        display: flex !important;
        flex-direction: row !important;
        height: 100%;
        width: 100%;
    }
    
    /* Hide mobile images, show desktop images */
    .content-image img.mobile-image {
        display: none !important;
    }
    
    .content-image img.desktop-image {
        display: block !important;
    }
    
    .button-number {
        font-size: 20px !important;
    }
    
    .button-label-vertical {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        font-size: 12px !important;
        font-size: 1.2rem !important;
    }
    
    /* Active slide - expanded */
    .slide-item.active {
        flex: 1 !important;
        width: auto !important;
    }
    
    /* Header on left side - vertical */
    .slide-item.active .slide-header {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 60px !important;
        flex: 0 0 60px !important;
        padding: 20px 8px !important;
    }
    
    .header-number {
        font-size: 20px !important;
    }
    
    .header-label-vertical {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        font-size: 12px !important;
        font-size: 1.2rem !important;
    }
    
    /* Content box must NOT wrap - stays horizontal */
    .slide-content-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        min-height: 450px;
        position: relative;
        flex: 1 !important;
    }
    
    /* Content text stays on left - fixed width */
    .content-text {
        padding: 30px 20px !important;
        width: 280px !important;
        max-width: 280px !important;
        flex: 0 0 280px !important;
        margin-right: 0 !important;
        position: relative;
        z-index: 2;
    }
    
    .content-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .content-description {
        font-size: 11px !important;
        margin-bottom: 16px !important;
    }
    
    .content-cta-button {
        padding: 8px 18px !important;
        font-size: 11px !important;
    }
    
    /* Image on right - absolute positioning */
    .content-image {
        position: absolute !important;
        left: 400px !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: auto !important;
        height: 450px !important;
        z-index: 1;
    }
    
    .content-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: left center !important;
        border-radius: 0 20px 20px 0 !important;
    }

/*********** PUBLICATIONS POST 3 BOX LANDSCAPE - DESKTOP LAYOUT ***********/
/* Use desktop 2-column grid */
.publications3-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 25px !important;
}
/* Large card - proper sizing */
.publications3-card-large {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
}
.publications3-card-image-large img {
    min-height: 350px !important;
    max-height: 350px !important;
}
.publications3-card-content-large {
    padding: 35px !important;
    min-height: auto !important;
}
/* Small cards - side by side layout */
.publications3-card-small {
    flex-direction: row !important;
    grid-column: 2 !important;
}
.publications3-card-image-small {
    width: 45% !important;
}
.publications3-card-image-small img {
    min-height: 100% !important;
    height: 100% !important;
}
.publications3-card-content-small {
    padding: 25px !important;
} 

/*********** TOPIC CARDS 1X3 - iPad LANDSCAPE (3 COLUMNS) ***********/
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 24px !important;
}
/* Prevent any spanning */
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid > .topicCardWrapper {
    grid-column: auto !important;
}
/* In iPad landscape, keep card 3 stacked for consistency */
.topicCardsSection.topicCards1x3Section .topicCardWrapper.topicCard1x3.is-side-by-side {
    flex-direction: column !important;
}
.topicCardsSection.topicCards1x3Section .topicCardWrapper.topicCard1x3.is-side-by-side .topicCardImageWrapper {
    flex: 0 0 auto !important;
    max-width: 100% !important;
}

/*********** EXPERTS SINGLE PAGE LAYOUT STYLES ***********/

.single-experts #page {
    padding-top: 200px;
}

} /**END (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)**/

/* ----------- iPad Pro 10.5" And Similar Sized Devices ----------- */
/* Portrait and Landscape */
@media screen and (min-device-width: 834px) and (max-device-width: 1112px) {

    /* Add any styles that apply to iPad Pro 10.5" in both orientations */

    /*********** HEADER ***********/

        .logged-in #masthead.ScrollOn, .logged-in header#masthead, .logged-in header#masthead, .logged-in.header-fixed #masthead {
        top: 32px !important;
    }

    /*********** HERO ***********/

    .heroTwoColumn.left {
    padding: 0 30px;
    }

    /*********** EXPERTS SINGLE PAGE LAYOUT STYLES ***********/

.single-experts #page {
    padding-top: 200px;
}

} /**END (min-device-width: 834px) and (max-device-width: 1112px)**/

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
@media screen and (min-device-width: 834px) and (max-device-width: 834px) and (orientation: portrait) {

/*********** TOPIC CARDS 1X3 - iPad Pro 10.5 PORTRAIT (2 COLUMNS) ***********/
.topicCardsSection .topicCards1x3Grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}
.topicCardsSection .topicCards1x3Grid .topicCard1x3-2 {
    grid-column: 1 / -1 !important;
}

} /**END (min-device-width: 834px) and (max-device-width: 834px) and (orientation: portrait)**/

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
@media screen and (min-device-width: 1112px) and (max-device-width: 1112px) and (orientation: landscape) {

/*********** CONTENT ACCORDION SLIDER - Keep Horizontal Layout ***********/
    
    /* Container stays horizontal */
    .slider-container {
        display: flex !important;
        flex-direction: row !important;
        min-height: 450px;
        gap: 20px;
    }
    
    /* Slide items stay horizontal */
    .slide-item {
        min-height: 450px;
    }
    
    /* Collapsed slides - NARROW vertical tabs */
    .slide-item:not(.active) {
        width: 70px !important;
        flex: 0 0 70px !important;
    }
    
    /* FORCE: Collapsed button ONLY shows on inactive slides */
    .slide-item:not(.active) .slide-button-collapsed {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 450px;
        width: 70px !important;
        padding: 20px 8px !important;
    }
    
    /* FORCE: Hide collapsed button on active slide */
    .slide-item.active .slide-button-collapsed {
        display: none !important;
    }
    
    /* FORCE: Hide expanded content on inactive slides */
    .slide-item:not(.active) .slide-expanded {
        display: none !important;
    }
    
    /* FORCE: Show expanded content ONLY on active slide */
    .slide-item.active .slide-expanded {
        display: flex !important;
        flex-direction: row !important;
        height: 100%;
        width: 100%;
    }
    
    /* Hide mobile images, show desktop images */
    .content-image img.mobile-image {
        display: none !important;
    }
    
    .content-image img.desktop-image {
        display: block !important;
    }
    
    .button-number {
        font-size: 20px !important;
    }
    
    .button-label-vertical {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        font-size: 12px !important;
        font-size: 1.2rem !important;
    }
    
    /* Active slide - expanded */
    .slide-item.active {
        flex: 1 !important;
        width: auto !important;
    }
    
    /* Header on left side - vertical */
    .slide-item.active .slide-header {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 60px !important;
        flex: 0 0 60px !important;
        padding: 20px 8px !important;
    }
    
    .header-number {
        font-size: 20px !important;
    }
    
    .header-label-vertical {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        font-size: 12px !important;
        font-size: 1.2rem !important;
    }
    
    /* Content box must NOT wrap - stays horizontal */
    .slide-content-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        min-height: 450px;
        position: relative;
        flex: 1 !important;
    }
    
    /* Content text stays on left - fixed width */
    .content-text {
        padding: 30px 20px !important;
        width: 280px !important;
        max-width: 280px !important;
        flex: 0 0 280px !important;
        margin-right: 0 !important;
        position: relative;
        z-index: 2;
    }
    
    .content-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .content-description {
        font-size: 11px !important;
        margin-bottom: 16px !important;
    }
    
    .content-cta-button {
        padding: 8px 18px !important;
        font-size: 11px !important;
    }
    
    /* Image on right - absolute positioning */
    .content-image {
        position: absolute !important;
        left: 400px !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: auto !important;
        height: 450px !important;
        z-index: 1;
    }
    
    .content-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: left center !important;
        border-radius: 0 20px 20px 0 !important;
    }

    /*********** PUBLICATIONS POST 3 BOX - DESKTOP LAYOUT ***********/
.publications3-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
}
.publications3-card-image-large img {
    min-height: 400px !important;
    max-height: 400px !important;
}
.publications3-card-image-small img {
    min-height: 100% !important;
}
/*********** TOPIC CARDS 5 BOX  ***********/
    body .topicCardMedia.topicCardImage img {
    height: 432px !important;
}


} /**END (min-device-width: 1112px) and (max-device-width: 1112px) and (orientation: landscape)**/

/* ----------- iPad Pro 12.9" And Similar Sized Devices ----------- */
/* Portrait and Landscape */
@media screen and (min-device-width: 1024px) and (max-device-width: 1366px) {

    /* Add any styles that apply to iPad Pro 12.9" in both orientations */

    /*********** HEADER ***********/

        .logged-in #masthead.ScrollOn, .logged-in.header-fixed #masthead {
        top: 32px !important;
    }

    /*********** HERO ***********/

    .heroTwoColumn.left {
    padding: 0 30px;
    }

} /**END (min-device-width: 1024px) and (max-device-width: 1366px)**/

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
@media screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait) {

/*********** CONTENT ACCORDION SLIDER - STACKED MOBILE VERSION ***********/
    
    .slider-container {
        flex-direction: column !important;
        gap: 20px !important;
        min-height: auto !important;
    }
    
    .slide-item {
        min-height: auto !important;
        width: 100% !important;
        flex: 1 !important;
    }
    
    .slide-item:not(.active) {
        width: 100% !important;
    }
    
    /* Hide collapsed buttons on portrait */
    .slide-button-collapsed {
        display: none !important;
    }
    
    /* Show all slides expanded on portrait */
    .slide-item .slide-expanded {
        display: flex !important;
    }
    
    .slide-content-box {
        flex-direction: column !important;
        min-height: auto !important;
    }
    
    /* Hide the vertical header on portrait */
    .slide-header {
        display: none !important;
    }
    
    .content-text {
        max-width: 100% !important;
        margin-right: 0 !important;
        padding: 30px 20px !important;
    }
    
    .content-title {
        font-size: 36px !important;
    }
    
    /* Image takes full width below content on portrait */
    .content-image {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        order: 2 !important;
    }
    
    .content-image img {
        border-radius: 0 0 20px 20px !important;
        object-position: center center !important;
    }
    
    /* Hide desktop images, show mobile images */
    .slider-container img.desktop-image { 
        display: none !important; 
    }
    .slider-container img.mobile-image { 
        display: block !important; 
    }

  /*********** TOPIC CARDS 1X3 - iPad Pro 12.9 PORTRAIT (2 COLUMNS) ***********/
.topicCardsSection .topicCards1x3Grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}
.topicCardsSection .topicCards1x3Grid .topicCard1x3-2 {
    grid-column: 1 / -1 !important;
}  

    /*********** TOP CARDS 5 BOX ***********/

      body .topicCardMedia.topicCardImage img {
            height: 398px !important;
        }

} /**END (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait)**/

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
@media screen and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) {

   /*********** CONTENT ACCORDION SLIDER - Desktop Horizontal Layout ***********/
    
    /* Container stays horizontal */
    .slider-container {
        display: flex !important;
        flex-direction: row !important;
        min-height: 500px;
        gap: 20px;
    }
    
    /* Slide items stay horizontal */
    .slide-item {
        min-height: 500px;
    }
    
    /* Collapsed slides - vertical tabs */
    .slide-item:not(.active) {
        width: 120px !important;
        flex: 0 0 120px !important;
    }
    
    /* FORCE: Collapsed button ONLY shows on inactive slides */
    .slide-item:not(.active) .slide-button-collapsed {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 500px;
        width: 120px !important;
        padding: 30px 20px !important;
    }
    
    /* FORCE: Hide collapsed button on active slide */
    .slide-item.active .slide-button-collapsed {
        display: none !important;
    }
    
    /* FORCE: Hide expanded content on inactive slides */
    .slide-item:not(.active) .slide-expanded {
        display: none !important;
    }
    
    /* FORCE: Show expanded content ONLY on active slide */
    .slide-item.active .slide-expanded {
        display: flex !important;
        flex-direction: row !important;
        height: 100%;
        width: 100%;
    }
    
    /* Hide mobile images, show desktop images */
    .content-image img.mobile-image {
        display: none !important;
    }
    
    .content-image img.desktop-image {
        display: block !important;
    }
    
    .button-number {
        font-size: 32px !important;
    }
    
    .button-label-vertical {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        font-size: 18px !important;
        font-size: 1.8rem !important;
    }
    
    /* Active slide - expanded */
    .slide-item.active {
        flex: 1 !important;
        width: auto !important;
    }
    
    /* Header on left side - vertical */
    .slide-item.active .slide-header {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100px !important;
        flex: 0 0 100px !important;
        padding: 30px 15px !important;
    }
    
    .header-number {
        font-size: 32px !important;
    }
    
    .header-label-vertical {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        font-size: 18px !important;
        font-size: 1.8rem !important;
    }
    
    /* Content box must NOT wrap - stays horizontal */
    .slide-content-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        min-height: 500px;
        position: relative;
        flex: 1 !important;
    }
    
    /* Content text stays on left - fixed width */
    .content-text {
        padding: 50px 30px !important;
        width: 40% !important;
        max-width: 40% !important;
        flex: 0 0 40% !important;
        margin-right: 30px !important;
        position: relative;
        z-index: 2;
    }
    
    .content-title {
        font-size: inherit !important;
        margin-bottom: 20px !important;
    }
    
    .content-description {
        font-size: 14px !important;
        margin-bottom: 30px !important;
    }
    
    .content-cta-button {
        padding: 15px 35px !important;
        font-size: inherit !important;
    }
    
    /* Image on right - absolute positioning */
    .content-image {
        position: absolute !important;
        left: 54% !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: auto !important;
        height: 500px !important;
        z-index: 1;
    }
    
    .content-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: left center !important;
        border-radius: 0 20px 20px 0 !important;
    }

    /*********** PUBLICATIONS POST 3 BOX - DESKTOP LAYOUT ***********/
.publications3-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
}
.publications3-card-image-large img {
    min-height: 430px !important;
    max-height: 430px !important;
}
.publications3-card-image-small img {
    min-height: 100% !important;
}
    /*********** EXPERTS SINGLE PAGE LAYOUT STYLES ***********/

.single-experts #page {
    padding-top: 200px;
}

} /**END (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape)**/

/*********** START (min-width: 1025px) and (max-width: 1399px) ***********/
@media only screen and (min-width: 1025px) and (max-width: 1399px) {

    /*********** TOPIC CARDS - Keep desktop 6-column layout ***********/
    .topicCardsGrid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
    
    /* Card 1 (Shipping) - 2 cols, 2 rows */
    .topicCard-0 {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }
    
    /* Card 2 (Climate) - 1 col, 1 row */
    .topicCard-1 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Card 3 (Aviation) - 3 cols, 1 row */
    .topicCard-2 {
        grid-column: span 3 !important;
        grid-row: span 1 !important;
        flex-direction: row !important;
    }
    
    /* Card 4 (Alternative fuels) - 3 cols, 1 row */
    .topicCard-3 {
        grid-column: span 3 !important;
        grid-row: span 1 !important;
    }
    
    /* Card 5 (Discover more) - 1 col, 1 row */
    .topicCard-4 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

/*********** TOPIC CARDS 1X3 - 3 COLUMNS (1025px–1399px) ***********/
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}
.topicCardsSection.topicCards1x3Section .topicCardsGrid.topicCards1x3Grid .topicCard1x3-2 {
    grid-column: auto !important;
}

} /**END (min-width: 1025px) and (max-width: 1399px)**/

@media only screen and (min-width: 1366px) {

/*********** TOPIC CARDS (5 BOX) ***********/    

    .topicCardsSection.topicCards1x3Section .topicCardMedia img.mobile-image {
    display: none;
    }

    .topicCardsSection.topicCards1x3Section .topicCardMedia img.desktop-image {
    display: block;
}
  .topicCardsSection.topicCardsSection--5box .topicCardsGrid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-auto-rows: 280px !important;
    grid-auto-flow: dense !important;
    gap: 24px !important;
  }
    .topicCardsSection.topicCardsSection--5box img.mobile-image { display: none !important; }
  .topicCardsSection.topicCardsSection--5box img.desktop-image { display: block !important; }

} /**END (min-width: 1366px)**/

/*********** TOPIC CARDS (5 BOX): IMAGE SWAP ***********/
@media only screen and (max-width: 1365.99px) {
  .topicCardsSection.topicCardsSection--5box img.desktop-image { display: none !important; }
  .topicCardsSection.topicCardsSection--5box img.mobile-image { display: block !important; }
}

@media only screen and (min-width: 1900px) {

    .ctaBannerImageSection.desktop {
        padding-top: 200px!important;
        padding-bottom: 200px!important;
    }

} /**END (min-width: 1900px)**/

/*********** START TABLE RESPONSIVE (Max 42.09em / ~673px) ***********/
@media only screen and (max-width: 42.09em) {

    .dcf-table-responsive thead {
        clip: rect(0 0 0 0);
        -webkit-clip-path: inset(50%);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
        white-space: nowrap;
    }
    
    .dcf-table-responsive tr {
        display: block;
    }
    
    .dcf-table-responsive td {
        -webkit-column-gap: 3.16vw;
        -moz-column-gap: 3.16vw;
        column-gap: 3.16vw;
        display: grid;
        grid-template-columns: 1fr 2fr;
        text-align: left!important;
    }
    
    .dcf-table-responsive.dcf-table-bordered, 
    .dcf-table-responsive.dcf-table-bordered thead th {
        border-width: 0;
    }
    
    .dcf-table-responsive.dcf-table-bordered tbody td {
        border-top-width: 0;
    }
    
    .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
        padding-bottom: .75em;
    }
    
    .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
        padding-bottom: 0;
    }
    
    .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
        padding-right: 0;
    }
    
    .dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
        border-bottom-width: 0;
    }
    
    .dcf-table-responsive tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        padding-right: 1.78em;
    }

} /**END TABLE RESPONSIVE (Max 42.09em / ~673px)**/



/*********** TOPIC CARDS 5-BOX: TABLET FIX (2 COLUMNS + MOBILE IMAGES) ***********/
@media only screen and (min-width: 768px) and (max-width: 1365.99px) {

  /* Force 2-column layout for the 5-box component only */
  .topicCardsSection.topicCardsSection--5box .topicCardsGrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 24px !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardsGrid > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* Prevent any "side-by-side" card styles from wrecking heights */
  .topicCardsSection.topicCardsSection--5box .topicCardWrapper {
    flex-direction: column !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardImageWrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

}

/*********** PUBLICATIONS POST 3 BOX: TABLET FIX (ISOLATED) ***********/
@media only screen and (min-width: 768px) and (max-width: 1365px) {

  /*********** PORTRAIT TABLET: 2 COL GRID + SMALL CARDS STACKED + 3RD CARD UNDER LARGE (LEFT) ***********/
  @media (orientation: portrait) {

    .publications3-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      grid-template-rows: auto auto !important;
      gap: 20px !important;
    }

    /* Large card stays top-left */
    .publications3-grid > .publications3-card-large {
      grid-column: 1 !important;
      grid-row: 1 !important;
    }

    /* Small cards should be 1-column style: image on top, content underneath */
    .publications3-grid > .publications3-card-small {
      display: flex !important;
      flex-direction: column !important;
      height: auto !important;
    }

    .publications3-grid > .publications3-card-small .publications3-card-image-small {
      width: 100% !important;
      height: auto !important;
    }

    .publications3-grid > .publications3-card-small .publications3-card-image-small img {
      width: 100% !important;
      height: 220px !important; /* tweak if needed */
      object-fit: cover !important;
      display: block !important;
    }

    /* Placement fix for the "odd right aligned" 3rd card:
       2nd card = right col row 1, 3rd card = left col row 2 */
    .publications3-grid > .publications3-card:nth-child(2) {
      grid-column: 2 !important;
      grid-row: 1 !important;
    }

    .publications3-grid > .publications3-card:nth-child(3) {
      grid-column: 1 !important;
      grid-row: 2 !important;
    }
  }

  /*********** WIDE LANDSCAPE TABLET: FORCE DESKTOP LAYOUT (MATCH 1024x768) ***********/
  @media (orientation: landscape) and (min-width: 1112px) {

    .publications3-grid {
      grid-template-columns: 1fr 1fr !important;
      grid-template-rows: 1fr 1fr !important;
      gap: 25px !important;
    }

    .publications3-grid > .publications3-card-large {
      grid-column: 1 !important;
      grid-row: 1 / 3 !important;
    }

    .publications3-grid > .publications3-card-small {
      flex-direction: row !important;
      grid-column: 2 !important;
    }

    .publications3-grid > .publications3-card-small .publications3-card-image-small {
      width: 45% !important;
    }
  }
}

/*********** MAX MEGA MENU: MOBILE STACK (<=767.99px) - 1 COLUMN ***********/
@media only screen and (max-width: 767.99px) {
  /* Pull quote/statistic mobile geometry: signed-off Figma 14324:4030 / 4045. */
  .og-pullquote .og-pullquote__inner { padding: 32px 20px; }
  .og-pullquote .og-pullquote__signature { gap: 16px; }
  .og-pullquote .og-pullquote__mark { flex-basis: 64px; }
  .og-pullquote .og-pullquote__rule { flex-basis: 36px; width: 36px; }
  .og-pullquote .og-pullquote__statement,
  .og-pullquote.og-pullquote--statistic .og-pullquote__statement { font-size: 36px; line-height: 1.3; }
  .og-pullquote .og-pullquote__value { font-size: 80px; line-height: 88px; }
  .og-pullquote.og-pullquote--statistic .og-pullquote__body { gap: 24px; }




  /*********** START TOPIC FOLDER TABS ***********/
  .og-topic-tabs-v2 .content-tabs-wrapper > .container { width: calc(100% - 40px); max-width: none; }
  .og-topic-tabs-v2 .content-tabs-wrapper .tabs-nav .tab-hidden-mobile { display: none; }
  .og-topic-tabs-v2 .content-tabs-wrapper .tabs-nav { height: 64px; gap: 4px; }
  .og-topic-tabs-v2 .content-tabs-wrapper .tabs-nav .tab-nav-btn {
    height: 58px; padding: 6px; font-size: 14px; line-height: 1.4;
    white-space: normal;
  }
  .og-topic-tabs-v2 .content-tabs-wrapper .tabs-nav .tab-nav-btn.active { height: 64px; }
  /*********** FINISH TOPIC FOLDER TABS ***********/

  /* 1 column + SMALL, consistent spacing between former columns */
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-mega-menu-sub-menu-wrapper > ul.mega-sub-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;  /* << THIS controls “between columns” */
  }

  /* Column wrappers: remove any built-in spacing */
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-mega-menu-sub-menu-wrapper
  > ul.mega-sub-menu
  > li.mega-menu-column.mega-mega-menu-sub-menu-columns {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Column inner UL: remove padding/margins that create the “gap feeling” */
  #mega-menu-wrap-top_menu li.mega-menu-column.mega-mega-menu-sub-menu-columns > ul.mega-sub-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Nuke default paragraph/widget spacing */
  #mega-menu-wrap-top_menu .mega-sub-menu .textwidget,
  #mega-menu-wrap-top_menu .mega-sub-menu .textwidget p,
  #mega-menu-wrap-top_menu .mega-sub-menu .widget {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Tighten link spacing (you already found this helps) */
  #mega-menu-wrap-top_menu .mega-sub-menu .mega-menu-link {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
  }

  /* Optional: add a LITTLE separation between each link+description pair */
  #mega-menu-wrap-top_menu li.mega-menu-column.mega-mega-menu-sub-menu-columns
  > ul.mega-sub-menu
  > li.mega-menu-item-type-post_type {
    margin-top: 10px !important;   /* space before each new heading link */
  }

  /* But not before the first heading link in each column */
  #mega-menu-wrap-top_menu li.mega-menu-column.mega-mega-menu-sub-menu-columns
  > ul.mega-sub-menu
  > li.mega-menu-item-type-post_type:first-child {
    margin-top: 0 !important;
  }

  /* Description text polish */
  #mega-menu-wrap-top_menu .mega-sub-menu .mega-menu-item-type-widget.widget_text {
    opacity: 0.85;
    line-height: 1.3 !important;
  }

  /* Ensure advert mobile row stays full width */
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-advert-mob,
  #mega-menu-wrap-top_menu li.mega-menu-row.mega-advert-mob > ul.mega-sub-menu {
    display: block !important;
    width: 100% !important;
  }

  /* Approved Recommendations phone layout. */
  .og-recommendations .og-recommendations__inner { padding: 20px; }
  .og-glance .og-glance__inner { padding: 40px 20px; }
  .og-glance h2.og-glance__heading { font-size: clamp(28px,calc(15vw - 20px),36px); letter-spacing: -.36px; }
  .og-glance ul.og-glance__grid { grid-template-columns: minmax(0,1fr); }
  .og-glance li.og-glance__item { gap: 20px; }
  .og-glance .og-glance__motif { width: 104px; height: 104px; flex-basis: 104px; }
  .og-glance .og-glance__desktop { display: none; }
  .og-glance .og-glance__mobile { display: block; }
  .og-glance .og-glance__value { width: 104px; height: 104px; padding: 8px; font-size: 24px; letter-spacing: -.24px; }
  .og-glance p.og-glance__description { font-size: 16px; }

  .og-recommendations.og-recommendations--list li.og-recommendations__item { grid-template-columns: minmax(0,1fr); gap: 20px; }

  .og-recommendations h2.og-recommendations__heading { font-size: clamp(28px, calc(15vw - 20px), 36px); letter-spacing: -.36px; }
  .og-recommendations ol.og-recommendations__grid,
  .spMainContentInner .og-recommendations:not(.og-recommendations--list) ol.og-recommendations__grid { grid-template-columns: minmax(0,1fr); }


  /* Approved v3 publication filter: inline draft/apply panel on phones. */
  html:has(.pubFilterAllSection.og-pub-filter) { scrollbar-width: none; }
  .pubFilterAllSection.og-pub-filter .pubFilterAll-container { padding: 24px; }
  .pubFilterAllSection.og-pub-filter .og-pub-heading { grid-template-columns: minmax(0,1fr); gap: 16px; margin-bottom: 16px; }
  .pubFilterAllSection.og-pub-filter .pubFilterAll-main-title { font-size: 32px; line-height: 46px; margin-bottom: 16px; }
  .pubFilterAllSection.og-pub-filter .pubFilterAll-sub-title { font-size: 16px; line-height: 23px; }
  .pubFilterAllSection.og-pub-filter .og-pub-search > label { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
  .pubFilterAllSection.og-pub-filter .og-pub-mobile-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
  .pubFilterAllSection.og-pub-filter .og-pub-panel { display: none; }
  .pubFilterAllSection.og-pub-filter.og-pub-expanded .og-pub-panel { display: block; margin-top: 16px; padding-bottom: 84px; }
  .pubFilterAllSection.og-pub-filter .og-pub-panel-intro { display: block; margin-bottom: 16px; }
  .pubFilterAllSection.og-pub-filter .og-pub-panel-intro h3 { font-size: 24px; line-height: 35px; font-weight: 800; margin: 0 0 16px; }
  .pubFilterAllSection.og-pub-filter .og-pub-panel-intro p { font-size: 14px; line-height: 20px; margin: 0; }
  .pubFilterAllSection.og-pub-filter .og-pub-controls { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .pubFilterAllSection.og-pub-filter .og-pub-options { position: relative; top: auto; left: auto; right: auto; min-width: 0; width: 100%; margin-top: 16px; box-shadow: none; border-radius: 4px; }
  .pubFilterAllSection.og-pub-filter .og-pub-menu-summary, .pubFilterAllSection.og-pub-filter .og-pub-done { display: none; }
  .pubFilterAllSection.og-pub-filter fieldset { max-height: none; }
  .pubFilterAllSection.og-pub-filter .og-pub-mobile-actions { display: grid; visibility: hidden; grid-template-columns: 120px minmax(0,1fr); gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; background: #dcd9ce; padding: 12px 24px; margin: 0; z-index: 35; box-shadow: 0 -2px 8px rgba(28,59,56,.12); }
  .pubFilterAllSection.og-pub-filter.og-pub-actions-visible .og-pub-mobile-actions { visibility: visible; }
  .pubFilterAllSection.og-pub-filter .og-pub-date-popup { width: max(100%,318px); max-width: calc(100vw - 2px); left: 50%; transform: translateX(-50%); padding: 4px; }
  .pubFilterAllSection.og-pub-filter .og-pub-date-inputs { grid-template-columns: minmax(0,1fr); }
  .pubFilterAllSection.og-pub-filter .og-pub-calendars { grid-template-columns: minmax(0,1fr); gap: 0; }
  .pubFilterAllSection.og-pub-filter .og-pub-month-nav { grid-template-columns: 44px minmax(90px,1fr) 80px 44px; }
  .pubFilterAllSection.og-pub-filter .og-pub-date-popup > strong { margin-top: 8px; }
  .pubFilterAllSection.og-pub-filter .og-pub-selected-heading { gap: 12px; }
  .pubFilterAllSection.og-pub-filter .og-pub-result-summary { margin-top: 16px; }

}

/*********** TOPIC CARDS (5 BOX): 1366x1024 LANDSCAPE - FORCE TRUE DESKTOP ***********/
@media only screen and (width: 1366px) and (height: 1024px) and (orientation: landscape) {

  /* Force deterministic desktop layout (Safari grid auto-placement can misplace items) */
  .topicCardsSection.topicCardsSection--5box .topicCardsGrid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 280px) !important;
    gap: 24px !important;
    grid-auto-flow: row !important; /* IMPORTANT: do NOT use dense here */
  }

  /* Remove any margin-based "fake gaps" + force all cards to fill their grid cell */
  .topicCardsSection.topicCardsSection--5box .topicCardsGrid > * {
    margin: 0 !important;
    height: 100% !important;
    align-self: stretch !important;
  }

  /* Explicit placement for the 5 cards */
  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-0 {
    grid-column: 1 / span 2 !important;
    grid-row: 1 / span 2 !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-1 {
    grid-column: 3 / span 1 !important;
    grid-row: 1 / span 1 !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 {
    grid-column: 4 / span 3 !important;
    grid-row: 1 / span 1 !important;
    flex-direction: row !important; /* Aviation side-by-side */
  }

  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-3 {
    grid-column: 3 / span 3 !important;
    grid-row: 2 / span 1 !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-4 {
    grid-column: 6 / span 1 !important;
    grid-row: 2 / span 1 !important;
  }

  /* Ensure the two 1x1 cards stretch internally too */
  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-1 .topicCardBody,
  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-4 .topicCardBody {
    flex: 1 1 auto !important;
  }

  /* Aviation image wrapper back to 50/50 */
  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 .topicCardImageWrapper {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: auto !important;
  }

    .topicCardsSection.topicCardsSection--5box .topicCardsGrid {
    grid-template-rows: 280px 280px !important;
    gap: 24px !important;
    grid-auto-flow: row !important;
  }
  /* Constrain the actual grid items to the row height */
  .topicCardsSection.topicCardsSection--5box .topicCardsGrid > .topicCardWrapper {
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important; /* stops content pushing height */
    box-sizing: border-box !important;
  }
  /* Allow inner flex children to shrink properly (prevents overflow-height) */
  .topicCardsSection.topicCardsSection--5box .topicCardsGrid > .topicCardWrapper .topicCardBody {
    min-height: 0 !important;
  }
  .topicCardDescription {
    margin-bottom: 10px !important;
}


/*********** TOPIC CARDS 5-BOX: SHIPPING IMAGE CROP CONTROL ***********/
.topicCardsSection.topicCardsSection--5box .topicCard-0 .topicCardImage img {
  object-position: center top !important;  /* preserves top of image */
}

}

/*********** TOPIC CARDS (5 BOX): DESKTOP LAYOUT FORCE (>=1366px) ***********/
@media only screen and (min-width: 1366px) {

    /* Restore the intended spans for the 5 cards */
.topicCardsSection.topicCardsSection--5box .topicCard-0 { grid-column: span 2 !important; grid-row: span 2 !important; }
.topicCardsSection.topicCardsSection--5box .topicCard-1 { grid-column: span 1 !important; grid-row: span 1 !important; }
.topicCardsSection.topicCardsSection--5box .topicCard-2 { grid-column: span 3 !important; grid-row: span 1 !important; }
.topicCardsSection.topicCardsSection--5box .topicCard-3 { grid-column: span 3 !important; grid-row: span 1 !important; }
.topicCardsSection.topicCardsSection--5box .topicCard-4 { grid-column: span 1 !important; grid-row: span 1 !important; }


  .topicCardsSection.topicCardsSection--5box .topicCardsGrid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-auto-rows: 280px !important;
    grid-auto-flow: dense !important;
    gap: 24px !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 {
    flex-direction: row !important;
  }

  .topicCardsSection.topicCardsSection--5box .topicCardWrapper.topicCard-2 .topicCardImageWrapper {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .topicCardDescription {
    margin-bottom: 10px !important;
}
}

/*********** TOPIC CARDS (5 BOX): OVERRIDE INLINE DISPLAY FOR IMAGE SWAP ***********/
@media only screen and (min-width: 1366px) {
  .topicCardsSection.topicCardsSection--5box img.mobile-image { display: none !important; }
  .topicCardsSection.topicCardsSection--5box img.desktop-image { display: block !important; }
}
@media only screen and (max-width: 1365.99px) {
  .topicCardsSection.topicCardsSection--5box img.desktop-image { display: none !important; }
  .topicCardsSection.topicCardsSection--5box img.mobile-image { display: block !important; }
}

/*********** END OF ALL MEDIA QUERIES ***********/

/*********** START REDUCED MOTION ***********/
@media (prefers-reduced-motion: reduce) {
    .heroFullBleedSection .heroFullBleedArrow,
    .heroFullBleedSection .heroFullBleedPause { transition: none; }
}
/*********** FINISH REDUCED MOTION ***********/
