
/* === 1dea: French header nav (Sept 28, 2026; English header widths added Oct 23, 2026) === */
/* French labels are longer than English, so on French pages only: keep the menu labels and the button
   on one line, keep a gap after the logo, let dropdowns fit their longest item, and use the menu button
   below 1536px. English pages are not affected. */
@media (min-width: 1536px) {
    html[lang^="fr"] .site-header .container {
        column-gap: 48px;
    }
}

html[lang^="fr"] .site-header .top-nav a {
    white-space: nowrap;
}

html[lang^="fr"] .desktop-nav #primary-menu>li>a,
html[lang^="fr"] .desktop-nav .btn-menu>a {
    white-space: nowrap;
}

html[lang^="fr"] .desktop-nav #primary-menu .sub-menu {
    width: max-content !important;
    min-width: 226px;
}

html[lang^="fr"] .desktop-nav #primary-menu .sub-menu a {
    white-space: nowrap;
}

@media (max-width: 1535px) {
    html[lang^="fr"] .desktop-nav {
        display: none !important;
    }
}

@media (min-width: 1341px) and (max-width: 1535px) {
    html[lang^="fr"] .mobile-nav {
        display: block !important;
    }
}



/* French pages from 1536px: a little less space after the logo and between menu items, so the button stays inside the header up to 1640px. */
@media (min-width: 1536px) and (max-width: 1640px) {
    html[lang^="fr"] .desktop-nav #primary-menu {
        gap: 22px;
    }

    html[lang^="fr"] .site-header .container {
        column-gap: 32px;
    }
}

/* English pages (Oct 23, 2026): menu labels and the button stay on one line; at exactly 1340px only the menu button shows (the full menu and the menu button both showed); from 1475px to 1535px the menu items keep 25px between them so the menu does not run into the logo. */
html:not([lang^="fr"]) .desktop-nav #primary-menu>li>a,
html:not([lang^="fr"]) .desktop-nav .btn-menu>a {
    white-space: nowrap;
}

@media (min-width: 1340px) and (max-width: 1340.98px) {
    html:not([lang^="fr"]) .desktop-nav {
        display: none !important;
    }
}

@media (min-width: 1475px) and (max-width: 1535px) {
    html:not([lang^="fr"]) .desktop-nav #primary-menu {
        gap: 25px;
    }
}

/* === end 1dea French header nav === */
/* === 1dea: filter buttons on a photo background (Oct 23, 2026). The unselected buttons get a white background so the photo behind them (Resource Library skyline) does not show through. English and French. === */
.block-filter:has(> .photo) .filter-buttons a:not(.selected):not(:hover) {
    background-color: #fff;
}

/* === end 1dea: filter buttons on a photo background === */


/* === 1dea: French headings, balanced lines (Sept 28) === */
/* French headings are longer than the English, so they often left one or two words alone on the last line.
   text-wrap: balance spreads the words evenly over the lines at every screen width. French pages only. */
html[lang^="fr"] :is(h1, h2, h3) {
    text-wrap: balance;
}

/* === end 1dea: French headings === */

/* === 1dea: Homepage stats in one row (Sept 28) === */
/* Each stat had a 420px minimum width with 80px gaps, so the three stats only fit in one row on screens 1680px and
   wider; from 1025 to 1679px the third one dropped to a second row (English and French). Here the stats size to
   their content with 48px gaps, so they stay in one row from about 1200px (English) and 1366px (French). */
@media (min-width: 1025px) and (max-width: 1679px) {
    .text-stats .items.container {
        column-gap: 48px;
    }

    .text-stats .items>.stat-item.item {
        min-width: 0;
        flex: 1 1 auto;
    }
}

/* === end 1dea: Homepage stats === */

/* === 1dea: Closing video banner text width (Sept 28) === */
/* The paragraph under the heading in the closing banner (video background) ran the full width of the page,
   one very long line in English and French. Holly: max 900px. Balanced lines so no word sits alone on the
   last line. All pages, both languages. */
.text-video_bg .content>.description {
    max-width: 900px;
    text-wrap: balance;
}

/* === end 1dea: Closing video banner === */

/* === 1dea: French buttons on one line (Sept 28) === */
/* Homepage hero: the button column was fixed at 285px, so "Entamez une conversation" broke onto two lines.
   French only: the column sizes to the button and the label stays on one line. */
html[lang^="fr"] .hero-banner .info-box>.cta {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
}

html[lang^="fr"] .hero-banner .info-box>.cta .btn .text {
    white-space: nowrap;
}

/* === end 1dea: French buttons === */



/* Homepage hero photo. Desktop: focus slightly above centre. Tablet and phone: the photo sits in a band at the top, fades to black, and the text sits below it (as in the 1024 and 390 homepage designs). English and French. */
body.page-template-page-homepage .hero-banner img {
    object-position: center 30%;
}

