/*
Theme Name: topbloke
Author: Osky
Author URI: https://osky.com.au/
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: topbloke
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 102.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
    --primary: #211F20;
    --secondary: #649BAA;
    --alternative: #CCE619;
    --heading: #211F20;
    --body: #211F20;
    --accent: #649BAA;
    --hyperlink: #000000;
    --inverted-heading: #FFFFFF;
    --inverted-body: #FFFFFF;
    --inverted-accent: #CCE619;
    --inverted-hyperlink: #649BAA;
    --light-background: #FFFFFF;
    --color-background: #211F20;
    --border: #F1F2EE;
    --alt-ui: #7A7862;
    --info-status: #00A8DE;
    --warning-status: #EA5F1B;
    --error-status: #FF000B;
    --success-status: #02AD1E;
    --grey: #808080;
}

/* Styles intended only for the front.*/
html {
    scroll-behavior: smooth;
}

p,
li {
    font-size: 18px;
}

@media screen and (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }
}

:where(body .is-layout-flow)>* {
    margin: 0 !important;
}

.wp-block-column p {
    margin-top: 24px !important;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
    overflow: hidden;
}

.wp-block-search__inside-wrapper {
    margin: 0;
}

.header-style-1 .wp-block-search__input,
.header-style-2 .wp-block-search__input {
    display: none;
}

.header-style-1 .show.wp-block-search__input,
.header-style-2 .show.wp-block-search__input {
    display: block;
}

header .wp-block-button__link {
    word-break: unset;
}

.breadcrumbs {
    display: flex;
    gap: 7px;
}

.breadcrumbs span {
    font-weight: 700;
}

.breadcrumbs a {
    text-decoration: none;
    font-weight: 700;
    text-transform: capitalize;
    position: relative;
}

.breadcrumbs a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #CCE619;
}

.bg-color-green h1 {
    color: #211F20;
}

.bg-color-black .banner-tag-line {
    color: #fff !important;
}

.bg-color-black h1,
.bg-color-black .banner-tag-line {
    color: #CCE619;
}

h3.banner-tag-line,
.inner-page-banner h1 {
    max-width: 600px;
}

span.gfield_required.gfield_required_text {
    margin-left: 2px;
    color: #cce619 !important;
}

.form-block.slanted-top .block-heading h2 {
    color: #fff;
}

@media(max-width: 1280px) {
    .wp-block-site-logo img {
        width: 100px;
    }

    .site-header a.osky-button.btn-inverted {
        padding: 8px 12px;
    }

    .menu-icon {
        height: 30px;
    }
}

/* News Posts */
.news-post ul {
    margin-top: 0px;
    margin-bottom: 0px;
}

.news-post .featured li:first-child {
    grid-column: 1 / -1;
}

.news-post ul li:hover .wp-block-post-featured-image {
    overflow: hidden;
}

.news-post ul li:hover .wp-block-post-featured-image img {
    transform: scale(1.2);
    transition: 0.3s ease all;
}

.news-post .wp-block-post-featured-image {
    margin-block-start: 0px !important;
}

.news-post .wp-block-post-featured-image img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    display: inline;
    object-position: right;
}

