/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.search-section-heading-wrap {
    max-width: 585px;
    margin: 0 auto;
}

h2.section-title {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 40px;
    line-height: 48px;
    margin: 0px 0px 12px 0px;
    text-align: center;
    color: #181C2A;
}

p.heading-desc {
    font-family: "" Circular Std", Sans-serif !important", Sans-serif;
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    margin: 0%;
    text-align: center;
    font-variant-numeric-figure: lining-nums;
    font-variant-numeric-spacing: proportional-nums;
    color: #071529;
}

.search-section-wrap {
    margin: 50px 0px 30px 0px;
}

.search-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    position: relative;
}

.search-parent input {
    position: relative;
    background: #FFFFFF !important;
    border: 1px solid #B7B4FE !important;
    border-radius: 8px !important;
    padding: 14px 44px !important;
    width: 100%;
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 14px;
    line-height: 20px;
    max-width: 400px;
    width: 100% !important;
}

.select2-container {
    max-width: 400px;
    width: 100% !important;
}

.search-parent input:focus-visible {
    appearance: none !important;
    outline: none;
}

select {
    background: #FFFFFF;
    border-radius: 8px !important;
    border: 1px solid #B7B4FE !important;
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 14px 16px !important;
    color: #121212;
    max-width: 200px;
    width: 100% !important;
}

.drop-down-one select,
.drop-down-two select {
    appearance: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
}

.drop-down-one select:focus-visible,
.drop-down-two select:focus-visible {
    outline: none;
}

.drop-down-one {
    position: relative;
    display: inline-block;
    max-width: 400px;
    width: 100%;
}

.drop-down-two {
    position: relative;
    display: inline-block;
    max-width: 400px;
    width: 100%;
}

span.custom-arrow {
    position: absolute;
    right: 15px;
    top: 60%;
    pointer-events: none;
    transform: translateY(-60%);
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/plugins/competitions-discovery-hub-customization/includes/images/down-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

input::placeholder {
    color: #121212;
}

.icon-search {
    position: absolute;
    top: 12px;
    left: 16px;
}

.category-box-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

section.Most-Popular-Categories .container {
    max-width: 1200px;
    margin: 0 auto;
}

.category-box-section .category-main-box-parent {
    width: calc(33.33% - 20px);
}

.category-main-box-parent {
    background: #FFF;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-description-parent {
    padding: 20px;
}

.action-section {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-img img {
    width: 100%;
}

h6.status , h5.status {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 14px;
    line-height: 20px;
    margin: 0px 0px 6px 0px;
    color: #705AF8 !important;
}

h4.category-title {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 20px !important;
    line-height: 28px;
    margin: 0px 0px 12px 0px;
    color: #071529;
}

p.category-des {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 0px 0px 12px 0px;
    color: #8F8F8F;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.category-detail-wrap {
    display: flex;
    align-items: flex-start;
    column-gap: 12px;
}

.icon-dec p {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    color: #8F8F8F !important;
}

.icon-dec p span {
    color: #071529;
    margin-right: 8px;
}

.devider-line {
    border-top: 1px solid #C2C2C2;
}

h4.price , h6.price{
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 20px !important;
    line-height: 28px;
    margin: 0;
    color: #071529 !important;
    text-transform: uppercase;
}

a.view-btn {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 450;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    background: #705AF8;
    color: #FFF;
    padding: 7px 35px;
    display: inline-block;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s all;
    border: 1px solid #705AF8;
    text-transform: uppercase;
}

a.view-btn:hover {
    background: transparent;
    color: #705AF8;
    /* border: 1px solid #705AF8; */
}

section.Most-Popular-Categories {
    padding: 80px 40px;
}

section.Most-Popular-Categories.featured-competitions-categories {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

#pagination-links {
    margin: 40px 0 0;
    display: flex;
    justify-content: center;
    grid-gap: 10px;
}

.featured-competitions-categories h6.status {
    text-transform: uppercase;
}

a.pagination-link {
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 500;
    font-size: 20px !important;
    line-height: 28px;
    margin: 0;
    color: #000 !important;
}

a.pagination-link.current,
a.pagination-link:hover {
    color: #705AF8 !important;
}

/*---------- |-- Featured Competitions --| ----------*/

.featured-competitions-categories .search-section-heading-wrap {
    margin-bottom: 40px;
}

/*---------- |-- Young  Geographer of the Year css --| ----------*/
.younggeogrf-section1 {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url('/wp-content/uploads/2025/04/aboutus-background.png') no-repeat center right;
    background-size: cover;
    color: #fff;
    padding: 80px 0;
}

/* Centered Inner Content Same as Section Width */
.younggeogrf-section1 .banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Text Content */
.younggeogrf-section1 .banner-content {
    max-width: 50%;
}

.younggeogrf-section1.banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #fff;
}

.younggeogrf-section1.banner p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.younggeogrf-section1.banner .category {
    font-size: 20px;
    font-weight: 500;
    font-family: "Circular Std", Sans-serif !important;
    margin-top: 10px;
    padding-left:35px;
    position: relative;
}

.younggeogrf-section1.banner .category:before {
    position: absolute;
    content: "";
    left: 0;
    top: 4px;
    bottom: 0;
    background-image: url(/wp-content/uploads/2025/06/catgry-icon.png);
    background-repeat: no-repeat;
    width: 23px;
    height: 23px;
    background-size: contain;
}

.younggeogrf-section1 .category span {
    color: #8b5cf6;
    margin-left: 5px;
}


/* Main Layout */
.younggeogrf-section2{
    background-color: #F5F5F7;
}

.younggeogrf-section2 .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
    align-items: flex-start;
}

