@charset "UTF-8";

/*
Theme Name: MCAP
Author: Carolina Almeida
Author URI: https://carolina-almeida.com
Description: MCAP is a theme created for a Brazilian project that aims to encourage civil society to dialogue with public bodies and strengthen the fight against torture in the MG. 
Requires at least: 5.3
Tested up to: 6.8.1
Requires PHP: 8.0.0
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: MCAP
Tags: human rights, ngo

MCAP Theme, (C) 2025 MCAP
MCAP is distributed under the terms of the GNU GPL.
*/

.UX_FontClass {font-family: 'Roboto', Arial, Helevtica, sans-serif; }

*{
    font-family: 'Utile Display', serif;
    font-weight: 400;
    font-style: normal;
}

:root {
	/* Font Family */
	--global--font-primary: 'Utile Display', serif;
	--global--font-secondary: 'Trajan Pro 3', serif;

    
	/* Font Size */
	--global--font-size-base: 18px;
	--global--font-size-xxxs: 13px;
	--global--font-size-xxs: 14px;
	--global--font-size-xs: 16px;
	--global--font-size-sm: 18px;
	--global--font-size-md: 24px;
	--global--font-size-l: 30px;
	--global--font-size-lg: 36px;
	--global--font-size-xl: 48px;
	--global--font-size-xxl: 64px;
	--global--font-size-xxxl: 72px;
	--global--letter-spacing: 0;

	/* Line Height */
	--global--line-height-body: 1.5;
	--global--line-height-heading: 1.2;

	/* Colors */
	--global--color-black: #000000;
	--global--color-gray: #E4E4E4;
	--global--color-white: #FFFFFF;
    --global--color-offwhite: #FCFAF5;
    --global--color-yellow: #EFEBDD;
    --global--color-brown: #AD491F;
	--global--color-primary: var(--global--color-black);

	/* Body text color, site title, footer text color. */
	--global--color-secondary: var(--global--color-white);

	/* Headings */
	--global--color-primary-hover: var(--global--color-primary);
	--global--color-background: var(--global--color-black);

	/* Mint, default body background */
	--global--color-border: var(--global--color-primary);
}

.admin-bar {
	--global--admin-bar--height: 32px;
}
@media only screen and (max-width: 782px) {
	.admin-bar {
		--global--admin-bar--height: 46px;
	}
}

/*GENERAL*/

b {font-weight: 900;}

a {
	transition: 0.2s all;
	color: var(--global--color-black);
	text-decoration: none;
}

a:hover{
	color: var(--global--color-brown);
	transition: 0.2s all;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--global--font-secondary);
	font-weight: 600;
    font-style: normal;
	letter-spacing: 0.03em;
	line-height: var(--global--line-height-heading);
	margin: 0;
	color: var(--global--color-black);
}

h1 {font-size: var(--global--font-size-l);}
h2 {font-size: var(--global--font-size-md);}
h3 {font-size: var(--global--font-size-sm);}
h4 {font-size: var(--global--font-size-xs);}
h5 {font-size: var(--global--font-size-xxs);}
h6 {font-size: var(--global--font-size-xxs);}

button {
    transition: 0.2s all;
    user-select: none;
}

button:focus{outline: none;}

html,
body {
	font-family: var(--global--font-secondary);
	font-size: var(--global--font-size-sm);
	line-height: var(--global--line-height-body);
	letter-spacing: var(--global--letter-spacing);
	margin: 0;
	position: relative;
	scrollbar-color: var(--global--color-black) var(--global--color-black);
	scrollbar-width: thin;
    width: 100vw;
	overflow-x: hidden;
	z-index: -1;
	color: var(--global--color-black);
	background-color: var(--global--color-white); 
    overflow-y: scroll;
}

body.background-offwhite {background-color: var(--global--color-offwhite);}

body.menu-open {
	height: 100vh;
	overflow: hidden;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: none;
	background-color: #7d7d7d;
}

::-webkit-scrollbar
{
	width: 10px;
	background-color: var(--global--color-black);
}