.news-post .wp-block-post-featured-image .featured-image-placeholder {
    height: 240px;
    width: 100%;
    display: inline;
    object-position: right;
    background: #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-post .featured li .wp-block-post-featured-image {
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

.news-post .featured li:not(:first-child) {
    display: none;
}

.news-post .unfeatured:not(.filtered-results) li:first-child {
    display: none;
}

.news-post .unfeatured li {
    box-shadow: 0px 24px 16px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 60px;
}

.news-post-img-wrapper {
    position: relative;
}

.news-post .featured li:first-child>div time::before {
    content: "FEATURED";
    display: block;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: lighter;
    background-color: #CCE619;
    color: #211F20;
    height: 18px;
    line-height: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.news-post-img-wrapper .taxonomy-category.wp-block-post-terms {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
}

.news-post-img-wrapper .taxonomy-category.wp-block-post-terms a {
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
}

.news-post .wp-block-post-title>a {
    text-decoration: none;
}

.news-post .unfeatured .wp-block-post-title {
    padding: auto;
}

.news-post ul .wp-block-post-title {
    color: var(--hyperlink);
}

.news-post .featured li:first-child {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 30px;
}

.news-post .featured li:first-child>div:first-child {
    max-width: 50%;
    flex-grow: 1;
    flex-shrink: 2;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.news-post .featured li:first-child>div:first-child img {
    width: 100%;
    height: 100%;
    object-position: right;
    object-fit: cover;
}

.news-post .featured li:first-child>div:first-child .taxonomy-category {
    margin-block-start: 0 !important;
    margin-block-end: 8px !important;
}

.news-post .unfeatured li>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    height: calc(100% - 240px);
}

.news-post .unfeatured .wp-block-post-excerpt {
    display: flex;
    margin-right: 0 !important;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.news-post .featured li:first-child>div:nth-child(2) {
    flex: 2;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-width: 300px;
    min-height: 250px;
}

.news-post .featured li:first-child>div:nth-child(2) .wp-block-post-title {
    text-transform: uppercase;
    font-size: 48px !important;
}

.news-post .wp-block-post-date {
    margin-left: 0 !important;
}

.news-post .featured li:first-child .wp-block-post-excerpt {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-text {
    text-decoration: none;
}


.news-post ul li .wp-block-post-excerpt__more-text {
    text-align: right;
    display: flex;
    justify-content: end;
}

.news-post ul li .wp-block-post-excerpt__more-link::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23CCE619' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    width: 16px;
    scale: 2;
    height: auto;
    color: #CCE619;
}

.news-post .pager {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center
}

#NewsPagerPrev,
#NewsPagerNext {
    background-color: var(--primary);
    color: var(--light-background);
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border: none !important;
}

.news-post .pageNumButton {
    width: 40px;
    height: 40px;
    border-width: 0;
    border-radius: 20px;
    font-size: 20px;
    box-shadow: none;
}

.news-post .pageNumButton:hover {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--alternative);
    color: var(--hyperlink);
    cursor: pointer;
}

.news-post .pageNumCurr {
    background-color: var(--wp--preset--color--secondary);
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link {
    display: block;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 18PX;
    font-weight: 100;
    background-color: var(--hyperlink);
    color: var(--border);
    padding: 10px 20PX;
    margin-bottom: 10PX;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23F1F2EE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    width: 24px;
    scale: 2;
    height: auto;
    transform: translate(2px, -3%);
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:hover,
#NewsPagerPrev:hover,
#NewsPagerNext:hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--hyperlink);
    cursor: pointer;
    border: none !important;
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:hover::after {
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:focus {
    background-color: var(--accent);
    color: var(--hyperlink);
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:focus::after {
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
}

.news-post .dropdown {
    display: flex;
    margin-top: 20px;
    font-size: 0.7em;
    justify-content: end;
}

.news-post .dropdown .p {
    font-size: 1.4em;
}

.news-post .dropbtn {
    margin-left: 20px !important;
    background-color: #f9f9f9;
    width: 200px;
    height: 45px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    padding-left: 16px !important;
    padding-bottom: 0px !important;
    text-align: left;
    border-radius: 8px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-post .dropbtn:not(.dropdown_expanded)::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='14' height='22' viewBox='0 0 14 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='rotate(90 7 11) scale(2)' d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    scale: 1;
    transform: translate(-5px, 0px);
}

.news-post .dropdown_expanded::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='14' height='22' viewBox='0 0 14 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='rotate(-90 7 11) scale(2)' d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    scale: 1;
    transform: translate(-5px, 0px);
}

.news-post .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 196px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 0px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 2;
    padding-left: 0 !important;
    margin: 0 !important;
    border-radius: 8px;
    transform: translate(-2px, 45px);
}

.news-post .dropdown-content li {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.news-post .dropdown-content li:hover {
    background-color: var(--alternative);
}

.news-post .show {
    display: block;
}



.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media(max-width: 1200px) {
    .news-post .featured li:first-child>div:nth-child(2) .wp-block-post-title {
        font-size: 36px !important;
    }

    .news-post .featured li:first-child .wp-block-post-excerpt__more-link {
        font-size: 12PX;
    }
}

@media(max-width: 990px) {
    .news-post .featured li:first-child {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .news-post .featured li:first-child>div:first-child {
        max-width: 100%;
        width: 100%;
    }

    .news-post .featured li:first-child>div:nth-child(2) .wp-block-post-title {
        margin-left: 0 !important;
    }

    .news-post .featured li:first-child>div:nth-child(2) .wp-block-post-title {
        font-size: 24px !important;
    }
}


@media(max-width: 980px) {
    .header-style-1 {
        flex-flow: column-reverse;
        align-items: flex-end !important;
    }

    .footer-display-desktop {
        display: none !important;
    }

    .footer-display-mobile {
        display: block !important;
    }

    .site-footer .wp-container-core-group-layout-16.wp-container-core-group-layout-16 {
        justify-content: center;
    }

    .footer-display-mobile p.has-inverted-heading-color.has-text-color.has-bebas-neue-font-family.wp-container-content-7 {
        display: none;
    }

    .footer-social {
        width: 100%;
    }
}

@media(max-width: 600px) {
    .social-media-block {
        gap: 30px;
    }

    .news-post .pager {
        gap: 10px;
    }

    .news-post .pageNumButton {
        width: 30px;
        height: 30px;
        border-radius: 50px;
        font-size: 14px;
    }

    .news-post .featured li:first-child>div:first-child img {
        height: 240px;
    }

    .news-post .featured li:first-child>div:first-child {
        flex-grow: unset;
    }

    .news-post .featured li:first-child {
        gap: 0;
    }

    .header-style-1 {
        flex-flow: row-reverse;
        align-items: center !important;
    }

    ul.wp-block-navigation__container.is-responsive.items-justified-left.wp-block-navigation,
    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu:hover ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
        width: 100% !important;
        gap: 0;
    }

    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu {
        position: relative;
        width: 100%;
        padding: 10px 0;
    }

    ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
        position: unset !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
    }

    ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li {
        padding-left: 20px !important;
    }

    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu>a {
        position: relative;
        width: 100%;
    }

    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu>a::before {
        content: '';
        position: absolute;
        top: 22px;
        right: 10px;
        width: 21px;
        height: 18px;
        background-image: url('data:image/svg+xml,%3Csvg width="21" height="18" viewBox="0 0 21 18" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M14.5 7.5L10.5 11.5L6.5 7.5" stroke="%23211F20" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
        background-size: 21px 18px;
        background-repeat: no-repeat;
        background-position: center;
    }

    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu:hover>a::before {
        transform: rotate(180deg)
    }


    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu:hover>button span,
    .wp-block-navigation-item.wp-block-navigation-link:hover>a span {
        text-decoration: none;
    }
}

/*------ Wocommerce design changes ------*/
/* Hide the image initially */
.woocommerce-page .size-guide-image {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Styling the popup image */
.woocommerce-page .size-guide-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Show the image when the class 'show-popup' is added */
.woocommerce-page .size-guide-image.show-popup {
    display: block;
}

/* Background overlay */
.woocommerce-page .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

.woocommerce-page .overlay.show {
    display: block;
}


/* Style the container for a modern look */
.woocommerce-ordering {
    display: inline-block;
    margin: 10px 0;
    position: relative;
}

/* Style the select dropdown */
.woocommerce-ordering .orderby {
    background-color: #fff;
    width: 200px;
    height: 45px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    padding-left: 16px !important;
    padding-bottom: 0px !important;
    text-align: left;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Add a custom arrow for the dropdown */
.woocommerce-ordering::after {
    content: url("data:image/svg+xml,%3Csvg width='14' height='22' viewBox='0 0 14 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='rotate(90 7 11) scale(2)' d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    transform: translate(-5px, 0px);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #333;
    margin-top: 5px;
}


/* Hover and focus styles for the dropdown (limited customization) */
.woocommerce-ordering .orderby:hover,
.woocommerce-ordering .orderby:focus {
    background-color: #ffff;
    border-color: #888;
}


/* Style hidden input for consistency */
.woocommerce-ordering input[type="hidden"] {
    display: none;
}

/* Remove default chevron */
.woocommerce-ordering .orderby {
    appearance: none;
    /* Standard */
    -webkit-appearance: none;
    /* Safari and Chrome */
    -moz-appearance: none;
    /* Firefox */
    background-image: none;
    /* Remove any default background images, if present */
    padding-right: 20px;
    /* Adjust padding if needed for alignment */
}

/* Pseudo-element trick for option styling */
.woocommerce-ordering .orderby option {
    color: #444;
    font-size: 18px;
    background-color: #fff;
}


.wc-block-add-to-cart-form .variations th.label {
    width: 50px;
    white-space: nowrap;
}

.woocommerce-cart h1.alignwide.wp-block-post-title {
    max-width: none;
}

.woocommerce-checkout .wc-block-components-title {
    font-size: 30px;
}

.woocommerce-Tabs-panel h2 {
    font-size: 31px;
}

/* Hardcode nsw/qld school datalist - TODO remove later */

#nsw-school-datalist,
#qld-school-datalist {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}




/*--- Fixes 20690#note-67 ---*/

.wp-site-blocks.toggled svg.wc-block-mini-cart__icon {
    color: #FFFFFF;
}

.wp-site-blocks.toggled span.wc-block-mini-cart__badge {
    background: #FFFFFF !important;
    color: #000000;
}

.woocommerce div.product form.cart table.variations td select:focus-visible {
    border-color: #CCE619;
}

.woocommerce-page .size-guide-image.show-popup::before {
    position: absolute;
    top: 3px;
    right: 5px;
    content: '\f410';
    cursor: pointer;
    height: 25px;
    width: 25px;
    text-align: center;
    font-size: 25px;
    font-family: 'Font Awesome 5 Free';
    line-height: 25px;
}

@media(max-width: 768px) {
    .woocommerce-page .size-guide-image {
        width: 100%;
    }

    .variations select#colors {
        color: #CCE619 !important;
    }

    .woocommerce div.product form.cart table.variations td select {
        color: #CCE619 !important;
    }

    #colors:focus-visible,
    .woocommerce div.product form.cart table.variations td select:focus-visible {
        outline-color: #CCE619 !important;
        outline: 2px solid;
    }

    #sizes:focus-visible {
        border-color: #CCE619 !important;
        border: 2px solid;
        outline-color: #CCE619 !important;
        outline: 2px solid;


    }
}

.custom-topics .wp-block-heading {
    background-color: var(--alternative);
    background-repeat: no-repeat;
    padding: 12px;
    background-position: top;
    background-size: cover;
    height: 113px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px !important;
    text-transform: uppercase;
}

.custom-topics .wp-block-column {
    visibility: hidden;
    opacity: 0;
}

.custom-topics .wp-block-heading.leaning-title1 {
    background-image: url(assets/images/zigzag.svg);
}

.custom-topics .wp-block-heading.leaning-title2 {
    background-image: url(assets/images/zigzag2.svg);
}

.custom-topics .wp-block-heading.leaning-title3 {
    background-image: url(assets/images/zigzag3.svg);
}

.custom-topics .wp-block-heading.leaning-title4 {
    background-image: url(assets/images/zigzag4.svg);
}

.program-details {
    background: #cce619;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.program-details h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.program-details-intro {
    margin: 0 0 20px;
}

.program-details {
    color: #ffffff;
    font-size: 16px !important;
}

.program-details p {
    font-size: 16px !important;
    color: #000;
}

.program-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.program-detail-item:nth-child(1) {
    grid-column: 1 / -1;
}

.program-detail-item {
    background: #CCE619;
    border-radius: 12px;
    padding: 18px;
    border: 2px solid rgba(204, 230, 25, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-detail-item:hover {
    transform: translateY(-3px);
}

.program-detail-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    opacity: 0.7;
    margin-bottom: 8px;
}

.program-detail-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

@media (max-width: 767px) {
    .program-details-grid {
        grid-template-columns: 1fr;
    }
}

.gform_confirmation_message {
    color: #fff !important;
}

#gform_page_1_2 .gform-page-footer {
    display: block;
}

#gform_page_1_2 .gform_next_button {
    float: right !important;
}

#gform_page_1_3 .gform-page-footer {
    display: block;
}

#gform_page_1_3 .gform_next_button {
    float: right !important;
}

#gform_page_1_4 .gform-page-footer {
    display: block;
}

#gform_page_1_4 .gform_next_button {
    float: right !important;
}

