/**
 * Theme Name: SESI LAB
 * Description: Tema para o SESI LAB
 * Author: wetah
 * Template: blocksy
 * Text Domain: sesilab
 * Version: 0.2.68
 */

/* Ajustes nos elementos do cabeçalho para melhor aparência e responsividade */
[data-header*="type-1"] .ct-header [data-id="button"] .ct-button-ghost:hover,
[data-header*="type-1"] .ct-header [data-id="button"] .ct-button-ghost:focus {
    background-color: transparent;
}
.wp-block-a11y-buttons-a11y-button {
	margin-top: 0px;
	margin-bottom: 0px !important;
}
[data-header*="type-1"] .ct-header [data-row*="top"] > div [data-id="widget-area-1"] p:empty {
    display: none;
}
@media screen and (max-width: 740px) {
	[data-header*="type-1"] .ct-header [data-row*="top"] > div,
    [data-header*="type-1"] .ct-header [data-row*="top"] > div [data-id="widget-area-1"] {
        margin-left: 2px !important;
        margin-right: 2px !important;
        width: 100%;
    }
}

/* Archive de Curadorias com limite de linhas e primeiro post fixado */
.entry-card.curadorias .entry-excerpt {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
}

@media screen and (min-width: 969px) {
    [data-prefix="curadorias_archive"] .entry-card:first-of-type {
        grid-column: span 3;
        display: grid;
        grid-template-areas:
            'image title' 
            'image excerpt' 
            'image button' 
            'image ghost' 
            'image meta';
        grid-template-columns: 0.55fr 0.45fr
    }
    [data-prefix="curadorias_archive"] .entry-card:first-of-type .ct-media-container {
        grid-area: image;
        width: 100%;
        margin: calc(var(--card-inner-spacing, 30px)*-1);
        border-radius: var(--theme-image-border-radius, var(--theme-border-radius, 0px)) 0 0 var(--theme-image-border-radius, var(--theme-border-radius, 0px));
    }
    [data-prefix="curadorias_archive"] .entry-card:first-of-type .entry-title {
        grid-area: title;
        --theme-font-size: 26px;
    }
    [data-prefix="curadorias_archive"] .entry-card:first-of-type .entry-excerpt {
        grid-area: excerpt;
    }
    [data-prefix="curadorias_archive"] .entry-card:first-of-type .entry-meta {
        grid-area: meta;
    }
    [data-prefix="curadorias_archive"] .entry-card:first-of-type .ct-button {
        grid-area: button;
    }
    [data-prefix="curadorias_archive"] .entry-card:first-of-type .ct-button-ghost {
        grid-area: ghost;
    }
}

/* GTranslate Widget */
#header [data-row*="top"] .ct-button,
#offcanvas .ct-button {
	padding-left: 0px;
}
#gt_float_wrapper {
	height: 44px;
}
#gt_float_wrapper .gt_float_switcher .gt_options {
	width: max-content;
	position: absolute;	
}
#gt_float_wrapper .gt_float_switcher .gt-selected {
	width: fit-content;
	margin-left: auto;
	min-width: 52px;
}
#gt_float_wrapper .gt_float_switcher,
#gt_float_wrapper .gt_float_switcher .gt-selected {
	background: transparent;
	box-shadow: none;
	font-size: 0.875rem;
	color: white;
}
#gt_float_wrapper .gt_float_switcher .gt-current-lang,
#gt_float_wrapper .gt_float_switcher .gt_options a {
	background: var(--theme-palette-color-15);
	color: white;
	font-family: var(--theme-font-family);
	font-weight: 500;
}
#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang {
	padding: 10px 0px;
	background-color: transparent;
	text-align: right;
	min-height: 44px;
}
#gt_float_wrapper .gt_float_switcher .gt_options {
	transform: none;
	border-radius: 3px;
}
#gt_float_wrapper .gt_float_switcher .gt_options a:hover {
	background-color: var(--theme-palette-color-10);
}
#gt_float_wrapper .gt_float_switcher img {
	width: 24px;
}
#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
	display: none;
}
@media screen and (max-width: 968px) {
    #gt_float_wrapper .gt_float_switcher .gt_options {
        right: 0px;
    }
}

/* VLibras */
div[vw].enabled {
    top: 25% !important;
}