::-webkit-scrollbar-thumb
{
	background-color: var(--global--color-black);
	border: none;
    border-radius: 5px;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

input[type="submit"],
.wp-block-button a,
.btn {
    padding: 12px 20px;
    text-transform: uppercase;
	font-family: var(--global--font-secondary);
    font-weight: 600;
    font-size: var(--global--font-size-xxxs);
    background-color: transparent;
    border: 1px solid var(--global--color-black);
    border-radius: 40px;
    color: var(--global--color-black);
    transform: scale(1);
    cursor: pointer;
    transition: 0.4s all;
    line-height: 1;
}

.btn.btn-xxs {
    padding: 10px 25px;
    font-size: var(--global--font-size-xxs);
}

input[type="submit"]:hover,
.wp-block-button a:hover,
.btn:hover {
    border: 1px solid var(--global--color-black);
    background-color: var(--global--color-black);
    color: var(--global--color-white);
    transform: scale(0.95);
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal {  display: none; width : 0; height: 0; }

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.fixed {position: fixed;}

em {font-style: italic;}

strong em,
strong {font-weight: 600;}

.clear {
    float: none;
    clear: both;
}

svg {fill: none;}

.mobile {display: none !important;}

.txt-sm {font-size: var(--global--font-size-xs);}

.txt-xs {font-size: var(--global--font-size-xs);}

.txt-xxs {font-size: var(--global--font-size-xxs);}

.hidden {display: none;}

.wp-block-buttons.is-content-justification-center {gap: 30px;}

/*
** 1. HEADER
*/

header {
    background-color: var(--global--color-white);
    display: grid;
    grid-template-areas: "menu-1 logo menu-2";
    grid-template-columns: 1fr 120px 1fr;
    gap: 3vw;
    width: calc(94vw - 10px);
    padding: 2vw 0;
    margin: 0 3vw;
    border-bottom: 1px solid var(--global--color-black);
    user-select: none;
    z-index: 3;
    top: 0;
    left: 0;
    transition: 0.4s all;
}

.background-offwhite header {background-color: var(--global--color-offwhite);}

header .logo {
    background-image: url('../mcap/assets/img/mcap-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.4s all;
    height: 80px;
    position: relative;
}

header .logo a {
    position: absolute;
    width: 100%;
    height: 100%;
}

/*
** 1.1 Menu
*/

.menu {
    display: grid;
    align-items: center;
}

.menu ul {
    list-style: none;
    padding: 0 3vw;
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.menu a {
    display: block;
    font-family: var(--global--font-secondary);
    text-transform: uppercase;
    font-size: var(--global--font-size-xs);
    text-align: center;
}

.menu .active a {color: var(--global--color-brown);}

#menu-toggle {display: none;}


/*
** 1.2 Submenu
*/

:root {
  --dur: .3s;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

/* ===== Menu principal ===== */
.menu,
.menu * { box-sizing: border-box; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }

.menu-item-label.no-link {    
    font-family: var(--global--font-secondary);
    text-transform: uppercase;
    font-size: var(--global--font-size-xs);
    text-align: center;
}

.home .menu-item-label.no-link {color: var(--global--color-white);}

/* ===== Submenu ===== */
.menu .sub-menu {
    display: grid;
    position: absolute;
    gap: 10px;
    left: 0;
    top: 100%;
    min-width: 320px;
    padding: 15px 5px 10px;
    list-style: none;
    margin: 0;

    background-color: var(--global--color-white);
    border-bottom: 1px solid var(--global--color-black);
    overflow: hidden;

    /* começa fechado (efeito cortina) */
    transform: scaleY(0);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;

    transition:
        transform var(--dur) var(--ease),
        opacity var(--dur) var(--ease),
        visibility 0s linear var(--dur);
    z-index: 999;
}

.home .menu .sub-menu {
    background-color: transparent;
    border-bottom: 1px solid var(--global--color-white);
}

.background-offwhite .menu .sub-menu {background-color: var(--global--color-offwhite);}

/* Itens do submenu */
.menu .sub-menu li {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity var(--dur) ease,
    transform var(--dur) ease;
}

.menu .sub-menu li a {
    font-size: var(--global--font-size-xxs);
    display: block;
    color: var(--global--color-black);
    text-decoration: none;
    text-align: left;
}

.home .menu .sub-menu li a {color: var(--global--color-white);}

.menu .sub-menu li.active a,
.menu .sub-menu li a:hover {color: var(--global--color-brown);}

/* ===== Estado aberto (hover/focus) ===== */
.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu {
  transform: scaleY(1);
  opacity: 1;
  visibility: visible;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    visibility 0s;
}

/* Cascata: cada item aparece com pequeno delay */
.menu > li:hover > .sub-menu li,
.menu > li:focus-within > .sub-menu li {
  opacity: 1;
  transform: translateY(0);
}
.menu > li:hover > .sub-menu li:nth-child(1) { transition-delay: .05s; }
.menu > li:hover > .sub-menu li:nth-child(2) { transition-delay: .1s; }
.menu > li:hover > .sub-menu li:nth-child(3) { transition-delay: .15s; }
.menu > li:hover > .sub-menu li:nth-child(4) { transition-delay: .2s; }
.menu > li:hover > .sub-menu li:nth-child(5) { transition-delay: .25s; }
/* adicione mais nth-child se tiver mais itens */

/* ===== Submenu de segundo nível (abre à direita) ===== */
.menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  transform-origin: top left;
}

/*
** 2. FOOTER
*/

footer {
    display: grid;
    grid-template-columns: 1fr 335px;
    justify-content: space-between;
    padding: 80px 3vw 3vw;
    width: 94vw;
}

footer .logos {
    display: flex;
    gap: 30px
}

footer .group-logos {display: grid;}

footer .group-logos h5 {
    width: 100%;
    margin-bottom: 10px;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

footer .logos ul {
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: left;
    align-items: center;
}

footer .logos img {
    width: auto;
    transition: 0.4s all;
}

footer .contact h5 {margin-bottom: 5px;}

footer .contact p {
    font-size: var(--global--font-size-xs);
    margin: 0;
}

.copyrights {text-align: center;}

.copyrights span {
    font-family: var(--global--font-secondary);
    display: block;
    text-transform: uppercase;
    opacity: 0.5;
    font-size: var(--global--font-size-xs);
}

.copyrights a {
    color: var(--global--color-white);
    font-size: var(--global--font-size-xs);
    line-height: 1;
    display: inline-block;
    opacity: 1;
    transition: 0.2s all;
    margin: 0 10px 30px;
    text-decoration: underline;
}

.copyrights a:hover {opacity: 0.5;}

/*
** 3. GENERAL PAGES
*/

body #primary {padding: 4vw 3vw;}

body.single #primary {padding: 2vw 3vw 4vw;}

h1.entry-title {
    font-weight: 900;
    text-align: center;
}

.entry-content {
    padding: 30px 15vw;
    text-align: justify;
    position: relative;
}

/*
** 4. 404
*/

body.error404,
body.error404 .header-principal {
    background-color: var(--global--color-black);
    color: var(--global--color-white);
}

.error404 .menu .sub-menu {background-color: var(--global--color-black);}

.error404 .menu .sub-menu li a,
.error404 .menu a {color: var(--global--color-white);}

.error404 .menu .sub-menu li a:hover,
.error404 .menu a:hover {color: var(--global--color-brown);}

.error404 .content {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 7vw - 270px);
}

.error404 .content h1 {
    color: var(--global--color-white);
    text-transform: uppercase;
    font-size: var(--global--font-size-xxl);
    opacity: 0.2;
}

.error404 .content h4 {
    color: var(--global--color-white);
    font-weight: 400;
    text-transform: uppercase;
    width: 100%;
}

.error404 .content a {
    display: block;
    margin-top: 40px;
    color: var(--global--color-white);
}

.error404 .btn {
    color: var(--global--color-white);
    border-color: var(--global--color-white);
}

.error404 .btn:hover {
    color: var(--global--color-black);
    background-color: var(--global--color-white);
}

.error404 header .logo,
.error404 footer .logos img {filter: grayscale(1) invert(1) brightness(4) contrast(1);}

.error404 footer {
    opacity: 0.5;
    color: var(--global--color-white);
}

.error404 footer .group-logos h5,
.error404 footer .contact h5 {color: var(--global--color-white);}

.error404 footer .contact a {color: var(--global--color-white);}

/*
** 5. FRONT-PAGE
*/

body.home #primary {padding: 0 0 3vw;}

body.home header {
    grid-template-columns: 1fr 180px 1fr;
    gap: 1vw;
    background-color: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
}

body.home header .logo {
    filter: invert(1);
    height: 120px;
    pointer-events: none;
}

body.home .menu a {color: var(--global--color-white);}

body.home .menu a:hover {color: var(--global--color-brown);}

body.home .menu ul {margin-bottom: 40px;}

/*
** 5.1 Video Banner
*/

.home-video {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
    position: absolute;
    bottom: 50px;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-overlay button {
    background-color: transparent;
    border: none;
    font-size: var(--global--font-size-sm);
    text-transform: uppercase;
    font-family: var(--global--font-secondary);
    display: grid;
    justify-items: center;
    padding: 0;
    color: var(--global--color-offwhite);
    cursor: pointer;
}

.video-overlay button:hover {margin-bottom: -10px;}

.video-overlay button span {
    display: block;
    width: 25px;
    height: 25px;
    padding: 10px;
    margin-top: 20px;
    position: relative;
    transition: 0.3s all;
}

.video-overlay button:hover span {margin-top: 10px;}

.video-overlay button span::after {
    content: "";
    width: 44px;
    height: 44px;
    border: 1px solid var(--global--color-offwhite);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.3s all;
}

.video-overlay button:hover span::after {top: -10px;}

/*
** 5.2 Content
*/

.home .wp-block-image {margin-left: -15vw;}

.home .content-right {    
    margin-right: -12vw;
    width: calc(100% - 12vw);
    padding-left: 22vw;
}

.home .wp-block-buttons.is-content-justification-center {margin: 30px 0 0;}

/*
** 5.3 Infográfico
*/

.info-grid {
    display: flex;
    width: 80vw;
    margin: 100px 10vw;
    gap: 5vw;
}

.info-item {
    text-align: center;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
	width: calc(100% / 4);
}

.info-icon {font-size: var(--global--font-size-xxxl);}

.info-item h3 {font-family: var(--global--font-primary);}

.info-item .description p {
    font-size: var(--global--font-size-xxs);
    margin: 20px 0;
    transition: 0.3s all ease-in-out;
}

.info-item:hover,
.info-item:hover h3 {color: var(--global--color-brown);}

.info-item:hover .description p {margin: 10px 0;}

.info-item .number {
    font-size: var(--global--font-size-xxl);
    font-weight: 700;
    line-height: 1;
}

.info-item .sufix  {margin: 0;}

/*
** 5.4 Últimos Videos + Blog
*/

.last-videos {margin: 0 0 80px;}

.home-last h2 {text-align: center;}

.last-btn {
    display: flex;
    justify-content: center;
    margin: 30px 0 0;
}

/*
** 4. CONTACT
*/

.wpcf7-form .col-2 p {
    display: flex;
    gap: 20px;
    width: 100%;
}

.wpcf7-form .col-2 p span {
    display: inline;
    width: calc(50% - 10px);
}

.wpcf7-form input:not(input[type="submit"]) {
    width: calc(100% - 20px);
    min-height: 35px;
    padding: 0 10px;
    border: 1px solid var(--global--color-black);
}

.wpcf7-form textarea {
    width: calc(100% - 20px);
    resize: none;
    padding: 10px;
    border: 1px solid var(--global--color-black);
}

.wpcf7-form textarea::placeholder,
.wpcf7-form input::placeholder {
    opacity: 1;
    color: var(--global--color-black);
    text-transform: uppercase;
}

.wpcf7-form textarea:focus,
.wpcf7-not-valid:not(input[type="submit"]),
.wpcf7-form input:focus:not(input[type="submit"]) {
    outline: none !important;
    border: 1px solid var(--global--color-brown) !important;
    box-shadow: none;
}

.wpcf7-not-valid-tip {
    font-size: var(--global--font-size-xs);
    color: var(--global--color-brown);
}

.wpcf7-form textarea.wpcf7-not-valid::placeholder,
.wpcf7-form input.wpcf7-not-valid::placeholder {color: var(--global--color-brown);}

.wpcf7-form .col-submit p {
    display: flex;
    justify-content: end;
}

.wpcf7-spinner {display: none;}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--global--color-brown);
    background-color: var(--global--color-brown);
    color: var(--global--color-white);
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #d9f0bb;
    background-color: #d9f0bb;
    text-align: center;
}

/*
** 5. DATA TABLE - Geral
*/

/* Filtros */

.dataTable-filter {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 0 30px;
}

.dataTable-filter input {display: none;}

.dataTable-filter label {
    line-height: 1;
    padding: 8px 25px;
    font-weight: 600;
    font-size: var(--global--font-size-xs);
    border: none;
    border-radius: 20px;
    background-color: var(--global--color-yellow);
    cursor: pointer;
    user-select: none;
    transition: 0.2s all ease-in-out;
}

.dataTable-filter label.active,
.dataTable-filter label:hover {
    background-color: var(--global--color-black);
    color: var(--global--color-white);
}

/* Table */

.dataTables_info,
.dataTables_length,
.dataTable thead {display: none;}

table.dataTable.no-footer {
    border-bottom: none;
    margin: 50px 0 30px;
}

table.dataTable tbody tr {background: none;}

table.dataTable tbody td {padding: 0;}

table.dataTable tbody td.hidden {display: none;}

.home table.dataTable.no-footer {margin: 30px 0;}

/* Table Search */

.dataTables_filter {
    display: inline-block;
    position: absolute;
    top: -180px;
    right: 0;
}

.dataTables_filter input {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--global--color-black);
    margin: 0;
    padding: 10px 0;
    width: 250px;
    position: relative;
    background-color: transparent;
}

.dataTables_filter input:focus {outline: none;}

.dataTables_filter input::placeholder {color: var(--global--color-black);}

.dataTables_filter::after {
  font-family: 'Material Symbols Outlined';
  content: 'search'; /* o nome do ícone */
  display: inline-block; /* ou block, conforme o layout */
  vertical-align: middle; /* alinhamento */
  position: absolute;
  right: 0;
}

.home .dataTables_filter {display: none;}

/* Paginate */

.dataTables_wrapper .dataTables_paginate {
    width: 100%;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    border: none;
    background-color: transparent;
    background: none;
}

.paginate_button.current {font-weight: 600;}

.home .dataTables_paginate {display: none;}

/*
** 6. BLOG
*/

.blog-filter.dataTable-filter label:not(.active) {background-color: var(--global--color-gray);}

.blog-table.table.dataTable tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 5vw;
    justify-content: center;
}

.blog-item {
    display: flex;
    flex-wrap: wrap;
    width: calc((84vw - 10px) / 3);
    justify-content: space-between;
    align-content: baseline;
    gap: 10px;
    cursor: pointer;
}

.blog-item .date {
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.blog-title {font-weight: 600;}

.blog-item .content {
    display: flex;
    gap: 10px;
}

.blog-item .content .blog-excerpt {margin: 10px 0 0;}

.blog-item .content .blog-footer {
    display: flex;
    align-items: end;
}

.blog-table.table.dataTable tbody tr::after {
    content: "";
    height: 1px;
    background-color: var(--global--color-black);
    width: 100%;
    transition: height 0.3s ease-in-out;
    margin: 10px 0 0;
}

.blog-table.table.dataTable tbody tr:hover::after {
    height: 5px;
}

/*
** 7. SINGLE
*/

.single-content {margin: 10px 10vw 0;}

.single-header-infos {
    display: flex;
    justify-content: space-between;
    font-size: var(--global--font-size-xs);
}

.blog-date {text-transform: uppercase;}

.single-title {
    font-family: var(--global--font-primary);
    margin: 15px 0 30px;
}

.single-body {text-align: justify;}

.page-template-team div:not(.menu) a,
.single-txt a {color: var(--global--color-brown);}

.page-template-team div:not(.menu) a:hover,
.single-txt a:hover {color: var(--global--color-gray);}

.single-share {margin: 30px 0;}
.share-social-icons {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.share-social-icons li {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--global--color-black);
    border-radius: 50%;
    transition: 0.3s all ease-in;
}

.share-social-icons li a {display: flex;}

.share-social-icons li i {font-size: var(--global--font-size-xxs);}

.share-social-icons li:hover {
    background-color: var(--global--color-black);
    color: var(--global--color-white);
    transform: scale(0.95);
}

.share-social-icons li:hover a {color: var(--global--color-white);}

.related-posts {margin: 80px 0 0;}

.single table.dataTable.no-footer {margin: 20px 0 0;}

.single .dataTables_length,
.single .dataTables_filter,
.single .dataTables_info,
.single .dataTables_paginate {display: none;}

/*
** 7. TEAM
*/

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
}

.team-item {
    width: calc((94vw - 10px - 10vw)/6);
    cursor: pointer;
}

.team-img {
    width: 100%;
    height: calc((94vw - 10px - 10vw)*1.1/6);
    background-color: var(--global--color-gray);
    filter: grayscale(1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.team-item .team-title,
.team-item .team-img {transition: transform 0.3s ease, filter 0.3s ease;}

.team-item:hover .team-title,
.team-item:hover .team-img {
    transform: translateY(-10px);
    filter: grayscale(0);
}

.team-item h3 {
    font-family: var(--global--font-primary);
    margin-top: 10px;
}

.team-item p.role {
    font-size: var(--global--font-size-xs);
    margin: 0;
}

.team-hidden {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, border-bottom 0.5s ease;
    font-size: var(--global--font-size-xxs);
    margin-top: -10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--global--color-white);
}

.team-hidden p {margin-bottom: 0;}

.team-item:hover .team-hidden {
    max-height: 300px;
    overflow: visible;
    border-bottom: 2px solid var(--global--color-black);
}

.team-content hr {
    border: 0.5px solid var(--global--color-gray);
    margin: 50px 0;
}

/*
** 8. MEMORIAL VIVO
*/

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5vw;
    justify-content: center;
}

body:not(.home) .video-grid {width: calc(94vw - 10px);}

.video-item {
    width: calc((84vw - 10px) / 3);
    display: grid;
    cursor: pointer;
}

.video-img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--global--color-gray);
    overflow: hidden;
}

