/*
Theme Name: Any Child
Theme URI: https://any.qodeinteractive.com/
Description: A child theme of Any Theme
Author: Edge Themes
Author URI: https://themeforest.net/user/edge-themes
Version: 1.0.1
Template: any
*/

.contact-form-informations .edgtf-icon-list-text {
  display: block;
  margin: 0;
}

.intro-text-description {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.about-us-values .edgtf-iwt.edgtf-iwt-icon-left.edgtf-iwt-icon-tiny .edgtf-iwt-content-holder {
  padding-left: 0;
}

.privacy-container .edgtf-title {
  padding: 25px 0;
  height: auto !important;
}

.privacy-container .edgtf-title-holder {
  height: auto !important;
}

.search-results .edgtf-title {
  display: block !important;
  padding: 25px 0;
  height: auto !important;
}

.search-results .edgtf-title-holder {
  height: auto !important;
}

.privacy-container .privacy-container .edgtf-container-inner {
  padding: 45px 0 !important;
}

.privacy-container .privacy-container .wp-block-heading {
  margin-bottom: 10px;
}

.faqs-section {
  padding: 35px 0;
}

.faqs-section .edgtf-section-inner-margin {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.reserve-banner {
  min-height: 400px;
  padding: 9% 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.d-none {
  display: none;
}

.contacts-home {
  padding: 50px 0;
}

.contacts-social-spacing {
  padding-bottom: 50px;
}

#edgtf-homepage-slider .edgtf-slide-element {
  max-width: 600px;
}

.page-id-6020 .edgtf-content .edgtf-content-inner > .edgtf-container > .edgtf-container-inner,
.page-id-6020 .edgtf-content .edgtf-content-inner > .edgtf-full-width > .edgtf-full-width-inner {
  padding: 0 !important;
}

.gallery-cars-list {
  padding-bottom: 100px;
}

.single-portfolio-item .edgtf-title.edgtf-has-background {
  height: 300px !important;
  background-size: cover !important;
}

.single-portfolio-item .edgtf-title-image {
  height: 100%;
}

.single-portfolio-item .edgtf-title-image img {
  height: 100%;
  object-fit: cover;
}

.edgtf-portfolio-single-holder .edgtf-portfolio-info-item:last-child:not(.edgtf-content-item) {
  border: none !important;
}

.portfolio-single-contact-section {
  padding: 50px 0;
}

/* Full Screen Slider related carousel: the theme's mixItUp reveals items too
   late on this template, leaving them visibility:hidden and the holder
   mis-measured. Make the carousel items visible at parse time so Slick sizes
   correctly. Related sliders never use mixItUp filtering, so this is safe. */
.edgtf-portfolio-related-holder article.edgtf-portfolio-item.mix {
  visibility: visible !important;
}

/* MENU */
.edgtf-page-header .edgtf-menu-area .edgtf-logo-wrapper a {
  padding: 10px 15px !important;
  background-color: #303030;
  max-height: 75px !important;
  max-width: 125px !important;
  height: auto !important;
}
.edgtf-position-left {
  height: auto !important;
  background-color: #303030;
}

/* Apply sticky-header style to standard header */

.edgtf-header-standard .edgtf-page-header {
  background-color: #303030;
}

.edgtf-header-standard .edgtf-page-header .edgtf-menu-area {
  height: 65px;
  width: 100%;
  background-color: #303030;
  box-sizing: border-box;
}
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-vertical-align-containers,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-position-left,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-position-right,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-position-center,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-position-left-inner,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-position-right-inner,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-position-center-inner {
  height: 100%;
}

.edgtf-header-standard .edgtf-vertical-align-containers {
  padding: 0 37px 0 0 !important;
}

.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-logo-wrapper a {
  max-height: 65px !important;
}
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-search-opener,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-side-menu-button-opener {
  color: #fff;
}
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-shopping-cart-outer .edgtf-shopping-cart-header .edgtf-cart-icon {
  color: #fff;
}
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-shopping-cart-outer .edgtf-shopping-cart-header .edgtf-cart-amount {
  color: #303030;
  background-color: #fff;
}
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-menu-appear .edgtf-line,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-fullscreen-menu-opener .edgtf-fullscreen-icon .edgtf-line {
  background-color: #fff;
}
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-main-menu > ul > li > a,
.edgtf-header-standard .edgtf-page-header .edgtf-menu-area .edgtf-main-menu > ul > li > a .edgtf-item-text {
  color: #fff;
}

/* Side menu icon list: top-align icon with first line of text */
.edgtf-side-menu .edgtf-icon-list-item .edgtf-icon-list-icon-holder,
.edgtf-side-menu .edgtf-icon-list-item .edgtf-icon-list-text {
  vertical-align: top;
}
.edgtf-side-menu .edgtf-icon-list-item .edgtf-icon-list-icon-holder-inner,
.edgtf-side-menu .edgtf-icon-list-item .edgtf-icon-list-icon-holder-inner i {
  line-height: 31px;
}

/* Footer icon list: top-align icon with first line of text */
footer .edgtf-icon-list-item .edgtf-icon-list-icon-holder,
footer .edgtf-icon-list-item .edgtf-icon-list-text {
  vertical-align: top;
}
footer .edgtf-icon-list-item .edgtf-icon-list-icon-holder-inner,
footer .edgtf-icon-list-item .edgtf-icon-list-icon-holder-inner i {
  line-height: 26px;
}

/* Footer: 2-column layout matching Figma */
footer .edgtf-footer-top {
  background-color: #1f1f1f;
  padding: 60px 130px 30px !important;
}
footer .edgtf-four-columns-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  float: none !important;
  width: 100% !important;
}
footer .edgtf-four-columns .edgtf-column {
  width: auto !important;
  float: none !important;
  padding: 0 15px;
}
footer .edgtf-four-columns .edgtf-column:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
}
footer .edgtf-four-columns .edgtf-column:nth-child(1) .edgtf-column-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}
footer .edgtf-four-columns .edgtf-column:nth-child(n + 2) {
  grid-column: 2;
}
footer .edgtf-four-columns .edgtf-column:nth-child(2) {
  grid-row: 1;
}
footer .edgtf-four-columns .edgtf-column:nth-child(3) {
  grid-row: 2;
}
footer .edgtf-four-columns .edgtf-column:nth-child(4) {
  grid-row: 3;
}