@media (max-width: 1024px) {
    body.page-template-page-homepage .hero-banner {
        --hero-photo-h: min(71vw, calc(100dvh - 330px));
        background-color: #000;
    }

    body.page-template-page-homepage .hero-banner img {
        width: 193vw;
        max-width: none;
        height: var(--hero-photo-h);
        left: -67vw;
        top: 0;
        object-fit: cover;
        object-position: 0 calc(0.56 * var(--hero-photo-h) - 39.7vw);
        -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    }

    /* soft dark band behind the header links */
    html body.page-template-page-homepage .hero-banner::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, .35) 120px, rgba(0, 0, 0, 0) 240px);
    }

    body.page-template-page-homepage .hero-banner .container {
        height: auto;
        max-height: none;
        padding-top: calc(var(--hero-photo-h) + 58px);
    }
}

@media (max-width: 767px) {
    body.page-template-page-homepage .hero-banner {
        --hero-photo-h: 129.5vw;
    }

    body.page-template-page-homepage .hero-banner img {
        width: 374vw;
        left: -103vw;
        object-position: 0 -16.4vw;
        -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
    }

    body.page-template-page-homepage .hero-banner .container {
        padding-top: 84.6vw;
    }

    /* the photo fades out on its own here, so the separate phone gradient strip is not needed */
    body.page-template-page-homepage .banner-mobile-grad {
        display: none;
    }
}

/* 1025 to 1299px: the large heading reaches the coloured blocks, so the blocks sit in the bottom right corner (as on tablet) */
@media (min-width: 1025px) and (max-width: 1299px) {
    body.page-template-page-homepage .hero-banner .floating-icon {
        bottom: -3px;
        right: 0;
        width: 359px;
        height: 125px;
    }

    body.page-template-page-homepage .hero-banner .floating-icon svg {
        width: 100%;
        height: auto;
    }
}

/* === 1dea: success story category tag colours (Oct 6, 2026). Figma: "Success Stories CPT". White text on each colour passes WCAG AA (4.5:1 or more). === */
.story-item .term span.life-sciences-medicine {
    background-color: #00748E;
}

.story-item .term span.technology {
    background-color: #017FAD;
}

.story-item .term span.sciences {
    background-color: #0033A0;
}

.story-item .term span.education {
    background-color: #4C4A47;
}

.story-item .term span.arts-culture-public-sector {
    background-color: #B25035;
}

.story-item .term span.business-finance {
    background-color: #8C633F;
}

.story-item .term span.advanced-manufacturing-engineering {
    background-color: #218649;
}

/* === end 1dea: success story category tag colours === */

/* === 1dea: success story cards, same height, chips and conference line (Oct 20, 2026). English and French, every page with story cards. === */
/* the empty spacer between the two chips showed as a coloured square */
.story-item .term>.spacer {
    background: none !important;
    padding: 0 !important;
}

/* all cards in a slider are the height of the tallest one, with the buttons lined up at the bottom */
.success-stories-list .slick-track {
    display: flex !important;
}

.success-stories-list .slick-slide.story-item {
    height: auto !important;
    display: grid !important;
    grid-template-rows: auto 1fr;
}

.success-stories-list .story-item .item-content {
    display: flex;
    flex-direction: column;
}

.success-stories-list .story-item .item-content .cta {
    margin-top: auto;
}

/* conference and year on one line: "Conference name · 2022" */
.story-item .meta {
    display: block !important;
}

.story-item .meta>span {
    display: inline !important;
}

/* Champions grid: buttons lined up at the bottom of each card */
.results>.story-item {
    display: flex;
    flex-direction: column;
}

.results>.story-item>.item-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.results>.story-item>.item-content .cta {
    margin-top: auto;
}

