.container {
    margin: 0 auto;
    padding: 50px;

    @media (max-width: 1023px) {
        padding: 50px;
    }
}
.container.cards {
    @media (max-width: 1023px) {
        padding: 0;
    }
}

body.archive,
body.page {
    background-color: white;
}

.center {
    text-align: center;
}

h2,
.h3-large {
    margin-top: 20px;
    margin-bottom: 0;
    font-family: var(--wp--custom--font-primary);
    font-weight: bold;
    font-size: 50px;
    color: white;
    line-height: 50px;
}
body.page {
    h2 {
        color: black;
    }
    p {
        color: black;
    }
}

.editor-styles-wrapper p,
.editor-styles-wrapper li {
    font-family: var(--wp--custom--font-tertiary);
}

body.page {
    &.home,
    &.slug-book-a-broadcast,
    &.slug-sponsors-partners,
    &.slug-about {
        background-color: var(--wp--custom--bss-primary-blue);
    }
}
.bg-bss-primary-blue,
.editor-styles-wrapper .bg-bss-primary-blue {
    background-color: var(--wp--custom--bss-primary-blue) !important;
    color: white;

    h2 {
        color: white;
    }
    h2 {
        color: white;
    }
    h3 {
        color: white;
    }
    p {
        color: white;
    }
}
.dark-bg {
    background-color: var(--wp--custom--bss-dark-blue);
    color: white;
    margin: 0;

    h2 {
        color: white;
    }
    h2 {
        color: white;
    }
    h3 {
        color: white;
    }
    p {
        color: white;
    }
}

h2.bars {
    font-family: var(--wp--custom--font-secondary);
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    margin: 40px auto 0;

    display: block;
    width: max-content;

    &::before {
        content: "";
        display: inline-block;
        width: 60px;
        height: 4px;
        background: #a90303;
        margin: 8px;
        position: absolute;
        left: -100px;
        top: 14px;
    }

    &::after {
        content: "";
        display: inline-block;
        width: 60px;
        height: 4px;
        background: #a90303;
        margin: 8px;
        position: absolute;
        right: -100px;
        top: 14px;
    }
}

h3 {
    font-size: 34px;
    text-align: center;
}

p {
    font-family: var(--wp--custom--font-tertiary);
    font-size: 20px;
    line-height: 28px;
    color: white;

    a:hover {
        text-decoration: underline;
    }
}
li {
    color: white;
}

.btn-secondary-container {
    position: relative;
    display: inline-block;
    /* background: #797676; */
    background-color: white;
    font-size: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    font-family: "Figtree", sans-serif;
    font-weight: 600;
    clip-path: polygon(
        0px 0,
        calc(100% - 18px) 0,
        100% 12px,
        100% calc(100% - 12px),
        calc(100% - 0px) 100%,
        18px 100%,
        0 calc(100% - 12px),
        0 12px
    );
    margin: 0 0 0 0px;
    padding: 0;
    line-height: 1;
    display: inline-block;
    text-align: center;

    @media (max-width: 767px) {
        margin-left: 0;
        margin-top: 20px;
    }

    &:hover {
        background-color: #e3b505;
    }
}

.btn-secondary {
    position: absolute;
    width: 98%;
    height: 98%;
    z-index: 2;
    display: inline-block;
    /* margin-top: 20px; */
    /* background: var(--Button-default, hsla(0, 2%, 34%, 1)); */

    /*background: var(--wp--custom--bss-primary-blue); */
    background: #050215;
    font-size: 24px;
    padding: 16px 18px;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-transform: uppercase;
    font-family: "Figtree", sans-serif;
    font-weight: 600;
    clip-path: polygon(
        0px 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% calc(100% - 12px),
        calc(100% - 0px) 100%,
        12px 100%,
        0 calc(100% - 12px),
        0 12px
    );
    clip-path: polygon(
        0px 0,
        calc(100% - 18px) 0,
        100% 12px,
        100% calc(100% - 12px),
        calc(100% - 0px) 100%,
        18px 100%,
        0 calc(100% - 12px),
        0 12px
    );
    left: 0px;
    top: 2px;
    white-space: nowrap;
    margin: 0;

    &:hover {
        background: hsla(48, 96%, 45%, 1);

        color: #091f37;

        &:before {
            background: hsla(0, 0%, 100%, 0.2);
        }
        &:after {
            background: hsla(0, 0%, 100%, 0.2);
        }
    }

    @media (max-width: 768px) {
        white-space: initial;
    }
}

