/*
Theme Name: Reporte Maya
Theme URI: https://reportemaya.mx/
Author: Hago Webs
Author URI: https://hagowebs.com/
Description: Plantilla personalizada para Reporte Maya
Version: 1.0 Octubre 2025
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* === Reset y Base === */
* { box-sizing: border-box; }
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    background: #000;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    padding-top: 135px;
	user-select: none;
}

/* === Tipografía === */
h1, h2, h3, h4, h5, h6 {
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
    margin: 1rem 0;
}
h1 { font-size: 4rem; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.6rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

pre, code, kbd, samp {
    color: #000;
    font-family: Inconsolata, monospace, serif;
}

/* === Enlaces y Botones === */
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    color: #fc0;
    transition: color .3s ease-in-out;
}
button, .btn, input[type="submit"] {
    background: #fc0;
    border: 1px solid #fc0;
    border-radius: 4px;
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding: .5rem 1rem;
    cursor: pointer;
}
button:hover, .btn:hover, input[type="submit"]:hover {
    background: #cd9a00;
    color: #fff;
}

/* === Imágenes === */
figure {
    display: block;
    margin: 0;
    padding: 0;
}
figcaption, .wp-element-caption {
    display: none !important;
}
img {
    border: none;
    display: block;
    height: auto;
    max-width: 100%;
    pointer-events: none;
}

/* === Grid System === */
.container, .container-fluid {
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}
@media (min-width: 1280px) {
    .container { max-width: 120rem; }
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}
.reverse { flex-direction: row-reverse; }
.around { justify-content: space-around; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.align-center { align-items: center; }
[class*="col-"] { padding: 0 1.5rem; }
.col, .col-lg { 
    flex: 1 1 0; 
    max-width: 100%; 
}
.col-25, .col-lg-25, .col-side,
.col-33, .col-lg-33, .col-thum,
.col-50, .col-lg-50, .col-half,
.col-66, .col-lg-66, .col-post,
.col-75, .col-lg-75, .col-main,
.col-100, .col-lg-100, .col-page { 
    width: 100%; 
}
@media (min-width: 768px) {
    .col-lg-25, .col-side { width: 25%; }
    .col-lg-33, .col-thum { width: 33.33%; }
    .col-lg-50, .col-half { width: 50%; }
    .col-lg-66, .col-post { width: 66.66%; }
    .col-lg-75, .col-main { width: 75%; }
    .col-lg-100, .col-page { width: 100%; }
}

/* === Utilidades de Texto === */
.text-capitalize { text-transform: capitalize; }
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-normal { font-weight: 400; }
.text-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden, .hidden-xs { display: none; }
.hidden-lg { display: block; }

/* === Contenido Embebido === */
.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}
.embed-responsive iframe,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-responsive-16by9 { padding-bottom: 56.25%; }
.embed-responsive-4by3 { padding-bottom: 75%; }
.embed-responsive-1by1 { padding-bottom: 100%; }

/* === Layout Principal === */
main, section {
    margin-bottom: 0;
    padding-bottom: 6rem;
}
main h1, section h2 {
    color: #fff;
    font-size: 4rem;
    font-weight: 400;
    margin-top: 0;
    padding: 1rem 0;
}
#marco {
    background: #27292d;
    margin: 2.5rem;
}

/* === Header === */
#header {
    background: #000;
    border-bottom: 3px solid #cd9a00;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* === Footer === */
#footer {
    background: #161619;
    font-size: 1.4rem;
    padding: 1.5rem 0;
}

/* === Posts === */
.page-header {
    text-align: center;
    padding: 1.5rem 0;
}
.post {
    margin-bottom: 3rem;
}
.col-post {
    color: #ccc;
    font-size: 1.4rem;
}
.col-post h2 {
    font-size: 2rem;
}
.post-meta {
    font-size: 1.4rem;
}
.error404 article {
    margin: 6rem 0;
}
.archive .col-thum img, 
.attachment-full {
    width: 100%;
    height: auto;
}
.home .post-title {
    font-size: 1.6rem;
}

/* === Paginación === */
.pager {
    margin-bottom: 1.5rem;
    text-align: center;
}
.pager li {
    display: inline-block;
    margin-right: 1.5rem;
}
.pager li:last-child { 
    margin-right: 0; 
}

/* === Sidebar === */
.widget {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}
.widget ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}
.widget li { 
    margin-bottom: .5rem; 
}

/* === Comentarios === */
.comments-section {
    margin-top: 3rem;
    padding: 2rem;
}
.comments-section h3, 
.comment-respond h3 {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding-bottom: .5rem;
}
.comment-respond h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid #cd9a00;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment-list li {
    margin-bottom: 1.5rem;
    padding: 1rem;
}
.comment-list li .comment-author {
    font-weight: 700;
    color: #0073aa;
}
.comment-list li .comment-meta {
    margin-bottom: .5rem;
}
.comment-list li .comment-content {
    line-height: 1.6;
}
.comment-list li .reply a {
    color: #cd9a00;
    text-decoration: none;
    transition: color .3s ease;
}
.comment-respond {
    margin-top: 2rem;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comment-form p {
    margin: 0;
}
.comment-form input:not([type="submit"]),
.comment-form textarea {
    width: 100%;
    padding: .8rem;
    background-color: #161619;
    border: 0;
}
.comment-form input:not([type="submit"]):focus,
.comment-form textarea:focus {
    outline: none;
}
.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}
.comment-form .form-submit input[type="submit"] {
    max-width: 200px;
}
.comment-form label {
    font-size: 1.6rem;
}

