/* Source and licensing information for the line(s) below can be found at http://qcfilmcommission.ph/themes/custom/qcfc/css/paragraph-style.css. */
/* 
    QCFC - Paragraph Style
    Website CSS - Desktop
    By: Glimsol Web & Digital Solutions (PH)
*/

/* Global CSS  */
.paragraph-section{padding-block: 30px;}
.title { font-family: 'BiggerDisplay'; font-size: 3.5rem; line-height: 1.1; text-transform: uppercase;}
.red-small-title { font-size: 1rem; display: block; width: fit-content; background: var(--qcfc-red); padding: 6px 24px; border-radius: 20px; margin-bottom: 15px; color: var(--qcfc-white);}
.description strong { font-weight: 500; color: var(--qcfc-mid-blue);}
a.cta-btn::after { content: '\f061'; font: var(--fa-font-solid); margin-left: 7px;}
.cta-btn { display: block; width: fit-content; text-decoration: none; color: var(--qcfc-white); background: var(--qcfc-mid-blue); padding: 9px 20px; font-size: 0.8rem; border-radius: 8px; transition: all 300ms;}
.cta-btn:hover { background: var(--qcfc-red);}
.cta-btn.transparent { background: transparent; color: var(--qcfc-mid-blue); border: 1px solid var(--qcfc-mid-blue); padding: 6px 20px;}
.cta-btn.transparent:hover { background: var(--qcfc-mid-blue); color: var(--qcfc-white);}
.description :last-child{ margin-bottom: 0;}
.description { color: var(--qcfc-gray); line-height: 1.8;}

/* Layout Image With Description  */
.description-wrapper { height: 100%; display: grid; place-content: center; padding-inline: 20px;}
.description-wrapper > h3 { font-family: 'BiggerDisplay'; font-size: 4rem; text-transform: uppercase; letter-spacing: 1px;}
.description-wrapper  .description p { color: var(--qcfc-gray); line-height: 1.8;}
.colored-title { color: var(--qcfc-red);}
.image-wrapper { padding: 10px; position: relative;}
.image-wrapper img{width: 100%;}
.image-wrapper::before,
.image-wrapper::after { position: absolute;  content: ''; width: 160px; height: 160px; z-index: -1; border-radius: 3px;}
.image-wrapper::before{top: 0; left: 0; background: linear-gradient(180deg, rgba(28,59,149,1) 0%, rgba(0,16,52,1) 100%);}
.image-wrapper::after{bottom: 0; right: 0; background: linear-gradient(360deg, rgba(28,59,149,1) 0%, rgba(0,16,52,1) 100%);}

/* Layout Image With Description Uneven Width  */
.layout-image-description-uneven .image-wrapper {
    padding: 0;
}
.layout-image-description-uneven .image-wrapper::before,
.layout-image-description-uneven .image-wrapper::after {display: none;}

/* Layout Alternate Wrapper */
.alternate-content { display: grid; grid-template-columns: repeat(2, 1fr);}
.alternate-content .image-wrapper{padding: 0; overflow: hidden;}
.alternate-content .image-wrapper img{ width: 100%; position: absolute; object-position: center; height: 100%; object-fit: cover;}
.alternate-content .description-wrapper{  background: url('/themes/custom/qcfc/css/../assets/Background.png'); background-repeat: no-repeat; background-size: cover;  padding: 50px;}
.alternate-content .plain-title { color: var(--qcfc-white);}
.alternate-content .description-wrapper > h3{margin-bottom: 10px; line-height: 1;}
.alternate-content .description-wrapper .description p { color: var(--qcfc-white); font-weight: 300;}
.description-wrapper .description > :last-child{margin-bottom: 0;}
/* .alternate-content .description-wrapper > h3::after { content: ''; width: 175px; height: 4px; background: var(--qcfc-red); display: block;} */
/* .small-title { color: var(--qcfc-yellow);} */
.small-title { color: var(--qcfc-white); background: var(--qcfc-red); width: fit-content; padding: 6px 30px; border-radius: 20px; font-weight: 300; font-size: 0.9rem; margin-bottom: 12px;}

/* Layout 3 Images with description  */
.layout-3-images-description .image-wrapper{ padding: 0; display: grid; grid-template-areas: 'img1 img1' 'img2 img3'; gap: 10px; height: 100%; grid-template-rows: repeat(2, 1fr);}
.layout-3-images-description .image-wrapper::before,
.layout-3-images-description .image-wrapper::after{display: none;}
.layout-3-images-description .image-wrapper img{height: 100%;}
.layout-3-images-description .image-wrapper img:nth-child(1){grid-area: img1; aspect-ratio: 1 / 0.45; object-fit: cover; border-radius: 8px;}
.layout-3-images-description .image-wrapper img:nth-child(2){grid-area: img2; aspect-ratio: 1 / 0.45; object-fit: cover; border-radius: 8px;}
.layout-3-images-description .image-wrapper img:nth-child(3){grid-area: img3; aspect-ratio: 1 / 0.45; object-fit: cover; border-radius: 8px;}