.video-meta {
    margin: 10px 0 0;
    font-size: var(--global--font-size-xxs);
    display: flex;
    justify-content: space-between;
}

.video-title {
    padding: 10px 0 !important;
    position: relative;
}

.video-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: var(--global--color-black);
    transition: height 0.3s ease;
}

.video-item:hover .video-title::after {height: 5px;}

.video-title h3 {
    font-family: var(--global--font-primary);
}

/* Modal / Lightbox */

.video-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;

  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-modal.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.video-modal.hidden {
  display: flex;
}

.video-content iframe {
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  border: none;
}

.close-modal {
  font-family: 'Material Symbols Outlined';
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--global--color-white);
  background: transparent;
  border: none;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/*
** 9. ACERVO BIBLIOGRÁFICO
*/

.acervo-archive.container {padding: 50px 3vw;}

.archive-header {
    text-align: center;
    margin-bottom: 20px;
}

.acervo-filtros {
    display: grid;
    grid-template-columns: 210px auto 210px;
    gap: 30px;
    align-items: center;
    position: relative;
}

.filtro-search {
    position: absolute;
    top: -80px;
    right: 0;
}

.filtro-search input {
    width: 230px;
    height: 35px;
    border-bottom: 1px solid var(--global--color-black);
    border-right: none;
    border-left: none;
    border-top: none;
    background-color: transparent;
}

