/*!
Theme Name: wax departamento
Author: meredithpeters.com
Description: Theme for WAX Departamento.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wax-departamento
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

wax departamento is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Fonts
--------------------------------------------------------------*/
@font-face {
  font-family: "Helvetica LT Std";
  src: url("assets/fonts/Helvetica-LT-Std-Roman.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: "Helvetica LT Std";
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

.page-137 footer {
    position: fixed;
    bottom: 0;
    left: 0;
}

.elementor-137 .elementor-element.elementor-element-af77a52 {
    grid-template-rows: 30% 70%;
    grid-template-columns: 12% 38% 12% 38%;
}

.swiper-zoom-container {
	height: 100vh!important;
}

.elementor-lightbox .swiper .elementor-swiper-button-next {
	display: none!important;
}

.elementor-lightbox .swiper .elementor-swiper-button-prev {
	display: none!important;
}

@media (max-width: 767px) {
  #post-11 .elementor-widget-image img {
    height: 63vw!important;
  }

  #post-9 .elementor-widget-image img {
    height: 63vw!important;
  }

  .homepage-logo {
	top: 55px!important;
	left: 1.5vw!important;
	width: 10rem!important;
  }

  .homepage-tagline {
    bottom: 2rem!important;
    right: 2rem!important;
    font-size: 1.25rem!important;
}

.post-15 .e-grid img {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.post-15 .elementor-widget-text-editor {
    z-index: 9999;
}
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-family: "Helvetica LT Std", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif!important;
  	font-size: 11px;
  	line-height: 1.4;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "Helvetica LT Std", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif!important;
  	
}

p {
	margin-bottom: 1.5em;
	font-family: "Helvetica LT Std", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif!important;
  	
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Helvetica LT Std", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #000;
}

a:visited {
	color: #000;
}

a:hover,
a:focus,
a:active {
	color: #000;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a:active {
	border-top: 1px solid black;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.homepage-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 9999999999;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

#post-9 .elementor-widget-image img {
    height: 21vw;
    width: auto;
    object-fit: cover;
}

#post-11 .elementor-widget-image img {
    height: 21vw;
    width: auto;
    object-fit: cover;
}

.page-id-15 .custom-logo-link {
	display: none;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100vw;
	position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
	z-index: 9999;
    mix-blend-mode: difference;
    filter: invert(1);
    transition: transform 0.05s 
linear;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	justify-content: space-between;
	align-items: center;
    padding: 10px 1.25vw;
	height: 48px;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* NAV UNDERLINE */

/* Navigation container */
.main-navigation {
  position: fixed;
}

/* Menu items */
.main-navigation .menu-item > a {
  position: relative;
  display: inline-block;
  padding-top: 4px;
  text-decoration: none;
  color: #000;
}

/* Hide old underlines */
.main-navigation .menu-item > a::before {
  display: none !important;
}

/* The menu itself needs specific positioning */
.main-navigation .menu {
  position: fixed;
}

.menu-menu-1-container {
	border-bottom: 1px solid black;
}

/* Mobile navigation - 3 columns, 2 rows, vertical flow */
@media (max-width: 767px) {
  
	.menu-menu-1-container {
		border-top: 1px solid black;
		border-bottom: none !important;
	}
	
	.main-navigation ul {
		height: auto!important;
		width: 150px;
		background-color: white;
        border-right: 1px solid black;
		border-bottom: 1px solid black;
		padding-left: 0.75rem;
	}
	
}

/* Shared moving underline - positioned just below the text */
/* Navigation container */
.main-navigation {
  position: fixed;
}

/* Menu items */
.main-navigation .menu-item > a {
  position: relative;
  display: inline-block;
  padding-top: 4px;
  text-decoration: none;
  color: #000;
}

/* Hide old underlines */
.main-navigation .menu-item > a::before {
  display: none !important;
}

/* The menu itself needs specific positioning */
.main-navigation .menu {
  position: fixed;
}

/* Shared moving underline - positioned just below the text */
/* Shared moving underline - positioned just below the text */
.main-navigation .menu-underline {
  position: absolute;
  top: auto; /* Don't anchor to top */
  bottom: 10px; /* Position below the links */
  left: 0;
  height: 1px;
  width: 90px;
  background-color: #000;
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* END MOVING NAV UNDERLINE 
---------------------------------------- */

/* Mobile menu underline positioning */
@media (max-width: 767px) {
  .main-navigation .menu {
    position: relative !important;
  }
  
  .main-navigation .menu-underline {
    bottom: auto !important;
    position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 80px !important;
  }
}

/* DISABLE FOCUS OUTLINE IN NAV */

/* Remove all focus/active states from navigation links */
.main-navigation .menu-item > a,
.main-navigation .menu-item > a:focus,
.main-navigation .menu-item > a:active,
.main-navigation .menu-item > a:visited {
  outline: none !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Also target the list item itself */
.main-navigation .menu-item,
.main-navigation .menu-item:focus,
.main-navigation .menu-item:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove any ::before or ::after that might be showing */
.main-navigation .menu-item > a:focus::before,
.main-navigation .menu-item > a:active::before,
.main-navigation .menu-item > a:focus::after,
.main-navigation .menu-item > a:active::after {
  display: none !important;
}

/* END DISABLE FOCUS OUTLINE IN NAV 
---------------------------------------- */

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
    background: none;
    border: none;
    outline: none;
    font-size: 2rem;
    margin: 0;
    padding: 0.5rem;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}


/* Model Carousel
--------------------------------------------- */

/* Fix the carousel overflow issues */
#marilen-carousel .swiper-wrapper {
  align-items: flex-start;
}

#marilen-carousel .swiper {
  overflow: visible; /* Allow slides to extend beyond container */
}