.story-item .meta>.spacer {
    background: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.story-item .meta>.spacer::before {
    content: "\00a0\00b7\00a0";
}

/* story titles in sliders are a little smaller so the cards are shorter and the slider controls are easier to reach (Oct 23, 2026). Sliders only, not the Champions grid. */
.success-stories-list .story-item h3.title-m {
    font-size: 22px;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .success-stories-list .story-item h3.title-m {
        font-size: 20px;
    }
}

/* === end 1dea: success story cards === */

/* === 1dea: sector tag colours on blog posts and All Sectors (Oct 6, 2026). Same colours as the success story tags. White text passes WCAG AA on all. === */
.post-header .term span.life-sciences-medicine:not(.spacer) {
    background-color: #00748E;
}

.post-header .term span.technology:not(.spacer) {
    background-color: #017FAD;
}

.post-header .term span.sciences:not(.spacer) {
    background-color: #0033A0;
}

.post-header .term span.education:not(.spacer) {
    background-color: #4C4A47;
}

.post-header .term span.arts-culture-public-sector:not(.spacer) {
    background-color: #B25035;
}

.post-header .term span.business-finance:not(.spacer) {
    background-color: #8C633F;
}

.post-header .term span.advanced-manufacturing-engineering:not(.spacer) {
    background-color: #218649;
}

.post-header .term span.all-sectors:not(.spacer) {
    background-color: #272425;
}

.story-item .term span.all-sectors {
    background-color: #272425;
}

/* === end 1dea: sector tag colours on blog posts === */

/* === 1dea: button and link hover fixes (Oct 6, 2026). Applies to English and French. === */
/* "Send now" and the other form buttons: same dark blue hover as the other buttons */
.gform_wrapper .gform_footer .gform_button:hover,
.gform_wrapper .gform_footer .gform_button:focus-visible {
    background-color: #0033A0;
    color: #FFFFFF;
}

/* Links are underlined at rest and lose the underline on hover */
#primary a:not(.btn):not([class*="btn"]):hover,
#primary a:not(.btn):not([class*="btn"]):focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
footer a:hover {
    text-decoration: none;
}

/* === end 1dea: button and link hover fixes === */

/* === 1dea: balanced headings, no single word on the last line (Oct 6, 2026). English and French. === */
h1,
h2,
h3,
.display-xxl,
.display-xl,
.display-l {
    text-wrap: balance;
}

/* === end 1dea: balanced headings === */

/* === 1dea: card titles change colour on hover (Oct 6, 2026). Only cards where the whole card is a link: conference list and news cards. Not success story cards (their title is not linked). Not event cards. English and French. Cobalt #0033A0 is the site's interactive colour (10.6:1 on white). === */
.conference-item :is(h2, h3, h4),
.article-item:not(.event-item) :is(h2, h3, h4) {
    transition: color .2s ease;
}

.conference-item:hover :is(h2, h3, h4),
.article-item:not(.event-item):hover :is(h2, h3, h4),
[class*="-item"]:not(.event-item):has(> a.link):hover :is(h2, h3, h4) {
    color: #0033A0;
}

/* Teal Keep exploring cards (Become an Ambassador, EN + FR), added Oct 19, 2026: cobalt on teal is about 2:1, so on these cards
   the title stays white and gets an underline on hover instead. Only the teal version has the flex-row card row. */
.keep-exploring .items.flex-row>.item.grid-item:has(> a.link):hover :is(h2, h3, h4) {
    
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.keep-exploring .items.flex-row>.item.grid-item.white-txt:has(> a.link):hover :is(h2, h3, h4) {
	color: #fff;
}

/* === end 1dea: card titles change colour on hover === */

/* === 1dea: French success story cards, wider so the two buttons stay on one line (Oct 6, 2026). Sliders only, not the Champions grid. === */
html[lang^="fr"] .slick-slider .story-item {
    width: 560px;
    max-width: 560px;
}

html[lang^="fr"] .story-item .btn,
html[lang^="fr"] .story-item .btn .text {
    white-space: nowrap;
}

@media (max-width: 640px) {
    html[lang^="fr"] .slick-slider .story-item {
        width: 397px;
    }

    html[lang^="fr"] .story-item .btn,
    html[lang^="fr"] .story-item .btn .text {
        white-space: normal;
    }
}

/* === end 1dea: French success story cards === */

/* === 1dea: header dropdown timing from the Figma notes (Oct 6, 2026). English and French, desktop. === */
/* Wait 0.5 s before a dropdown opens on hover, and 0.5 s before it closes when the mouse leaves */
.site-header .menu-item-has-children>.sub-menu {
    transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s, visibility 0.4s ease 0.5s;
}

.site-header .menu-item-has-children:hover>.sub-menu {
    transition-delay: 0.5s;
}

/* Moving to another menu item: the old dropdown closes at once so two never show together */
.site-header #primary-menu:has(.menu-item-has-children:hover) .menu-item-has-children:not(:hover)>.sub-menu {
    transition-delay: 0s;
}

/* === end 1dea: header dropdown timing === */

/* === 1dea: French statistics on one line (Oct 6, 2026). French numbers are longer ("Jusqu'à 50 000 $"), so on desktop they use a smaller size and stay in one row. Not the "Proven in the sector" section on Campaign (Oct 20, 2026): it has its own wrapping layout. === */
@media (min-width: 1025px) {
    html[lang^="fr"] .statistics:not(.proven-in-the-sector) .items {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(32px, 4vw, 64px);
    }

    html[lang^="fr"] .statistics:not(.proven-in-the-sector) .item {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 1 auto !important;
        align-items: center;
        text-align: center;
    }

    html[lang^="fr"] .statistics:not(.proven-in-the-sector) .number {
        white-space: nowrap;
        font-size: clamp(40px, 4.2vw, 64px);
    }
}

/* === end 1dea: French statistics on one line === */

/* === 1dea: hide the conference slider arrows, dots and "Showing" line when every conference already fits on screen (Oct 6, 2026). English and French. === */
@media (min-width: 1280px) {
    .conferences-in-toronto:not(:has(.slick-slide:nth-child(4))) .carousel-footer {
        display: none;
    }
}

@media (min-width: 900px) and (max-width: 1279px) {
    .conferences-in-toronto:not(:has(.slick-slide:nth-child(3))) .carousel-footer {
        display: none;
    }
}

@media (max-width: 899px) {
    .conferences-in-toronto:not(:has(.slick-slide:nth-child(2))) .carousel-footer {
        display: none;
    }
}

/* === end 1dea: hide conference slider controls when everything fits === */

/* === 1dea: partner logos, all partner logos show at the same height (Oct 6, 2026; image logos added Oct 21; larger LC logo on About Oct 21). English and French. === */
.partners-behing .partner-item .logo>svg,
.partners-behing .partner-item .logo>img {
    height: 72px;
    width: auto;
    max-width: 100%;
}

/* About only (Oct 21, 2026): the Leaders Circle logo is thin and light, so it shows taller (92px, about as wide as the Destination Toronto logo) to look balanced with the other two. */
.page-id-26 .partners-behing .partner-item:first-child .logo>svg,
.page-id-2387 .partners-behing .partner-item:first-child .logo>svg {
    height: 92px;
}
/* Same 92px box for all three logos on About, so the three descriptions start on one line. */
.page-id-26 .partners-behing .partner-item .logo,
.page-id-2387 .partners-behing .partner-item .logo {
    height: 92px;
    display: flex;
    align-items: center;
}

/* === end 1dea: partner logos === */

/* === 1dea: "Send now" hover, stronger rule (Oct 7, 2026). The first rule lost to a Gravity Forms rule on this form. English and French. === */
.gform_wrapper .gform_footer button.gform_button:hover,
.gform_wrapper .gform_footer button.gform_button:focus-visible,
.gform_wrapper .gform_footer input.gform_button:hover {
    background-color: #0033A0 !important;
    color: #FFFFFF !important;
}

/* === end 1dea: "Send now" hover === */

/* === 1dea: text fade for photo backgrounds (Oct 7, 2026). A dark gradient from the top-left corner that fades out just past the text, plus a much lighter glow behind the text and a slight text shadow. The photo itself is not changed. English and French. === */
.hero-banner,
.text-photo-bg {
    overflow: clip;
}

.hero-banner {
    position: relative;
    --corner-fade: .5;
    --corner-rx: 95%;
    --corner-ry: 170%;
}

/* Top-left corner gradient. Uses ::before because the theme already uses ::after for its own tint. */
body:not([class*="page-template-page-inquiry-thank-you"]) .hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse var(--corner-rx) var(--corner-ry) at 0% 0%, rgba(0, 0, 0, var(--corner-fade)) 0%, rgba(0, 0, 0, calc(var(--corner-fade) * .66)) 36%, rgba(0, 0, 0, calc(var(--corner-fade) * .26)) 70%, rgba(0, 0, 0, 0) 100%);
}