.younggeogrf-section2 .sidebar {
    width: 285px;
    position: relative;
}

.younggeogrf-section2 .sidebar ul {
    list-style: none;
    padding: 0;
    border-left: 5px solid #DEE3FF;
}

.younggeogrf-section2 .sidebar ul li {
    margin-bottom: 20px;
}

.younggeogrf-section2 .sidebar ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #071529;
    font-family: "Circular Std", Sans-serif !important;
    font-weight: 500 !important;
    padding-left: 30px;
    border-left: 5px solid transparent;
    margin-left: -5px;
    font-size: 20px;
}

.younggeogrf-section2 .sidebar li a.active,
.younggeogrf-section2 .sidebar li a:hover {
    color: #705AF8 !important;
    transition: 0.2s all;
    font-weight: 600 !important;
    border-left-color: #705AF8;
}

/*
.younggeogrf-section2 .content {
    flex: 1;
    padding-left: 40px;
}*/

.younggeogrf-section2 .content {
    padding-left: 40px;
    width: calc(100% - 285px);
    margin-left: auto;
}


.younggeogrf-section2 .cont-box:not(:last-child) {
    margin-bottom: 40px;
    border-bottom: solid 1px #C2C2C2;
    padding-bottom: 35px;
}



.younggeogrf-section2 .cont-box h2 {
    color: #705AF8;
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 1.2em;
    font-weight: 500;
    font-family: "Circular Std", Sans-serif !important;
}


.younggeogrf-section2 .cont-box p,
.younggeogrf-section2 .cont-box h3,
.younggeogrf-section2 .cont-box li {
    line-height: 1.6;
     font-size: 18px;
    font-family: "Circular Std", Sans-serif !important;
    color: #8F8F8F;
    font-weight: 400;
    margin-bottom: 0;
}



.younggeogrf-section2 .cont-box ul,
.younggeogrf-section2 .cont-box ol  {
    padding-left: 20px;
}

.younggeogrf-section1 .banner-content hr {
    height: 13px;
    background: #705AF8;
    border: 0;
    margin: 10px 0;
    display: inline-block;
    width: 300px;
}

.cdhc-view-btn-wrap {
    margin-top: 40px;
    text-align: center;
}
.cdhc-view-btn-wrap a.cdhc-view-btn {
    background-color: #705AF8;
    border-radius: 50px;
    padding: 16px 65px 15px 45px;
    color: #fff;
    font-family: "Circular Std", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    position: relative;
    display: inline-block;
}
.cdhc-view-btn-wrap a.cdhc-view-btn::after {
    position: absolute;
    content: "";
    right: 40px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    background-image: url(/wp-content/uploads/2025/06/btn-aero.svg);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}


.cdhc-view-btn-wrap a.cdhc-view-btn:hover {   
    transition: 0.4s all;
    background-color: var( --e-global-color-31d3bce );
}

.cont-box-wrap .infobx-inline {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: auto auto;
    justify-content: start;
}

.younggeogrf-section2 .container {
    position:relative;
}
/*.younggeogrf-section2 .container .is-sticky ul {
    position: fixed;
    top: 20px;
}*/

.content .cont-box .cont-box-wrap {
    margin-bottom: 0px;
    border-bottom: solid 0px #C2C2C2;
    padding-bottom: 0px;
}

.cont-box-wrap .cont-box-info { margin-top: 15px; }

/*.cont-box-wrap .cont-box-info p.cdhc-info-title {*/
.cont-box-wrap .cont-box-info h3.cdhc-info-title {
    font-weight: 500 !important;
    color:#071529;
    margin: 0 0 5px;
} 


/*---------- |-- Young  Geographer of the Year css - END --| ----------*/