#marilen-carousel .elementor-image-carousel-wrapper {
  overflow: hidden; /* Clip at the outer container instead */
}

/* Keep your existing slide widths */
#marilen-carousel .swiper-slide:nth-child(odd) {
  width: 13% !important;
  flex-shrink: 0;
}

#marilen-carousel .swiper-slide:nth-child(even) {
  width: 37% !important;
  flex-shrink: 0;
}

/* Ensure proper alignment */
#marilen-carousel .swiper-slide {
  display: flex;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}

#marilen-carousel .swiper-slide-inner {
  width: 100%;
  margin: 0;
}

#marilen-carousel .swiper-slide-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-id-137, .page-id-472 {
	overflow: hidden;
}

.model-stats {
	text-transform: none!important;
}


/* Mobile layout for Marilen/Model pages */
@media (max-width: 767px) {

	#mobileModelStats {
	display: block!important;
}
  
  /* Make nav solid white on mobile */
  .main-navigation {
    mix-blend-mode: normal !important;
    filter: none !important;
	  z-index: 99999;
  }
  
  /* Page structure - ALLOW SCROLLING */
  .page-id-137 {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  
  /* Main container - stack vertically */
  .page-id-137 .elementor-element-dda2ef8 {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 60px !important;
  }
  
  /* HIDE the desktop grid completely on mobile */
  .page-id-137 .elementor-element-af77a52 {
    display: none !important;
  }
  
  /* SHOW the text element outside the grid - make it sticky */
  .page-id-137 .elementor-element-e0263cb {
    display: block !important;
    position: sticky !important;
    top: 55px !important;
    background: white !important;
    z-index: 999 !important;
    padding: 10px !important;
    padding-bottom: 10px !important;
    width: 100% !important;
  }
  
  /* Text styling */
  .page-id-137 .elementor-element-e0263cb p {
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }
  
  /* Hide spacers on mobile */
  .page-id-137 .elementor-widget-spacer {
    display: none !important;
  }
  
  /* CAROUSEL - Force vertical with infinite scroll - TOUCHES text box */
  #marilen-carousel {
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    margin-top: -20px !important;
    padding-top: 0 !important;
  }
  
  #marilen-carousel .swiper {
    display: block !important;
    height: auto !important;
  }
  
  #marilen-carousel .swiper-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
  }
  
  /* STAGGERED SIZES - NO GAPS between images */
  #marilen-carousel .swiper-slide:nth-child(odd) {
    width: 90vw !important;
    max-width: 500px !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  #marilen-carousel .swiper-slide:nth-child(even) {
    width: 60vw !important;
    max-width: 300px !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  #marilen-carousel .swiper-slide-inner {
    width: 100% !important;
  }
  
  #marilen-carousel .swiper-slide-inner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Logo - FIXED position touching bottom of text box */
  .page-id-137 .custom-logo-link {
    position: fixed !important;
    right: 20px !important;
    top: 16.75vh !important;
    width: 45px !important;
    z-index: 1000 !important;
    transform: none !important;
  }
  
  /* Footer */
  .page-id-137 footer {
    margin-top: 20px !important;
  }
}