/* Content: Webform  */
.webform-wrapper { padding: 40px 40px 30px; border-radius: 10px; border: 1px solid var(--qcfc-light-gray);}
.webform-wrapper .form-item-phone-number { display: flex; flex-direction: column;}
.webform-wrapper p { color: var(--qcfc-gray);}
.webform-wrapper .form-item label {  color: var(--qcfc-gray);}
.js-form-item-i-accept-the-privacy-policy .description { margin-left: 10px; font-size: 1rem;}
.js-form-item-i-accept-the-privacy-policy { display: flex; flex-direction: row-reverse; justify-content: flex-end;}
.js-form-item-i-accept-the-privacy-policy input{ margin-top: 3px;}
.webform-wrapper-left { padding: 40px 20px 30px 0;}
.webform-wrapper-left h2 { max-width: 400px; margin-bottom: 1.5em;}
.icon-w-description.paragraph-section { display: flex; align-items: flex-start; gap: 10px; padding-block: 0 20px;}
.icon-w-description img { width: 25px;}
.icon-w-description > div h4 { margin-bottom: 0; font-size: 1.2rem; color: var(--qcfc-gray);}
.icon-w-description > div span { max-width: 350px; display: block; margin-top: 5px; color: var(--qcfc-gray);}
.webform-wrapper #edit-actions input { width: 100%; background: transparent; color: var(--qcfc-blue); border: 2px solid var(--qcfc-blue); font-weight: 500; font-family: Neue Haas;}
.webform-wrapper-social { display: flex; gap: 10px;}
.webform-wrapper-social a { color: var(--qcfc-blue); box-shadow: 0px 3px 12px #00000029; width: 30px; height: 30px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: all 300ms;}
.webform-wrapper-social a:hover{ color: var(--qcfc-red);}

/* Content: View with Title  */
.content-view-title h3 { text-align: center; margin-bottom: 30px; max-width: 900px; margin-inline: auto;}
.content-view-title:has(.gray-background) { background: var(--qcfc-dirty-white);  margin-bottom: 30px;}
/* .content-view-title:has(.gray-background) + .content-view-title:has(.gray-background) {
    margin-bottom: 30px;
} */

/* Content QPM Partners */
.content-qpm-partners h3 { text-align: center;}
/* .qpm-partners-logo { display: flex; flex-wrap: wrap; gap: 25px; margin-inline: auto; max-width: 500px; justify-content: center; margin-top: 30px; align-items: center;}
.qpm-partners-logo img:nth-of-type(5) { height: 50px;}
.qpm-partners-logo img:nth-of-type(4) { height: 50px;} */
.qpm-partners-logo img { width: auto; height: 60px;}
.qpm-partners-logo { display: flex; flex-wrap: wrap; gap: 25px; margin-inline: auto;  justify-content: center; margin-top: 30px; align-items: center;}

/* Layout: View with Title and Description  */
/* .layout-views-header .small-colored-title { color: var(--qcfc-yellow); font-weight: 500; display: block;} */
.layout-views-header .small-colored-title{ padding: 6px 30px; width: fit-content; background: var(--qcfc-red); font-size: 0.9rem; border-radius: 20px; font-weight: 400; color: var(--qcfc-white); margin-bottom: 5px; display: block;}
.layout-views-header h3 { font-family: 'BiggerDisplay'; font-size: 4rem; text-wrap: balance; width: 400px; line-height: 1; color: var(--qcfc-darker-blue);}
.layout-views-header-description {color: var(--qcfc-gray);}
.layout-views-header .row { row-gap: 10px;}

/* Layout Video with Description  */
.layout-video-w-description .description-wrapper {padding-inline: 0;}
.layout-video-w-description .description-wrapper > h3 { font-size: 3.2rem; line-height: 1;}
/* .layout-video-w-description .small-colored-title { color: var(--qcfc-yellow); font-weight: 500; margin-bottom: 5px;} */
.layout-video-w-description .small-colored-title{ padding: 6px 30px; width: fit-content; background: var(--qcfc-red); font-size: 0.9rem; border-radius: 20px; font-weight: 400; color: var(--qcfc-white); margin-bottom: 15px;}
.layout-video-w-description .video-wrapper video  { width: 100%; height: auto;}
.video-wrapper { padding-right: 40px; height: 100%;}
.video-wrapper div {height: 100%;}
.video-wrapper iframe { width: 100%; height: 100%;}

/* Content: Search Film Location  */
.content-search-film-location { background: var(--qcfc-blue);}
.node-7 .main-contents{padding-top: 0;}
#by_category .accordion-button { padding-block: 10px; font-size: 1rem; font-weight: 500; background: var(--qcfc-mid-blue); color: white; letter-spacing: 1px; border-radius: 0; box-shadow: none;}
.search-keyword-wrapper { padding: 10px 30px; display: flex; gap: 10px; justify-content: space-between;}
.search-keyword-wrapper { padding: 10px 30px; display: flex; gap: 10px; justify-content: space-between; border: 2px solid var(--qcfc-white); margin-bottom: 30px; color: var(--qcfc-white); align-items: center;}
.search-keyword-wrapper input { background: transparent; border: none; width: 100%; color: var(--qcfc-white);}
.search-keyword-wrapper input:focus-visible { outline: none;}
.search-keyword-wrapper input::placeholder { color: var(--qcfc-light-gray); opacity: 0.6;}
.search-keyword-wrapper svg { scale: 1.2; cursor: pointer; transition: all 300ms;}
.search-keyword-wrapper svg:hover { filter: brightness(0.8);}
.search-action-wrapper button { width: 100%; padding: 7px; background: transparent; border: 2px solid var(--qcfc-yellow); font-weight: 400; margin-top: 30px; position: relative; transition: all 300ms;}
.search-action-wrapper button:after{ filter: brightness(0) invert(1);}
.search-action-wrapper button span{ display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--qcfc-yellow); position: relative; z-index: 3;}
.search-action-wrapper button:hover span{ color: var(--qcfc-white);}
.search-action-wrapper button::before { content: ''; height: 100%; width: 0%; position: absolute; background: var(--qcfc-yellow); transition: all 300ms; left: 0; top: 0;}
.search-action-wrapper button:hover::before{ width: 100%;}
.search-category-wrapper .accordion-body input{display: none;}
.search-category-wrapper .accordion-body { padding-block: 10px; display: flex; flex-direction: column; gap: 5px; border: 2px solid var(--qcfc-mid-blue); border-top: 0;}
.search-category-wrapper .accordion-item {border-radius: 0; border: none;}
.search-category-wrapper .accordion-body label { width: auto; font-weight: 400; color: var(--qcfc-blue); cursor: pointer;}
.search-category-wrapper .accordion-body label a{ text-decoration: none; color: var(--qcfc-blue); transition: all 300ms; display: flex; align-items: center; gap: 10px;}
.search-category-wrapper .accordion-body label a:hover { color: var(--qcfc-red);}
.search-category-wrapper .accordion-body label a::before { content: ''; width: 20px; height: 20px; display: block; background-size: contain; background-repeat: no-repeat;}
.category-37::before {background: url('/themes/custom/qcfc/css/../assets/Public-Facility.png');}
.category-38::before {background: url('/themes/custom/qcfc/css/../assets/Educational-Facility.png');}
.category-39::before {background: url('/themes/custom/qcfc/css/../assets/Leisure-Spaces.png');}
.category-40::before {background: url('/themes/custom/qcfc/css/../assets/Medical-And-welfare.png');}
.category-41::before {background: url('/themes/custom/qcfc/css/../assets/Ceremonial-and-Religious.png');}
.category-42::before {background: url('/themes/custom/qcfc/css/../assets/Transportation-Facilities.png');}
.category-43::before {background: url('/themes/custom/qcfc/css/../assets/Park-and-Nature.png');}
.category-44::before {background: url('/themes/custom/qcfc/css/../assets/football.png');}
.category-45::before {background: url('/themes/custom/qcfc/css/../assets/Local-Market.png');}
.category-46::before {background: url('/themes/custom/qcfc/css/../assets/Art-History-Culture.png');}
.category-47::before {background: url('/themes/custom/qcfc/css/../assets/Museum.png');}
/* .search-category-wrapper input[type="radio"]:checked+label { color: var(--qcfc-red);} */