/* Footer widget headings: underline border */
footer .edgtf-footer-widget-title,
footer h6.edgtf-footer-widget-title {
  border-bottom: 1px solid #565656;
  padding-bottom: 24px;
  padding-top: 9px;
  margin-bottom: 20px;
  color: #ababab;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Footer images: constrain logos to Figma sizes */

/* CCA logo widget: align with right-column heading box (pt-9 + h63 + pb-24 = 96px) */
footer .edgtf-footer-column-1.widget_media_image:first-child {
  padding: 0 0 24px 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #565656;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 769px) {
  footer .edgtf-footer-column-1.widget_media_image:first-child {
    min-height: 96px;
  }
}

footer .edgtf-footer-column-1.widget_media_image:first-child figure {
  margin: 0;
}

footer .edgtf-footer-column-1.widget_media_image:first-child img {
  max-width: 125px;
  max-height: 63px;
  height: auto;
  width: auto;
  display: block;
}

/* Reset any borders/margins on subsequent image widgets (Livro Reclamações) */
footer .edgtf-footer-column-1.widget_media_image:not(:first-child),
footer .edgtf-footer-column-1.widget_media_image:not(:first-child) .wp-block-image {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer .widget {
  margin: 0 !important;
}

footer .edgtf-footer-column-1 .textwidget {
  margin: 10px 0 20px 0 !important;
}

@media (min-width: 769px) {
  footer .edgtf-footer-column-1 .textwidget {
    margin: 20px 0 40px 0 !important;
  }
}

footer .edgtf-footer-top a[href*="livroreclamacoes"] img {
  max-width: 179px;
  height: auto;
  display: block;
}

/* LINKS ÚTEIS / FOLLOW US heading box: match 96px height with logo box */
footer .edgtf-footer-column-2 > h6.edgtf-footer-widget-title,
footer .edgtf-footer-column-2:first-of-type h6.edgtf-footer-widget-title {
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  margin-top: 0;
}

@media (min-width: 769px) {
  footer .edgtf-footer-column-2 > h6.edgtf-footer-widget-title,
  footer .edgtf-footer-column-2:first-of-type h6.edgtf-footer-widget-title {
    min-height: 96px;
  }
}

/* FOLLOW US widget: heading and facebook icon on the same line */
footer .widget_text + a.edgtf-social-icon-widget-holder {
  display: none; /* will reposition via widget below */
}
footer .edgtf-footer-column-2.widget_text:has(h6.edgtf-footer-widget-title:only-child),
footer #text-27 {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  padding-bottom: 8px;
  margin-bottom: 0 !important;
}
footer #text-27 h6.edgtf-footer-widget-title {
  border-bottom: none !important;
  padding-bottom: 0;
  margin-bottom: 0;
  min-height: 0;
  display: inline-block;
}
/* Move the standalone social icon widgets into the FOLLOW US row, side by side.
   The widgets render as bare <a> siblings, so the column wraps them onto a
   single last line and that line is pulled up onto the title row. */
