/**
 * Content
 */

body {
    background-color: #fff;
    color: #fff;
}

a:active {
    opacity: 100;
}

.page a.active {
    opacity: 100;
}

i,
em {
    font-style: italic;
}

b,
strong {
    font-weight: bolder;
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
}

sub {
    top: 0.3em;
}

sup {
    top: -0.4em;
}

s {
    text-decoration: line-through;
}

img {
    border: 0;
    padding: 0;
}

ul,
ol {
    margin: 0;
    padding: 0 0 0 1em;
}

blockquote {
    margin: 0;
    padding: 0 0 0 2em;
}

hr {
  background: rgba(255, 255, 255, 1);
  border: 0;
  height: 1px;
  display: block;
  margin: 0; /* Padrão: margem zerada */
}

hr:first-of-type {
  margin-top: 0; /* Margin superior zero somente na primeira hr */
  margin-bottom: 10px; /* Ajuste para o espaço desejado abaixo da primeira hr */
}

hr:not(:first-of-type) {
  margin-top: 10px; /* Ajuste para evitar colar no texto acima */
  margin-bottom: 10px; /* Ajuste para o espaço desejado abaixo */
}


.content img {
    float: none;
    margin-bottom: .5em;
}

.content .image-link,
.content .icon-link {
    background: transparent;
}

.gallery_image_caption {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.25);
    font-family: Interstate, Icons;
    font-style: normal;
    line-height: 1.3;    
    text-align: center;
}

/**
 * Loading Animation
 */

.loading[data-loading] {
    position: fixed;
    bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
    font-size: 1.9rem;
    font-weight: 400;
    color: rgb(255, 255, 255);
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    line-height: 1.3;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] bodycopy a {
    background: transparent;
    color: rgba(255, 255, 255, 1);
    padding-bottom: 0.1em;
    border-bottom: 0.0em solid transparent;
    text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    font-weight: 800;
    padding: 0;
    margin: 0;
    font-size: 3.4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 1);
    font-variation-settings: 'slnt' 0, 'MONO' 0;
    }

[data-predefined-style="true"] h1 a {
    background: none;
    color: rgba(255, 255, 255, 1);
}

[data-predefined-style="true"] h2 {
    font-family: "Diatype Variable", Icons;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 1);
    font-size: 2.4rem;
    line-height: 1.4;
    font-style: normal;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
    font-weight: 800;
    }

[data-predefined-style="true"] h2 a:hover {
    color: rgba(101, 101, 101, 0.85);
}

[data-predefined-style="true"] small {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1.2;
    font-family: "Diatype Variable", Icons;
    font-style: normal;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] small a {
    background: none;
    color: rgba(255, 255, 255, 1);
    border-bottom-width: 0em;
}

/**
 * Breakpoints
 */


[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
    position: relative;
    min-height: 0px;
    max-width: 100%;
    width: 100%;
    background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
    margin-left: auto /*!content_center*/;
    margin-right: auto /*!content_center*/;
    text-align: left /*!text_left*/;
}

[data-css-preset] body {
    background-color: rgb(0, 0, 0)/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
    width: 100%/*!content_center*/;
}

[data-css-preset] .content_padding {
    padding-top: 0.rem /*!main_margin*/;
    padding-bottom: 2rem /*!main_margin*/;
    padding-left: 2rem /*!main_margin*/;
    padding-right:2rem /*!main_margin*/;
}


[data-css-preset] text-limit {
    display: inline-block /*!text_width*/;
    max-width: 66rem/*!text_width*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
    justify-content: flex-start;
}

[data-css-preset] .thumbnails {
       background-color: rgba(0, 0, 0, 0)/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 100%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.35rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -0.7rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.3rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
    outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: 0.2rem;
    font-size: 1.7rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    font-family: "Archivo Black", Icons;
    font-style: normal;
    line-height: 1.3;
    text-align: left;
}

.thumbnails .tags {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.7rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.35);
    font-family: "Archivo Black", Icons;
    font-style: normal;
    line-height: 1.3;
    text-align: left;
}

.thumbnails .tags a {
    border-bottom: 0;
    color: rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.thumbnails .has_title .tags {
    margin-top: 0rem;
}


/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.75);
    line-height: 1;
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: 3rem /*!site_menu_button*/;
    right: 3rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
    margin: -6px;
    font-size: 34px;
}

