.header-banner img { 
	width: 100vw !important; 
}

.about-sco-section .elementor-element-populated {
    align-content: center;
}

.about-sco-banner-section {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.about-sco-banner-section .elementor-element-populated h5 {
    font-family: var(--gothammedium) !important;
    line-height: inherit !important;
    color: var(--white);
}

.about-sco-banner-section  .elementor-element-populated {
    max-width: 75%;
    color: var(--white);
    text-align: center;
    margin: auto;
}

.about-sco-banner-section.sco-bio-pg .elementor-element-populated {
    max-width: 60%;
}

.sco-description-section .elementor-widget-text-editor:not(.-unspace):first-child p {
    margin-top: revert;
}

.sco-description-section .elementor-widget-container {
    max-width: 1024px;
    margin: auto;
}

/* Tender page */
.tender-section .accordion-item {
    border: 1px solid rgba(231, 40, 62, 0.15);
    border-radius: 5px;
    overflow: hidden;
}

.tender-section .accordion-item:last-child {
    margin-bottom: 0;
}

.tender-section .accordion-item.open .accordion-header {
    background: linear-gradient(90deg, transparent 0%, var(--papayawhip) 40%);
}

.tender-section .accordion-item.closed .accordion-header {
    background: linear-gradient(90deg, transparent 0%, var(--granitegrey) 140%);
}

.tender-section .accordion-header {
    padding: 28px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    border: 1px solid rgba(231, 40, 62, 0.15);
    margin: -1px;
}

.tender-section .accordion-header .tender-title {
    flex-grow: 1;
    margin-right: 10px;
    font-family: var(--gothammedium);
}

.tender-section .accordion-header .tender-status {
    font-family: var(--gothammedium);
}

.tender-section .accordion-body {
    padding: 15px;
    display: none;
    /* Hidden by default */
}

.tender-section .accordion-item.active .accordion-body {
    display: block;
    /* Show when active */
    padding: 28px 40px;
}

.tender-section .red-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--imperialred);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}
.tender-section .red-button:hover,
.tender-section .red-button:focus {
    background: var(--scored) !important;
    background-color: var(--scored) !important;
    color: var(--white) !important;
}

.conductors-section .post__wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.conductors-section .post__image {
    flex: 0 0 240px;
    /* Fixed width for the image */
    margin-right: 20px;
    /* Space between image and text */
}

.conductors-section .post__content {
    flex: 1;
    /* Allow content to take remaining space */
}

.conductors-section .post__header {
    margin-bottom: 15px;
}

.conductors-section .elementor-post__title {
    font-size: var(--font-size-40) !important;
    margin-top: 5px;
}

.conductors-section .elementor-post__excerpt {
    margin: 0px !important;
}

.conductors-section .elementor-post__read-more {
    padding: 12px 16px;
    border: 1px solid var(--imperialred);
    border-radius: 5px;
    text-decoration: none;
    color: var(--imperialred);
    font-weight: bold;
    font-size: inherit !important;
    line-height: 1;
}

.conductors-section .elementor-post__thumbnail {
    padding-bottom: 0px !important;
}

.conductors-section .elementor-post__contents_wrapper {
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
}

.conductors-section .elementor-post__contents_wrapper p {
    color: inherit !important;
}

.conductors-section .elementor-post__text {
    display: flex !important;
    gap: 16px !important;
}

.conductors-section .elementor-post__custom_meta-data {
    order: -1;
    margin-bottom: 8px;
    color: var(--imperialred);
    /* Move meta-data to the top */
}

.conductors-section .elementor-post__contents_wrapper > .elementor-post__thumbnail__link {
    display: none !important;
}

.conductors-section .elementor-post__thumbnail__link {
    margin: 0px !important;
    width: fit-content !important;
}