.entry-content hr.wp-block-separator {
    background: none;
    max-width: 360px;
    width: 100% !important;
    margin-left: 0;
    border-top: 4px solid #a90303;
    margin-top: 20px;
    background-color: transparent;
    color: transparent;
}

.wp-block-group:is(.bg-bss-primary-blue),
.wp-block-group:is(.dark-bg) {
    h1,
    h2,
    h3,
    h4,
    h5 {
        color: #fff;
    }
    p {
        color: #fff;
    }
    li {
        color: #fff;
    }
}
.wp-block-group:not(.bg-bss-primary-blue, .dark-bg) {
    h1,
    h2,
    h3,
    h4,
    h5 {
        color: black;
    }
    p {
        color: black;
    }
    li {
        color: black;
    }
    a {
        color: black;
    }
}
.post {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    li,
    a {
        color: black;
    }
}
.how-it-works {
    border-top: 4px solid #a90303;

    figure {
        text-align: center;
    }
    h3 {
        font-size: 34px;
        color: white;
        text-align: center;
        margin-bottom: 0;
        margin-top: 20px;
    }
    p {
        text-align: center;
        margin: 0 auto;
        max-width: 300px;
    }

    .is-layout-flex {
        justify-content: center;
        gap: 80px;

        @media (max-width: 767px) {
            flex-direction: column;
            gap: 20px;
        }
    }
}

.wp-block-button.btn-red,
.btn-red {
    background: #a90303;
    color: white;
    border: none;
    padding: 0px 20px;
    font-size: 24px;
    font-family: var(--wp--custom--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    width: fit-content;

    text-decoration: none;

    padding: 10px 20px;
    text-align: center; /* Centers text horizontally */

    color: white; /* Text color */
    text-decoration: none; /* Removes the default underline */
    position: relative;

    svg {
        margin-left: 5px;
    }

    &:hover {
        background-color: #e3b505;
        color: #091f37;

        a {
            color: #091f37;
        }
        svg path {
            stroke: #091f37;
        }
    }

    @media (max-width: 767px) {
        height: 60px;
        line-height: 1.25;
        padding: 0 10px;
        font-size: 16px;
    }

    clip-path: polygon(
        0px 0,
        calc(100% - 18px) 0,
        100% 12px,
        100% calc(100% - 12px),
        calc(100% - 0px) 100%,
        18px 100%,
        0 calc(100% - 12px),
        0 12px
    );

    img {
        position: relative;
        top: 2px;

        @media (max-width: 767px) {
            height: 14px;
        }
    }

    .wp-block-button__link {
        color: white;
    }
}
.wp-block-buttons > .wp-block-button.btn-red {
    margin: 20px auto;
}

.faq h2 {
    margin-bottom: 40px;
}
/* FAQ details/summary */

.custom-details {
    max-width: 800px;
    border: 0px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.custom-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background-color: #22354b;
    color: white;
    border-radius: 8px;
    list-style: none; /* Hides default triangle in Firefox */
    font-size: 21px;
    font-weight: 500;
    font-family: var(--wp--custom--font-primary);

    strong {
        font-weight: 600;
    }
}

.custom-details summary::-webkit-details-marker {
    display: none; /* Hides default triangle in Chrome/Safari */
}

.custom-details summary::after {
    content: "+";
    font-size: 21px;
    font-weight: normal;
}

.custom-details[open] summary {
    background-color: #49637a;
    border-radius: 0px;
    font-weight: 500;
}
.custom-details[open] summary::after {
    content: "-";
}

.custom-details p {
    font-family: var(--wp--custom--font-primary);
    padding: 12px 16px;
    margin: 0;
    background-color: #49637a;
    font-size: 20px;
    font-weight: normal;
}

.bss-difference {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--wp--custom--bss-primary-blue) !important;

    h2 {
        margin-top: 0;
        color: white;
    }
    h3.wp-block-heading,
    h3 {
        margin-bottom: 40px;
        color: white;
    }

    p {
        max-width: 600px;
        text-wrap: balance;
        color: black;

        @media (max-width: 1023px) {
            max-width: 100%;
        }
    }

    .btn-secondary-container {
        min-width: 600px;
        @media (max-width: 767px) {
            min-width: initial;
        }
    }
    .btn-secondary {
        background-color: var(--wp--custom--bss-primary-blue);
    }
    span.btn-secondary {
        text-transform: none;
    }

    @media (min-width: 782px) and (max-width: 1023px) {
        .wp-block-columns {
            flex-wrap: wrap !important;
        }

        .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
            flex-basis: 100%;
            max-width: 100%;
        }
    }

    .wp-block-column {
        background: #22354b;
        border-radius: 20px;
        padding: 10px 20px;

        h4 {
            font-size: 24px;
            line-height: 28px;
            font-family: var(--wp--custom--font-tertiary);
            font-weight: 700;
            color: white;
        }
        p.wp-block-paragraph {
            color: white;
            font-size: 20px;
            line-height: 28px;
            font-family: var(--wp--custom--font-tertiary);
        }
    }
}