/* END MOBILE LAYOUT FOR MODEL PROFILES
-------------------------------------------- */

/* Talent Carousel - Subtle staggered widths AND heights on desktop */
@media (min-width: 768px) {
  /* Make sure carousel fills the full width and loops properly */
  #talentCarousel .swiper {
    width: 100% !important;
  }
  
  #talentCarousel .swiper-wrapper {
    width: 100% !important;
  }
  
  /* Varying widths */
  #talentCarousel .swiper-slide {
    width: 10% !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+1) {
    width: 10% !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+2) {
    width: 8.5% !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+3) {
    width: 11% !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+4) {
    width: 9.5% !important;
  }
  
  /* Varying heights - subtle differences */
  #talentCarousel .swiper-slide:nth-child(5n+1) img {
    height: 100% !important;
    object-fit: cover !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(5n+2) img {
    height: 95% !important;
    object-fit: cover !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(5n+3) img {
    height: 105% !important;
    object-fit: cover !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(5n+4) img {
    height: 98% !important;
    object-fit: cover !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(5n+5) img {
    height: 102% !important;
    object-fit: cover !important;
  }
  
  #talentCarousel .swiper-slide-inner {
    width: 100% !important;
    height: 100% !important;
  }
  
  #talentCarousel .swiper-slide-inner img {
    width: 100% !important;
    display: block !important;
  }
}

/* MOBILE LAYOUT FOR TALENT PROFILES */
@media (max-width: 767px) {
  
  /* Make nav solid white on mobile */
  .page-template-page-talents .main-navigation {
    background: white !important;
    mix-blend-mode: normal !important;
    filter: none !important;
  }
  
  /* Page structure - ALLOW SCROLLING */
  .page-template-page-talents {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  
  /* Main container - stack vertically */
  .talents-container {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 60px !important;
  }
  
  /* Text box - sticky at top with border */
  .talents-container .talents-text {
    position: sticky !important;
    top: 55px !important;
    background: white !important;
    z-index: 999 !important;
    padding: 10px !important;
    border-bottom: 1px solid black !important;
    width: 100% !important;
    display: block !important;
  }
  
  /* Lorem ipsum text */
  .talents-container .talents-bio p {
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }
  
  /* Name/title element - position it to the left */
  .talents-container .talents-name {
    position: absolute !important;
    left: 10px !important;
    top: 100% !important;
    width: 25% !important;
    z-index: 998 !important;
    margin-top: 10px !important;
  }
  
  .talents-container .talents-name p {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  
  /* Carousel - touching the text box border */
  #talentCarousel {
    width: 100% !important;
    margin-top: -20px !important;
    padding: 0 !important;
    position: relative !important;
  }
  
  #talentCarousel .swiper {
    display: block !important;
    height: auto !important;
    width: 100% !important;
  }
  
  #talentCarousel .swiper-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
  }
  
  /* VARYING WIDTHS - staggered like model carousel */
  #talentCarousel .swiper-slide:nth-child(4n+1) {
    width: 65vw !important;
    max-width: 450px !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+2) {
    width: 45vw !important;
    max-width: 300px !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+3) {
    width: 70vw !important;
    max-width: 500px !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  #talentCarousel .swiper-slide:nth-child(4n+4) {
    width: 50vw !important;
    max-width: 350px !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  #talentCarousel .swiper-slide-inner {
    width: 100% !important;
  }
  
  #talentCarousel .swiper-slide-inner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Logo - FIXED position touching bottom of text box - CORRECTED */
  .page-template-page-talents .custom-logo-link {
    position: fixed !important;
    right: 5px !important;
    top: 26vh !important; /* nav height + top padding + bottom of lorem text */
    width: 45px !important;
    z-index: 1000 !important;
    transform: translateY(100%) !important; /* Push it down by its own height */
    mix-blend-mode: normal !important;
    filter: none !important;
  }
  
  /* Footer */
  .page-template-page-talents footer {
    margin-top: 20px !important;
    position: relative !important;
  }
}