/* Content: Description Paragraph  */
.description-paragraph .container > div{ max-width: 500px; margin-inline: auto;}
.description-paragraph .title{ font-family: 'BiggerDisplay'; font-size: 3.5rem;}
.description-paragraph { padding-block: 30px;}
.description-paragraph p {color: var(--qcfc-gray);}
.layout-image-description-bg.paragraph-section .description-wrapper { background: var(--qcfc-blue); color: var(--qcfc-white); background-size: cover; background-repeat: no-repeat; padding: 40px 80px;}
.layout-image-description-bg .row { --bs-gutter-x: 0;}
.layout-image-description-bg .description-wrapper > h3{ text-wrap: balance; line-height: 1;}
.layout-image-description-bg .description-wrapper .description p{ color: var(--qcfc-light-gray); font-weight: 300;}
.layout-image-description-bg.paragraph-section .col-12.col-md-6:has(img) { display: flex;}
.layout-image-description-bg.paragraph-section .col-12.col-md-6:has(img) img { height: 100%; object-fit: cover;}

/* Content: Application steps */
.steps-wrapper { display: flex; gap: 15px; margin-top: 50px; flex-wrap: wrap; row-gap: 35px;}
.application-step { position: relative; padding: 50px 30px 25px; text-align: center; flex: 1; box-shadow: 0px 3px 12px #A1A1A129; background: var(--qcfc-white);}
.application-step img { width: 70px; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);}
.application-step h6 { text-transform: uppercase; letter-spacing: 1px; font-size: 1.1rem; color: var(--qcfc-blue);}
.application-step span { line-height: 1.3; display: block;}
.application-steps { background: var(--qcfc-dirty-white); padding-block: 50px; margin-block: 20px;}