.filtro-search input:focus {outline: none;}

.filtro-search .btn {
    font-size: 10px;
    padding: 8px 16px;
}

.filtro-search .btn-outline {
    font-size: var(--global--font-size-xxs);
    user-select: none;
    margin-left: 5px;
}

.acervo-btn:not(.order-btn) {    
    appearance: none;
    border: none;
    background: var(--global--color-yellow);
    color: var(--global--color-black);
    padding: 8px 24px;
    border-radius: 48px;
    cursor: pointer;
    font-size: var(--global--font-size-xxs);
    font-weight: 600;
    line-height: 1;
    transition: .15s ease;
    user-select: none;
}

.acervo-btn:not(.order-btn).is-active,
.acervo-btn:not(.order-btn):hover {
    background: var(--global--color-black);
    color: var(--global--color-offwhite);
}

.filtro-ordenacao .btn-group {
    display: flex;
    gap: 20px;
}

.acervo-btn.order-btn {
    background-color: transparent;
    border: none;
    font-size: var(--global--font-size-sm);
    padding: 0;
    cursor: pointer;
}

.filtro-ordenacao .acervo-btn::after {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 18px;
  line-height: 1;
  margin-left: 4px;
  vertical-align: middle;
  display: inline-block;
  content: "expand_all"; /* estado neutro */
  opacity: 0.3;
}