/* Estiliza bloco de carrossel de termos */
.wp-block-tainacan-carousel-terms-list .tainacan-carousel .swiper a > img {
	border-radius: 8px;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}
.wp-block-tainacan-carousel-terms-list .tainacan-carousel .swiper a:hover > img {
	opacity: 1.0;
}
.wp-block-tainacan-carousel-terms-list .tainacan-carousel .swiper a:hover > span {
	color: var(--theme-palette-color-15) !important;
}
.wp-block-tainacan-carousel-terms-list .tainacan-carousel .swiper a > span {
	padding-left: 4px !important;
	padding-right: 4px !important;
}

/* Espaçamento de links do menu no footer */
.ct-footer .widget .widget-menu .menu-item {
    margin-top: 15px;
}
@media screen and (max-width: 992px) {
    .ct-footer .ct-widget h2 {
        font-size: 14px !important;
    }
    .ct-footer .wp-container-5 {
        flex-basis: 100%;
    }
    .ct-footer .wp-container-8 {
        flex-basis: 35%;
    }
    .ct-footer .wp-container-11 {
        flex-basis: 65%;
    }
    .ct-footer .wp-container-8>.wp-block-group,
    .ct-footer .wp-container-11>.wp-block-group {
        border-bottom: none;
    }
}

/* Ícone antes das categorias no banner das Páginas */
.hero-section[data-type="type-2"] > [class*="ct-container"] .entry-meta {
    padding-left: 70px;
    position: relative;
}
.hero-section[data-type="type-2"] > [class*="ct-container"] .entry-meta::before {
    background-image: url('./assets/images/tags.svg');
    content: '';
    width: 60px;
    display: block;
    height: 26px;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Tira a cor e imagem de fundo dos shortcodes de posts */
.ct-posts-shortcode {
    background: none !important;
}
[data-link] .ct-posts-shortcode[data-prefix="tainacan-collection_archive"] .entry-title a {
    color: white;
}

/* Tira a margem entre seções da home page */
.home article > .entry-content > *.has-background {
    margin-bottom: 0;
}

/* Alternância de cores na lista de coleções */
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+1),
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+7) {
    background-color: var(--theme-palette-color-15);
    background-image: url('./assets/images/p3.png');
    background-repeat: no-repeat;
    background-position: top;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+2),
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+8) {
    background-color: var(--theme-palette-color-10);
    background-image: url('./assets/images/p2.png');
    background-repeat: no-repeat;
    background-position: bottom left;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+3),
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+9) {
    background-color: var(--theme-palette-color-11);
    background-image: url('./assets/images/p1.png');
    background-repeat: no-repeat;
    background-position: bottom;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+4),
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+10) {
    background-color: var(--theme-palette-color-12);
    background-image: url('./assets/images/p2.png');
    background-repeat: no-repeat;
    background-position: bottom left;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+5),
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+11){
    background-color: var(--theme-palette-color-13);
    background-image: url('./assets/images/p1.png');
    background-repeat: no-repeat;
    background-position: bottom;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+6),
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+12) {
    background-color: var(--theme-palette-color-14);
    background-image: url('./assets/images/p3.png');
    background-repeat: no-repeat;
    background-position: top;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+1) .ct-media-container::after,
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+7) .ct-media-container::after {
    background-color: var(--theme-palette-color-15);
    background-image: url('./assets/images/p3.png');
    background-repeat: no-repeat;
    background-position: top;
    opacity: 0.8;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+2) .ct-media-container::after,
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+8) .ct-media-container::after {
    background-color: var(--theme-palette-color-10);
    background-image: url('./assets/images/p2.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.8;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+3) .ct-media-container::after,
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+9) .ct-media-container::after {
    background-color: var(--theme-palette-color-11);
    background-image: url('./assets/images/p1.png');
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.8;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+4) .ct-media-container::after,
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+10) .ct-media-container::after {
    background-color: var(--theme-palette-color-12);
    background-image: url('./assets/images/p2.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.8;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+5) .ct-media-container::after,
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+11) .ct-media-container::after {
    background-color: var(--theme-palette-color-13);
    background-image: url('./assets/images/p1.png');
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.8;
}
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+6) .ct-media-container::after,
[data-prefix="tainacan-collection_archive"] .entry-card:nth-child(1n+12) .ct-media-container::after {
    background-color: var(--theme-palette-color-14);
    background-image: url('./assets/images/p3.png');
    background-repeat: no-repeat;
    background-position: top;
    opacity: 0.8;
}
[data-prefix="tainacan-collection_archive"] .entry-card:hover {
    background-blend-mode: color-dodge;
}