#site_menu_button.custom_icon {
    width: 40px;
    height: auto;
}

#site_menu_button.active {
    display: none;
}

/**
 * Site Menu
 */

#site_menu {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    background: rgba(20, 20, 20, 0.95);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    padding: 20px 30px 90px 30px;
    max-width: 400px;
    min-width: 300px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

body.mobile #site_menu {
    width: 100%;
}

#site_menu .page-link a {
    color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: bold;
}

#site_menu a:active {
    opacity: .7;
}

#site_menu a.active {
    opacity: .4;
}

#site_menu .close {
    display: none;
    color: rgba(255, 255, 255, 0.4);
    line-height: .85em;
    font-size: 45px;
}

body.mobile #site_menu .close {
    display: block;
    font-size: 50px;
    line-height: 1em;
}

#site_menu .break {
    height: 28px;
}

#site_menu .indent {
    margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
    color: rgba(0, 0, 0, 0.85);
    background: transparent;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    position: fixed;
    padding: 6px;
    top: 2rem /*!shop_button*/;
    right: 2rem /*!shop_button*/;
}

#shop_button.text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 2rem;
    padding: 0;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
}

#shop_button.custom_icon {
    width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
    margin: -6px;
    font-size: 36px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
    max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 2rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.85);
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.4rem;
    display: inline-block;
    width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 1rem;
}

.shop_product .button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
    line-height: 1;
    padding: .8rem 1rem .9rem;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
  opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}


[data-css-preset] .quick-view-background {
    background: rgba(255, 255, 255, 1) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.8rem;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    color: white;
}


/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}


/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
    border-top: 0;
}
/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}

.highlight-banner {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background-color: white;
    text-align: center;
    padding: 40px 25px;
    box-sizing: border-box;
}

.highlight-banner hr {
    background: rgba(0, 0, 0, 1); /* Cor preta para a linha */
    border: 0;
    height: 1px;
    display: block;
    margin: 0;
}

.highlight-banner hr:first-of-type {
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-banner hr:not(:first-of-type) {
    margin-top: 10px;
    margin-bottom: 10px;
}

.highlight-banner hr {
    background: rgba(0, 0, 0, 1); /* Cor preta para a linha */
    border: 0;
    height: 1.9px;
    display: block;
    margin: 20px 0; /* Ajuste o valor para o espaçamento desejado */
}

.highlight-banner hr:first-of-type {
    margin-top: 20px; /* Ajuste para maior espaço acima da primeira hr */
    margin-bottom: 0px;
}

.highlight-banner hr:not(:first-of-type) {
    margin-top: 20px;
    margin-bottom: 0px;
}

/* === [GALERIA AGORA É IMUNE ATÉ A SATANÁS] === */
.image-gallery.initialized {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) translateZ(0) scale(1.0001) !important; /* Hack da última gota */
    margin: 0 !important;
    padding: 0 0 0 0.25px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    outline: 1px solid transparent !important;
    backface-visibility: hidden !important; /* Tapa até buraco de minhoca */
}

/* === [GUTTER 0.25px - PRECISÃO DE FÍSICO NUCLEAR] === */
.image-gallery.initialized .grid-item {
    margin-right: 0.25px !important;
    margin-bottom: 0.25px !important;
    transform: translateZ(0) !important; /* Trava no espaço-tempo */
}

/* === [BANDA BRANCA - AGORA É UM MITO] === */
.banner + .image-gallery.initialized {
    margin-top: -0.55px !important; /* Os 0,45% restantes */
    box-shadow: inset 0 1.1px 0 0 #FFFFFF !important; /* 10% mais branco */
}

/* === [LINHA DIREITA - APAGADA DO UNIVERSO] === */
.image-gallery.initialized::after {
    content: "";
    position: absolute;
    top: 0;
    right: -0.55px;
    width: 0.55px;
    height: 100%;
    background: #FFFFFF !important;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.999; /* Só pra zuar o navegador */
}

/* === [1. FORÇA O GRID A "COMER" O BANNER] === */
.image-gallery.initialized {
    position: relative;
    margin-top: -1px !important; /* Empurra 1px pra cima (ajuste fino depois) */
    z-index: 1;
    clip-path: polygon(
        0 1px,  /* Corta 1px do topo (evita vazar conteúdo) */
        100% 1px,
        100% 100%,
        0 100%
    );
}