/* ativo ascendente */
.filtro-ordenacao .acervo-btn.is-active[data-dir="asc"]::after {
  content: "keyboard_arrow_up";
  opacity: 1;
}

/* ativo descendente */
.filtro-ordenacao .acervo-btn.is-active[data-dir="desc"]::after {
  content: "keyboard_arrow_down";
  opacity: 1;
}

.filtro-categorias .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.filtro-dispo .btn-group {
    display: grid;
    gap: 10px;
}

.filtro-dispo button {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.dispo-fisico::before {content: "\f53e";}

.dispo-digital::before {content: "\e3f4";}

.filtro-dispo button::before,
.acervo-item .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

.acervo-list {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3vw;
}

.acervo-item {
    font-size: var(--global--font-size-xxs);
    user-select: none;
    cursor: pointer;
    width: calc((100vw - 15vw - 100px)/4);
    padding: 10px;
    border: 1px solid var(--global--color-gray);
    border-radius: 10px;
    position: relative;
    transition: 0.3s all ease-in-out;
}

.acervo-item:hover {
    background-color: var(--global--color-black);
    border: 1px solid var(--global--color-black);
}

.acervo-item:hover a{
    color: var(--global--color-offwhite);
}

.acervo-item .meta {
    display: flex;
    justify-content: space-between;
}

.acervo-title {
    font-weight: 600;
    font-size: var(--global--font-size-sm);
    margin-top: 10px;
}

.acervo-author {margin-bottom: 20px;}

.tag-ano, .tag-categories {
    background-color: transparent;
    border: 1px solid var(--global--color-gray);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: var(--global--font-size-xxxs);
}

.acervo-item:hover .tag-ano, 
.acervo-item:hover .tag-categories {
    background-color: #404040;
    opacity: 0.6;
    border: 1px solid #404040;
}

.span-dispo span {font-size: var(--global--font-size-xs);}

.acervo-item:hover .span-dispo {opacity: 0.6;}

.acervo-archive .pagination {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.page-numbers.current {font-weight: 600;}

/*
** 10. ACERVO BIBLIOGRÁFICO - SINGLE
*/

body.single #primary.acervo-single {
    padding: 2vw 0 4vw 3vw;
}

.acervo-layout {
    margin: 30px 0 0 5vw;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "col-1 col-2";
    gap: 5vw;
}

.acervo-layout .acervo-col-1 {grid-area: col-1;}
.acervo-layout .acervo-col-2 {grid-area: col-2;}

.acervo-gallery {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
}

.acervo-destaque img {width: 100%;}

.acervo-download fieldset {
    border: 1px solid var(--global--color-gray);
}

.acervo-download legend {
    padding: 0 10px;
}

.acervo-no-gallery {
    opacity: 0.3;
    text-align: center;
}

.acervo-download-form input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--global--color-black);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    transition: 0.3s all ease-in-out;
}