[data-prefix="tainacan-collection_archive"] .entry-card .entry-title a {
    text-shadow: 0 0 10px rgba(0,0,0, 0.45);
}
[data-prefix="tainacan-collection_archive"] .ct-media-container img {
    filter: grayscale(0.75);
}


/* Layout da lista de itens */
.tainacan-collection-header {
    --vertical-alignment: center;
    --alignment: left;
    --min-height: 473px;
    background-position: 100% 0%;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--theme-palette-color-4);
    background-image: url(http://mateuswetah.com.br/wp-content/uploads/2023/07/sesi-lab-pathern.png);
    --container-padding: 38px 0;
    padding-top: calc(var(--has-transparent-header)*var(--header-height));   
}
.tainacan-collection-header .tainacan-collection-header__box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: var(--vertical-alignment, center);
    text-align: var(--alignment, center);
    position: relative;
    z-index: 2;
    padding: var(--container-padding, 50px 0);
    min-height: var(--min-height, 250px);
    width: var(--theme-container-width);
    max-width: var(--theme-normal-container-max-width);
    margin-left: auto;
    margin-right: auto;
}
.tainacan-collection-header .tainacan-collection-header__box .entry-header .page-title {
    --theme-font-size: 48px;
    --theme-heading-color: var(--theme-palette-color-8);
}
.tainacan-collection-header .tainacan-collection-header__box .entry-header {
    --theme-text-color: var(--theme-palette-color-8);
}
.tainacan-collection-header .tainacan-collection-header__box .entry-header .entry-meta {
    --theme-font-weight: 600;
    --theme-text-transform: uppercase;
    --theme-font-size: 16px;
    --theme-line-height: 1.3;
    --theme-text-color: var(--theme-palette-color-8);
    --theme-link-hover-color: var(--theme-palette-color-7);
}
body:not(.tainacan-admin-page) .tainacan-modal-content,
body:not(.tainacan-admin-page) .tooltip {
    --tainacan-primary: var(--theme-palette-color-17, #b1ecf3);
}
.theme-items-list {
    --theme-box-shadow: none;
}
.theme-items-list .items-list-area .tainacan-cards-container,
.theme-items-list .items-list-area .tainacan-records-container,
.theme-items-list .items-list-area .tainacan-masonry-container,
.theme-items-list .items-list-area .tainacan-list-container {
    --theme-border-radius: 6px;
    --tainacan-item-background-color: var(--theme-palette-color-3);
    --tainacan-item-hover-background-color: var(--theme-palette-color-2);
    --tainacan-item-heading-background-color: var(--theme-palette-color-1);
    --tainacan-item-heading-hover-background-color: var(--theme-palette-color-1);
    --tainacan-heading-color: var(--theme-palette-color-8);
    --tainacan-label-color: var(--theme-palette-color-8);
    --tainacan-info-color: var(--theme-palette-color-8);
}

.theme-items-list .items-list-area .tainacan-records-container img {
    border-radius: 6px;
}
.theme-items-list .items-list-area .metadata-title {
    font-weight: bold;
}
.theme-items-list .items-list-area .tainacan-cards-container .metadata-value a,
.theme-items-list .items-list-area .tainacan-records-container .metadata-value a,
.theme-items-list .items-list-area .tainacan-masonry-container .metadata-value a,
.theme-items-list .items-list-area .tainacan-list-container .metadata-value a,
.theme-items-list .items-list-area .tainacan-cards-container .metadata-value a:hover,
.theme-items-list .items-list-area .tainacan-records-container .metadata-value a:hover,
.theme-items-list .items-list-area .tainacan-masonry-container .metadata-value a:hover,
.theme-items-list .items-list-area .tainacan-list-container .metadata-value a:hover,
.theme-items-list .items-list-area .tainacan-cards-container .metadata-value a:visited,
.theme-items-list .items-list-area .tainacan-records-container .metadata-value a:visited,
.theme-items-list .items-list-area .tainacan-masonry-container .metadata-value a:visited,
.theme-items-list .items-list-area .tainacan-list-container .metadata-value a:visited {
    color: var(--theme-palette-color-8);
    text-decoration: underline;
}
.theme-items-list .items-list-area .tainacan-records-container .tainacan-record .tainacan-record-item-thumbnail,
.theme-items-list .items-list-area .tainacan-records-container .tainacan-record img {
    z-index: 0;
}

.theme-items-list .search-control {
    --tainacan-item-background-color: var(--theme-palette-color-16);
    background-position: 46% 51%;
    z-index: 1;
}
@media screen and (min-width: 1000px) {
    .theme-items-list .search-control {
        padding: 31px 35px 8px 35px !important;
        margin: 9px;
    }
    .theme-items-list .items-list-area .tainacan-records-container {
        margin-left: 27px;
        margin-right: -23px;
    }
    .theme-items-list .items-list-area .tainacan-masonry-container {
        margin-right: -14px;
    }
    .theme-items-list .items-list-area .tainacan-list-container {
        margin-left: 27px;
        margin-right: 9px;
    }
    .theme-items-list #filters-modal .modal-content {
        padding-right: 0px !important;
    }
    .theme-items-list #filters-modal .modal-content #filters-items-list {
        padding: 18px 24px 18px 36px;
        margin: -3px 0;
    }
}
.theme-items-list #filters-modal {
    --theme-border-radius: 10px;
    --tainacan-heading-color: var(--theme-palette-color-15);
    padding: 8px;
    --tainacan-item-background-color: var(--theme-palette-color-6);
}
.theme-items-list #filters-modal .modal-content {
    background-color: transparent !important;
}
.tainacan-modal #filters-modal .modal-content h3,
.theme-items-list #filters-modal .modal-content h3 {
    font-size: 1.25em;
}
.entry-content .theme-items-list #advanced-search-container {
    background-color: var(--theme-palette-color-6);
    width: calc(100% - 1rem);
    margin: .5rem;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.theme-items-list #items-list-area #items-list-results {
    padding-top: 2px;
    --tainacan-skeleton-color: var(--theme-palette-color-17, #b1ecf3);
}
.tainacan-modal input.input,
.tainacan-modal .input,
.tainacan-modal textarea.textarea,
.tainacan-modal .textarea,
.tainacan-modal input[type="color"].input,
.tainacan-modal input[type="date"].input,
.tainacan-modal input[type="datetime-local"].input,
.tainacan-modal input[type="datetime"].input,
.tainacan-modal input[type="email"].input,
.tainacan-modal input[type="number"].input,
.tainacan-modal input[type="month"].input,
.tainacan-modal input[type="password"].input,
.tainacan-modal input[type="search"].input,
.tainacan-modal input[type="tel"].input,
.tainacan-modal input[type="text"].input,
.tainacan-modal input[type="time"].input,
.tainacan-modal input[type="url"].input,
.tainacan-modal input[type="week"].input,
.entry-content .theme-items-list input.input,
.entry-content .theme-items-list .input,
.entry-content .theme-items-list textarea.textarea,
.entry-content .theme-items-list .textarea,
.entry-content .theme-items-list input[type="color"].input,
.entry-content .theme-items-list input[type="date"].input,
.entry-content .theme-items-list input[type="datetime-local"].input,
.entry-content .theme-items-list input[type="datetime"].input,
.entry-content .theme-items-list input[type="email"].input,
.entry-content .theme-items-list input[type="number"].input,
.entry-content .theme-items-list input[type="month"].input,
.entry-content .theme-items-list input[type="password"].input,
.entry-content .theme-items-list input[type="search"].input,
.entry-content .theme-items-list input[type="tel"].input,
.entry-content .theme-items-list input[type="text"].input,
.entry-content .theme-items-list input[type="time"].input,
.entry-content .theme-items-list input[type="url"].input,
.entry-content .theme-items-list input[type="week"].input,
.entry-content .tainacan-modal .select select,
.entry-content .theme-items-list .select select,
.entry-content .tainacan-modal .dropdown .dropdown-menu,
.entry-content .tainacan-modal .autocomplete .dropdown-menu,
.entry-content .theme-items-list .dropdown .dropdown-menu,
.entry-content .theme-items-list .autocomplete .dropdown-menu,
.entry-content .tainacan-modal .dropdown .dropdown-menu .dropdown-content,
.entry-content .tainacan-modal .autocomplete .dropdown-menu .dropdown-content,
.entry-content .theme-items-list .dropdown .dropdown-menu .dropdown-content,
.entry-content .theme-items-list .autocomplete .dropdown-menu .dropdown-content {
    border-radius: 5px !important;
}
.tainacan-modal .dropdown .dropdown-menu .dropdown-content,
.tainacan-modal .autocomplete .dropdown-menu .dropdown-content,
.entry-content .theme-items-list .dropdown .dropdown-menu .dropdown-content,
.entry-content .theme-items-list .autocomplete .dropdown-menu .dropdown-content,
.entry-content .theme-items-list .dropdown .dropdown-menu .dropdown-content .dropdown-item,
.entry-content .theme-items-list .autocomplete .dropdown-menu .dropdown-content .dropdown-item {
    padding: 5px !important
}
.tainacan-modal input.input,
.tainacan-modal .input,
.tainacan-modal textarea.textarea,
.tainacan-modal .textarea,
.tainacan-modal input[type="color"].input,
.tainacan-modal input[type="date"].input,
.tainacan-modal input[type="datetime-local"].input,
.tainacan-modal input[type="datetime"].input,
.tainacan-modal input[type="email"].input,
.tainacan-modal input[type="number"].input,
.tainacan-modal input[type="month"].input,
.tainacan-modal input[type="password"].input,
.tainacan-modal input[type="search"].input,
.tainacan-modal input[type="tel"].input,
.tainacan-modal input[type="text"].input,
.tainacan-modal input[type="time"].input,
.tainacan-modal input[type="url"].input,
.tainacan-modal input[type="week"].input,
.entry-content .theme-items-list input.input,
.entry-content .theme-items-list .input,
.entry-content .theme-items-list textarea.textarea,
.entry-content .theme-items-list .textarea,
.entry-content .theme-items-list input[type="color"].input,
.entry-content .theme-items-list input[type="date"].input,
.entry-content .theme-items-list input[type="datetime-local"].input,
.entry-content .theme-items-list input[type="datetime"].input,
.entry-content .theme-items-list input[type="email"].input,
.entry-content .theme-items-list input[type="number"].input,
.entry-content .theme-items-list input[type="month"].input,
.entry-content .theme-items-list input[type="password"].input,
.entry-content .theme-items-list input[type="search"].input,
.entry-content .theme-items-list input[type="tel"].input,
.entry-content .theme-items-list input[type="text"].input,
.entry-content .theme-items-list input[type="time"].input,
.entry-content .theme-items-list input[type="url"].input,
.entry-content .theme-items-list input[type="week"].input {
    line-height: 1.5em !important;
}
.tainacan-modal .button,
.entry-content .theme-items-list .button {
  font-weight: 500;
}
.tainacan-modal .search-control .search-control-item .dropdown-menu div.dropdown-content .dropdown-item,
.entry-content .theme-items-list .search-control .search-control-item .dropdown-menu div.dropdown-content .dropdown-item {
  padding: 0.5em 1.125em 0.5em 0.875em !important;
  border-radius: 5px !important;
}
.entry-content .theme-items-list .search-control .search-control-item .button:hover:not(.is-success),
.entry-content .theme-items-list .search-control .search-control-item .button:focus:not(.is-success) {
    border-radius: 5px !important;
    background-color: rgba(0, 0, 0, 0.075) !important;
}
.entry-content .theme-items-list .search-control .search-control-item .label {
    line-height: 2.25em;
}
.tainacan-modal .button:not(.is-small):not(.is-medium):not(.is-large),
.entry-content .theme-items-list .button:not(.is-small):not(.is-medium):not(.is-large) {
    height: 2.5em !important;
}
.theme-items-list #items-list-area #items-list-results .table-wrapper {
    overflow-x: hidden !important;
}
.theme-items-list #items-list-area #items-list-results .table-container {
    padding-left: 0px;
    padding-right: 0px;
}