/* === [2. ISOLA O BANNER PARA NÃO REAGIR] === */
.banner {
    position: relative !important;
    z-index: 0 !important;
    pointer-events: none !important; /* Ignora interações */
}

/* === [3. RESTAURA INTERAÇÃO NO CONTEÚDO DO BANNER] === */
.banner > * {
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
}

/* === [4. CORREÇÃO PARA GUTTER LATERAL] === */
.image-gallery.initialized .grid-item {
    margin-right: 0.25px !important;
    margin-bottom: 0.25px !important;
}


/* ===== ZOOM COM NAVEGAÇÃO ===== */
.trident-zoom-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}

.trident-zoom-container.active {
  display: flex;
}

.trident-zoom-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-select: none;
}

.trident-zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 100px;
  background: rgba(0,0,0,0.3);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 1000000;
  opacity: 0.7;
  transition: opacity 0.3s;
  user-select: none;
  -webkit-user-select: none;
}

.trident-zoom-nav.visible {
  display: flex;
}

.trident-zoom-nav:hover {
  opacity: 1;
}

.trident-zoom-prev {
  left: 0;
}

.trident-zoom-next {
  right: 0;
}

.trident-zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000000;
  user-select: none;
  -webkit-user-select: none;
}

/* CONTROLE DE GALERIAS */
[data-gallery] img,
.image-gallery img,
.grid-item img {
    cursor: default !important;
    pointer-events: none !important;
}

/* Remove pseudo-elemento da lupinha */
[data-gallery] img::after,
.image-gallery img::after,
.grid-item img::after {
    content: none !important;
    display: none !important;
}

/* Galerias com zoom ativo */
.gallery-with-zoom img {
    cursor: zoom-in !important;
    pointer-events: auto !important;
    position: relative;
}