.conductors-section .elementor-post__text .elementor-post__thumbnail__link {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conductors-section .elementor-post__thumbnail__link img {
    aspect-ratio: 1;
    width: 240px !important;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Conductor and Composer detail page */
.header-banner {
    background-color: var(--black);
}

.header-banner img {
    height: 600px;
    width: auto;
    object-fit: cover;
}

.post-contents .content-col {
    width: 100% !important;
}

.post-contents .image-col:not(:has(img))  {
    width: 0% !important;
}

.post-contents .elementor-container:has(img) {
    gap: 60px;
}

/* Musicians Page */
.musician-section section.separator:last-child::after {
    display: none;
}

.musician-section section.separator:after {
    margin: 72px 0;
}

.musician-section #section-title {
    padding-bottom: 30px;
}

.musician-section #posts-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 80px;
    padding: 0 3em;
    max-width: 1280px;
    margin: auto;
}

.musician-section .person-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.musician-section .profile-subtag {
	margin-bottom: 10px;
}
.musician-section .profile-image {
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
}

.musician-section .profile-image img {
    width: 180px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
}

.musician-section .profile-details {
    width: 100%;
}

.musician-section .profile-title {
    font-size: var(--font-size-20);
    font-weight: bold !important;
    color: var(--imperialred);
}

.musician-section .profile-role,
.musician-section .profile-section {
    margin: 3px 0;
    font-size: var(--font-size-16);
}

.musician-section .profile-section {
    line-height: var(--line-height-114);
    font-family: var(--gothammedium);
}

.musician-section .profile-role {
    font-family: var(--gothammedium);
}

.musician-section .filter-categories {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center !important;
}
.musician-section .term-wrapper {
	padding-bottom: 50px;
}
.musician-section .term-title {
	padding-bottom: 50px;
}
.filter-categories label {
    padding: 8px 16px;
    border: 1px solid #222;
    border-radius: 5px;
    cursor: pointer;
    margin: 0;
}

.filter-categories label:hover {
    background-color: #e0e0e0;
}

.filter-categories .filter-category-checkbox {
    display: none;
}

.filter-categories label:has(.filter-category-checkbox:checked){
    background-color: var(--scored);
    color: var(--white);
    border-color: var(--scored);
}

.fancybox__slide .fancybox__content {
    padding: 0px;
    border-radius: 15px;
    width: 80%;
}

.fancybox__slide .fancybox__content .background {
    display: grid;
    grid-template-columns: 2fr 6fr;
    gap: 30px;
    padding: 50px;
    padding-right: 300px;
    padding-bottom: 10% !important;
    width: 100%;
    background-position: top !important;
    border-radius: 10px;
    aspect-ratio: 20 / 13;
}

.fancybox__slide .fancybox__content .profile-role,
.fancybox__slide .fancybox__content .profile-section {
    margin: 0px;
    color: var(--imperialred);
}

.fancybox__slide .fancybox__content h2 {
    margin-top: 8px;
}

.fancybox__content .background {
    /* background-image: linear-gradient(180deg, rgba(255, 241, 219, 0.75) 0%, rgba(255, 241, 219, 0.00) 100%), url(/wp-content/uploads/music-score/music-score-detail-bg.png) !important; */
    background-repeat: no-repeat !important;
    background-position: bottom !important;
    background-size: 100% !important;
}

.fancybox__content .is-close-btn {
    transform: translate(-20px, 60px);
    color: red;
    border: 3px solid red;
    border-radius: 50%;
}

.fancybox__content .image img {
    width: 950px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
}

.fancybox__content .image {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
    height: fit-content;
}

.year-group {
    border: 1px solid rgba(231, 40, 62, 0.15);
}

.year-group .previous-year-item {
    padding: 28px 40px;
    border-bottom: 1px solid rgba(231, 40, 62, 0.15);
    margin-bottom: -1px;
    border-radius: 5px;
}

.year-group .previous-year-item .tender-title {
    font-family: var(--gothammedium);
}

/* SCO Tour */
.timeline-section h1 {
    padding-left: 80px;
}

/* Engage SCO */
.engage-sco-pg h1 {
    margin-bottom: 8px;
}