footer .edgtf-four-columns .edgtf-column:nth-child(2) .edgtf-column-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}
footer .edgtf-four-columns .edgtf-column:nth-child(2) .edgtf-column-inner > *:not(a.edgtf-social-icon-widget-holder) {
  flex: 0 0 100%;
  max-width: 100%;
}
footer .edgtf-four-columns .edgtf-column:nth-child(2) .edgtf-column-inner > a.edgtf-social-icon-widget-holder {
  display: inline-flex;
  align-items: center;
  margin-top: -40px; /* visually pull up onto the FOLLOW US row */
  position: relative;
  z-index: 2;
  padding: 0 0 8px 0;
}
footer .edgtf-four-columns .edgtf-column:nth-child(2) .edgtf-column-inner > a.edgtf-social-icon-widget-holder:first-of-type {
  margin-left: auto; /* keep the icon group aligned right */
}
footer .edgtf-four-columns .edgtf-column:nth-child(2) .edgtf-column-inner > a.edgtf-social-icon-widget-holder + a.edgtf-social-icon-widget-holder {
  margin-left: 16px;
}

/* Footer bottom (copyright) */
footer .edgtf-footer-bottom-holder {
  background-color: #1c1c1c;
  padding: 24px 0;
  text-align: center;
}

footer .edgtf-footer-bottom-holder p {
  margin: 0 !important;
}

footer .edgtf-footer-bottom-holder p a,
footer .edgtf-footer-bottom-holder p a:active,
footer .edgtf-footer-bottom-holder p a:focus,
footer .edgtf-footer-bottom-holder p a:visited {
  color: #fff;
}

footer .edgtf-footer-bottom-holder p a:hover {
  opacity: 0.7;
}

footer .edgtf-footer-bottom-holder .edgtf-footer-bottom-holder-inner,
footer .edgtf-footer-bottom-holder .edgtf-column-inner {
  text-align: center;
  width: 100%;
}

footer .edgtf-icon-list-item {
  max-width: 500px;
}

/* Mobile footer */
@media (max-width: 768px) {
  footer .edgtf-footer-top-holder .edgtf-column:not(:last-child) {
    margin: 0 !important;
  }
  footer .edgtf-footer-top {
    padding: 60px 24px 24px !important;
  }
  footer .edgtf-four-columns-inner {
    grid-template-columns: 1fr;
    gap: 30px 0;
  }
  footer .edgtf-four-columns .edgtf-column:nth-child(1),
  footer .edgtf-four-columns .edgtf-column:nth-child(n + 2) {
    grid-column: 1;
    grid-row: auto;
  }
  footer .edgtf-four-columns .edgtf-column {
    padding: 0;
  }
}