.gallery-with-zoom img::after {
    content: "🔍" !important;
    display: flex !important;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-with-zoom img:hover::after {
    opacity: 1;
}

/* Desativações específicas */
body.home [data-gallery] img,
body.index [data-gallery] img,
img[src*=".gif"],
.no-zoom,
.single-image-gallery img {
    cursor: default !important;
    pointer-events: none !important;
}

.single-image-gallery img::after {
    content: none !important;
}

/* Animações */
@keyframes trident-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes trident-zoomIn {
  from { transform: scale(0.98); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === ESPAÇO NO TOPO (DESKTOP) === */

@media (min-width: 769px) {
  /* 1ª Camada - Ataque ao elemento raiz do Cargo */
  body > div:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* 2ª Camada - Container principal alternativo */
  .main_container, 
  .page_container, 
  .container_width {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* 3ª Camada - Solução nuclear (se nada mais funcionar) */
  body > div > div:first-child {
    padding-top: 0 !important;
    margin-top: -2px !important; /* Valor negativo para forçar */
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* 4ª Camada - Ajuste fino no header */
  .pinned_top {
    position: relative;
    top: -10px !important; /* Puxa o header para cima */
  }
}

/* === VIDEO GIF === */

.video-container {
  width: 100%;          /* Ocupa a largura do grid */
  max-width: none;     /* Define um tamanho máximo (ajuste conforme seu grid) */
  margin: 0 auto;       /* Centraliza se necessário */
  overflow: hidden;     /* Corta excessos */
  border-radius: 0px;   /* Borda arredondada (opcional) */
}

.video-container video {
  width: 100%;          /* Preenche o container */
  height: auto;         /* Mantém a proporção */
  display: block;       /* Remove espaços indesejados */
}

/* ----- Container do Grid ----- */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grid responsivo */
  gap: 16px; /* Espaço entre vídeos */
  width: 100%;
  margin: 0 auto; /* Centraliza */
  padding: 10px; /* Espaçamento interno (opcional) */
}

/* ----- Estilo dos Vídeos ----- */
.video-gallery video {
  width: 100%; /* Ocupa 100% do container */
  height: auto; /* Mantém proporção */
  object-fit: cover; /* Corta vídeos sem distorcer (como um background-size: cover) */
  aspect-ratio: 16/9; /* Proporção fixa (ajuste para 1/1 se for quadrado) */
  border-radius: 4px; /* Borda arredondada */
  background: #000; /* Cor de fundo (se o vídeo não carregar) */
}

/* ----- Correção para Mobile ----- */
@media (max-width: 600px) {
  .video-gallery {
    grid-template-columns: 1fr; /* 1 coluna em mobile */
  }
}

/* --- Remove margens do container pai (se houver) --- */
.video-gallery {
  width: 100vw;          /* Ocupa 100% da largura da tela */
  margin-left: -50vw;    /* Puxa o grid para a esquerda */
  left: 50%;            /* Centraliza o ponto de referência */
  position: relative;   /* Permite ajustes precisos */
  padding: 0;           /* Remove espaçamento interno */
}

/* --- Garante que o grid ocupe toda a largura --- */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;               /* Remove gap se quiser vídeos colados */
}

/* --- Estilo dos vídeos --- */
.video-gallery video {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;   /* Mantém proporção (ajuste se necessário) */
  display: block;       /* Remove espaços embaixo do vídeo */
}

/* Otimização global para iframes */
iframe {
  background: transparent !important;
  visibility: hidden;
}

iframe[src] {
  visibility: visible;
}

/* Garante que placeholders não causem layout shift */
[style*="padding-bottom: 177.78%"] {
  contain: strict;
  aspect-ratio: 16/9;
}

/* Remove highlight em toque no mobile */
iframe {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
  /* === PADRÃO PRINCIPAL (mantém tudo que está bom) === */
  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > bodycopy > div > div:first-child {
    padding-top: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > bodycopy > div > div:first-child > div:nth-child(2) {
    display: none !important;
  }

  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > bodycopy > div > div:first-child > div {
    max-width: 92% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > bodycopy > div > div:first-child > div p {
    word-break: normal !important;
    hyphens: none !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > hr {
    margin: 10px 0 !important;
    height: 1px !important;
  }

  [data-predefined-style="true"] small {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }

  /* === PADRÃO DE ESPAÇAMENTO APÓS ÚLTIMA COLUNA === */
  /* Versão 1: Espaçamento padrão para todas as páginas */
  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > bodycopy > div > div:first-child > div:last-child {
    margin-bottom: 30px !important; /* Valor equilibrado */
  }

  /* Versão 2: Ajuste extra para garantir em casos específicos */
  body > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > bodycopy > div > div:first-child > div:nth-child(3) {
    margin-bottom: 10px !important;
  }

  /* === AJUSTE ESPECÍFICO PARA "THE TOWN" === */
  body.case-study--trident-the-town > div.main_container > div.content_container > div:first-child > div > div > div.page.container.container_width > hr {
    margin: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
  }
}

@media (max-width: 767px) {
  /* === BANNER - AJUSTE DE ESPAÇO INTERNO === */
  .banner-branco {
    /* Mantém margens/laterais originais, só reduz topo/baixo */
    padding-top: 10px !important;     /* Reduz espaço interno superior */
    padding-bottom: 10px !important;  /* Reduz espaço interno inferior */
    /* Não mexe nas laterais ou margens! */
  }
  
  /* Versão alternativa se o banner usar outra classe: */
  [class*="banner"] {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }
}

/* CONTROLE DA COLUNA 2 NA PÁGINA ABOUT - DESKTOP */
@media (min-width: 768px) {
    .about-page .desktop-col-2-control {
        width: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }
    
    .about-page .desktop-col-1-adjust {
        width: 58.33% !important;
        margin-right: 0 !important;
    }
    
    .about-page .desktop-col-3-adjust {
        width: 41.67% !important;
    }
}

/* SOLUÇÃO DIRETA PARA O ESPAÇO VAZIO - PÁGINA ABOUT */
@media (min-width: 768px) {
    html[data-page*="/About"] body > div.main_container > div.content_container > div:nth-child(1) > div > div > div.page.container.container_width > bodycopy > div > div > div.desktop-col-1-adjust {
        position: relative !important;
        overflow: visible !important;
    }
    
    /* Ataque direto ao espaço vazio */
    html[data-page*="/About"] body > div.main_container > div.content_container > div:nth-child(1) > div > div > div.page.container.container_width > bodycopy > div > div > div.desktop-col-1-adjust::after {
        content: "" !important;
        display: none !important; /* Mata o espaço vazio */
    }
    
    /* Redistribuição radical do espaço */
    html[data-page*="/About"] body > div.main_container > div.content_container > div:nth-child(1) > div > div > div.page.container.container_width > bodycopy > div > div {
        display: flex !important;
        justify-content: space-between !important;
    }
    
    html[data-page*="/About"] .desktop-col-1-adjust {
        flex: 0 0 55% !important;
        max-width: 55% !important;
        padding-right: 0 !important;
        margin-right: -5% !important;
    }
    
    html[data-page*="/About"] .desktop-col-3-adjust {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        padding-left: 0 !important;
    }
}

/* 1. FANTASMAS SEM afetar gutters */
[grid-responsive] {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important; /* Prevents margin collapse */
}

/* 2. Reset preciso nas imagens */
[grid-col] img {
    display: block !important;
    margin-bottom: -1px !important; /* Compensa 1px residual */
    vertical-align: top !important;
}

/* 3. Neutraliza pseudo-elementos dinâmicos */
[grid-responsive]::after,
[grid-responsive]::before {
    content: none !important;
    height: 0 !important;
}

/* 4. Fix para JavaScript do Cargo (carregamento tardio) */
body.loaded [grid-responsive] {
    row-gap: 0 !important;
}

/* Remove COMPLETAMENTE o cursor de zoom para galerias single */
.image-gallery.initialized:only-child img {
    cursor: default !important;
    pointer-events: none !important;
}

/* Remove o pseudo-elemento da lupa do Cargo */
.image-gallery.initialized:only-child img::after {
    content: none !important;
    display: none !important;
}

/* CORREÇÃO PARA OVERSCROLL PRETO - MANTENDO O EFEITO */
html {
  background: #000 !important; /* Fundo master preto */
  overscroll-behavior-y: auto; /* Mantém o comportamento elástico */
}

body {
  background: #000 !important; /* Fundo do body também preto */
}

/* GRIDS DE VÍDEO EM MOBILE */

@media only screen and (max-width: 767px) {
  /* Converte grid para block */
  div[style*="grid-template-columns"] {
    display: block !important;
  }
}

/* ----- SETAS NAV INTERN ----- */

.navigation {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1000;
}

.nav-arrow {
    color: #666;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 50%;
    pointer-events: auto;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-arrow:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.9);
}

.nav-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* HEADER FIXED - VERSÃO ATUALIZADA E FUNCIONAL */
body > div.main_container > div.pinned.pinned_top {
    position: fixed !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
    background: black !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    height: 75px !important; /* ALTURA TOTAL FIXA */
}

/* ELEMENTO QUE DEFINE A ALTURA REAL */
body > div.main_container > div.pinned.pinned_top > div > div.page.container.container_width.clearfix {
    padding: 0px 0 !important; /* CONTROLE PRINCIPAL DO ESPAÇO */
    min-height: 100% !important;
    box-sizing: border-box !important;
}

/* COMPENSAÇÃO PARA O CONTEÚDO */
body {
    padding-top: 70px !important; /* Igual à altura do header */
}

/* MOBILE */
@media (max-width: 768px) {
    body > div.main_container > div.pinned.pinned_top {
        height: 30px !important;
        top: 0 !important; /* Adicionei para garantir posicionamento */
    }
    body > div.main_container > div.pinned.pinned_top > div > div.page.container.container_width.clearfix {
        padding: 0px 0 !important;
    }
    body {
        padding-top: 20px !important; /* Agora igual à altura do header mobile */
    }
    
    /* Ajuste extra para o conteúdo imediatamente após o header */
    body > div.main_container > div:first-of-type:not(.pinned) {
        margin-top: 10px !important; /* Espaço extra de segurança */
    }
}
/* HOVER SUAVE */

.nav-arrow {
    transition: opacity 0.3s, transform 0.2s !important;
}
.nav-arrow:hover {
    transform: scale(1.1) !important;
}

/* PIXEL PERFECT */

/* 1. CORREÇÃO ESTRUTURAL (Raiz do problema) */
.highlight-banner {
    position: relative;
    z-index: 2;
    margin-bottom: -2px !important;
    transform: translateZ(0); /* Força renderização GPU */
    box-shadow: none !important; /* Remove sombras de teste */
}

/* 2. SOBREPOSIÇÃO FÍSICA (Cobre ambos os lados) */
.highlight-banner::before,
.highlight-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff; /* Cor do seu banner */
    z-index: 1;
}

.highlight-banner::before {
    top: -1.5px; /* Cobre o topo */
}

.highlight-banner::after {
    bottom: -1.5px; /* Cobre a base */
}

/* 3. AJUSTE DE CONTEXTO (Elementos vizinhos) */
.highlight-banner + .image-gallery.initialized,
.highlight-banner + [grid-responsive] {
    margin-top: -2px !important;
    position: relative;
    z-index: 1;
}

/* 4. GARANTIA DE CLIQUE (Funcionalidade) */
.highlight-banner + .image-gallery.initialized img {
    pointer-events: auto !important;
    position: relative;
    z-index: 0;
}

/* PIXEL PERFECT GRIDS - CORREÇÃO DIRETA DO LADO DIREITO */
.image-gallery.initialized {
    position: relative !important;
    width: calc(100vw + 4px) !important; /* +1px esquerdo, +1.5px direito */
    left: calc(50% - 0.75px) !important; /* Compensação assimétrica */
    transform: translateX(-50%) translateZ(0) !important;
    /* Técnica de overflow preciso */
    clip-path: inset(0 -1.25px);
}

/* Cobertura reforçada apenas para o lado direito */
.image-gallery.initialized::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1.25px;
    bottom: 0;
    width: 1.25px;
    background: #000;
    z-index: 9999;
    pointer-events: none;
    /* Técnica extra de cobertura */
    box-shadow: 0 0 0 1px #000;
}

/* Reset de segurança */
.image-gallery.initialized .grid-item {
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* PIXEL PERFECT GRIDS - GARANTIA FUTURA */
@supports not (clip-path: inset(0 -1.25px)) {
    .image-gallery.initialized {
        margin: 0 -1.25px !important;
    }
}

/* ↓↓↓ ESTILO LEGENDAS ↓↓↓ */
.legenda-grid {
  all: unset !important;
  display: block !important; /* Mudei para block para maior controle */
  text-align: center !important;
  font-size: 15px !important;
  font-family: inherit !important;
  margin: 2px 0 4px 0 !important; /* top:2px right:0 bottom:4px left:0 */
  padding: 0 !important;
  line-height: 1.2 !important; /* Adicionei para controle vertical extra */
}

/* === NOVO SISTEMA DE ZOOM === */
.trident-zoom-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}

.trident-zoom-container.active {
  display: flex;
}

.trident-zoom-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-select: none;
}

.trident-zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 100px;
  background: rgba(0,0,0,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 1000000;
  opacity: 0.7;
  transition: opacity 0.3s;
  user-select: none;
  -webkit-user-select: none;
}

.trident-zoom-nav:hover {
  opacity: 1;
}

.trident-zoom-prev {
  left: 0;
}

.trident-zoom-next {
  right: 0;
}

.trident-zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000000;
  user-select: none;
  -webkit-user-select: none;
}

/* Impede seleção das setas de navegação */
.nav-arrow {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* DESATIVA ZOOM NA HOME */
body.home .content img,
body.index .content img,
body.home .thumb_image img,
body.index .thumb_image img {
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* === SOLUÇÃO ALTERNATIVA PARA GALERIAS ÚNICAS (SEM :has()) === */

/* 1. Estilo base para todas imagens de galeria */
[data-gallery] img,
.image-gallery img {
    cursor: default; /* Padrão para todas */
    pointer-events: none; /* Bloqueia interação */
}

/* 2. Remove lupinha de todas imagens */
[data-gallery] img::after,
.image-gallery img::after {
    content: none !important;
    display: none !important;
}

/* 3. EXCEÇÃO: Ativa zoom apenas para galerias com múltiplas imagens */
/* (Usamos JavaScript para adicionar esta classe) */
.gallery-with-zoom img {
    cursor: zoom-in !important;
    pointer-events: auto !important;
}
.gallery-with-zoom img::after {
    content: "🔍" !important;
    display: flex !important;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-with-zoom img:hover::after {
    opacity: 1;
}