/* Layout da página de itens */
.tainacan-photoswipe-layer.has-light-color-scheme {
    --pswp-icon-color: var(--theme-palette-color-2);
}
.tainacan-gallery-above-title .tainacan-media-component,
.tainacan-item-single-page .tainacan-media-component {
    --swiper-theme-color: var(--theme-palette-color-10,#f29400);
    --swiper-navigation-color: var(--theme-palette-color-10, #f29400);
}
.tainacan-media-component__swiper-main .swiper-slide-content a:first-of-type,
.tainacan-media-component__swiper-main .swiper-slide-content p:first-of-type {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}
.tainacan-media-component__swiper-main .swiper-slide-content img {
    border-radius: 4px;
    transition: border-radius 0.3s ease-in-out;
}
.tainacan-media-component__swiper-main .swiper-slide-content:hover img,
.tainacan-media-component__swiper-main .swiper-slide-content:focus img {
    border-radius: 0;
}
.tainacan-media-component__swiper-main ul.swiper-wrapper[data-pswp-uid]:not([data-pswp-uid=""]) .swiper-slide-content {
    border-radius: 4px;
    transform: scale(1.0);
    transition: transform 0.3s ease-in-out;
}
.tainacan-media-component__swiper-main ul.swiper-wrapper[data-pswp-uid]:not([data-pswp-uid=""]) .swiper-slide-content:hover,
.tainacan-media-component__swiper-main ul.swiper-wrapper[data-pswp-uid]:not([data-pswp-uid=""]) .swiper-slide-content:focus {
    transform: scale(1.035);
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs .swiper-wrapper  {
    margin-left: 0;
    margin-right: 0;
    gap: 6px;
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide:first-of-type img,
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide:first-of-type .swiper-slide-content {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide:last-of-type img,
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide:last-of-type .swiper-slide-content {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide {
    margin-right: 0px !important;
    max-width: var(--tainacan-media-thumbs-carousel-item-size, 136px) !important;
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide img {
    border-radius: 0px;
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide:not(.swiper-slide-thumb-active) .swiper-slide-content {
    background-color: var(--theme-palette-color-8);
}
.tainacan-media-component__swiper-main + .tainacan-media-component__swiper-thumbs li.swiper-slide:not(.swiper-slide-thumb-active) img {
    margin-bottom: 0;
}
.tainacan-gallery-above-title .tainacan-media-component .tainacan-media-component__swiper-thumbs img,
.tainacan-item-single-page .tainacan-media-component .tainacan-media-component__swiper-thumbs img {
    border-color: var(--theme-palette-color-1);
}
.theme-items-list:not(.is-filters-menu-open) .filters-menu:not(.filters-menu-modal) {
    z-index: 4 !important;
}
.entry-content .theme-items-list.is-filters-menu-open .filters-menu:not(.filters-menu-modal) {
    z-index: 9 !important;
}  

/* Metadado da Conexão BNCC */
.metadata-slug-conexao-bncc .tainacan-metadata-value {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em;
}
.metadata-slug-conexao-bncc .multivalue-separator {
    width: 100%;
    height: 0;
    visibility: hidden;
}

@media screen and (min-width: 960px)  {
    body[class*=' single-tnc_col_'] {
        background-position-y: 1180px;
    }
    body[class*=' single-tnc_col_'] .entry-header.ct-container {
        padding-right: 600px;
    }
    body[class*=' single-tnc_col_'] .hero-section+.ct-container-full {
        padding-top: 32px;
    }
    body[class*=' single-tnc_col_'] .tainacan-item-single-page .tainacan-item-single--affix-column .tainacan-item-section.tainacan-item-section--gallery {
        --background-color: transparent;
        top: 22vh;
        margin-top: -52vh;
        z-index: 2;
    }
    body[class*=' single-tnc_col_'] .tainacan-item-single-page .tainacan-item-single--layout-type-mg .tainacan-item-section.tainacan-item-section--metadata:last-child .tainacan-item-section__metadata {
        --metadata-column-width: 216px;
    }
}

/* Cards de posts */
article.entry-card {
	position: relative;
}
article.entry-card a::after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	content: '';
	display: block;
}
[data-archive="default"][data-cards="cover"] .entry-card > :not(.ct-media-container) {
	position: initial;
}

/* Related posts cards */
.ct-related-posts-items > article {
	position: relative;
}
.ct-related-posts-items > article .related-entry-title a::after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* Bloco de Menu */
.wp-block-navigation__responsive-container-close {
    right: 2rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding: 2rem;
}