#gform_page_1_5 .gform-page-footer {
    display: block;
}

#gform_page_1_5 .gform_next_button {
    float: right !important;
}

#gform_page_1_6 .gform-page-footer {
    display: block;
}

#gform_page_1_6 #gform_submit_button_1 {
    width: fit-content !important;
    float: right !important;
}

.footer .social {
    align-items: baseline !important;
}

@media screen and (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr !important;
        gap: 70px !important;
    }

    .footer .acknowledgement {
        text-align: center !important;
    }

    .footer .acknowledgement .wp-block-group {
        justify-content: center !important;
    }

}

@media screen and (max-width: 480px) {
    .footer .links {
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 50px !important;
    }

    .footer .links ul {
        justify-content: center !important;
        align-items: center !important;
    }

    .footer .social {
        align-items: center !important;
        justify-content: center !important;
    }
}

form {
    color: #fff;
}

.gf_page_steps {
    justify-content: center !important;
}

.gform-theme--framework .gf_step_completed .gf_step_number,
.gform-theme--framework .gf_step_completed .gf_step_number::after {
    border-color: #518894 !important;
    background-color: #518894 !important;
    color: #000 !important;
}

.gform-theme--framework .gf_step_completed .gf_step_number::after {
    top: 2px !important;
    left: 2px !important;
}