/* Content: Required Document */
ul.documents-list { list-style: none; padding: 0; column-count: 2; column-gap: 20px; margin-top: 25px;}
li.document-item { display: flex; align-items: center; gap: 10px; margin-bottom: 7px;}
.document-item img { width: 40px;}
.document-item h6 { margin-bottom: 0;}

/* Content: FAQs  */
.faqs .accordion{counter-reset: qa-accordion; border: none; border-radius: 0; margin-top: 25px;}
.faqs .accordion-item.qa-item button::before { counter-increment: qa-accordion; content: '0' counter(qa-accordion); width: auto; font-size: 1.5rem; font-weight: 700;}
.faqs .accordion-item.qa-item { border: none; border-radius: 0; border-top: 1px solid rgba(75, 75, 75, 0.2);}
.faqs .accordion-item.qa-item button { padding-inline: 0; background: none; font-weight: 500; box-shadow: unset !important;}
.faqs .accordion-item.qa-item .accordion-button { display: grid; gap: 20px; grid-template-areas: 'number span icon'; grid-template-columns: 80px 1fr auto;}
.faqs .accordion-item.qa-item .accordion-button:not(.collapsed){ color: var(--qcfc-blue);}
.faqs .accordion-item.qa-item .accordion-button:after,
.faqs .accordion-item.qa-item .accordion-button:not(.collapsed):after { content: '\f063'; background: none; font: var(--fa-font-solid); width: 30px; border-radius: 50%; background: var(--qcfc-dirty-white); height: 30px; display: flex; justify-content: center; align-items: center; padding-left: 1px; transition: all 300ms;}
.faqs .accordion-item.qa-item .accordion-body{ padding-left: 100px; padding-top: 0;}
.faqs .accordion-item.qa-item .accordion-body p:last-child { margin-bottom: 0;}
.faqs .accordion-item.qa-item:last-child { border-bottom: 1px solid rgba(75, 75, 75, 0.2);}
.faqs .accordion-item.qa-item .accordion-button:not(.collapsed)::after { background: var(--qcfc-blue); color: var(--qcfc-white);}

/* Layout: Description with 4 cards */
.layout-description-4-cards { text-align: center;}
.layout-description-4-cards .description { max-width: 500px; margin-inline: auto;}
.cards-w-logo { box-shadow: 0px 3px 12px #0000001A; height: 100%; padding: 20px;}
.cards-w-logo img { width: 55px; margin-bottom: 12px;}
.cards-w-logo > div { line-height: 1.3;}
.cards-w-logo > div strong { font-weight: 500; color: var(--qcfc-mid-blue);}
.four-cards-wrapper.row { row-gap: 20px; margin-top: 40px;}

/* Layout: Title with Decorated card */
.decorated-wrapper.row { row-gap: 20px; margin-top: 30px; counter-reset: decorated-card;}
.decorated-card { position: relative; padding: 30px; height: 100%; color: var(--qcfc-white); border-radius: 10px; overflow: hidden;}
.decorated-card::after { counter-increment: decorated-card; content: "0" counter(decorated-card); position: absolute; top: 30px; right: 30px; font-size: 2.3rem; line-height: 1; font-weight: 500;}
.decorated-card > img { position: absolute; width: 100%; height: 100%; z-index: -1; left: 0;top: 0; object-fit: cover;}
.decorated-card .img-wrapper img { border-radius: 50%; margin-bottom: 10px;}
.decorated-card .img-wrapper { margin-top: 100px;}
.decorated-card > div{ position: relative; z-index: 2; font-weight: 300;}
.decorated-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: ''; background: linear-gradient(180deg, rgba(255,255,255,0) 29%, rgba(75,75,75,0.1) 79%, rgba(35,35,35,0.4) 100%);}
.decorated-card > div p:last-child { margin-bottom: 0;}

