/*
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');

/* Textos */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    background: #000000;
    color: #ffffff;
    font-family: Roboto Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    width: 100%;
}
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; }
@media (max-width: 768px) {
    body { font-size: 1.8rem; }
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.4rem; }
}

/* Enlaces */
a {
    color: #ffffff;
    text-decoration: none;
}
a:hover {
    color: #ffcc00;
    transition: 0.3s ease-in-out;
}
button, .btn { 
    background: #ffcc00;
    border: 1px solid #ffcc00;
    border-radius: 4px;
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
}
button:hover, .btn:hover {
    background: #cd9a00;
    color: #ffffff;
}

/* Imagenes */
figure {
    display: block;
    margin: 0;
    padding: 0;
}
figure figcaption {
    padding: 0.5rem;
    display: none;
}
img {
    border-style: none;
    display: block;
    height: auto;
    max-width: 100%;
    pointer-events: none;
}

/* Codigos */
pre, code, kbd, samp {
    color: #000000;
    font-family: Inconsolata, monospace, serif;
}

/* Secciones */
main, section {
    margin-bottom: 0;
}
#marco {
    background: #27292d;
    margin: 2.5rem;
}
#header {
    background: #000000;
    border-bottom: 3px solid #cd9a00;
    padding: 1.5rem 0;
}
#header.shrink {
    padding-top: 0.5rem;
    transition: all 0.6s ease;
}
#header.shrink .custom-logo {
	max-width: 20rem;
    height: auto;
	transition: all 0.6s ease;
}
@media (max-width:768px) {
        #header.shrink .custom-logo {
        margin: 0 auto;
    }
}
#header.shrink .social {
    margin-bottom: 0.5rem;
}
#footer {
  background: #161619;
  font-size: 1.4rem;
  padding: 1.5rem 0;
}
.custom-logo {
    margin-bottom: 1.5rem;
}
.page-header {
  text-align: center;
  margin: 1.5rem 0;
}
.post {
  margin: 1.5rem 0;
}
.col-post h2 {
    font-size: 2rem;
}
.col-post {
    color: #cccccc;
    font-size: 1.4rem;
}
.post-meta {
    font-size: 1.4rem;
}
.error404 article {
    margin: 6rem 0;
}

/* Grid */
* { box-sizing: border-box; }
.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 { width: 25%; }
.col-33 { width: 33.33%; }
.col-50 { width: 50%; }
.col-66 { width: 66.66%; }
.col-75 { width: 75%; }
.col-100, .col-side, .col-thum, .col-half, .col-post, .col-main, .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%; }
}

/* Paginacion */
.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: 0.5rem; }
@media (min-width: 768px) {
    .widget { margin-bottom: 3rem; }
}
/* Comentarios */
.comments-section {
    margin-top: 3rem;
    padding: 2rem;
}
.comments-section h3 {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.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: bold;
    color: #0073aa;
}
.comment-list li .comment-meta {
    margin-bottom: 0.5rem;
}
.comment-list li .comment-content {
    line-height: 1.6;
}
.comment-list li .reply a {
    color: #cd9a00;
    text-decoration: none;
    transition: color 0.3s ease;
}
.comment-respond {
    margin-top: 2rem;
}
.comment-respond h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid #cd9a00;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comment-form p {
    margin: 0;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #161619;
    border: 0;
}
.comment-form input: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;
}
input[type="submit"] { 
    background: #ffcc00;
    border: 1px solid #ffcc00;
    border-radius: 4px;
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
}
input[type="submit"]:hover {
    background: #cd9a00;
    color: #ffffff;
}

/* Searchform */
.searchform {
    display: inline-block;
    margin-bottom: -1.5rem;
}
.searchform input {
    border: 1px solid #ffffff;
    border-right: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0.5rem;
    float: left;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 78% !important;
    padding: 1.2rem;
}
.searchform button, .searchform .btn {
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0;
    float: left;
    font-size: 1.7rem;
    padding: 1rem 1.5rem;
}

/* Iconos */
.social { margin-bottom: 1.5rem; }
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 4px; /* separa los íconos */
	font-size: 22px;
	color: #fff;
}
.social a:last-of-type { margin-right: 0; }
@media (min-width: 768px) {
    .social { margin-bottom: 0; }
}

/* Varios */
.text-capitalize { text-transform: capitalize; }
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-normal { font-weight: normal; }
.text-bold { font-weight: bold; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-left { text-align: left; }
.text-right { text-align: right; }
@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 { display: none; }
.hidden-xs { display: none; }
.hidden-lg { display: block; }
@media (min-width: 768px) {
    .hidden-xs { display: block; }
    .hidden-lg { display: none; }
}
.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}
.embed-responsive,
.embed-responsive iframe,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 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%; }

/* Vertical Navbar */
.vertical-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #0e0f11;
    padding: 60px 20px;
    transition: 0.3s;
    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"; /* Icono de flecha hacia abajo (Font Awesome) */
    font-family: "FontAwesome";
    float: right;
    transition: transform 0.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: 0.95em;
    color: #ccc;
}
.nav-menu .sub-menu li a:hover {
    color: #fff;
}

/* Botón Go To Top */
#go-top {
    position: fixed;
    bottom: 15px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #ffcc00;
    border: none;
    border-radius: 50%;
    color: #000000;
    cursor: pointer;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s ease;
}
#go-top.show {
    display: flex;
    opacity: 1;
}
#go-top:hover {
    background: #cd9a00;
    color: #ffffff;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    #go-top {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
}

/* Portada */
main, section {
    padding-bottom: 6rem;
}
main h1, section h1, main h2, section h2 {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-top: 4rem;
}
@media (max-width: 768px) {
    main h1, section h1, main h2,section h2 {
        font-size: 2.8rem;
        padding-top: 2rem;
    }
}
.section-title {
	text-align: center;
}
.post-overlay h3 {
    font-size: 1.6rem;
}

/* Reportes */
#reporte-quintana-roo {
    background: #27292d;
}
#reporte-regional, #reporte-quintana-roo {
    background: #474747;
}
#el-reporte, #la-revista {
    background: #f0aa00;
}
#el-reporte h1, #la-revista h2 {
    color: #000000;
}

/* El Reporte Slideshow */
.el-reporte-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.el-reporte-slider {
    display: flex;
    transition: transform 0.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,0.45);
    padding: 15px;
}
.slide-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #fff;
}
.slide-meta {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}
.slider-btn:hover {
    background: rgba(0,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 0.3s;
}
.dot.active {
    background: #ffffff;
}
@media (max-width: 768px) {
    .slide-image {
        height: 250px;
    }
    .slide-content {
        bottom: 15px;
        left: 10px;
        right: 10px;
        padding: 12px;
    }
    .slide-content h3 {
        font-size: 16px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Reporte Destacado */
#reporte-destacado .post-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}
/* Reporte Quintana Roo */
#reporte-quintana-roo .post-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.8rem;
}
#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;
}

/* Overlay degradado */
#reporte-destacado .post-overlay, #reporte-quintana-roo .post-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)); /* Menos opacidad */
    color: #fff;
    text-align: center;
    opacity: 1;
    transition: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attachment-full {
    width: 100%;
    height: auto;
}