/* Light, wide glow behind the text */
.hero-banner .content,
.text-photo-bg .content {
    position: relative;
    isolation: isolate;
    --hero-fade: .14;
}

.hero-banner .content::before,
.text-photo-bg .content::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: -230px -26% -250px -240px;
    background: radial-gradient(ellipse closest-side at 44% 50%, rgba(0, 0, 0, var(--hero-fade)) 0%, rgba(0, 0, 0, calc(var(--hero-fade) * .78)) 38%, rgba(0, 0, 0, calc(var(--hero-fade) * .32)) 68%, rgba(0, 0, 0, 0) 100%);
}

.hero-banner .content :is(.tag, h1, h2, .description, p, .btn.tertiary-white),
.text-photo-bg .content :is(h2, .description, p, .btn.tertiary-white) {
    text-shadow: 0 1px 14px rgba(0, 0, 0, .4), 0 0 3px rgba(0, 0, 0, .2);
}

/* How far the corner gradient reaches, set to the width of the hero text on each page */
body[class*="page-template-page-about"] .hero-banner {
    --corner-rx: 72%;
}

body[class*="page-template-page-champions"] .hero-banner {
    --corner-rx: 92%;
}

body[class*="page-template-page-why-toronto"] .hero-banner {
    --corner-rx: 92%;
}

body[class*="page-template-page-support"] .hero-banner {
    --corner-rx: 64%;
}

body[class*="page-template-page-become-an-ambassador"] .hero-banner {
    --corner-rx: 100%;
}

body[class*="page-template-page-the-ambassador-role"] .hero-banner {
    --corner-rx: 86%;
}

body[class*="sectors-inner"] .hero-banner {
    --corner-rx: 86%;
}

body[class*="page-template-page-homepage"] .hero-banner {
    --corner-rx: 78%;
}

body[class*="page-template-page-how-we-support-you"] .text-photo-bg .content {
    --hero-fade: .42;
}

/* French text is longer */
html[lang^="fr"] .hero-banner {
    --corner-fade: .56;
    --corner-rx: 105%;
}

html[lang^="fr"] .hero-banner .content {
    --hero-fade: .2;
}

html[lang^="fr"] body[class*="page-template-page-how-we-support-you"] .text-photo-bg .content {
    --hero-fade: .55;
}

/* Tablet and phone: the text fills the width, so the corner gradient reaches further */
@media (max-width: 1100px) {

    .hero-banner,
    html[lang^="fr"] .hero-banner {
        --corner-fade: .72;
        --corner-rx: 150%;
        --corner-ry: 240%;
    }

    .hero-banner .content,
    html[lang^="fr"] .hero-banner .content {
        --hero-fade: .3;
    }

    body[class*="page-template-page-become-an-ambassador"] .hero-banner {
        --corner-fade: .8;
    }

    body[class*="page-template-page-become-an-ambassador"] .hero-banner .content {
        --hero-fade: .36;
    }
}