/* Layout: Centered Title with Img Description */
.layout-centered-title-w-img-desc .red-small-title { margin-inline: auto; font-weight: 300;}
.layout-centered-title-w-img-desc .title { margin-inline: auto; max-width: 600px; line-height: 1.1;}
.logo-description { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; text-wrap: pretty; padding-right: 30px;}
.logo-description.mini-on {margin-bottom: 10px;}
.logo-description:last-child { margin-bottom: 0;}
.logo-description img { width: 60px;}
.logo-description.mini-on img { width: 35px;}
.logo-description > div { color: var(--qcfc-gray); margin-block: auto;}
.logo-description p:last-child { margin-bottom: 0; line-height: 1.3;}
.logo-description strong { color: var(--qcfc-mid-blue); font-weight: 500;}
.layout-centered-title-w-img-desc .main-wrapper{ margin-top: 25px;}
.header-wrapper .description { max-width: 350px; margin-inline: auto;}
/* .logo-description-wrapper { display: flex; flex-direction: column; justify-content: center; height: 100%;} */
.logo-description-wrapper { padding-top: 50px;}
.layout-centered-title-w-img-desc,
.layout-centered-title-w-img-desc .container {position: relative;}
.layout-centered-title-w-img-desc > img { width: 100%; position: absolute; top: -150px; z-index: -2; left: 0; height: calc(100% + 180px);}