@media (max-width: 767px) {
    .slug-sponsors-partners #hero .hero-container {
        background-size: cover !important;
        background-position: top right -400px !important;
    }
}

.how-to-become-a-sponsor {
    h2 {
        text-align: center;
        margin-bottom: 0px;
    }
    h3 {
        margin: 10px;
    }
    p {
        margin-top: 0px;
        margin-bottom: 20px;
        text-wrap: balance;
        max-width: 800px;
    }
    /*p:last-child{ max-width: 600px; }*/
}

/* Alignments
--------------------------------------------- */
.alignleft {
    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    text-align: center;
}

/* hide old nav */
#nav-mob {
    display: none !important;
}

/*
body:not(.page-template-page-full-width){
    
    
    &.single h1, &.archive h1{ color: #000; text-transform: none; font-size: calc(36px * var(--jkd-h-multi)/100); text-wrap: balance; }
    &.search h1, &.blog h1, &.single h1, &.archive h1{ color: #000; text-transform: none; font-size: calc(36px * var(--jkd-h-multi)/100); text-wrap: balance; font-family: var(--wp--custom--font-primary) !important;}
    &.search p, &.blog p, &.single p, &.single li{ color: #4a4a4a}
    &.search h1 a, &.blog h4 a, &.archive h4 a, &.archive p, &.wp-singular a, &.wp-singular p{ color: #000000} 
    .ticker-in-wrp a{ color: #fff; }

    &.wp-singular .main-navigation a{ color: #fff; }

    &.search h4 a, &.archive h4{ color: #000; font-size: 22px; line-height: 1; font-weight: 500; text-wrap: normal;}
    &.archive h4 a{ font-size: 22px; line-height: 1; font-weight: 500; text-wrap: normal;}
    &.search p, &.blog p, &.archive p{ font-size: 14px; line-height: 1; font-weight: 500;}
}
    */