/* Homepage hero image - 50vh on mobile */
@media (max-width: 767px) {

	#pdhVideo .elementor-wrapper {
		aspect-ratio: 4/5 !important;
	}

.custom-logo-link {
	width: 55px!important;
}


  .page-id-7 .elementor-element-3f0f5085 > .elementor-element:first-child img {
    height: 50vh !important;
    width: 100% !important;
    object-fit: cover !important;
  }
}

.page-template-page-talents footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 1vw;
	padding-bottom: 5px;
    text-transform: none;
    font-size: 9px;
}

footer {
    padding-left: 0;
	padding-bottom: 5px;
    text-transform: none;
    font-size: 9px;
}

.page-template-page-talents .custom-logo-link {
    position: fixed;
    right: 0;
    top: 50%;
    width: 70px;
    z-index: 9999;
    mix-blend-mode: difference;
    filter: invert(1);
    transition: transform 0.05s 
linear;
    pointer-events: none;
    transform: translate(-50%, -50%) !important;
}

/* Posts and pages
--------------------------------------------- */

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.entry-header {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  position: fixed;
  right: 1rem;
  top: 0;                 /* <-- back to 0 so JS has full control */
  width: 70px;
  z-index: 9999;
  mix-blend-mode: difference;
  filter: invert(1);
  transition: transform 0.05s linear;
  pointer-events: none;   /* remove this if you want it clickable */
}

.home .custom-logo-link {
    display: none;
}

.homepage-logo {
    position: absolute;
    top: 3rem;
    left: 15rem;
	width: 16rem;
}