@media (max-width: 640px) {

    .hero-banner,
    html[lang^="fr"] .hero-banner {
        --corner-fade: .78;
    }
}

/* Keep the About paragraph over the dark left side of the photo */
body[class*="page-template-page-about"] .hero-banner .info-box .description {
    max-width: 34em;
}

/* French Become an ambassador: the button row sits low, so the corner gradient reaches further down */
html[lang^="fr"] body[class*="page-template-page-become-an-ambassador"] .hero-banner {
    --corner-fade: .66;
    --corner-ry: 260%;
}

html[lang^="fr"] body[class*="page-template-page-become-an-ambassador"] .hero-banner .content {
    --hero-fade: .26;
}

/* A little more on tablets and phones, where the text spans the whole width */
@media (max-width: 1100px) {

    .hero-banner,
    html[lang^="fr"] .hero-banner {
        --corner-fade: .8;
    }

    .hero-banner .content,
    html[lang^="fr"] .hero-banner .content {
        --hero-fade: .34;
    }

    body[class*="page-template-page-become-an-ambassador"] .hero-banner,
    html[lang^="fr"] body[class*="page-template-page-become-an-ambassador"] .hero-banner {
        --corner-fade: .9;
    }

    body[class*="page-template-page-become-an-ambassador"] .hero-banner .content,
    html[lang^="fr"] body[class*="page-template-page-become-an-ambassador"] .hero-banner .content {
        --hero-fade: .42;
    }

    html[lang^="fr"] body[class*="page-template-page-why-toronto"] .hero-banner {
        --corner-fade: .88;
    }
}

@media (max-width: 640px) {

    .hero-banner,
    html[lang^="fr"] .hero-banner {
        --corner-fade: .84;
    }
}

/* Only heroes with a photo or video behind light text get the fade. The Contact hero is dark text on white and the thank-you hero is dark text on a washed-out photo with its own white fade from the theme, so both stay as designed. */
.hero-banner:not(:has(> img, > video)) {
    overflow: visible;
}

.hero-banner:not(:has(> img, > video))::before,
.hero-banner:not(:has(> img, > video)) .content::before,
body[class*="page-template-page-inquiry-thank-you"] .hero-banner .content::before {
    content: none !important;
}

body[class*="page-template-page-inquiry-thank-you"] .hero-banner .content :is(.tag, h1, h2, .description, p) {
    text-shadow: none;
}

/* About only (Oct 22, 2026): night skyline hero. The fades use the photo's own deep navy instead of black so they blend in.
   Desktop: a light navy diagonal and corner fade, plus a stronger soft glow right behind the text. Checked: heading 3:1 or more, blurb 4.5:1 or more, 1025 to 2560px, English and French.
   Tablet and phone: the text sits on its own panel below the photo, so the photo only keeps a navy band behind the header. */
@media (min-width: 1025px) {
    html body.page-id-26 .hero-banner,
    html body.page-id-2387 .hero-banner {
        --corner-fade: .4;
    }

    html body.page-id-26 .hero-banner .content,
    html body.page-id-2387 .hero-banner .content {
        --hero-fade: .85;
    }

    html body.page-id-26 .hero-banner::before,
    html body.page-id-2387 .hero-banner::before {
        background: radial-gradient(ellipse var(--corner-rx) var(--corner-ry) at 0% 0%, rgba(8, 15, 42, var(--corner-fade)) 0%, rgba(8, 15, 42, calc(var(--corner-fade) * .66)) 36%, rgba(8, 15, 42, calc(var(--corner-fade) * .26)) 70%, rgba(8, 15, 42, 0) 100%);
    }

    html body.page-id-26 .hero-banner::after,
    html body.page-id-2387 .hero-banner::after {
        background: linear-gradient(rgba(6, 11, 32, .95) -25.14%, rgba(6, 11, 32, 0) 20.86%), linear-gradient(135deg, rgba(10, 18, 48, .7) 22%, rgba(10, 18, 48, 0) 55%);
    }

    html body.page-id-26 .hero-banner .content::before,
    html body.page-id-2387 .hero-banner .content::before {
        background: radial-gradient(ellipse closest-side at 44% 50%, rgba(8, 15, 42, var(--hero-fade)) 0%, rgba(8, 15, 42, calc(var(--hero-fade) * .78)) 38%, rgba(8, 15, 42, calc(var(--hero-fade) * .32)) 68%, rgba(8, 15, 42, 0) 100%);
    }
}

@media (max-width: 1024px) {
    html body.page-id-26 .hero-banner::before,
    html body.page-id-2387 .hero-banner::before {
        background: none;
    }

    html body.page-id-26 .hero-banner::after,
    html body.page-id-2387 .hero-banner::after {
        background: linear-gradient(rgba(6, 11, 32, .85) 0px, rgba(6, 11, 32, .5) 90px, rgba(6, 11, 32, 0) 170px);
    }
}

/* === end 1dea: text fade for photo backgrounds === */

/* === 1dea: sector intro headings, no hard line break (Oct 7, 2026). The line break typed into the heading left one word alone on the last line. English and French. === */
.intro h2 br {
    display: none;
}