.edgtf-page-header .edgtf-menu-area {
  height: 95px !important;
}

#edgtf-homepage-slider {
  height: 100dvh !important;
}

#edgtf-homepage-slider .carousel-inner .item {
  height: 100%;
}
@media (max-width: 992px) {
  .edgtf-mobile-header .edgtf-mobile-logo-wrapper a {
    max-height: 70px;
  }
  .edgtf-vertical-align-containers {
    padding: 0 20px !important;
  }
  .edgtf-mobile-header .edgtf-grid {
    width: 100%;
  }

  .edgtf-vertical-align-containers .edgtf-position-center {
    text-align: right;
    left: -20px;
  }

  .edgtf-mobile-header .edgtf-mobile-menu-opener a {
    font-size: 20px;
  }

  .edgtf-mobile-header .edgtf-mobile-nav {
    padding: 0 20px;
  }
}

@media (min-width: 767px) {
  .privacy-container .edgtf-title {
    padding: 50px 0 25px;
  }

  .search-results .edgtf-title {
    padding: 50px 0 25px;
  }
  .conatcts-home {
    padding: 70px 0;
  }
  .contacts-home form {
    max-width: 700px !important;
  }
  .single-portfolio-item .edgtf-title.edgtf-has-background {
    height: 450px !important;
  }
  .portfolio-single-contact-section {
    padding: 75px 0;
  }
}

