/* 
    QCFC - Paragraph Style
    Website CSS - Desktop
    By: Glimsol Web & Digital Solutions (PH)
*/

/* Global CSS  */
.paragraph-section {
  padding-block: 30px;
}
.section-margin {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Layout Image With Description  */
/* .description-wrapper { height: 100%; display: grid; place-content: center; padding-inline: 20px;} */
.description-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 20px;
}
.description-wrapper > h3 {
  font-family: "BiggerDisplay";
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--qcinema-blue-text);
}
.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 {
  font-family: "Futura-Bold";
  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);
}

/* Layout: Logo Container */
.logo-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 4em;
  row-gap: 20px;
  align-items: center;
}

/* Layout: Table W/ Title */
.layout-table-w-title tbody {
  border-top: 2px solid #ddd;
}
.layout-table-w-title .row-content p:last-of-type,
.layout-table-w-title .row-content ul:last-of-type {
  margin-bottom: 0;
}
.layout-table-w-title .row-title {
  text-transform: uppercase;
  font-family: "Futura-Bold";
}
.layout-table-w-title tr {
  border-bottom: 1px solid #bbbbbb;
}
.layout-table-w-title table tr th {
  padding: 10px;
  background-color: #ddd;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #d2d2d2;
  text-decoration: none;
  text-align: center;
}
.layout-table-w-title table tr td {
  padding: 10px;
  border-left: 1px solid #d2d2d2;
}
.layout-table-w-title .table-buttons {
  display: flex;
  gap: 16px;
}
.layout-table-w-title .table-buttons a {
  display: inline-block;
  line-height: 1;
  color: #222;
  border: 1px solid #ccc;
  padding: 15px 20px;
  background-color: transparent;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

/* Layout: Title w/ desc */
.title-w-desc .title {
  text-transform: uppercase;
  font-size: 3rem;
}

/* Layout: paragraph-w-btns */
.layout-paragraph-w-btns .buttons a {
  border-radius: 50px;
}
.layout-paragraph-w-btns .wrapper {
  margin: 0 auto;
  max-width: 700px;
}
.layout-paragraph-w-btns .paragraph {
  text-align: center;
}

/* Layout: Countdown w/ Texts */
.layout-countdown .countdown-timer {
  margin: 0 auto;
  max-width: 600px;
  padding: 1.2em 2em;
  background-color: var(--qcfc-dirty-white);
}
.layout-countdown .countdown-timer .time-left-label {
  font-family: "Futura-Bold";
  font-size: 1.3rem;
}
.layout-countdown .countdown-timer .time-box {
  display: flex;
  gap: 5px;
}
.layout-countdown .countdown-timer .time-box::after {
  content: ":";
  font-size: 3rem;
  display: flex;
  align-items: center;
  color: var(--qcfc-mid-blue);
  margin-left: 0.7rem;
}
.layout-countdown
  .countdown-timer
  .countdown-row
  .col-4:last-child
  .time-box::after {
  display: none;
}
.layout-countdown .countdown-timer .countdown-row .row > * {
  padding-right: 0;
}
.layout-countdown .countdown-timer .time-box .digit {
  background-color: black;
  color: white;
  flex: 1 0 auto;
  border-radius: 10px;
  font-size: 3rem;
  padding: 5px 20px;
}
.layout-countdown .countdown-timer small {
  color: var(--qcfc-mid-blue);
  font-weight: 600;
}
.layout-countdown .countdown-image {
  display: flex;
  justify-content: center;
}
.layout-countdown .countdown-image img {
  max-width: 100px;
  height: auto;
}
.layout-countdown .buttons a {
  border-radius: 50px;
  margin-top: 2rem;
}
.layout-countdown .wrapper {
  margin: 0 auto;
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.layout-countdown .paragraph {
  text-align: center;
}

/* Layout: Photo Gallery */
.photo-gallery .photo-gallery-wrapper img {
  aspect-ratio: 360 / 230;
  object-fit: cover;
}

/* Layout: Accordion w/ Texts */
.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%;
}
.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: 30px;
}
.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 .description {
  padding-right: 40px;
}

/* Section w/ Texts & CTA Button */
.section-texts-cta {
  background-color: var(--qcfc-blue);
  color: white;
  padding-block: 100px;
}
.section-texts-cta .title {
  font-size: 3rem;
  margin-bottom: 2rem;
}
.section-texts-cta .section-description {
  font-size: 1.2rem;
}

/* Sign Me Up Section */
.sign-me-up-section {
  padding-block: 100px;
  margin-bottom: 0;
  background-color: var(--qcfc-blue);
}
.sign-me-up-section .title {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: white;
}

/* Project Cards w/ Text Details */
.project-cards-w-text-details .title {
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: -0.5px;
  color: #292929;
}

.project-cards-w-text-details .section-description {
  font-size: 24px;
  font-weight: 400;
  line-height: 31.25px;
  letter-spacing: -0.5px;
  color: #292929;
}
.project-cards-w-text-details .project-compilation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3em;
  margin-top: 60px;
}
.project-cards-w-text-details .project-compilation-cards a {
  text-decoration: none;
  color: black;
}
.project-cards-w-text-details .projects-card-wrapper {
  background-color: #f2f6fa;
  padding: 4rem 3rem;
  border-radius: 50px;
  transition: transform 0.2s ease;
}
.project-cards-w-text-details .projects-card-wrapper:hover {
  transform: translateY(-15px);
  transition: transform 0.2s ease;
}
.project-cards-w-text-details .project-title {
  font-size: 2rem;
  font-family: "Futura-Bold";
  line-height: 39.06px;
  letter-spacing: -0.05em;
}
.project-cards-w-text-details .project-description {
  line-height: 31.25px;
  font-size: 1.5rem;
}
.project-cards-w-text-details .img-wrapper {
  border-radius: 10px;
  overflow: hidden;
}

/* Moving Photo Gallery */
.custom-button-header {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 6px 9px;
  width: 225px;
  height: 60px;
  gap: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  transition: width 0.3s ease, color 0.5s ease-in;
}
.custom-button-header:hover .expanding-bg-header {
  width: 100%;
  transition: width 0.3s ease;
}
.custom-button-header:hover .button-text-header {
  color: white;
  transition: width 0.3s ease, color 0.5s ease-in;
}
.button-group-header {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  width: 100%;
  gap: 10px;
}
.circle-button-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: black;
  position: relative;
  z-index: 2;
  color: white;
}
.expanding-bg-header {
  position: absolute;
  left: 0;
  width: 48px;
  height: 100%;
  background: black;
  border-radius: 50px;
  transition: all 0.2s ease;
  z-index: 1;
}
.button-text-header {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 31.25px;
  color: black;
  transition: color 0.3s ease-in-out;
  position: relative;
  z-index: 3;
}
/* .scroller-wrapper {
  position: relative;
}
.scroller-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
} */
.scroller {
  /* max-width: 600px; */
  max-width: 100%;
}
.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroller__inner img {
  max-width: 300px;
  height: auto;
  border-radius: 25px;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  /* -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent); */
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

.image-grid-layout .grid-images{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 10px;
}
.image-grid-layout .grid-images img {
  width: 100%;
  height: auto;
}

@media (max-width: 410px){
  .image-grid-layout .grid-images{
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
}