/* 
    QCFC - Paragraph Style
    Website CSS - Desktop
    By: Glimsol Web & Digital Solutions (PH)
*/

/* Global CSS  */
.paragraph-section{padding-block: 30px;}

/* 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('../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;}
/* .alternate-content .description-wrapper > h3::after { content: ''; width: 175px; height: 4px; background: var(--qcfc-red); display: block;} */
.small-title {
    color: var(--qcfc-yellow);
}

/* Layout 3 Images with description  */
.layout-3-images-description .image-wrapper{ padding: 0; display: grid; grid-template-areas: 'img1 img1' 'img2 img3'; gap: 10px;}
.layout-3-images-description .image-wrapper::before,
.layout-3-images-description .image-wrapper::after{display: none;}
.layout-3-images-description .image-wrapper img:nth-child(1){grid-area: img1;}
.layout-3-images-description .image-wrapper img:nth-child(2){grid-area: img2;}
.layout-3-images-description .image-wrapper img:nth-child(3){grid-area: img3;}

/* Content: Webform  */
.webform-wrapper { padding: 15px 40px; 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 40px 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 30px;}
.icon-w-description img { width: 25px;}
.icon-w-description > div h4 { margin-bottom: 0; font-size: 1.2rem;}
.icon-w-description > div span { max-width: 350px; display: block;}
.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;}

/* Content: View with Title  */
.content-view-title h3 { text-align: center; margin-bottom: 30px;}
.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 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 .video-wrapper video, .video-wrapper iframe { width: 100%; height: auto;}
.video-wrapper { padding-right: 40px;}

/* 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;
}
.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: 10px;
    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: 100%;
    font-weight: 400;
    color: var(--qcfc-blue);
    cursor: pointer;
}
.search-category-wrapper input[type="radio"]:checked+label { color: var(--qcfc-yellow);}

/* Content: Tables items */
.content-tables-items {
    color: var(--qcfc-white);
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.table-item .Yellow{background-color: var(--qcfc-yellow);}
.table-item .Orange{background-color: var(--qcfc-orange);}
.table-item h5 {
    border: 2px solid var(--qcfc-white);
    padding: 8px;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
    border-bottom: 0;
}
.table-item table {
    border: 2px solid var(--qcfc-white);
    width: 100%;
}
.table-item table td {
    padding: 8px;
    border-bottom: 2px solid var(--qcfc-white);
    border-right: 2px solid var(--qcfc-white);
    font-size: 0.9rem;
}
.table-item:has(.Yellow) table td > strong {
    color: var(--qcfc-yellow);
    font-weight: 400;
}
.table-item:has(.Orange) table td > strong {
    color: var(--qcfc-orange);
    font-weight: 400;
}
.content-tables-items > img {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -500px;
    z-index: -1;
    object-fit: cover;
    filter: blur(4px);
}
.content-tables-items .row {
    row-gap: 30px;
}