@media (min-width: 992px) {
  .reserve-banner {
    padding: 5% 0;
  }
  .faqs-section {
    padding: 70px 0;
  }
  .contacts-social-spacing {
    padding-bottom: 90px;
  }
  .contacts-home form {
    max-width: 700px !important;
    padding-left: 30px;
  }

  .gallery-cars-list {
    padding-bottom: 150px;
  }

  .faqs-section .edgtf-section-inner-margin {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .privacy-container .edgtf-title {
    padding: 75px 0 25px;
  }

  .privacy-container .privacy-container .edgtf-container-inner {
    padding: 90px 0 !important;
  }

  .search-results .edgtf-title {
    padding: 75px 0 25px;
  }

  .contact-form-informations .edgtf-icon-list-text p {
    margin: 0;
  }
  .contact-form-informations .edgtf-icon-list-text {
    max-width: 280px;
  }

  .about-us-values .edgtf-iwt.edgtf-iwt-icon-left.edgtf-iwt-icon-tiny .edgtf-iwt-content-holder {
    padding-left: 60px;
  }
  .contacts-home {
    padding: 100px 0;
  }
  .portfolio-single-contact-section {
    padding: 100px 0 150px 0;
  }
}

@media (min-width: 1400px) {
  .privacy-container .edgtf-title {
    padding: 105px 0 25px;
  }
  .search-results .edgtf-title {
    padding: 100px 0 25px;
  }
  .gallery-cars-list {
    padding-bottom: 200px;
  }
  .single-portfolio-item .edgtf-title.edgtf-has-background {
    height: 500px !important;
  }
}

/* === QA Phase 7 fixes (2026-05-26) === */



/* P1-2: WCAG 2.5.5 — minimum 44x44 tap targets on mobile.
   Targets: portfolio icon hovers, read-more icons, title links, slider arrows,
   filter pills, social icons, side-menu open/close, mobile menu opener. */
@media (max-width: 768px) {
  .edgtf-portfolio-icons-holder a,
  .edgtf-pl-item .edgtf-portfolio-icons-holder a,
  .edgtf-ptf-read-more,
  .edgtf-portfolio-title-link,
  .edgtf-portfolio-filter-holder li,
  .edgtf-portfolio-filter-holder a,
  .edgtf-st-loader,
  .edgtf-prev,
  .edgtf-next,
  .edgtf-owl-slider .owl-prev,
  .edgtf-owl-slider .owl-next,
  .edgtf-social-icon-widget-holder a,
  .edgtf-side-menu-button-opener,
  .edgtf-mobile-menu-opener,
  .edgtf-close-side-menu,
  .edgtf-side-menu a,
  .edgtf-fullscreen-menu-opener,
  .edgtf-search-opener {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Theme buttons render at ~29px height on mobile — bump to 44 */
  .edgtf-btn,
  .edgtf-btn.edgtf-btn-large,
  .edgtf-btn.edgtf-btn-medium {
    min-height: 44px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
  }
  /* Inline portfolio + small icon links — bump hit area without resizing icon */
  a.edgtf-icon,
  .edgtf-portfolio-categories a,
  .edgtf-info-meta-content a,
  .edgtf-portfolio-share a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
  }
}

.edgtf-portfolio-list-holder .edgtf-pl-item-image img,
.edgtf-portfolio-list-holder .edgtf-portfolio-item img,
.edgtf-pl-item .edgtf-pl-item-image img {
  aspect-ratio: auto !important;
}

.edgtf-portfolio-list-holder {
  min-height: 1px !important;
}

.edgtf-portfolio-single-holder {
  margin-bottom: 0 !important;
}

/* P1-15: font-display: swap on icon fonts — deferred. Cannot set globally;
   needs re-declaring the @font-face rules from parent theme with font-display.
   Plan: copy parent @font-face blocks for `linear-icons` + `elegant-icons` here
   with `font-display: swap;` once those are confirmed as the only kept ones. */

/* Portfolio single full-screen slider: make the opened info panel scrollable.
   Parent theme fixes the panel to height:100% with overflow:hidden and
   vertical-align:middle, so long descriptions get clipped top & bottom with
   no way to reach them. Align content to the top and allow vertical scroll. */
.edgtf-portfolio-slider-content.opened .edgtf-portfolio-slider-content-info {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
.edgtf-portfolio-slider-content.opened .edgtf-portfolio-slider-content-info .edgtf-ptf-table,
.edgtf-portfolio-slider-content.opened .edgtf-portfolio-slider-content-info .edgtf-ptf-table-cell {
  height: auto;
  vertical-align: top;
}
/* The panel column is narrow, but the 68px title is one unbreakable word
   ("Lamborghini") that overflows to the right and drags the whole text block
   past the visible edge. Shrink the title (fluid 34px→38px), let long words
   wrap, and set responsive panel padding so nothing is clipped on the right. */

.edgtf-portfolio-single-holder.full-screen-slider .edgtf-portfolio-slider-content {
  max-width: 500px !important;
  width: 100%;
}

.edgtf-portfolio-slider-content.opened {
  padding: 30px 25px 30px 40px !important; /* desktop */
}
@media (max-width: 1024px) {
  /* tablet */
  .edgtf-portfolio-slider-content.opened {
    padding: 35px !important;
  }
}
@media (max-width: 768px) {
  /* mobile */
  .edgtf-portfolio-slider-content.opened {
    padding: 25px !important;
  }
}
.edgtf-portfolio-slider-content.opened .edgtf-portfolio-title {
  font-size: clamp(34px, 27px + 0.9vw, 38px) !important; /* fluid 34→38 */
  line-height: 1.1em !important;
  letter-spacing: -1px !important;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.edgtf-portfolio-slider-content.opened .edgtf-portfolio-slider-content-info,
.edgtf-portfolio-slider-content.opened .egtf-ptf-content-holder,
.edgtf-portfolio-slider-content.opened .edgtf-portfolio-content {
  overflow-wrap: break-word;
  word-break: break-word;
}

.edgtf-portfolio-single-holder.full-screen-slider .edgtf-portfolio-slider-content.opened .edgtf-control.edgtf-close {
  right: 0 !important;
}

.edgtf-portfolio-single-holder.full-screen-slider .edgtf-portfolio-slider-content .edgtf-control {
  right: 25px !important;
}

.edgtf-image-pattern {
  display: none !important;
}

.carousel .carousel-inner .item .edgtf-image {
  height: 100% !important;
}

/* Galeria: while the filter auto-loads the pages missing for the selected category
   (see assets/js/portfolio-filter-fill.js), dim the grid and show a spinner so the
   partially filled grid does not read as "almost no results". */
.edgtf-ptf-filling {
  position: relative;
}

.edgtf-ptf-filling .edgtf-portfolio-list-holder {
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.edgtf-ptf-filling:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: any-child-ptf-filling-spin 0.8s linear infinite;
  z-index: 2;
}

@keyframes any-child-ptf-filling-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Portfolio full screen slider: gallery videos fill the slide like images and autoplay muted, so hide the player UI */
.edgtf-portfolio-full-screen-slider .edgtf-self-hosted-video-holder,
.edgtf-portfolio-full-screen-slider .edgtf-video-wrap,
.edgtf-portfolio-full-screen-slider .mejs-container,
.edgtf-portfolio-full-screen-slider .mejs-inner,
.edgtf-portfolio-full-screen-slider .mejs-mediaelement,
.edgtf-portfolio-full-screen-slider video.edgtf-self-hosted-video {
  width: 100% !important;
  height: 100% !important;
}

.edgtf-portfolio-full-screen-slider video.edgtf-self-hosted-video {
  object-fit: cover;
}

.edgtf-portfolio-full-screen-slider .mejs-controls,
.edgtf-portfolio-full-screen-slider .mejs-overlay,
.edgtf-portfolio-full-screen-slider .mejs-poster,
.edgtf-portfolio-full-screen-slider .mobile-video-image {
  display: none !important;
}

/* Homepage slider: background video kept on mobile (assets/js/slider-mobile-video.js) */
.edgtf-slider .edgtf-video .any-edge-child-mobile-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  z-index: 10;
}

.edgtf-slider .edgtf-video .any-edge-child-mobile-video video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.edgtf-slider .any-edge-child-has-mobile-video .edgtf-mobile-video-image {
  display: none !important;
}

/* Mobile: banners are 600px tall (homepage slider, car page full screen slider; the parent sets full screen heights in JS) */
@media (max-width: 799px) {
  .edgtf-slider,
  .edgtf-slider .carousel,
  #edgtf-homepage-slider,
  .full-screen-slider,
  .edgtf-full-screen-slider-holder,
  .edgtf-portfolio-full-screen-slider .edgtf-portfolio-single-media {
    height: 600px !important;
  }

  /* Slide text: bottom left, inside the screen with 20px sides, 70px from the banner bottom (clear of the pagination).
     The text frame is 57.29% of the width tall and centred in the 600px banner, hence the calc. */
  #edgtf-homepage-slider .edgtf-slide-element {
    left: 20px !important;
    width: calc(100% - 40px) !important;
    max-width: none;
    top: auto !important;
    bottom: calc(28.645vw - 230px) !important;
    text-align: left !important;
  }
}


/* P1-13: reserve aspect-ratio on portfolio thumbs to fix Galeria CLS 0.11 */
.edgtf-portfolio-list-holder .edgtf-pl-item-image img,
.edgtf-pl-item .edgtf-pl-item-image img {
  aspect-ratio: 1 / 1 !important;
  width: 100%;
  height: auto;
}


.edgtf-portfolio-list-holder-outer.edgtf-ptf-gallery.edgtf-ptf-has-filter  .edgtf-portfolio-item img{
	 aspect-ratio: 1 / 1 !important;
  width: 100%;
	height: auto;
}

.edgtf-portfolio-list-holder-outer.edgtf-ptf-gallery .edgtf-portfolio-item img{
	 aspect-ratio: auto !important;
  width: 100%;
	height: auto;
}