/* === end 1dea: sector intro headings === */

/* === 1dea: accessibility fixes, WCAG 2.1 AA (Oct 7, 2026). English and French. === */
/* 1.4.3: the lighter brand copper (#9E704C) is 4.3:1 with white text. Use the site's own accessible copper (#8C633F, 5.3:1). */
:root {
    --Copper-Gold: #8C633F;
}

/* 1.4.3: grey labels on the light grey box were 3.97:1 (colour and 60% opacity) */
.info-item .body-s {
    color: #5B5A5C !important;
    opacity: 1 !important;
}

/* 2.1.1: the header dropdowns also open when a keyboard user tabs into them */
.site-header .menu-item-has-children:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

/* === end 1dea: accessibility fixes === */

/* === 1dea: testimonial photo and coloured blocks flush (Oct 7, 2026). English and French. In the testimonial blocks only, the coloured corner blocks start exactly at the photo's left edge on desktop. === */
@media (min-width: 961px) {
    .testimonials .floater {
        left: 0 !important;
    }

    .testimonials .floater>span:nth-child(1),
    .testimonials .floater>span:nth-child(2) {
        width: 36.5px !important;
        min-width: 36.5px !important;
        flex: 0 0 36.5px !important;
    }
}

/* === end 1dea: testimonial flush === */

/* === 1dea: brown "Start a conversation" form, placeholder and typed text contrast (Oct 7, 2026). English and French. The grey-brown placeholder measured 3.2:1; now dark and solid (5.3:1). === */
.start-a-conversation .gform_wrapper :is(input, textarea)::placeholder {
    color: #272425 !important;
    opacity: 1 !important;
}

.start-a-conversation .gform_wrapper :is(input, textarea, select) {
    color: #272425 !important;
}

/* === end 1dea: brown form contrast === */



/* === 1dea: link hover on the brown blocks (Oct 7, 2026). English and French. The seafoam hover colour measured 3.5 to 4.2:1 on brown; white is 5.3:1. === */
.start-a-conversation a:hover,
.content-with-contact a:hover {
    color: #fff !important;
}

/* === end 1dea: link hover on brown === */

/* === 1dea: ambassador slider, next card shown faded (Oct 7, 2026). English and French. The whole card was shown at 50 percent, so its text was 3.9:1. Now only the photo is faded and the text stays full strength (the card still looks faded). === */
.success-stories-list .story-item[aria-hidden="true"] {
    opacity: 1;
}

.success-stories-list .story-item[aria-hidden="true"] :is(img, picture) {
    opacity: .5;
}

/* === end 1dea: ambassador slider faded card === */

/* === 1dea: 404 page message and search results header (Oct 8, 2026). The theme's 404 page was empty, and the search results page had a see-through header with white text on a white page. English and French. === */
body.search-results.glassy-header .site-header {
    background-color: #fff;
    border-bottom-color: rgb(64, 64, 64);
}

