/* ==========================================================================
   paper26-overrides.css
   ==========================================================================
   Overrides que estaban en el plugin "Custom CSS" (roto en PHP 8.3).
   Migrado a archivo del tema el 16 abril 2026.

   NOTAS DE MANTENIMIENTO:
   - Este archivo se carga DESPUÉS de style.css y mediaqueries.css — tiene la
     última palabra en la cascada.
   - Reglas ordenadas tal cual estaban en el plugin. Sólo se ha eliminado
     un bloque @media (min-width: 1600px) que era duplicado exacto del
     bloque (min-width: 769px) — no hacía nada.
   - Maria ajusta las tipografías (.ffs*) con frecuencia. Si hay algo que no
     cambia al editar aquí, comprobar antes si otro archivo lo pisa con
     mayor especificidad / orden posterior.

   TODO revisión futura (NO urgente, tema sale en 1-2 meses):
   - p.ffs16 está definido para min-width:1600 Y max-width:1600 con el mismo
     valor — equivale a una regla sin @media.
   - .category-places aparece aquí pero el CPT Places no se usa. Si tampoco
     hay categoría "places", se puede borrar.
   ========================================================================== */


/* ==========================================================================
   POST / PÁGINA ESPECÍFICOS
   ========================================================================== */

@media (max-width: 660px) {
	.postid-71703 .obra_info.top2 { margin: 5em 0 0 5% !important}
	.B5 .col_wide p.artist_quote { margin-top: 4em !important;}
	.B5 .col_narrow,
	.B7 .col_narrow { margin-bottom: 4em !important }
	.B7 .col_wide p.artist_quote { margin-bottom: 3em !important;}
}

.section_black .col_img img,
.section_black .col_img  p{
	margin: 0 auto !important;
}

.titular_center span.ffs30 {
	font-size: 4.5vw !important;
}

.B04 .project-cols {
   flex-direction: row-reverse;
    margin: auto 0 0 auto !important;
}

p.md-slider-caption { margin: 0 auto !important }

.page-id-69809 .stacked-card .card-bg {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    box-sizing: border-box;
}

.category-places #container:not(.in-stack) .p25.header {
    background-color: #FFF !important;
}


/* ==========================================================================
   ERROR 404
   ========================================================================== */