.gform-theme--framework .gf_step_completed {
    cursor: pointer !important;
}

.gform-theme--framework .gf_step_active .gf_step_number {
    border-color: #CCE619 !important;
    background-color: #CCE619 !important;
    color: #000 !important;
}

.gform-theme--framework .gf_step_number {
    background-color: transparent !important;
    border-color: #CCE619 !important;
    color: #fff !important;
}

.gform-theme--framework .gf_step_label {
    color: #fff !important;
}

/* GF Steps connectors */
.gf_page_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px !important;
    row-gap: 20px !important;
}

/* Mobile Progress Bar (Horizontal) */
@media screen and (max-width: 767px) {
    .gf_page_steps {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
        width: 100% !important;
        background-color: #555 !important;
        height: 8px !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        margin-bottom: 24px !important;
        z-index: 1;
        position: relative !important;
    }

    .gf_page_steps .gf_step {
        flex: 1;
        height: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide the text and circles on mobile */
    .gf_page_steps .gf_step .gf_step_number,
    .gf_page_steps .gf_step .gf_step_label {
        display: none !important;
    }

    /* Color in the completed/active portions */
    .gform-theme--framework .gf_page_steps .gf_step_completed,
    .gform-theme--framework .gf_page_steps .gf_step_active {
        background-color: #CCE619 !important;
    }
}

.gf_page_steps .gf_step {
    position: relative;
    padding: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gf_page_steps .gf_step .gf_step_number {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
@media screen and (min-width: 768px) {
    .gf_page_steps {
        column-gap: 0 !important;
        justify-content: space-between !important;
        width: 100%;
    }
    
    .gf_page_steps .gf_step {
        flex: 1;
        position: relative;
    }
    
    /* Dotted line between steps */
    .gf_page_steps .gf_step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px;
        left: calc(50% + 25px);
        width: calc(100% - 50px);
        height: 0;
        border-top: 2px dotted #fff;
        z-index: 1;
    }
    
    /* Solid line coming out of completed step */
    .gform-theme--framework .gf_page_steps .gf_step_completed:not(:last-child)::after {
        border-top: 2px solid #518894 !important;
    }
}
#gform_wrapper_1 {
    padding: 40px;
    border-radius: 12px;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    #gform_wrapper_1 {
        padding: 20px;
    }
}