header#masthead .header-search form,
.main-mobile-navigation .header-search form {
    display: flex;
    align-items: center;
    justify-content: center;
}
header#masthead .header-search img,
.main-mobile-navigation .header-search img {
    padding-left: 15px;
    position: relative;
    width: auto;
    height: 18px;
    top: -1px;
}
header#masthead .header-search input,
.main-mobile-navigation .header-search input {
    background: transparent !important;

    &::placeholder {
        color: white !important;
    }
}

.header-mobile-menu {
    z-index: 300;
}

.site-info .container {
    padding-bottom: 20px;
    padding-top: 20px;
}
.custom-logo-link {
    max-width: 200px;
}

.slug-book-a-broadcast iframe {
    max-width: none;
}
.broadcast-look ul {
    padding-left: 25px;
}
.broadcast-look li {
    font-size: 24px;
    line-height: 40px;
    font-family: var(--wp--custom--font-primary);
    font-weight: 600;
    color: white;
    padding-left: 0;
}

#gform_submit_button_4 {
    height: 59px;
    margin-top: 3px;
    background: #a90303;
    color: white;
    border: none;

    display: inline-block;
    font-size: 24px;
    font-family: var(--wp--custom--font-secondary);
    font-weight: 600;
    text-transform: uppercase;

    text-decoration: none;

    display: block;
    padding: 10px 50px;

    text-align: center; /* Centers text horizontally */

    clip-path: polygon(
        0px 0,
        calc(100% - 18px) 0,
        100% 12px,
        100% calc(100% - 12px),
        calc(100% - 0px) 100%,
        18px 100%,
        0 calc(100% - 12px),
        0 12px
    );
}
/*
.gform-theme--foundation .gfield textarea.medium{
    border-color: transparent !important;
}
*/

:root
    :where(.editor-styles-wrapper)
    :where(.wp-element-button, .wp-block-button__link) {
    background: transparent;
}

:where(.editor-styles-wrapper) li {
    font-family: var(--wp--custom--font-primary);
}
.bg-bss-primary-blue .editor-styles-wrapper p {
    color: white;
    font-family: var(--wp--custom--font-tertiary);
}

/* BLOG */
:where(.editor-styles-wrapper) li label {
    color: black;
}
.wp-block-post-featured-image :where(img) {
    max-height: 230px;
    view-transition-name: blog-hero;
}

.wp-block-post-title :where(a) {
    font-size: 24px;
}

.wp-block-post-title a {
    color: black;
}

/*
.wp-post-image{
    view-transition-name: blog-hero;
}
    */

/* SINGLE */
h1.entry-title {
    color: #000;
    margin-bottom: 0;
}
h3.wp-block-heading {
    color: #000;
}

::view-transition-old(blog-hero),
::view-transition-new(blog-hero),
.wp-post-image {
    animation: fade 0.5s ease;
    object-fit: cover;
    width: 100%;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.archive .card .Media,
.blog .card .Media,
.search .card .Media {
    display: block;
}
.blog .cards,
.archive .cards,
.search .cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 20px;

    @media (max-width: 1023px) {
        grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 767px) {
        grid-template-columns: 1fr;
    }
}
.blog .card img,
.archive .card img,
.search .card img {
    object-fit: contain;
    background-color: var(--wp--custom--bss-primary-blue);
}
.blog .card .Media-body a,
.archive .card .Media-body a,
.search .card .Media-body a {
    color: #000;
    font-size: 20px;
    font-family: var(--wp--custom--font-primary);
}

.blog .navigation path,
.archive .navigation path,
.search .navigation path {
    fill: var(--wp--custom--bss-primary-blue);
    fill: #a90303;
}

.element-container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 206px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: var(--wp--custom--bss-primary-blue);
    justify-content: center;

    a {
        line-height: 0;
    }

    @media (max-width: 767px) {
        min-height: none;
        height: auto;
    }
}