/* multi select checkbox dropdown cs start  */

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #B7B4FE !important;
    border-radius: 8px;
    cursor: text;
    padding: 14px;
    position: relative;
    max-height: 50px;
    overflow: auto;
}

textarea::placeholder {
    color: #121212;
}

.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
    max-width: 100%;
    resize: none;
    height: 18px;
    vertical-align: top;
    overflow: hidden;
    word-break: keep-all;
    font-family: "Circular Std", Sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 450;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #705AF825;
    border: 1px solid #705AF8;
    margin-left: 5px;
    margin-top: 5px;
    color: #121212;
    font-family: "Circular Std", sans-serif;
    font-weight: 450;
    font-size: 14px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-right: 15px;
    margin-top: 0px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #705AF8;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
    color: #c36;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
}

.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #705AF8;
}

.select2-dropdown {
    border: 1px solid #705AF8;
    border-radius: 8px;
}

.select2-container--open .select2-dropdown {
    top: 40px;
}

.select2-results__options li {
    font-family: "Circular Std", Sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 450;
}

/* multi select checkbox dropdown cs end  */




@media only screen and (max-width: 1024px) {


    .younggeogrf-section2 .container {
        padding: 50px 20px;
    }

    h2.section-title {
        font-size: 32px;
        line-height: 42px;
    }

    p.heading-desc {
        font-size: 14px;
        line-height: 22px;
    }

    .search-section-wrap {
        margin: 30px 0px 30px 0px;
    }

    section.Most-Popular-Categories {
        padding: 40px 40px;
    }

    section.Most-Popular-Categories.featured-competitions-categories {
        padding-top: 0px;
    }

    .younggeogrf-section2 .sidebar ul li a {
        font-size: 18px;
            padding-left: 20px;
    }
    .younggeogrf-section2 .sidebar ul li {
        margin-bottom: 15px;
    }
    .younggeogrf-section2 .sidebar {
        width: 265px;
        position: relative;
    }
    .younggeogrf-section2 .content {
        padding-left: 30px;
    }


}


@media only screen and (max-width: 991px) {

    .category-box-section {
        justify-content: space-evenly;
    }

    .category-box-section .category-main-box-parent {
        width: calc(50% - 20px);
    }
}



@media only screen and (max-width: 820px) {

    
}


@media only screen and (max-width: 767px) {

    .category-box-section .category-main-box-parent {
        width: calc(100% - 20px);
    }

    .search-parent {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 20px;
    }

    h2.section-title {
        font-size: 24px;
        line-height: 34px;
    }

    p.heading-desc {
        font-size: 12px;
        line-height: 20px;
    }

    .search-section-heading-wrap {
        max-width: 450px;
        margin: 0 auto;
    }

    section.Most-Popular-Categories {
        padding: 40px 20px;
    }

    h2.section-title {
        font-size: 30px !important;
        line-height: 34px;
        text-align: left;
        max-width: 300px;
    }

    p.heading-desc {
        text-align: left;
    }

    h4.category-title {
        font-size: 16px !important;
        line-height: 23px;
        color: #071529 !important;
    }

    h6.status {
        font-size: 11px;
        line-height: 16px;
    }

    p.category-des {
        font-size: 13px;
        line-height: 20px;
    }

    .icon-dec p {
        font-size: 13px;
        line-height: 16px;
    }

    h4.price , h6.price {
        font-size: 16px !important;
        line-height: 23px;
    }

    a.view-btn {
        font-size: 11px;
        line-height: 16px;
        padding: 6px 31px;
    }

    .search-parent input {
        max-width: 100%;
    }

    .drop-down-one,
    .drop-down-two {
        max-width: 100%;
    }

    .select2-container {
        max-width: 100%;
    }

    ul.select2-selection__rendered {
        width: 90%;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__clear {
        margin-right: 40px;
    }

   /* .younggeogrf-section2 .container .is-sticky ul {
        position: relative;
        top: 0;
    }*/



}


@media only screen and (max-width: 640px) {

    .younggeogrf-section2 .container {
        display: flex;
        max-width: 100%;
        padding: 40px 20px;
        flex-direction: column;
    }
    .younggeogrf-section2 .content {
        padding-left: 0;
    }

}

@media only screen and (max-width: 460px) {

    .drop-down-one,
    .drop-down-two,
    select {
        max-width: 100%;
    }


    .cdhc-view-btn-wrap { margin-top: 30px; }
    .cdhc-view-btn-wrap a.cdhc-view-btn {
        padding: 12px 58px 12px 35px;
    }
    .cdhc-view-btn-wrap a.cdhc-view-btn::after {
        right: 30px;
    }

}