.form-image-wrapper {
    padding: 0 !important;
}

.form-image-wrapper .gform_wrapper {
    max-width: 650px;
    margin: auto !important;
}

.form-image-wrapper .wp-block-image {
    height: 100%;
}

/* .form-image-wrapper .wp-block-image img{
    object-fit:cover;
    width:100% !important;
    height:100% !important;
} */

.form-image-wrapper .wp-block-image {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
}

@media screen and (max-width:767px) {
    .form-image-wrapper .form-image {
        display: none;
    }
}

.form-block {
    display: flex;
    padding: 0 !important;
}

.form-image {
    display: flex;
    align-items: start;
    position: relative;
    padding-top: 40px;
}

.form-image-wrapper .gform_wrapper {
    width: 100%;
}

/* .form-text{
	position: absolute;
	z-index: 2;
} */

/* .form-text h1,
.form-text h2,
.form-text h3{
	color:#fff;
}

.form-text{
	color:#fff;
}
 */
/* .form-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 1;
} */

@media screen and (max-width:767px) {
    .program-details p {
        font-size: 14px !important;
    }
}

@media screen and (min-width:768px) {
    .d-md-none {
        display: none;
    }
}

/* Hide Gravity Forms 'Other' text input by default; show only when 'Other' is selected */
.ginput_container_radio .gchoice_other_control {
    display: none !important;
}