/* === Formulario de Búsqueda === */
.searchform {
    display: inline-block;
    margin-bottom: -1.5rem;
}
.searchform input:not([type="submit"]) {
    border: 1px solid #fff;
    border-right: 0;
    border-radius: .5rem 0 0 .5rem;
    float: left;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 78% !important;
    padding: 1.2rem;
}
.searchform button, 
.searchform .btn {
    border-radius: 0 .5rem .5rem 0;
    float: left;
    font-size: 1.7rem;
    padding: 1rem 1.5rem;
}

/* === Iconos Sociales === */
.social { 
    margin-bottom: 1.5rem; 
}
.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 2.2rem;
    color: #fff;
}
.social a:last-of-type { 
    margin-right: 0; 
}

/* === Navegación Vertical === */
.vertical-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #0e0f11;
    padding: 30px;
    transition: right .3s ease;
    z-index: 999;
}
.vertical-nav.active {
    right: 0;
}
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-menu li {
    margin: 15px 0;
}
.vertical-nav .text-center {
    margin: 20px 0;
}
.vertical-nav .searchform {
    padding-left: 20px;
}
.menu-toggle, 
.menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 24px;
}

/* === Submenús === */
.nav-menu li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "FontAwesome";
    float: right;
    transition: transform .3s;
}
.nav-menu .sub-menu {
    display: none;
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
    border-left: 1px solid #222;
}
.nav-menu li.open > .sub-menu {
    display: block;
}
.nav-menu li.open > a::after {
    transform: rotate(180deg);
}
.nav-menu .sub-menu li a {
    font-size: .95em;
    color: #ccc;
}
.nav-menu .sub-menu li a:hover {
    color: #fff;
}

/* === Búsqueda Superior === */
.search-toggle,
.search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 2.4rem;
    cursor: pointer;
    background: none;
    border: none;
}
.search-form {
    position: fixed;
    top: -150px;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.5), transparent);
    padding: 55px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: top .3s ease;
    z-index: 1000;
}
.search-form.active {
    top: 0;
}
.search-close {
    color: #fff;
    font-size: 24px;
}

/* === Header Shrink === */
#header.shrink {
    padding-top: .5rem;
    transition: all .6s ease;
}
#header.shrink .custom-logo {
    max-width: 20rem;
    height: auto;
    transition: all .6s ease;
}
#header.shrink .social {
    margin-bottom: 0;
	transition: all .6s ease;
}
#header.shrink .social a {
    font-size: 1.6rem;
	margin: 2px;
	transition: all .6s ease;
}

/* === Botón Ir Arriba === */
#go-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 35px;
	height: 35px;
    background: #fc0;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    transition: all .3s ease;
}
#go-top.show {
    display: flex;
    opacity: 1;
}
#go-top:hover {
    background: #cd9a00;
    color: #fff;
    transform: translateY(-3px);
}

/* === Secciones de Portada === */
.section-title {
    text-align: center;
}
#reporte-regional {
    background: #474747;
}
#el-reporte, 
#la-revista {
    background: #f0aa00;
}
#el-reporte h1, 
#la-revista h2 {
    color: #000;
}
.post-wrapper {
    position: relative;
    overflow: hidden;
	margin-bottom: 1rem;
}
.post-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.post-wrapper a {
    position: relative;
    z-index: 2;
}
#reporte-destacado .post-image, 
#reporte-quintana-roo .post-image {
    position: relative;
}
#reporte-destacado .post-image img, 
#reporte-quintana-roo .post-image img {
    display: block;
    width: 100%;
    height: auto;
}
.post-overlay {
    position: absolute;
    inset: 0;
    padding: 1rem;
}
#la-revista img {
    margin-bottom: 3rem;
}

/* === Slider === */
.el-reporte-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.el-reporte-slider {
    display: flex;
    transition: transform .5s ease;
}
.slide {
    min-width: 100%;
    position: relative;
    background: #fff;
    overflow: hidden;
}
.slide-image {
    width: 100%;
    height: 630px;
    overflow: hidden;
}
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    background: rgba(0,0,0,.45);
    padding: 15px;
}
.slide-content h2 {
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    color: #fff;
}
.slide-meta {
    margin-bottom: 10px;
    color: rgba(255,255,255,.9);
    font-size: 1.4rem;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 3rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background .3s;
}
.slider-btn:hover { background: rgba(0,0,0,.7); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cd9a00;
    cursor: pointer;
    transition: background .3s;
}
.dot.active {
    background: #fff;
}

/* === Media Queries === */
@media (min-width: 768px) {
    .text-center-lg { text-align: center; }
    .text-justify-lg { text-align: justify; }
    .text-left-lg { text-align: left; }
    .text-right-lg { text-align: right; }
    .hidden-xs { display: block; }
    .hidden-lg { display: none; }
    .social { margin-bottom: 0; }
    .widget { margin-bottom: 3rem; }
}
@media (max-width: 768px) {
    body { font-size: 1.6rem; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.4rem; }
    main h1, section h2 {
        font-size: 2.4rem;
        padding: 2rem 0;
    }
    .slide-content {
        bottom: 15px;
        left: 10px;
        right: 10px;
        padding: 10px;
    }
    .slide-content h2 { 
        font-size: 1.6rem;
        margin: 0 0 5px 0;
    }
    .slide-meta {
        font-size: 1.1rem;
    }
    .slide-content .btn {
        font-size: 0.8rem; 
        padding: 4px 8px;
        display: inline-block;
    }
    .slide-image { height: 250px; }
    .slide-content h3 { font-size: 1.4rem; }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
	.slider-btn {
        top: 25%;
    	transform: translateY(-75%);
    }
	.site-branding a {
		display: flex;
		justify-content: center; 
	}
	.social a {
		width: 38px;
		height: 38px;
		font-size: 2rem;
	}
	.section-title {
		font-size: 80%;
	}
}