.error404 #container:not(.in-stack) .p25.header {
    position: relative !important;
    top: 0;
}
.error404 .icon-bar { background-color: #000 !important; }
.scrolled-up.classOscuro .menu__toggle .icon-bar { background-color: #000; }
.error404 .back-button svg, .error404 .p25.header .LogoMDheader svg,
.error404.scrolled-up.classOscuro .back-button svg, .error404.scrolled-up.classOscuro .LogoMDheader svg { fill: #000 !important; }
.error404 .entry-content { display: none; }
.error404 .article-header { margin-bottom: 5em; }


/* ==========================================================================
   PÁGINA 69809 (stacked)
   ========================================================================== */

.page-id-69809 #container.in-stack .p25.header {
    position: fixed;
    margin: 0 auto !important;
    width: 100% !important;
}


/* ==========================================================================
   NV_ENTRY
   ========================================================================== */

.NV_entry p.neue700 {
    line-height: 1.15em !important;
}


/* ==========================================================================
   LINKS / MENÚS
   ========================================================================== */

@media (max-width: 600px) {
	.wrap_links { padding-bottom: 15vh !important; }
}


/* ==========================================================================
   ACCESIBILIDAD (Nagish)
   ========================================================================== */

#nagish-floating-container {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
}


/* ==========================================================================
   ARCHIVOS / TAGS / CARDS
   ========================================================================== */

.tag .menu-categorias.new.arquivo { margin-bottom: 4em; }

.card-overlay p, .card-overlay h2 { color: #fff !important; }


/* ==========================================================================
   NEXT SECTION LINK
   ========================================================================== */

.next-section-link { position: fixed; bottom: 5vw; left: 50%; transform: translateX(-50%); display: block; width: 2.1vw; height: auto; z-index: 99; }
.next-arrow { display: block; width: 100%; height: auto; animation: arrowBounce 2.5s cubic-bezier(0.55, 0, 0.45, 1) infinite; }
@keyframes arrowBounce {
	0% { transform: translateY(0); }
	50% { transform: translateY(0.6vw); }
	100% { transform: translateY(0); }
}
.in-stack .next-section-link, .next-section-link.hidden { display: none !important; }
.card-overlay.custom { bottom: 27.5vh; }

@media (max-width: 768px) {
	.next-section-link { width: 8vw; height: auto; }
	.next-section-link { bottom: 10vw; }
}
@media (min-width: 1800px) {
	.next-section-link { bottom: 80px; }
}


/* ==========================================================================
   WRAP / FOOTER / NV_ENTRY layout
   ========================================================================== */

.NV_entry, .wrap95 { width: 92% !important; max-width: 1766px !important; }

.wrap_cat_footer { width: 65%; margin: 0 auto 15vh !important; max-width: 960px !important; }
.wrap_cat_footer h2 { color: #000 !important; font-size: 2.2vw !important; text-transform: uppercase; line-height: 1.25em !important; letter-spacing: -0.04em !important; }
.wrap_cat_footer h2 a { padding: 0 0.25em; border-bottom: 1px solid; }

.NV_entry p a { display: block !important; }
.NV_entry p { line-height: 1em !important; font-size: 1.2vw !important; }
.NV_tags.ffs20 span, .NV_tags span { font-size: 1vw !important; }

@media (min-width: 769px) {
	.NV_entry h1 { font-size: 2.7vw !important; }
}
@media (min-width: 1801px) {
	.NV_entry h1 { font-size: 50px !important; }
	.wrap_cat_footer h2 { color: #000 !important; font-size: 40px !important; }
	.NV_entry p { font-size: 20px !important; }
	.NV_tags.ffs20 span, .NV_tags span { font-size: 18px !important; }
}
@media (max-width: 768px) {
	.NV_entry h1 { font-size: 5.3vw !important; }
	.NV_entry p { font-size: 2.4vw !important; }
	.NV_tags.ffs20 span, .NV_tags span { font-size: 2vw !important; }
}


/* ==========================================================================
   MENÚ MÓVIL
   ========================================================================== */

.menu-descripcion { display: block; text-transform: uppercase; font-size: 50%; padding-top: 0; letter-spacing: -0.04em !important; line-height: 1.5em; }

#menu-location- #menu-new-in-paper li::before { top: 2.15em !important; }

#mobile-menu.wrap_menu_top .menu li { margin-bottom: 0.35em; }
#mobile-menu { padding-top: 2.75vw !important; }
#mobile-menu .textwidget p { margin-bottom: 1.25em !important; }

.v-app .LINKMD { display: none !important; }
.v-app #mobile-menu { padding-top: 10vw !important; }

.back-button { top: 2.2vw !important; }

#mobile-menu {
    position: fixed;
    top: 0;
    left: auto;
	right: 0;
	width: 100%;
}

@media (max-width: 768px) {
    .back-button { top: 13.5vw !important; }
	.wrap_cat_footer h2 { font-size: 5.25vw !important; }
	.wrap_cat_footer { width: 85%; }
	#mobile-menu.wrap_menu_top .menu li { margin-bottom: 0.6em; }
	#mobile-menu .textwidget { margin-top: 2em; }
}


/* ==========================================================================
   PÁGINA 43145
   ========================================================================== */

.page-id-43145 #container:not(.in-stack) .p25.header {
    position: relative !important;
    top: 0;
}


/* ==========================================================================
   CUSTOM HOME
   ========================================================================== */

.customHome { position: relative; height: 100vh !important; overflow: hidden; }
.customHome.Relative { height: auto !important; overflow: scroll !important; }
.customHome .wrap_full { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.customHome picture, .customHome img { width: 100%; height: 100vh !important; object-fit: cover; display: block; }


/* ==========================================================================
   TIPOGRAFÍA .ffs* — SISTEMA RESPONSIVO
   ==========================================================================
   Maria ajusta estos valores con frecuencia.
   Breakpoints:
     - Desktop (>=769px): valores en vw
     - Desktop XL (>=1800px): valores fijos en px
     - Tablet (661-1280px): escala vw propia
     - Mobile (<=660px): valores vw más grandes
   NOTA: Había un bloque duplicado para (min-width: 1600px) idéntico al
   de (min-width: 769px). Eliminado — no hacía nada.
   ========================================================================== */

@media (min-width: 769px) {
	.ffs14 { font-size: 0.78vw !important; }
	.ffs16 { font-size: 0.89vw !important; }
	.ffs18 { font-size: 1vw !important; }
	.ffs20 { font-size: 1.11vw !important; }
	.ffs24 { font-size: 1.33vw !important; }
	.ffs28 { font-size: 1.56vw !important; }
	.ffs30 { font-size: 1.67vw !important; }
	.ffs32 { font-size: 1.78vw !important; }
	.ffs36 { font-size: 2vw !important; }
	.ffs38 { font-size: 2.11vw !important; }
	.ffs40 { font-size: 2.22vw !important; }
	.ffs45 { font-size: 2.5vw !important; }
	.ffs50 { font-size: 2.78vw !important; }
	.ffs55 { font-size: 3.1vw !important; }
	.ffs60 { font-size: 3.33vw !important; }
	.ffs80 { font-size: 4.44vw !important; }
	.ffs100 { font-size: 5.56vw !important; }
	.ffs120 { font-size: 6.67vw !important; }
	.ffs150 { font-size: 8.33vw !important; }
}

@media screen and (min-width: 1800px) {
	.ffs14, h5.ffs14 { font-size: 14px !important; }
	.ffs16 { font-size: 16px !important; }
	.ffs18 { font-size: 18px !important; }
	.ffs20 { font-size: 20px !important; }
	.ffs24 { font-size: 24px !important; }
	.ffs28 { font-size: 28px !important; }
	.ffs30 { font-size: 30px !important; }
	.ffs32 { font-size: 32px !important; }
	.ffs36 { font-size: 36px !important; }
	.ffs38 { font-size: 38px !important; }
	.ffs40, #mobile-menu .menu li { font-size: 40px !important; }
	.ffs45 { font-size: 45px !important; }
	.ffs50 { font-size: 50px !important; }
	.ffs55 { font-size: 55px !important; }
	.ffs60 { font-size: 60px !important; }
	.ffs80 { font-size: 80px !important; }
	.ffs100 { font-size: 100px !important; }
	.ffs120 { font-size: 120px !important; }
	.ffs150 { font-size: 150px !important; }
	.clear200 { height: 200px !important; }
}

/* Tablet: desde 661px hasta 1280px — .ffs14 = 1vw */
@media screen and (min-width: 661px) and (max-width: 1280px) {
	.ffs14, h5.ffs14 { font-size: 1vw !important; }
	.ffs16 { font-size: 1.14vw !important; }
	.ffs18 { font-size: 1.29vw; }
	.ffs20 { font-size: 1.43vw; }
	.ffs24 { font-size: 1.71vw; }
	.ffs28 { font-size: 1.9vw; }
	.ffs30 { font-size: 2.14vw; }
	.ffs32 { font-size: 2vw; }
	.ffs36 { font-size: 2.57vw; }
	.ffs38 { font-size: 2.71vw; }
	.ffs40, #mobile-menu .menu li { font-size: 2.86vw; }
	.ffs45 { font-size: 3.21vw; }
	.ffs50 { font-size: 3.57vw; }
	.ffs55 { font-size: 4vw; }
	.ffs60 { font-size: 4.29vw; }
	.ffs80 { font-size: 5.71vw; }
	.ffs100 { font-size: 7.14vw; }
	.ffs120 { font-size: 8.57vw; }
	.ffs150 { font-size: 10.71vw; }
}

/* Mobile: hasta 660px */
@media screen and (max-width: 660px) {
	.ffs14, h5.ffs14 { font-size: 1.8vw !important; }
	.ffs16 { font-size: 2.15vw !important; }
	.ffs18 { font-size: 2.4vw !important; }
	.ffs20 { font-size: 2.6vw !important; }
	.ffs24 { font-size: 3vw !important; }
	.ffs28 { font-size: 3.2vw !important; }
	.ffs30 { font-size: 3.2vw !important; }
	.ffs32 { font-size: 3.3vw !important; }
	.ffs36 { font-size: 3.5vw !important; }
	.ffs38 { font-size: 3.75vw !important; }
	.ffs40, #mobile-menu .menu li { font-size: 3.6666vw !important; }
	.ffs45 { font-size: 4vw !important; }
	.ffs50 { font-size: 4.5vw !important; }
	.ffs55 { font-size: 5.25vw !important; }
	.ffs60 { font-size: 6vw !important; }
	.ffs80 { font-size: 7vw !important; }
	.ffs100 { font-size: 9vw !important; }
	.ffs120 { font-size: 10vw !important; }
	.ffs150 { font-size: 12.5vw !important; }
}

@media (max-width: 580px) {
	.NV_entry h1 { font-size: 7.6vw !important; }
	.NV_entry p,
	.NV_tags.ffs20 span { font-size: 16px !important; }
	.ffs14, h5.ffs14 { font-size: 12px !important; }
	.ffs16,
	.ffs18,
	.ffs20,
	.ffs24 { font-size: 15px !important; }
	.ffs60, .ffs80 { font-size: 7.6vw !important; }
	.ffs100 { font-size: 9vw !important; }
	.ffs120 { font-size: 10vw !important; }
	.ffs150 { font-size: 12vw !important; }
}

@media screen and (max-width: 660px) {
	.ffs24 { font-size: 3.3vw !important; }
	.NV_tags span { display: block; }
	.NV_entry .NV_tags span { display: inline-block; margin-right: 5em !important; }
	.NV_tags span:last-of-type { margin-right: 0 !important; }

	.NV_entry h1 { font-size: 8vw !important; }
	.NV_entry p { font-size: 3.5vw !important; }
	.NV_tags.ffs20 span, .NV_tags span { font-size: 2.6vw !important; }
	#mobile-menu .menu li { font-size: 4.75vw !important; }
}

@media screen and (min-width: 1060px) {
	.NV_entry p { max-width: 960px !important; margin-right: 30% !important; }
}


/* ==========================================================================
   p.ffs16 — ajustes específicos
   ==========================================================================
   NOTA: Las reglas min-width:1600 y max-width:1600 con el mismo valor
   equivalen a una regla sin @media. Mantenido tal cual por si Maria las
   separó a propósito para editar luego.
   ========================================================================== */

@media screen and (min-width: 1600px) {
    p.ffs16 { font-size: 16px !important; }
}
@media screen and (max-width: 1600px) {
    p.ffs16 { font-size: 16px !important; }
}
@media screen and (max-width: 1020px) {
    p.ffs16 { font-size: 15px !important; }
}


/* ==========================================================================
   .titular_center
   ========================================================================== */

.titular_center h1.ffs40 { font-size: clamp(28px, 2.2vw, 40px) !important; }

@media screen and (max-width: 660px) {
	.titular_center p.ffs20, .titular_center p.ffs16 { font-size: 14px !important; }
	.titular_center .ffs16 span { font-size: 12px !important; }
}