.ginput_container_radio.show-other .gchoice_other_control {
    display: inline-block !important;
}

.gf-review-table {
    width: 100%;
    border-collapse: collapse;
}

.gf-review-table th,
.gf-review-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    text-align: left;
    vertical-align: top;
    color: #ffffff;
}

.gf-review-table th {
    width: 35%;
    font-weight: 600;
}

.gf-review-section {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}


.gf-review-toggle {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #CCE619 !important;
    color: #000 !important;
    border: none !important;
    padding: 15px 20px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: left !important;
    outline: none !important;
}


.gf-review-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    background: #fff;
    color: #000;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        padding 0.35s ease;
}


.gf-review-section.active .gf-review-content {
    max-height: 1000px;
    padding: 20px;
    opacity: 1;
}


.gf-review-icon {
    transition: transform 0.3s ease;
}


.gf-review-section.active .gf-review-icon {
    transform: rotate(45deg);
}


.gf-review-row {
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}


.gf-review-label {
    font-weight: 600;
}

#gform_confirmation_message_1 {
    z-index: 1;
    position: relative;
}

div#gform_confirmation_wrapper_1 {
    overflow: hidden;
}

#gform_confirmation_wrapper {
    overflow: hidden;
}

@media(max-width:768px) {

    .gf-review-row {
        display: block;
    }

}

.program-detail-item {
    background: #fff;
    border: none;
}

.program-detail-item span {
    color: #000;
}

.form-block .gform_wrapper {
    background: #323131;
}



.form-block>div {
    position: relative;
}

.form-block>div::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80px;
    background-image: url(https://topblokes-registration.osky.dev/wp-content/uploads/2026/08/vector2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
}

.form-block .gform-body>.gform_page {
    position: relative;
    z-index: 2;
}

.form-block .gform-theme--framework .gform_validation_errors {
    z-index: 1;
    position: relative;
}

@media(max-width: 768px) {

    .program-details h3 {
        color: #000;
    }

    .m-fullwidth p {
        max-width: 100% !important;
    }
}



/*New Design Changes*/

/* 1. Base Checkbox - Aggressively reset theme styles */
.gchoice input[type="checkbox"],
.ginput_container_consent input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #518894 !important; /* Changed to Blue */
    border-radius: 4px !important;
    background-color: #fff !important;
    background-image: none !important; /* Kills theme background SVGs */
    margin: 0;
    cursor: pointer;
    display: inline-grid !important;
    place-content: center;
    transition: all 0.2s ease-in-out;
    vertical-align: middle;
    box-shadow: none !important; /* Kills the blue glow/shadow */
    outline: none !important; /* Kills the blue focus outline */
}

/* 2. Checked State (Checkbox) */
.gchoice input[type="checkbox"]:checked,
.ginput_container_consent input[type="checkbox"]:checked {
    background-color: #cce619 !important;
    border-color: #cce619 !important; /* Green when selected */
}

/* 3. Our Custom Tick (using ::before) */
.gchoice input[type="checkbox"]::before,
.ginput_container_consent input[type="checkbox"]::before {
    content: "" !important;
    width: 6px !important;
    height: 11px !important;
    border: none !important; /* Resets any stray borders from the theme */
    border-right: 3px solid #518894 !important;
    border-bottom: 3px solid #518894 !important;
    background-color: transparent !important;
    transform: rotate(45deg) scale(0.5);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 3px;
    box-shadow: none !important;
}