/* SNYCO */
.featured-post {
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 0 150px;
}
.featured-post .featured-item {
    max-width: 33.33vw;
    color: var(--white);
    z-index: 1;
}
.featured-post .featured-item span.custom_meta_item,
.featured-post .featured-item h2 {
    margin: 0 0 10px;
}
.featured-post .featured-item .excerpt {
    margin: 0;
}
.featured-post .featured-item .featured-cta {
    margin: 25px 0 0;
    display: inline-block;
}
.featured-post .featured-item .featured-cta a {
    color: var(--chineseblack);
    font-family: var(--gothammedium);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 5px;
}
.snyco-description .elementor-widget-container {
    max-width: 71.11vw;
    margin: 0 auto;
}
.snyco-description p:not(:last-child) {
    margin: 0 0 15px;
}
.snyco-description a {
    padding: 20px 24px;
    border-radius: 5px;
    font-family: var(--gothammedium);
}
#snyco-featured .overlay-details {
	padding: 0 150px;
	display: flex;
	flex-flow:
	column wrap;
	align-items: flex-start;
	justify-content: center;
}
#snyco-featured .card-details {
	max-width: 33.33vw;
  	color: var(--white);
  	z-index: 1;	
}
#snyco-featured .card .image-holder img {
	transform: scale(1.7);
}
#snyco-featured .heading .subtitle + .title {
	padding-top: 0px;
}
#snyco-featured .description {
	max-width: 33.33vw;
	z-index: 1;
	color: var(--white);
	margin-top: 10px;
	font-size: var(--font-size-16);
    	line-height: var(--line-height-150);
}

/* End SNYCO */

/* SCMC */
.scmc-competition-guide h1 {
    margin: 0 0 10px;
}
.scmc-competition-guide p {
    margin: 0 0 16px;
}
.scmc-description p:not(:last-child) {
    margin: 0 0 15px;
}
/* End SCMC */




@media only screen and (max-width: 992px) {
    .musician-section .filter-categories {
        justify-content: unset !important;
        overflow: auto;
        scrollbar-width: none;	/* Firefox */
        -ms-overflow-style: none;	/* Internet Explorer 10+ */
		scroll-behavior: smooth;
    }
    .musician-section .filter-categories label {
        white-space: nowrap;
    }
    .musician-section .filter-categories::-webkit-scrollbar {
		display: none;	/* Chrome, Safari */
	}


    .conductors-section .elementor-grid-tablet-2 .elementor-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    #snyco-featured .overlay-details {
        padding: 0 50px;
    }
    #snyco-featured .description {
        max-width: 100%;
    }
    
}
@media only screen and (max-width: 767px) {
    .musician-section #posts-list {
        grid-template-rows: 1fr;
        grid-auto-flow: column;
        grid-auto-columns: 240px;
        gap: 10px;
        overflow: auto;
        padding: 0;
        scrollbar-width: none;	/* Firefox */
        -ms-overflow-style: none;	/* Internet Explorer 10+ */
		scroll-behavior: smooth;
        grid-template-columns: unset;
    }
    .musician-section::-webkit-scrollbar {
		display: none;	/* Chrome, Safari */
	}
    .musician-section .filter-categories {
        justify-content: unset !important;
        overflow: auto;
    }
    .musician-section .filter-categories label {
        white-space: nowrap;
    }




    #snyco-featured .card .image-holder img {
        height: 300px;
        object-fit: cover;
        transform: none;
    }
    #snyco-featured .card-details {
    /* #snyco-featured .description { */
        max-width: 100%;
    }
    #snyco-featured .overlay-details {
        /* padding: 16px; */
        flex-flow: row wrap;
        justify-content: flex-start;
        align-items: center;
    }
    .banner:not(.-with-overlay-image) .overlay-details .icon-button {
        height: 34px;
        width: 34px;
        min-width: unset;
    }
    .scmc-competition-guide h1 {
        margin-top: 16px;
    }
}
@media only screen and (max-width: 640px) {
    .conductors-section .post__wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* @media only screen and (max-width: 468px) {
    .conductors-section .post__wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
} */