body.blog,
body.archive,
body.search {
    background-color: white;

    .navigation {
        display: flex;
        justify-content: space-between;
    }

    .card {
        .read-more {
            color: white;
            font-size: 16px;
            margin-top: 10px;
            &:hover {
                color: black;
            }
        }
        .post-meta {
            font-size: 14px;
            color: #4a4a4a;

            text-transform: uppercase;
            font-family: var(--wp--custom--font-tertiary);

            a {
                font-size: 14px;
                color: #4a4a4a;
                font-family: var(--wp--custom--font-tertiary);

                &:hover {
                    color: #a90303;
                }
            }
        }
        .post-date {
            margin-left: 10px;
            text-transform: uppercase;
            font-family: var(--wp--custom--font-tertiary);
        }
    }
}

body.single {
    background-color: white;

    main#primary {
        margin: 0;
        padding: 0;
        max-width: none;

        h1 {
            margin-left: 40px;
            margin-right: 40px;
            margin-top: 10px;
            margin-bottom: 10px;
            font-family: var(--wp--custom--font-primary);
        }
        h2.widget-title {
            color: black;
            font-size: 22px;
            margin-bottom: 20px;
            margin-top: 0;
            font-family: var(--wp--custom--font-primary);
        }

        .content {
            margin-left: 40px;
            margin-right: 40px;

            column-gap: 40px;
            display: grid;
            grid-template-columns: 3fr 1fr;

            @media (max-width: 1023px) {
                grid-template-columns: 1fr;
            }
            .latest-post {
                font-weight: 700;
                margin-bottom: 50px;
                font-family: var(--wp--custom--font-primary);
                font-size: 20px;
            }
        }

        .entry-content .wp-block-list li {
            color: black;
            font-family: var(--wp--custom--font-tertiary);
            font-size: 20px;
        }
        .cat-item {
            font-size: 16px;
        }
    }
    .post-navigation,
    #comments {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }

    .post-meta {
        margin-left: 40px;
        margin-right: 40px;
        margin-bottom: 20px !important;

        font-size: 14px;
        color: #4a4a4a;

        text-transform: uppercase;

        a {
            font-size: 14px;
            color: #4a4a4a;
        }
    }
    .post-date {
        margin-left: 10px;
        text-transform: uppercase;
    }
    .category-list {
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 20px;
        margin-bottom: 0;

        .category-pill a {
            color: white;
        }
    }
    .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 5px;
        margin-bottom: 30px;
    }
    .tags a {
        padding: 5px 10px;
        background-color: #a90303;
        border-radius: 20px;
        color: white;
        white-space: nowrap;
        font-weight: 500;
        font-family: "Barlow Semi Condensed";
    }
}

/*
.element-img {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  margin-bottom: 20px;
}

.element-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
*/

.card-categories {
    min-height: 34px;
}
.category-list {
    display: inline-block;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0px;

    .category-pill {
        /*background-color: #A90303;*/
        color: #5f5f5f;
        font-family: var(--wp--custom--font-secondary);
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        padding: 10px 10px 0 0;
        border-radius: 20px;
        margin-right: 10px;

        a {
            color: white;
            text-decoration: none;
        }
        a:hover {
            color: #a90303;
        }
    }
}

.archive h1,
.search h1 {
    text-align: center;
    color: #000;
    font-size: 42px;
    font-family: var(--wp--custom--font-primary) !important;
    font-weight: 600;
    margin-bottom: 0px;
}
.archive h2,
.search h2 {
    text-align: center;
    color: #000;
    font-size: 36px;
    font-family: var(--wp--custom--font-primary) !important;
    font-weight: 600;
    margin-bottom: 20px;
}
.search .page-header {
    border-bottom: 4px solid #a90303;
}
.archive .small-bar {
    background-color: #a90303;
    height: 4px;
    margin-top: 20px;
    margin-bottom: 0;
}

.slug-contact iframe {
    min-height: 400px;
    width: 100%;
    border: none;
}

div#gform_confirmation_message_4 {
    color: black;
    font-size: 20px;
    font-family: var(--wp--custom--font-tertiary);
}