body.search-results.glassy-header .site-header .logo-text-path {
    fill: #272425 !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(1)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(2)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(3)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(4)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(5)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(5)>a:nth-of-type(1)>span:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(1)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(6)>button:nth-of-type(1)>svg:nth-of-type(1)>path:nth-of-type(1) {
    fill: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(1)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(2)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(3)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(4)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(5)>a:nth-of-type(1) {
    color: rgb(39, 36, 37) !important;
    border-top-color: rgb(39, 36, 37) !important;
    border-bottom-color: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(1)>div:nth-of-type(1)>ul:nth-of-type(1)>li:nth-of-type(6)>button:nth-of-type(1)>svg:nth-of-type(1)>path:nth-of-type(1) {
    stroke: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(2)>ul:nth-of-type(1)>li:nth-of-type(1)>button:nth-of-type(1)>svg:nth-of-type(1)>path:nth-of-type(1) {
    stroke: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(2)>ul:nth-of-type(1)>li:nth-of-type(3)>button:nth-of-type(1)>svg:nth-of-type(1)>rect:nth-of-type(1) {
    fill: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(2)>ul:nth-of-type(1)>li:nth-of-type(3)>button:nth-of-type(1)>svg:nth-of-type(1)>rect:nth-of-type(2) {
    fill: rgb(39, 36, 37) !important;
}

body.search-results.glassy-header .site-header>div:nth-of-type(1)>div:nth-of-type(2)>div:nth-of-type(2)>nav:nth-of-type(2)>ul:nth-of-type(1)>li:nth-of-type(3)>button:nth-of-type(1)>svg:nth-of-type(1)>rect:nth-of-type(3) {
    fill: rgb(39, 36, 37) !important;
}

body.search-results .search-main {
    padding-top: 150px;
    padding-bottom: 110px;
}

@media (min-width: 768px) {
    body.search-results .search-main {
        padding-top: 220px;
        padding-bottom: 130px;
    }
}

@media (min-width: 1100px) {
    body.search-results .search-main {
        padding-top: 270px;
        padding-bottom: 150px;
    }
}

/* search results: Older / Newer posts links as real buttons, like "Load More" */
body.search-results .posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
}

body.search-results .posts-navigation .nav-next {
    margin-left: auto;
}

body.search-results .posts-navigation .nav-links a {
    display: inline-block;
    padding: 16px 19px;
    background-color: #272425;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .4s;
}

body.search-results .posts-navigation .nav-links a:hover,
body.search-results .posts-navigation .nav-links a:focus-visible {
    background-color: #0033A0;
    color: #fff;
    text-decoration: none;
}

/* 404 page: photo hero under the blue header */
body.error404 .site-main {
    display: block;
    position: relative;
    min-height: 600px;
    padding: 250px 24px 170px;
    text-align: center;
    background: linear-gradient(rgba(0, 35, 60, .5), rgba(0, 35, 60, .5)), url(https://theleaderscirclecadc08b.zapwp.com/wp-content/uploads/2026/09/Hero-with-Image-Background.webp) center bottom / cover no-repeat;
}

body.error404 .site-main::before {
    content: "Page not found";
    display: block;
    margin-bottom: 28px;
    font-family: Lora,"Lora Fallback", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
    color: #fff;
}

body.error404 .site-main::after {
    content: "The page you are looking for may have moved or no longer exists. Use the menu above to find your way.";
    display: block;
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #fff;
}

html[lang^="fr"] body.error404 .site-main::before {
    content: "Page introuvable";
}

html[lang^="fr"] body.error404 .site-main::after {
    content: "La page que vous cherchez a peut-être été déplacée ou n’existe plus. Utilisez le menu ci-dessus pour vous repérer.";
}

@media (min-width: 768px) {
    body.error404 .site-main {
        min-height: 680px;
        padding: 290px 40px 200px;
    }

    body.error404 .site-main::before {
        font-size: 56px;
    }
}

@media (min-width: 1100px) {
    body.error404 .site-main {
        min-height: 760px;
        padding: 320px 60px 220px;
    }

    body.error404 .site-main::before {
        font-size: 72px;
    }

    body.error404 .site-main::after {
        font-size: 20px;
    }
}

/* === end 1dea: 404 and search results === */

/* === 1dea: search results, post meta links (Oct 8, 2026). The "Posted on ... by ..." links showed as default blue underlined links. === */
body.search-results .entry-meta a,
body.search-results .posted-on a,
body.search-results .byline a {
    color: inherit;
    text-decoration: none;
}

body.search-results .entry-meta a:hover,
body.search-results .posted-on a:hover,
body.search-results .byline a:hover {
    color: #0033A0;
}

/* === end 1dea: search results post meta === */

/* === 1dea: Contact page team members (Oct 21, 2026). Photos and names half their previous size, and the columns sit to the left. English and French. === */
.who-you-work-with .members {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    column-gap: 64px;
}
.who-you-work-with .member-item .photo {
    width: 185px;
}
.who-you-work-with .member-item .name {
    font-size: 19px;
    line-height: 1.3;
}
@media (max-width: 1024px) {
    .who-you-work-with .members {
        grid-template-columns: repeat(2, auto);
    }
}
@media (max-width: 767px) {
    .who-you-work-with .members {
        grid-template-columns: 1fr;
    }
    .who-you-work-with .member-item .photo {
        width: 50%;
    }
    .who-you-work-with .member-item .name {
        font-size: 17px;
    }
}
/* === end 1dea: Contact page team members === */


/* === 1dea: French labels in the conference "At a glance" box (Oct 22, 2026). French only. The theme prints Year, Status, Sector and City in English, so French pages show Année, État, Secteur and Ville instead. All 18 conferences list these 4 labels in this order. === */
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item > .body-s:first-child {
    position: relative;
    visibility: hidden;
}
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item > .body-s:first-child::before {
    position: absolute;
    left: 0;
    top: 0;
    visibility: visible;
    white-space: nowrap;
}
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(1) > .body-s:first-child::before { content: "Année"; }
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(2) > .body-s:first-child::before { content: "État"; }
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(3) > .body-s:first-child::before { content: "Secteur"; }
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(4) > .body-s:first-child::before { content: "Ville"; }
/* Conferences with delegates and economic impact show 6 labels (5 = Délégués, 6 = Retombées économiques). With only 5 labels, the 5th is Economic Impact (delegates still TBC). If a conference ever has delegates but no economic impact, its 5th label will read Retombées économiques: re-check then. */
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(5):not(:last-child) > .body-s:first-child::before { content: "Délégués"; }
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(5):last-child > .body-s:first-child::before,
html[lang^="fr"] body.single-conference .post-sidebar .info-list > .info-item:nth-child(6) > .body-s:first-child::before { content: "Retombées économiques"; }
/* === end 1dea: French labels in the conference box === */

/* === 1dea: French search button (Oct 23, 2026). French only. The theme prints "Search" on the search pop-up button in English, so French pages show "Recherche" instead, the same word as the French footer link. === */
html[lang^="fr"] .search-form {
    grid-template-columns: 1fr auto;
}
html[lang^="fr"] .search-form .search-submit {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
}

/* === end 1dea: French search button === */

/* === 1dea: French two-stat rows (Oct 23, 2026). When a statistics row has only two stats, each takes half the row, as on the English pages, so a long French label wraps under its number. === */
@media (min-width: 1025px) {
    html[lang^="fr"] .statistics:not(.proven-in-the-sector) .item:first-child:nth-last-child(2),
    html[lang^="fr"] .statistics:not(.proven-in-the-sector) .item:nth-child(2):last-child {
        flex: 1 1 0 !important;
    }
}
/* === end 1dea: French two-stat rows === */

/* === 1dea: space under the brown "Or talk to us" box (Oct 26, 2026). When the box sits directly above a video block, the video block keeps the standard page gap above it. === */
.content-with-contact + .text-video_bg {
    margin-top: var(--Page-Gap) !important;
}
/* === end 1dea: space under the brown box === */

/* === 1dea: legal pages (Privacy policy, Terms of use, Accessibility statement), English and French (Oct 26, 2026). Section headings use the site's Lora heading style and sub-headings are bold, so the long text is easier to scan. The text sits in a centred column so lines stay short. The hero photo shows the harbour and skyline instead of the empty sky. === */
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .hero-banner > img {
    object-position: 50% 92%;
}
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body :is(h2, h3) {
    font-family: Lora,"Lora Fallback", serif;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 400;
    margin: 48px 0 16px;
}
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body h4 {
    font-size: 19px;
    line-height: 1.6;
    font-weight: 500;
    margin: 32px 0 8px;
}
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body > :is(h2, h3, h4):first-child {
    margin-top: 0;
}
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body :is(h2, h3, h4) strong {
    font: inherit;
}
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .cols {
    align-items: stretch;
}
/* the text sits in a centred column about 70 characters wide, so lines are comfortable to read */
:is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1024px) {
    :is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body :is(h2, h3) {
        font-size: 24px;
    }
}
@media (max-width: 767px) {
    :is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body :is(h2, h3) {
        font-size: 22px;
        margin-top: 40px;
    }
    :is(.page-id-2254, .page-id-2255, .page-id-2256, .page-id-3668, .page-id-3671, .page-id-3673) .text-cta .body h4 {
        font-size: 18px;
    }
}
/* === end 1dea: legal pages === */



/* === 1dea: news post headings (Oct 29, 2026). Headings inside a news post sit closer to the text below them than to the text above. English and French. === */
.single-post .description :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 16px;
}
/* === end 1dea: news post headings === */

/* === 1dea: French search and cookie text (Oct 29, 2026). The search page and the cookie banner print some fixed English words, so French pages show the French words in their place, at the same size. === */
html[lang^="fr"] .search-main .container > .page-header .page-title {
    font-size: 0;
}
html[lang^="fr"] .search-main .container > .page-header .page-title::before {
    content: "Résultats de la recherche pour\00a0:\00a0";
}
html[lang^="fr"] .search-main .container > .page-header .page-title::before,
html[lang^="fr"] .search-main .container > .page-header .page-title span {
    font-size: 64px;
    line-height: 110%;
}
html[lang^="fr"] .search-main .entry-footer .btn .text {
    font-size: 0;
}
html[lang^="fr"] .search-main .entry-footer .btn .text::after {
    content: "Lire la suite";
    font-size: 18px;
    line-height: 18px;
}
html[lang^="fr"] .search-main .no-results .page-content > p:first-of-type {
    font-size: 0;
}
html[lang^="fr"] .search-main .no-results .page-content > p:first-of-type::before {
    content: "Désolé, mais aucun terme ne correspond à votre recherche. Veuillez réessayer avec d’autres mots-clés.";
    font-size: 17px;
    line-height: 1.7;
}
html[lang^="fr"] #cn-notice-text {
    font-size: 0;
}
html[lang^="fr"] #cn-notice-text::before {
    content: "Nous utilisons des témoins (cookies) pour vous offrir la meilleure expérience possible sur notre site Web. En poursuivant votre navigation, vous acceptez leur utilisation.";
    font-size: 13px;
    line-height: 20px;
}
@media (max-width: 1024px) {
    html[lang^="fr"] .search-main .container > .page-header .page-title::before,
    html[lang^="fr"] .search-main .container > .page-header .page-title span {
        font-size: 52px;
    }
}
@media (max-width: 767px) {
    html[lang^="fr"] .search-main .container > .page-header .page-title::before,
    html[lang^="fr"] .search-main .container > .page-header .page-title span {
        font-size: 34px;
    }
    html[lang^="fr"] .search-main .entry-footer .btn .text::after {
        font-size: 16px;
        line-height: 19.2px;
    }
    html[lang^="fr"] .search-main .no-results .page-content > p:first-of-type::before {
        font-size: 16px;
    }
}
/* === end 1dea: French search and cookie text === */

@media (min-width:768px) and (max-width:960px){
	html[lang^="fr"] .site-header .container{
		grid-template-columns: 250px minmax(0, 1fr);
	}
	  html[lang^="fr"] .site-header .top-nav .menu {
        gap: 20px !important;
    }
	
	html[lang^="fr"] .site-header .site-branding {
        padding-top: 25px;
    }
}