/* Layout: description 2-3 image  */
.layout-description-w-2-3-img .main-wrapper .title { text-wrap: pretty;}
.layout-description-w-2-3-img .img-wrapper { height: 100%;}
.layout-description-w-2-3-img .image-grid-1-2 {display: grid;grid-template-columns: repeat(2, 1fr);gap: 10px;grid-template-rows: repeat(2, 1fr);grid-template-areas: 'img1 img1' 'img2 img3';}
/* .layout-description-w-2-3-img .image-grid-1-2:has( > img:nth-child(3)) */
.layout-description-w-2-3-img .image-grid-1-2 img:nth-child(1) { grid-area: img1;}
.layout-description-w-2-3-img .image-grid-1-2 img:nth-child(2) { grid-area: img2;}
.layout-description-w-2-3-img .image-grid-1-2 img:nth-child(3) { grid-area: img3;}
.layout-description-w-2-3-img .image-grid-1-2 img { border-radius: 8px; width: 100%; height: 100%; aspect-ratio: 1 / 0.45; object-fit: cover;}
.img-wrapper:has(.image-grid-1-2) { height: 100%;}
.img-wrapper .image-grid-1-2 { height: 100%;}
.layout-description-w-2-3-img .row { --bs-gutter-x: 5rem; row-gap: 30px;}
.layout-description-w-2-3-img .main-wrapper { display: flex; flex-direction: column; height: 100%; justify-content: center;}
.layout-description-w-2-3-img .main-wrapper .description p:last-child { margin-bottom: 0;}
.layout-description-w-2-3-img .main-wrapper .description { color: var(--qcfc-gray); margin-bottom: 0px; text-wrap: balance; }
.layout-description-w-2-3-img .list-wrapper { margin-top: 30px;}
.layered-image-stack-2-3 { position: relative; height: 100%;}
.layered-image-stack-2-3 img { width: 80%; height:auto; min-height: 220px; border-radius: 8px; aspect-ratio: 1 / 0.65; object-fit: cover; box-shadow: 0px 3px 6px #5B5B5B66;}
.layered-image-stack-2-3 img:nth-child(1){ float: right;}
.layered-image-stack-2-3 img:nth-child(2){ margin-block: -60px; position: relative; z-index:2}
.layered-image-stack-2-3:not(:has(img:nth-child(3))) img:nth-child(2){margin-block: -40px 0px; z-index: -1}
.layered-image-stack-2-3:not(:has(img:nth-child(3))) img{ width: 85%;}
.layered-image-stack-2-3:not(:has(img:nth-child(3))):not(:has(img:nth-child(2))) img { width: 100%; height: 100%;}
.layered-image-stack-2-3 img:nth-child(3){ float: right; margin-right: 40px;}
.imgpos-Left .layered-image-stack-2-3 img:nth-child(1){ float: left;}
.imgpos-Left .layered-image-stack-2-3 img:nth-child(2){ float: right;}
.imgpos-Left .layered-image-stack-2-3 img:nth-child(3){ float: left; margin-left: 40px;}
.layout-description-w-2-3-img .main-wrapper .footer-desc.description { margin-block: 30px;}

/* Content: Supporting your film journey  */
.support-list { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px;}
.support-list > div { width: calc(33.33% - 10px); border-radius: 8px; aspect-ratio: 1 / 0.6; object-fit: cover;}
.support-list > div:nth-child(5){flex: 1.5; aspect-ratio: 1/0.4;}
.support-list > div:nth-child(4){flex: 1.5; aspect-ratio: 1/0.4;}
.support-your-film-card { position: relative; overflow: hidden;}
.support-your-film-card a { position: absolute; height: 100%; top: 0; left: 0; width: 100%; z-index: 1; text-align: center; display: flex; flex-direction: column; justify-content: center; color: var(--qcfc-white); text-decoration: none;}
.support-your-film-card a > div { padding: 10px 20px 0; text-wrap: balance;}
.support-your-film-card:last-child a > div { padding-inline: 40px;}
.support-list > div img { height: 100%;}
.support-your-film-card .link-btn { margin-top: auto; color: var(--qcfc-white); text-align: center; background: var(--qcfc-red); padding: 8px; font-size: 0.85rem; transition: all 300ms; opacity: 0;}
.support-your-film-card:hover .link-btn { margin-bottom: 0 !important; opacity: 1;}
.support-your-film-card h6 { margin-top: auto;}
.support-your-film-card:hover::before { opacity: 0.3;}
.support-your-film-card::before { content: ''; width: 100%; height: 100%; position: absolute; background: var(--qcfc-mid-blue); opacity: 0.7; transition: all 300ms;}

/* Layout: 3 column with centered image  */
.inner-col-img { display: flex; flex-direction: column; gap: 50px; justify-content: space-between; height: 100%;}
.inner-col-img.mid-col img { height: 100%; width: 100%; object-fit: cover; height: 100%;}
.inner-col-img img { border-radius: 8px;}
.inner-col-img p:last-child { margin-bottom: 0;}
.col-with-img.row { row-gap: 20px;}
.inner-col-img p { color: var(--qcfc-gray);}

/* Content: Circle Image items  */
.circle-image-wrapper { max-width: 950px; margin: 30px auto 0; --bs-gutter-x: 2rem;}
.circle-image-item { color: var(--qcfc-gray); font-size: 1rem; text-align: center;}
.circle-image-item .c-img img { outline: 3px solid var(--qcfc-blue); border-radius: 50%;}
.circle-image-item .c-img { padding: 0 20px 20px;}
.circle-image-item p { line-height: 1.3; margin-bottom: 0;}
.content-circle-image h3 { max-width: 700px; line-height: 1.1; margin-inline: auto;}
.circle-image-item strong { color: var(--qcfc-mid-blue); font-weight: 500;}

/* Layout: CTA with Background image */
.cta-background {position: relative; border-radius: 8px; overflow: hidden;}
.layout-cta-bg img { position: absolute; height: 100%; object-fit: cover; width: 100%; left: 0; top: 0; z-index: -2;}
.cta-background > div { padding: 60px 30px; max-width: 600px; text-align: center; text-wrap: pretty; margin-inline: auto; color: var(--qcfc-white);}
.cta-background::before { content: ''; width: 100%; height: 100%; position: absolute; background: var(--qcfc-mid-blue); opacity: 0.8; z-index: -1;}
.cta-background > div a { color: var(--qcfc-white); text-decoration: none; font-size: 0.9rem; border-radius: 8px; border: 1px solid var(--qcfc-white); padding: 9px 60px; display: flex; width: fit-content; margin: 20px auto 0; position: relative; align-items: center; transition: all 300ms;}
.cta-background > div a::after { content: '\f061'; font: var(--fa-font-solid); margin-left: 10px;}
.cta-background .title{font-size: 3rem;}
.cta-background > div a:hover::before { width: 100%;}
.cta-background > div a::before { width: 0; content: ''; position: absolute; background: var(--qcfc-blue); height: 100%; left: 0; border-radius: 8px; z-index: -1; transition: all 400ms;}

/* Content: Leadership and Team  */
.member-img span { border: 4px solid var(--qcfc-white); background: var(--qcfc-mid-blue); color: var(--qcfc-white); padding: 6px 30px; display: block; max-width: 90%; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 30px; text-align: center; bottom: -22px; width: max-content; font-size: 0.9rem; font-weight: 300; line-height: 1.2;}
.member-img { position: relative; margin-bottom: 35px;}
.member-card h5 { color: var(--qcfc-mid-blue); margin-bottom: 0;}
.member-card {text-align: center;color: var(--qcfc-gray);}
.member-card p {margin-bottom: 0; font-size: 0.9rem;}
.member-card a { font-size: 0.9rem; color: var(--qcfc-blue); text-decoration: none; transition: all 300ms;}
.member-card a:hover {color: var(--qcfc-red);}
.members-wrapper.row {row-gap: 25px;}
.members-wrapper.row:not(:last-child) {
    margin-block: 25px;
}
.members-wrapper.row .member-img img { aspect-ratio: 796 / 746; object-fit: cover; border-radius: 5px;}

/* Layout: Alternate Small image with Description  */
.alternate-small-img .col-md-9 img { position: absolute; height: 100%; z-index: -2; border-radius: 8px; object-fit: cover;}
.small-img-info { height: 100%; padding-block: 80px; display: flex; flex-direction: column; justify-content: center; color: var(--qcfc-white);}
.alternate-small-img.img-Left .small-img-info { padding-left: 60px;}
.alternate-small-img.img-Right .small-img-info { padding-right: 60px; position: relative;}
.small-img-info > div > :last-child { margin-bottom: 0;}
.small-img-info h5 { font-size: 3.5rem; font-family: 'BiggerDisplay'; letter-spacing: 1px; text-wrap: pretty; line-height: 1.1;}
.layout-alternate-small-img > :not(:last-child) { margin-bottom: 30px;}
.alternate-small-img.img-Right .row { flex-direction: row-reverse;}
.alternate-small-img { position: relative; overflow: hidden;}
.alternate-small-img.img-Right .small-img::before { width: calc(100% + calc(var(--bs-gutter-x)* 1)); height: 100%; content: ''; position: absolute; top: 0; background: var(--qcfc-white); z-index: -1; right: 0;}
.alternate-small-img .small-img { position: relative; height: 100%;}
.small-img img { height: 100%; width: 100%; object-fit: cover; border-radius: 8px;}
.alternate-small-img.img-Right .col-md-9 img { left: 0; width: 75%; border-radius: 0;}
.alternate-small-img.img-Right .small-img-info::before,
.alternate-small-img.img-Right .small-img-info::after{ content: ''; position: absolute; top: 0; right: 0; height: 100%; width: 40px;}
.alternate-small-img.img-Right .small-img-info::before{ background: var(--qcfc-white);}
.alternate-small-img.img-Right .small-img-info::after{ background: var(--qcfc-mid-blue); border-top-right-radius: 8px; border-bottom-right-radius: 8px;}
.alternate-small-img .small-inner {height: 100%;}

/* Content: Step toward  */
.content-step-toward .container > img {position: absolute;top: 0;left: 0;height: 100%;width: 100%; z-index: -1}
.content-step-toward { position: relative;}
.content-step-toward .container { padding-block: 150px 120px;}
.content-step-toward .container > div { max-width: 700px;}
.content-step-toward .container > div .title { max-width: 600px;}

/* Layout: Description W/ BG */
.layout-description-w-bg .container > img {position: absolute;top: 0;left: 0;height: 100%;width: 100%; z-index: -1}
.layout-description-w-bg { position: relative;}
.layout-description-w-bg .container { padding-block: 100px 90px;}
.layout-description-w-bg .dwbg-logo-description {max-width: max-content; margin-left: auto;}
.dwbg-logo-description .logo-description { margin-bottom: 15px; font-weight: 500;}
.dwbg-logo-description .logo-description p { color: var(--qcfc-black);}
.dwbg-logo-description .logo-description a:hover { color: var(--qcfc-red);}
.dwbg-logo-description .logo-description a { text-decoration: none; color: var(--qcfc-black); transition: all 300ms;}

/* Layout: Description with Table  */
.layout-description-w-table.paragraph-section { background: var(--qcfc-dirty-white); padding-block: 60px; margin-block: 30px;}
.layout-description-w-table table { margin-top: 40px; width: 100%;}
.layout-description-w-table table thead th { font-weight: 400; padding: 8px 20px; line-height: 1.6;}
.layout-description-w-table table thead { background: var(--qcfc-gradient-blue); color: var(--qcfc-white);}
.layout-description-w-table table td { padding: 15px 20px; border-bottom: 1px solid rgba(75, 75, 75, 0.4);}
.layout-description-w-table table tr:nth-child(even) { background: #E9E9E980;}
.layout-description-w-table table td :last-child { margin-bottom: 0;}
.layout-description-w-table table td:first-child { width: 60%;}
.layout-description-w-table table td:last-child { color: var(--qcfc-blue);}

/* Layout: Description with Img & accordion  */
.layout-description-w-img-accor table { margin-top: 40px; width: 100%;}
.layout-description-w-img-accor table thead th { font-weight: 400; padding: 8px 20px; line-height: 1.6;}
.layout-description-w-img-accor table thead { background: var(--qcfc-gradient-blue); color: var(--qcfc-white);}
.layout-description-w-img-accor table td { padding: 15px 20px; border-bottom: 1px solid rgba(75, 75, 75, 0.4);}
.layout-description-w-img-accor table tr:nth-child(even) { background: #E9E9E980;}
.layout-description-w-img-accor table td :last-child { margin-bottom: 0;}
.layout-description-w-img-accor table td:first-child { width: 60%;}
.layout-description-w-img-accor table td:last-child { color: var(--qcfc-blue);}
.ldwa-details { max-width: 800px; margin-inline: auto;}
.layout-description-w-img-accor.bg-white-dirty { margin-block: 30px; padding-block: 60px; background: var(--qcfc-dirty-white);}
.accordion-wrapper-ldwa > h6 { margin-bottom: 0; font-weight: 400; padding: 8px 20px; color: var(--qcfc-white); background: var(--qcfc-gradient-blue); line-height: 1.6;}
.accordion-wrapper-ldwa { margin-top: 40px;}
.accordion-wrapper-ldwa .accordion-item { padding: 15px 20px; border-bottom: 1px solid rgba(75, 75, 75, 0.4);}
.accordion-wrapper-ldwa .accordion-body > :last-child { margin-bottom: 0;}
.accordion-wrapper-ldwa .accordion-body { padding-top: 10px; color: var(--qcfc-gray);}
.accordion-wrapper-ldwa .accordion-body strong { font-weight: 500;}
.accordion-wrapper-ldwa .accordion-item button { color: var(--qcfc-blue);}
.accordion-wrapper-ldwa .accordion-item .accordion-button:after,
.accordion-wrapper-ldwa .accordion-item .accordion-button:not(.collapsed):after { content: '\f063'; background: none; font: var(--fa-font-solid); width: 30px; border-radius: 50%; background: var(--qcfc-dirty-white); height: 30px; display: flex; justify-content: center; align-items: center; padding-left: 1px; transition: all 300ms;}
.accordion-wrapper-ldwa .accordion-item .accordion-button:not(.collapsed)::after { background: var(--qcfc-blue); color: var(--qcfc-white); transform: rotate(180deg);}
.layout-description-w-img-accor .col-12.col-md-8 .padpos-Left { padding-left: 40px;}
.layout-description-w-img-accor .col-12.col-md-8 .padpos-Right { padding-right: 40px;}
.layout-description-w-img-accor .image-wrapper-ldwa{ padding: 0; display: grid; height: 100%;}
.layout-description-w-img-accor .image-wrapper-ldwa:has(img:nth-child(2)):has(img:nth-child(3)) { gap: 10px; grid-template-areas: 'img1 img1' 'img2 img3'; grid-template-rows: repeat(2, 1fr);}
.layout-description-w-img-accor .image-wrapper-ldwa:has(img:nth-child(2)):not(:has(img:nth-child(3))) { gap: 10px; grid-template-areas: 'img1 img2'; grid-template-rows: repeat(1, 1fr);}
.layout-description-w-img-accor .image-wrapper-ldwa img{height: 100%;}
.layout-description-w-img-accor .image-wrapper-ldwa img:nth-child(1){grid-area: img1; object-fit: cover; border-radius: 8px;}
.layout-description-w-img-accor .image-wrapper-ldwa:has(img:nth-child(2)) img:nth-child(1){aspect-ratio: 1 / 0.45;}
.layout-description-w-img-accor .image-wrapper-ldwa img:nth-child(2){grid-area: img2; aspect-ratio: 1 / 0.45; object-fit: cover; border-radius: 8px;}
.layout-description-w-img-accor .image-wrapper-ldwa img:nth-child(3){grid-area: img3; aspect-ratio: 1 / 0.45; object-fit: cover; border-radius: 8px;}
.layout-description-w-img-accor .description-w-img-accor-details{ height: 100%; display: flex; flex-direction: column; justify-content: center;}
.layout-description-w-img-accor .description-w-img-accor-details.padpos-Right{ padding-right: 20px;}
.layout-description-w-img-accor .description-w-img-accor-details.padpos-Left{ padding-left: 20px;}

/* Content: Milestones  */
.content-milestone { position: relative; margin-block: 30px;}
.content-milestone > .container{ padding-block: 80px; }
.content-milestone > .container > img { position: absolute; top: 0; width: 100%; left: 0; height: 100%; z-index: -1;}
.milestones-wrapper { margin-top: 40px; max-width: 1000px; margin-inline: auto;}
.milestone-item { display: grid; grid-template-areas: 'm-date m-separator m-description'; grid-template-columns: 80px 75px 1fr; align-items: center; padding-block: 40px; position: relative;}
.milestone-date { grid-area: m-date;}
.milestone-separator { grid-area: m-separator; position: relative;}
.milestone-description { grid-area: m-description; border-left: 2px dashed; padding-inline: 20px; min-height: 3.5ch; display: flex; flex-direction: column; justify-content: center;}
.milestone-date{ text-transform: uppercase; font-family: 'BiggerDisplay'; line-height: 1;}
.milestone-date h6 { font-size: 3rem; margin-bottom: 0; max-height: 47px;}
.milestone-date span { font-size: 1.5rem;}
.milestone-description :last-child { margin-bottom: 0;}
.milestone-item::after { content: ''; height: 100%; width: 2px; background: var(--qcfc-black); position: absolute; left: 100px;}
.milestone-separator::before { content: ''; width: 16px; height: 16px; background: var(--qcfc-blue); position: absolute; top: 50%; transform: translateY(-50%); left: 13px; z-index: 2; border-radius: 50%; border: 2px solid #f9f9f9;}
.milestone-separator::after { content: ''; width: calc(100% - 13px); height: 2px; background: var(--qcfc-black); position: absolute; top: 50%; left: 13px;}
/* Source and licensing information for the above line(s) can be found at http://qcfilmcommission.ph/themes/custom/qcfc/css/paragraph-style.css. */