/* 4. Show Our Tick */
.gchoice input[type="checkbox"]:checked::before,
.ginput_container_consent input[type="checkbox"]:checked::before {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

/* 5. KILL The Theme's Extra Tick (Usually done via ::after) */
.gchoice input[type="checkbox"]::after,
.ginput_container_consent input[type="checkbox"]::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* 6. Hover state (Checkbox) */
.gchoice input[type="checkbox"]:hover,
.ginput_container_consent input[type="checkbox"]:hover {
    border-color: #b5cc16 !important;
}

/* --- Radio Buttons --- */

.gchoice input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #518894 !important; /* Changed to Blue */
    border-radius: 50% !important; /* Makes the radio button perfectly round */
    background-color: #fff !important;
    margin: 0;
    cursor: pointer;
    display: inline-grid !important;
    place-content: center;
    transition: all 0.2s ease-in-out;
    vertical-align: middle;
}

/* Checked State (Radio) */
.gchoice input[type="radio"]:checked {
    background-color: #cce619 !important;
    border-color: #cce619 !important; /* Green when selected */
}

/* Creates the inner dot for the radio button */
.gchoice input[type="radio"]::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #1a1a1a !important; /* Dark dot for high contrast */
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gchoice input[type="radio"]:checked::before {
    transform: scale(1);
    background-color: #518894 !important;
}

.gchoice input[type="radio"]:hover {
    border-color: #518894 !important;
}

/* --- Validation & Errors --- */

.gfield_validation_message {
    color: #ff6b6b !important;
}

.gform_validation_errors {
    background-color: rgba(220, 53, 69, 0.15) !important; /* Soft, readable semi-transparent red */
    border: 2px solid #dc3545 !important; /* Strong, clear error border */
    border-radius: 6px !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Style the error heading text inside the container */
.gform_validation_errors .gform_submission_error {
    color: #ff6b6b !important; /* Bright, high-contrast red for dark mode */
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Fix the error icon color so it matches */
.gform_validation_errors .gform-icon--circle-error {
    color: #ff6b6b !important;
    font-size: 20px !important;
}

.form-headings legend.gform-field-label {
    font-size: 24px !important;
    color: #cce619;
}
/* --- Focus States for All Inputs and Buttons --- */
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus,
.gform_wrapper button:focus,
.gform_wrapper input[type="submit"]:focus,
.gform_wrapper input[type="button"]:focus {
    border-color: #cce619 !important;
    outline: 2px solid #cce619 !important;
    outline-offset: 2px !important; /* Gives a little breathing room between the field and the outline */
    box-shadow: none !important; /* Removes any default theme glow */
}
/* 1. Make the date container a flex layout */
.ginput_container_date {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important; /* Adds a nice space between the input and the icon */
    width: 100% !important;
}

/* 2. Force the date input to expand and take up all available space */
.ginput_container_date input.datepicker_with_icon {
    flex-grow: 1 !important;
    width: 100% !important;
}

/* Optional: Make sure the calendar icon doesn't get squished */
.ginput_container_date img.ui-datepicker-trigger {
    flex-shrink: 0 !important;
    cursor: pointer;
}
.gf-review-content .gf-review-row:last-child {
    border: none;
}
/* Hide the redundant Gravity Forms CSS-injected calendar icon */
.gform-theme--framework .gfield--input-type-datepicker.gfield--datepicker-default-icon .ginput_container_date::after {
    display: none !important;
}

.privacy-second-req span.gfield_required.gfield_required_text {
    display: none;
}
.home h3.banner-tag-line, .inner-page-banner h1 {
    max-width: 330px;
}
@media(max-width: 768px) {
    .form-image-wrapper .form-block {
        padding: 0 !important;
    }
	.home h3.banner-tag-line, .inner-page-banner h1 {
    max-width: 200px;
}
	header img.wp-image-46 {
    width: 150px !important;
}
}

#gform_fields_1_5 span.gfield_required {
    display: none;
}