.acervo-download-form input[type="radio"]:checked {
    border-color: var(--global--color-black);
    background-color: transparent;
}

.acervo-download-form input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color:var(--global--color-black);
}
        
.acervo-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin: 15px 0 0;
}

.acervo-pager .pg {
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: var(--global--font-size-xs);
    background: transparent;
}

.acervo-pager .disabled {
    opacity: .2;
    cursor: not-allowed;
}

.acervo-pager .current {
    font-weight: 600;
}

.acervo-single-title {
    font-weight: 600;
    font-size: var(--global--font-size-md);
    margin: 0 0 20px;
    text-transform: none;
    font-family: var(--global--font-primary);
	padding-right: calc(3vw + 10px);
}

.acervo-meta-list li {
    padding: 10px 3vw 10px 0;
    border-bottom: 1px solid var(--global--color-gray);
    display: grid;
    grid-template-columns: 150px auto;
}

.acervo-meta-list .li-label {font-weight: 600;}

.acervo-meta-list .li-content p:first-child {margin-top: 0;}

/*
** 11. ACERVO ICONOGRÁFICO
*/

.photo-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5vw;
    justify-content: center;
}

.photo-item {
    display: grid;
    cursor: pointer;
}

.photo-item .photo-title {
    font-weight: 600;
    transition: 0.3s all ease-in-out;
}


