 /* HIDE DURING PAGE LOAD (show via JS)
-------------------------------------------------- */



/* CUSTOMIZE THE GLOBAL STYLES
-------------------------------------------------- */

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
:root {
    --text-shadow-base: 1px 1px 3px rgba(0,0,0,.25);
    --box-shadow-base: 1px 1px 10px rgba(0,0,0,.25);
    --form-shadow-base: 0 3px 10px rgba(0,0,0,.2);
    --color-base-darker: #000000;
    --color-base-dark: #4a4a4a;
    --color-base-medium: #9d9d9c;
    --color-base-light: #eeeeee;
    --color-base-lighter: #ffffff;
    --color-contrast-dark: #09678c;
    --color-contrast-medium: #0081c3;
    --color-contrast-light: #1baae2;
}
html {
    -webkit-text-size-adjust: 100%;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

body {
    font-family: clother, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
	color: var(--color-base-dark);
    background-color: #fff;
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
}
.uberBg {
	position: fixed;
    z-index: -100;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; 
	background-color: rgba(255,255,255,0);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    transition: all ease 1s;
}
.persistent .uberBg {
	background-color: rgba(255,255,255,0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.fullBg {
	position: fixed;
    z-index: -101;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;  
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-color: #ddd;
    transition: all ease-out 1s;
}
.persistent .fullBg {
    top: -5%;
    left: -5%;
    width: 110%;
    height: 120%
}
a {
    text-decoration: none;
    color: var(--color-base-darker);
    transition: all ease .5s;
}
a i {
	color: var(--color-contrast-medium);
}
a:hover {
    color: var(--color-contrast-medium);
}
a,
a:focus,
a:hover,
a:active {
    outline: none;
}
h1 {
    font-family: rigid-square, sans-serif;
    font-weight: 800;
    font-style: normal;
    margin-top: 0;
}
h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: rigid-square, sans-serif;
    font-weight: 700;
    font-style: normal;
}
h1, .h1 {  
    font-size: 2.2rem;
}
h2, .h2 {
    font-size: 1.8rem;
    color: var(--color-contrast-medium);
	padding-top: 1em;
}
h3, .h3 {
    font-size: 1.4rem;
	padding-top: 1em;
}
h4, .h4 { 
    font-size: 1.2rem;
}
figure {
	margin: 0;
}
img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* FORMS
-------------------------------------------------- */

/* HEADER
-------------------------------------------------- */

a#top {
    position: absolute;
    margin-top: -1px;
}
.siteHeader {
    position: fixed;
    z-index: 30;
    top: 0; 
    left: 0;
    right: 0;
    bottom: auto;
    background-color: #fff;
    box-shadow: var(--box-shadow-base);
    height: 100px;
    border-top: 1px solid transparent;
    transition: all ease .5s;
}
.persistent .siteHeader {
    height: 60px;
    border-top-color: var(--color-contrast-medium);
}
.headerLogo {
    width: auto;
    height: 60px;
    position: absolute;
    z-index: 3;
    top: 30px;
    left: 20px;
    transition: all ease .5s;
}
@media (min-width: 400px) {
  .headerLogo {
      height: 80px;
      top: 20px;
    }
  }
.persistent .headerLogo {
    height: 60px;
    top: 0;
}
.headerLogo a,
.headerLogo a:hover,
.headerLogo a:visited {
    line-height: 60px;
}
.persistent .headerLogo a,
.persistent .headerLogo a:hover,
.persistent .headerLogo a:visited {
    line-height: 40px;
}


/* Menus Container */
.compactMenu {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 0;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
    transition: all ease .5s;
}
.persistent .compactMenu {
    top: 0;
}

/* Lateral Bar */
.lateralBar {
    position: fixed;
    z-index: 1;
    background-color: rgba(255,255,255,0.5);
    border-left: 1px solid var(--color-contrast-medium);
    top: 0;
    right: -80px;
    bottom: 0;
    width: 80px;
    transition: all ease .5s;
}
@media (min-width: 666px) {
    .persistent .lateralBar {
        right: 0;
    }
    .lateralBar span {
        font-size: .8rem;
        font-weight: 600;
        letter-spacing: 2px;
        color: var(--color-contrast-medium);
        display: inline-block;
        position: absolute;
        top: 130px;
        left: 40px;
        width: 8em;
        -moz-transform: translateX(-50%) translateY(-50%) rotate(90deg);
        -webkit-transform: translateX(-50%) translateY(-50%) rotate(90deg);
        transform: translateX(-50%) translateY(-50%) rotate(90deg);
    }
}

/* Top Bar Menu */
.topBarMenu {
    position: absolute;
    z-index: auto;
    overflow: hidden;
    height: 60px;
    top: 20px;
    left: 250px;
    right: 100px;
    text-align: right;
    display: none;
}
@media (min-width: 800px) {
    .topBarMenu {
        display: block;
        transition: all ease 1s;
    }
    .persistent .topBarMenu {
        top: -100px;
    }
}
.topBarMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.topBarMenu ul li {
    display: inline;
}
.topBarMenu ul li a {
    line-height: 60px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    font-size: .7rem;
    letter-spacing: 1px;
}
.topBarMenu ul li a:hover,
.topBarMenu ul li.current-menu-item a {
    color: var(--color-contrast-medium);
}
.topBarMenu ul li a span {
    padding: 0 10px;
    border-left: 1px solid var(--color-base-medium);
    line-height: 2.6rem;
    display: inline-block;
}
.topBarMenu ul li:first-of-type a span {
    border-left: none;
}
.topBarMenu ul li.current-menu-item a:after {
    position: absolute;
    left: 50%;
    bottom: 10px;
    content: "";
    margin-left: -3px;
    width: 6px;
    height: 6px;
    border-left: 2px solid #BE1622;
    border-bottom: 2px solid #BE1622;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.persistent .topBarMenu ul li.current-menu-item a:after {
    border-left: 2px solid #727272;
    border-bottom: 2px solid #727272;
}



/* navbar*/
.mobileMenu {
    cursor: pointer;
	color: var(--color-base-darker);
    height: 60px;
    line-height: 60px;
    width: 80px;
    text-align: center;
	transition: all .7s ease;
}
@media (max-width: 750px){ 
    .mobileMenu {
	    padding: 0 20px;
    }
}
.mobileMenu span {
    border: 1px solid var(--color-contrast-medium);
    padding: .5rem .25rem .5rem .75rem;
}
.mobileMenu i {
	color: var(--color-base-darker);
    margin-right: 5px;
	transition: all .7s ease;
}
.persistent .mobileMenu {
    background-color: var(--color-contrast-medium);
    color: #fff;
}
.persistent .mobileMenu span {
    border: none;
    padding: 0;
}
@media (min-width: 666px) {
    .persistent .mobileMenu i {
        color: #fff;
    }
}
.mobileMenu:hover,
.mobileMenu:hover i {
	color: var(--color-contrast-light);
}
.persistent .mobileMenu:hover,
.persistent .mobileMenu:hover i {
    color: #fff;
}
.persistent .mobileMenu:hover {
    background-color: var(--color-contrast-dark);
}
header nav {
    position: fixed;
    z-index: 11;
    width: 0;
    top: 0;
	right: -10vw;
    bottom: 0;
    left: auto;
    background-color: rgba(0,129,195,0);
    transition: all ease 2s;
}
header nav.fullWidth {
    width: 100vw;
	right: 0;
    background-color: rgba(0,129,195,.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.mobileMenuContainer {
	position: absolute;
	z-index: 12;
	top: 0;
	right: -10vw;
    bottom: 0;
    left: auto;
	background-color: #fff;
	min-height: 100vh;
	min-width: 0;
	max-width: 0;
	margin-left: 0;
	width: 0;
	display: inline-block;
	overflow-y: auto;
    transition: all ease 1s;
    border-left: 1px solid var(--color-contrast-dark);
}
.mobileMenuContainer.fullWidth {
	right: 0;
	min-width: 50vw;
	max-width: 92vw;
	width: auto;
}
.mainMenuClose {
	display: block;
	position: absolute;
	z-index: auto;
	left: 1.5rem;
	font-size: 2rem;
	color: #fff;
	top: 1.5rem;
	cursor: pointer;
    transition: all ease 1s;
}
.mainMenuClose:hover {
	color: var(--color-contrast-dark);
}
.mobileMenuContainer .scrollableMenu {
	padding: 40px;
    text-align: right;
    opacity: 0;
    transition: all ease 1s;
}
.mobileMenuContainer.fullWidth .scrollableMenu {
    opacity: 1;
}
.logoMenu {
    display: inline-block;
    height: 120px;
    width: 50%;
    margin-bottom: 20px;
    background-image: url("../img/logo-azuleco.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.mainMenuContainer {
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav li.menu-item-has-children {
}
header nav li a {
    display: flex;
    text-decoration: none;
    font-size: 1.6rem;
	border-top: 1px solid var(--color-contrast-medium);
    color: var(--color-base-darker);
    padding: 10px 20px;
    transition: all ease-in-out .5s;
}
@media (min-width: 666px) {
    header nav li a {
        font-size: 2.4rem;
    }
}
header nav li a:hover {
	border-top: 1px solid var(--color-contrast-light);
    color: var(--color-contrast-medium);
}
header nav li a::before {
    font: var(--fa-font-solid);
    text-rendering: auto;
    padding: 0 0 20px 0;
    -webkit-font-smoothing: antialiased;
    content: "\f0c9";
    opacity: 0;
    transition: all ease .5s;
}
header nav li a:hover::before {
    text-rendering: auto;
    padding: 10px .5em 10px 0;
    opacity: 1;
    color: var(--color-contrast-light);
}
header nav li.menu-item-has-children > a {
    font-size: 1.3em;
    color: var(--color-base-medium);
}
@media (min-width: 666px){ 
    header nav li.menu-item-has-children > a {
	    font-size: 1em;
    }
}
header nav li a > span {
    display: flex;
    align-items: center;
}

header nav li a > span.menuIcon {
    min-width: 1.8em;
}
header nav li a .menuCustIcon {
    padding-right: 1em;
    min-width: 3em;
}
header nav li a .menuCustIcon img {
    max-height: 2em;
}
header nav li:first-of-type a {
    border-top: none;
}
header nav li li a {
    font-size: 1.1rem;
    padding: 5px 10px 5px 30px;
	text-shadow: none;
    text-align: left;
	border-top: none;
    color: var(--color-base-darker);
}
@media (min-width: 666px){ 
    header nav li li a {
	    font-size: 1.4rem;
    }
}
header nav li li:last-child {
	padding-bottom: 20px;
}
header nav a:hover {
	color: #e94e1b;
}
header nav .current_page_item > a, 
header nav .current_page_item > a:hover {
    color: var(--color-base-medium);
    font-style: italic;
    background-color: transparent;
    cursor: default;
}
header nav .current_page_item > a:after {
    padding-left: 0.5em;
    padding-top: 0.5em;
    content: "- - -";
    color: var(--color-contrast-medium);
}

/* Header Menu Social */
header nav .mainMenuSocial {
    padding-right: 40px;
    padding-top: 2.5em;
}
header nav .mainMenuSocial li a {
    font-size: 1.75rem;
}
header nav .mainMenuSocial li a::before,
header nav .mainMenuSocial li a:hover::before {
    content: "";
    padding: 0;
}
header nav .mainMenuSocial ul li a i {
    color: var(--color-contrast-dark);
    transition: all ease .5s;
}
header nav .mainMenuSocial ul li a:hover i {
    color: var(--color-contrast-medium);
}


/* FOOTER
-------------------------------------------------- */

.siteFooter {
    background-color: var(--color-base-light);
    padding: 0 20px;
    min-height: 200px;
    position: relative;
}
@media (min-width: 666px) {
    .siteFooter {
        padding: 0 80px 0 20px;
    }
}
@media (min-width: 900px) {
    .siteFooter::before {
        content: "";
        position: absolute;
        left: 0;
        top: -40px;
        width: 100%;
        height: 40px; 
        background-color: var(--color-base-light);
        clip-path: polygon(100% 100%, 100% 0, 0 100%);
        transition: all ease .75s;
    }
}
.footerContent {
    max-width: 1400px;
    margin: 0 auto;
}
.footerGridContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
}
.footerGridContainer .footerWidgetContainer {
    flex: 100%;
    position: relative;
    max-width: 100%;
    padding: 20px;
    /*border: 1px solid var(--color-base-lighter);*/
}
@media (min-width: 900px) {
  .footerGridContainer .footerWidgetContainer {
    flex: 33.33%;
    max-width: 33.33%;
  }
}
.siteFooter h2 {
    text-transform: uppercase;
    padding-top: 0;
    margin-top: 0;
}

/* FOOTER Menu */
.siteFooter .menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.siteFooter li,
.contentMenu li {
    margin: 0 0 2px 0;
    padding: 0;
    width: 100%;
    display: block !important;
    background-color: var(--color-contrast-medium);
}
.siteFooter li a,
.contentMenu li a {
    display: block;
    position: relative;
    color: var(--color-base-darker);
    padding: 0 1em;
    line-height: 2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease .5s;
}
.siteFooter li a .menuIcon,
.contentMenu li a .menuIcon {
    padding-right: .5em;
}
.siteFooter li a::before,
.contentMenu li a::before {
    font: var(--fa-font-solid);
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: "\f0c9";
    opacity: 0;
    transition: all ease .5s;
}
.siteFooter li a:hover,
.contentMenu li a:hover {
    color: var(--color-contrast-dark);
}
.siteFooter li a:hover::before,
.contentMenu li a:hover::before {
    text-rendering: auto;
    padding-right: .5em;
    opacity: 1;
    color: var(--color-contrast-light);
}
/* Left Footer Container */
@media (min-width: 900px) {
    .footerGridContainer .footerWidgetContainer.footerWidget01 {
        padding: 40px 40px 40px 20px;
    }
}


/* Middle Footer Container */
.footerGridContainer .footerWidgetContainer.footerWidget02 {
    background-color: var(--color-contrast-medium);
    padding: 30px 20px;
}
@media (min-width: 900px) {
    .footerGridContainer .footerWidgetContainer.footerWidget02 {
        margin: -40px 0 0 0;
        position: relative;
    }
    .footerGridContainer .footerWidgetContainer.footerWidget02::before {
        content: "";
        position: absolute;
        z-index: 1;
        left: 0;
        top: -20px;
        width: 100%;
        height: 20px; 
        background-color: var(--color-contrast-medium);
        clip-path: polygon(0 100%, 0 0, 100% 100%);
        transition: all ease .75s;
    }
}
.siteFooter .footerWidget02 h2,
.siteFooter .footerWidget02 h3 {
    color: #fff;
}
.siteFooter .footerWidget02 li a {
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.5);
}
.siteFooter .footerWidget02 li a:hover {
    border-bottom: 1px solid rgba(255,255,255,1);
}

/* Right Footer Container */

@media (min-width: 900px) {
    .footerWidget03 {
        text-align: right;
    }
    .footerGridContainer .footerWidgetContainer.footerWidget03 {
        padding: 40px 100px 40px 40px;
    }
}

/* subFooter */
.subFooter {
    display: flex;
    border-top: 1px solid var(--color-contrast-medium);
    background-color:#fff;
}
.refDYD,
.copyright {
    font-size: .7rem;
    text-align: center;
    padding: 0 20px;
    line-height: 40px;
}
.copyright {
    margin-left: auto;
}
@media (min-width: 666px) {
    .copyright {
        padding: 0 100px 0 20px;
    }
}
.refDYD a {
    text-decoration: none;
}

/* Back to top */

.totop {
	position: fixed;
	bottom: -100px;
	right: 0;
	z-index: 104400;
    opacity: 0;
    transition: all ease 1.5s;
}
@media (max-width: 800px) {
    .totop {
        display: none;
    }
}
.persistent .totop {
    bottom: 0;
    opacity: 1;
}
.totop a, .totop a:visited{
	background-color: var(--color-contrast-medium);
	display: block;
    width: 80px;
	height: 40px;
	color: #fff;
	text-align: center;
	line-height: 40px;
    transition: all ease .5s;
}
.totop a:hover {
	color: #fff;
	background-color: var(--color-contrast-dark);
	text-decoration: none;
}
.totop a i {
	color: #fff;
}



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

main {
    min-height: calc(100vh - 40px);
    padding-bottom: 60px;
}
.pageIntro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
}
.pageIntro .scrollContainer {
     justify-content: right;
     bottom: 10vh;
     right: 30px;
     width: auto;
}
.pageIntro h1 {
    position: absolute;
    top: auto;
    left: 40px;
    bottom: 20px;
    right: auto;
    padding: 0;
    margin: 0;
    text-align: right;
    color: #fff;
    font-weight: 800;
    line-height: 1em;
    text-shadow: var(--text-shadow-base);
    transition: all ease .5s;
}
@media (min-width: 900px) {
    .pageIntro h1 {
        left: 100px;
        bottom: 40px;
        font-size: 3.6em;
    }
}
.persistent .pageIntro h1 {
    color: var(--color-contrast-medium);
    text-shadow: none;
    bottom: 50px;
}
.page article {
    padding: 0;
    position: relative;
}
article p {
    line-height: 1.5;
}
article li {
    padding-bottom: .5em;
}

/* Page BG */
.pageMedia {
    height: 70vh;
}

/* Page Image BG */
.overPageImg {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,0);
    transition: all ease-in-out .5s;
}
.persistent .overPageImg {
    background-color: rgba(255,255,255,.5);
}
.pageImg {
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
}

/* Page Slider BG */
.pageSlider {
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dydPageSlider {
    background-color: #fff;
}
.dydPageSlider .carousel-cell {
    width: 100%;
    height: 100vh;
    counter-increment: gallery-cell;
    position: relative;
    overflow: hidden;
}
.dydPageSlider .carousel-cell figure {
    height: 100vh;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    width: 100%;
}
.dydPageSlider .carousel-cell.is-selected figure {
    animation: pulse 10s linear infinite;
}
@-webkit-keyframes "pulse" {
0% {
    transform: scale(1);
}
50% {
   transform: scale(1.05);
}
100% {
    transform: scale(1);
}
}

/* Page Video BG */
.pageVideo {
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Page no BG */
.pageNone {
    height: 300px;
    width: 100%;
    background-color: var(--color-contrast-medium);
    transition: all ease .75s;
}
.persistent .pageNone {
    background-color: transparent;
}


/* Albums tweaks */
.wp-block-image,
.wp-block-media-text__media {
    /*overflow: hidden;*/
    position: relative;
}
.wp-block-image a .overAlbumImg,
.wp-block-media-text__media a .overAlbumImg {
    position: absolute;
    z-index: 1;
    text-align: center;
    left: 40%;
    top: 40%;
    right: 40%;
    bottom: 40%;
    opacity: 0;
    background-color: rgba(0, 129, 195, 0.25);
    background-image: url("../img/azuleco-borders.svg");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: all ease .5s;
}
.wp-block-image a:hover {
    border: none;
    padding: 0;
    margin: 0;
}
.wp-block-image a:hover .overAlbumImg,
.wp-block-media-text__media a:hover .overAlbumImg {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}
.wp-block-image a .overAlbumImg span,
.wp-block-media-text__media a .overAlbumImg span {
    position: relative;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    opacity: 0;
    transition: all ease .75s;
}
.wp-block-image a .overAlbumImg span i,
.wp-block-media-text__media a .overAlbumImg span i {
    color: var(--color-base-lighter);
}
.wp-block-image a:hover .overAlbumImg span,
.wp-block-media-text__media a:hover .overAlbumImg span {
    opacity: 1;
}


/* HOME PAGE
-------------------------------------------------- */

.home .siteHeader {
    top: -120px;
}
.home.persistent .siteHeader {
    top: 0;
}
.page-template-page-home main {
    padding: 0;
}
.home .pageIntro {
    position: absolute;
    height: 100vh;
    
}
.homeIntro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
    background: -webkit-linear-gradient(rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    background: linear-gradient(rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    transition: all ease .5s;
}


/* Home Grid */
.homeGridWrapper {
    position: relative;
    min-height: calc(100vh - 90px);
    width: 100%;
    max-width: 1100px;
}
.homeGridLogo {
    position: absolute;
    z-index: auto;
    width: 80%;
    left: 10%;
    height: 20%;
    top: 40px;
    background-image: url("../img/logo-azuleco-blanc.png");
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    transition: all ease .5s;
}
@media (min-width: 666px) {
    .homeGridLogo {
        width: 40%;
        height: 140px;
        top: calc(20vh + 40px);
        left: 0;
    }
}
@media (min-width: 1000px) {
    .homeGridLogo {
        width: 25%;
        height: 120px;
        top: calc(20vh + 50px);
    }
}
@media (min-width: 1400px) {
    .homeGridLogo {
        width: 400px;
        height: 200px;
        left: -150px;
        top: calc(40vh - 200px);
    }
}
@media (min-width: 1600px) {
    .homeGridLogo {
        left: -200px;
    }
}
.homeGridWrapper .topBarMenu {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
}
@media (min-width: 1400px) {
    .homeGridWrapper .topBarMenu {
        right: -150px;
    }
}
@media (min-width: 1600px) {
    .homeGridWrapper .topBarMenu {
        right: -200px;
    }
}
.homeGridWrapper .topBarMenu a {
    color: var(--color-base-lighter);
    font-weight: 900;
}
.homeGridWrapper .topBarMenu a span {
    border-color: var(--color-base-lighter);
    border-width: 2px;
}
.homeGridWrapper .topBarMenu a span.menuIcon,
.homeGridWrapper .topBarMenu a span.menuTitle {
    border: none;
}
.homeGridWrapper .topBarMenu a span.menuIcon {
    display: none;
}
.homeGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 10px;
    align-items: start;
    padding: 200px 20px 60px 20px;
}
@media (min-width: 666px) {
    .homeGrid {
        grid-template-columns: repeat(auto-fill, minmax(333px, 1fr));
        grid-gap: 0;
        padding: 20px;
    }
}
@media (min-width: 1000px) {
    .homeGrid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
.homeGridItem {
    height: 30vh;
    position: relative;
}
.homeGridItem:first-of-type,
.homeGridItm.mediumSize {
    display: none;
}
@media (min-width: 666px) {
    .homeGridItm.mediumSize {
        display: block;
    }
}
@media (min-width: 1000px) {
    .homeGridItem:first-of-type {
        display: block;
    }
    .homeGridItm.mediumSize {
        display: none;
    }
}
.homeGridItem a {
    color: #fff;
}
.hGICPict {
    height: 20vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
}
.hGICPict .flipCardFront .overFigure {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: transparent;
    background-image: url("../img/azuleco-borders.svg");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .75;
    text-align: center;
    transition: all ease 1s;
    
     /* Masque SVG 
    background-color: var(--color-contrast-medium); 

    mask-image: url('../img/azuleco-borders.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url('../img/azuleco-borders.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    */
}
.homeGridItem a:hover .hGICPict .flipCardFront .overFigure {
    opacity: 0;
}
.hGICPict .flipCardBack .overFigure {
    position: absolute;
    z-index: 2;
    top: 40%;
    right: 40%;
    left: 40%;
    bottom: 40%;
    background-color: rgba(0, 129, 195, 0.75);
    background-image: url("../img/azuleco-borders.svg");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    text-align: center;
    transition: all ease 1s;
}
.hGICPict .flipCardBack .overFigure i {
    position: relative;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    color: var(--color-base-lighter);
    font-size: 2em;
    opacity: 0;
    transition: all ease .75s;
}
.homeGridItem a:hover .hGICPict .flipCardBack .overFigure {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 1;
}
.homeGridItem a:hover .hGICPict .flipCardBack .overFigure i {
    opacity: 1;
}
.hGICTxt {
    font-size: .8rem;
    font-weight: 800;
    height: 10vh;
    padding: 10px;
    position: absolute;
    bottom: auto;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
}

@media (min-width: 666px) {
    .homeGridItem {
        height: 40vh;
    }
    .hGICPict,
    .hGICTxt {
        height: 20vh;
    }
    .homeGrid > .homeGridItem:nth-child(2n) .hGICPict {
        bottom: auto;
        top: 0;
    }
    .homeGrid > .homeGridItem:nth-child(2n) .hGICTxt {
        bottom: 0;
        top: auto;
        align-items: flex-start;
    }
}

/* 1. Le conteneur définit la perspective 3D */
.flipContainer {
    background-color: transparent;
    perspective: 1000px; /* Crée l'effet de profondeur 3D */
}

/* 2. Le sous-conteneur qui va réellement pivoter */
.flipCardInner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d; /* Indispensable pour la 3D */
}

/* Déclenchement du Flip au survol de l'élément parent global */
.homeGridItem:hover .flipCardInner {
    transform: rotateY(180deg);
}

/* 3. Propriétés communes aux faces avant et arrière */
.flipCardFront, 
.flipCardBack {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid #fff;
    -webkit-backface-visibility: hidden; /* Masque le dos pendant le retournement */
    backface-visibility: hidden;
}

/* 4. Style de la face AVANT */
.flipCardFront,
.flipCardBack {
    background-size: cover;
    background-position: center;
}

/* 5. Style de la face ARRIÈRE (Le dos) */
.flipCardBack {
    background-color: var(--color-contrast-medium); /* Modifiez cette couleur unie selon vos besoins */
    color: var(--color-base-lighter);
    transform: rotateY(180deg); /* Positionne le dos au départ */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 460px) {
    .home.page article {
        padding: 40px 0 60px 0;
        transition: all ease .5s;
    }
}

/* Footer home */
.home .siteFooter {
    background-color: transparent;
    border-top: none;
    padding: 0;
    min-height: 0;
}
.home .siteFooter::before {
    display: none;
}


/* Scroll to content */

@media (min-width: 666px) {
    .scrollContainer {
         display: flex;
         justify-content: center;
         align-items: flex-end;
         position: absolute;
         z-index: 4;
         width: 100%;
         bottom: 40px;
    }
    .persistent .scrollContainer {
        display: none;
    }
    .scroll {
        position: relative;
        width: 28px;
        height: 24px;
    }
    .chevron {
        position: absolute;
        width: 28px;
        height: 8px;
        opacity: 0;
        transform: scale3d(0.5, 0.5, 0.5);
        animation: move 3s ease-out infinite;
    }
    .chevron:first-child {
        animation: move 3s ease-out 1s infinite;
    }
    .chevron:nth-child(2) {
        animation: move 3s ease-out 2s infinite;
    }
    .chevron:before,
    .chevron:after {
        content: ' ';
        position: absolute;
        top: 0;
        height: 100%;
        width: 51%;
        background: var(--color-base-light);
    }
    .chevron:before {
        left: 0;
        transform: skew(0deg, 30deg);
    }
    .chevron:after {
        right: 0;
        width: 50%;
        transform: skew(0deg, -30deg);
    }
}

@keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}


/* WOOCOMMERCE
-------------------------------------------------- */
.wooMain {
    padding: 160px 80px 60px 80px;
}

/* SINGLE
-------------------------------------------------- */

/* ARCHIVES
-------------------------------------------------- */