.homepage-tagline {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-weight: 300;
    font-size: 2rem;
	-webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.home {
	overflow: hidden;
}

.post-15 .e-grid img {
    height: 100vh;
	position: fixed;
	top: 48px;
	right: 0;
}

.post-15 .e-grid {
    height: 100vh;
    overflow: hidden;
}

.page-id-15 footer {
    position: absolute;
    bottom: 0;
    left: 1vw;
}

.page-id-15 {
	overflow: hidden;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* LOCATIONS PAGE 
------------------------- */

/* Fix gap at bottom of locations carousel */
.page-id-13 .swiper-slide,
.page-id-13 .swiper-slide-inner,
.page-id-13 .swiper-slide figure {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page-id-13 .swiper-slide-inner img {
  display: block !important;
  margin-bottom: 0 !important;
}

/* Remove line-height issues */
.page-id-13 .elementor-image-carousel {
  line-height: 0 !important;
  font-size: 0 !important;
}

.page-id-13 .swiper {
  line-height: 0 !important;
}

.contact-text {
	text-transform: none!important;
}

.contact-info {
    position: absolute!important;
    right: 15rem;
    top: 10rem;
}

.page-id-2 footer {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999999999;
    padding-left: 1vw;
}

/* Force the wrapper to 4:5 */
.palacio-de-hualle-video .elementor-wrapper {
    aspect-ratio: 6 / 5 !important;
    height: auto !important;
}

/* Make the <video> behave inside that aspect box */
.palacio-de-hualle-video .elementor-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or "contain" depending on the mockup */
}

.page-id-7 footer, .page-id-11 footer, .page-id-13 footer {
	padding-left: 1vw;
}

.page-id-9 footer {
	padding-left: 1vw;
}

@media (min-width: 768px) {

/* Force locations carousel row to be shorter - 90vh */
.page-id-13 .elementor-element-216ed75e {
  display: grid !important;
  grid-template-rows: 90vh auto !important;
}

.page-id-13 .elementor-element-54eeb838 {
  height: 90vh !important;
  overflow: hidden !important;
}

/* Make carousel fill the constrained height */
.page-id-13 .elementor-element-1db4166 {
  height: 100% !important;
}

.page-id-13 .elementor-element-1db4166 .swiper,
.page-id-13 .elementor-element-1db4166 .elementor-image-carousel-wrapper {
  height: 100% !important;
}

/* Force slides to fill height and crop */
.page-id-13 .elementor-element-1db4166 .swiper-slide {
  height: 90vh !important;
}

.page-id-13 .elementor-element-1db4166 .swiper-slide-inner {
  height: 100% !important;
  width: 100% !important;
}

.page-id-13 .elementor-element-1db4166 .swiper-slide-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Make sure text grid is visible */
.page-id-13 .elementor-element-2c7d176 {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.page-id-13 .elementor-element-500eb88f,
.page-id-13 .elementor-element-707c8f26 {
  display: block !important;
  visibility: visible !important;
}

}

@media (max-width: 767px) {

	•, body, a, a:hover, a:active, a:visited, h1, h2, h3, h4, h5, h6, p, ul, li {
		font-size: 9px !important;
	}

	.page-id-804 footer {
		padding-left: 4vw!important;
	}

	.desktop-contact-grid {
		display: none !important;
	}

	.mobile-contact-grid {
		display: block !important;
	}

}

.mobile-contact-grid {
	display: none;
}

/* Talent card hover images */
.talent-image-hover {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

.talent-image-default {
  position: relative !important;
  transition: opacity 0.3s ease !important;
}

/* Show hover image ONLY on the direct parent container hover */
.e-con:hover > .talent-image-hover {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.e-con:hover > .talent-image-default {
  opacity: 0 !important;
}

.page-id-137 footer {
	position: absolute;
	bottom: 0;
	left: 1vw;
}

/* CONTACT PAGE MOBILE FIX */
@media (max-width: 767px) {
  
  /* Force the grid to collapse */
  .page-id-15 .e-con-inner,
  .page-id-15 .e-grid {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
  }
  
  /* Remove grid template rows that create fixed heights */
  .page-id-15 .elementor-element-e28eed4 {
    grid-template-rows: none !important;
    display: block !important;
    min-height: 0 !important;
  }
  
  /* Target the specific containers */
  .page-id-15 .elementor-element-af347c1 {
    min-height: 0 !important;
    padding-top: 5px !important;
  }
  
  .page-id-15 .elementor-element-af347c1 .e-con-inner {
    display: block !important;
    min-height: 0 !important;
  }
  
  /* Text elements should stack normally */
  .page-id-15 .elementor-widget-text-editor {
    margin-bottom: 5px !important;
  }
  
.contact-mobile-bg-image {
    position: fixed!important;
    top: 0;
    left: 0;
    opacity: 0.1;
    height: 100vh;
    width: 100vw;
	display: inline-block!important;
}

.contact-mobile-bg-image img {
    height: 100vh!important;
    width: 100vw!important;
}

}

.contact-mobile-bg-image {
	display: none;
}

.page-id-804 footer {
	padding-left: 1vw;
}

/* Target only the Models page (page ID 11) - images only */
.elementor-page-11 .e-grid .e-con.e-child img {
    width: 100%;
    aspect-ratio: 4/4; /* Adjust ratio as needed: 3/4, 1/1, etc. */
    object-fit: cover;
    object-position: center;
}

.page-id-1914 footer {
	padding-left: 1vw;
}

.page-id-1966 footer {
	left: 1vw;
	bottom: 0;
	position: absolute;
}

.page-id-1966 {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

/* base state */
.menu-toggle .burger-line {
    transition: transform 0.35s ease;
    transform-origin: center center;
}

/* when menu is open -> only the middle line changes */
button.menu-toggle[aria-expanded="true"] .line-2 {
    transform: rotate(15deg) scaleX(1);
}

.menu-toggle svg {
    overflow: visible;
}