.photo-item td.date {
    position: relative;
    padding-bottom: 8px;
}

.photo-item td.date::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: var(--global--color-black);
    transition: 0.3s all ease-in-out;
}

.photo-item:hover td.date::after {
    bottom: -2px;
    left: -5px;
    height: 3px;
    width: 105%;
}
.photo-item img {transition: 0.3s all ease-in-out;}

.photo-item:hover img {
    transform: scale(1.05);
}


/*
** 12. ACERVO ICONOGRÁFICO SINGLE
*/

.acervo-destaque img {height: auto;}

.acervo_iconografico .mcap-gpl-item img {aspect-ratio: 1 / 1;}

.acervo_iconografico .acervo-destaque .mcap-gpl-item img {aspect-ratio: revert-layer;}

.acervo_iconografico .acervo-layout {margin: 30px 3vw 0 0;}

.acervo_iconografico .mcap-gpl-grid {
    width: 60vw;
    margin: 30px auto;
    gap: 30px 12px;
}

/*
RESPONSIVE
*/

@media (max-width: 1024px) {

    .desktop {display: none !important;}

    .mobile {display: grid !important;}

    body.home header,
    .header-principal {
        grid-template-areas:
            "logo menu";
        grid-template-columns: auto 35px;
        width: 94vw;
        padding: 2vw 3vw;
        margin: 0;
    }

    header .logo {background-position: center;}

    .menu-toggle {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 35px;
        height: 35px;
        transition: transform 250ms ease;
        cursor: pointer;
        z-index: 999;
        margin: 0;
    }

    .menu-toggle span {
        position: relative;
        display: block;
        width: 30px;
        height: 2px;
        background-color: var(--global--color-black);
        float: right;
        transform-origin: center center;
        transition: transform 250ms ease;
    }

    .menu .nav {
        position: absolute;
        right: -100vw;
        transition: right 500ms ease;
        top: 0;
        height: 100vh;
        width: 100vw;
        display: grid;
        background-color: var(--global--color-black);
        z-index: 99;
        padding: 100px 5vw 5vw;
        align-content: flex-start;
    }

    #menu-menu-principal {
        padding: 0;
        display: block;
        width: 100%;
    }

    .menu ul {display: inline-block;}

    .menu .nav ul li {
        position: relative;
        margin-bottom: 35px;
    }

    .menu-item-label.no-link,
    .menu .nav ul a {color: var(--global--color-white);}

    .menu-toggle span:nth-of-type(1) {transform: translateY(-8px);}

    .menu-toggle span:nth-of-type(3) {transform: translateY(8px);}

    #menu-toggle:checked ~ .menu-toggle {
        background-color: transparent;
        transition: transform 250ms ease;
    }

    #menu-toggle:checked ~ .menu-toggle span {
        transition: transform 250ms ease;
        background-color: var(--global--color-white);
    }

    #menu-toggle:hover ~ .menu-toggle span:nth-of-type(1),
    #menu-toggle:checked ~ .menu-toggle span:nth-of-type(1) {transform: translateY(1px) rotate(45deg);}

    #menu-toggle:hover ~ .menu-toggle span:nth-of-type(2),
    #menu-toggle:checked ~ .menu-toggle span:nth-of-type(2) {display: none;}

    #menu-toggle:hover ~ .menu-toggle span:nth-of-type(3),
    #menu-toggle:hover ~ .menu-toggle span:nth-of-type(3) {transform: translateY(8px);}

    #menu-toggle:hover ~ .menu-toggle span:nth-of-type(3),
    #menu-toggle:checked ~ .menu-toggle span:nth-of-type(3) {transform: translateY(-1px) rotate(135deg);}

    #menu-toggle:checked ~ .nav {
        right: 0;
        transition: right 500ms ease;
    }

    .menu .nav ul a {font-size: var(--global--font-size-sm);}

    /* GERAL */

    .entry-content {padding: 30px 5vw;}

    .entry-title {margin: 30px 0 0;}

    :where(.wp-block-columns.is-layout-flex) {
        gap: 20px;
    }

    /* FOOTER */

    footer {
        grid-template-columns: 100%;
        padding: 30px 3vw;
        gap: 30px;
    }

    footer .logos {
        display: grid;
        gap: 30px;
        justify-items: center;
        text-align: center;
    }

    footer .logos ul {
        justify-content: center;
        align-items: center;
        margin: 10px 0;
    }

    footer .contact {text-align: center;}

    .home .menu-toggle span {background-color: var(--global--color-white);}

    /*
    ** 4. 404
    */

    .error404 header {border-bottom: 1px solid var(--global--color-white);}

    .error404 .menu-toggle span {background-color: var(--global--color-white);}

    /*
    ** 7. TEAM
    */

    .team-item {width: calc((94vw - 10px)/2);}

    .team-img {height: calc((94vw)*1.1/2);}

    /*
    ** 5. DATA TABLE - Geral
    */

    .dataTables_filter {
        position: relative;
        top: 0;
        width: 100%;
    }

    .dataTables_filter input {width: calc(100% - 10px);}

    /*
    ** 5.3 Infográfico
    */

    .home .content-right {
        margin-right: 0;
        width: 100%;
        padding-left: 0;
    }

    .info-grid {
        width: 94vw;
        margin: 50px 3vw;
        flex-wrap: wrap;
    }

    /*
    ** 8. MEMORIAL VIVO
    */

    .acervo-item,
    .blog-item,
    .video-item {width: calc((84vw - 10px));}

    .wp-block-buttons.is-content-justification-space-between {justify-content: center;}

    /*
    ** 9. ACERVO BIBLIOGRÁFICO
    */

    .acervo-filtros {grid-template-columns: 100%;}

    .filtro-search {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .acervo-list,
    .filtro-ordenacao .btn-group,
    .filtro-dispo .btn-group {justify-content: center;}

    body.single #primary.acervo-single {padding: 5vw;}

    .acervo-layout {
        margin: 30px 0;
        display: grid;
        grid-template-columns: 100%;
        grid-template-areas: "col-2" "col-1";
        gap: 5vw;
        width: 90vw;
    }

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

    .acervo_iconografico .acervo-layout,
    .acervo_iconografico .mcap-gpl-grid {
        width: 90vw;
        margin: 30px auto;
    }

    .mcap-gpl-grid {--thumb-w: calc(90vw / 2 - 12px);}
}