/*
Theme Name: Municipio de Apazapan, Veracruz
Theme URI: https://www.apazapan.gob.mx
Author: Ulises Cuervo Cubas
Author URI: https://www.uccti.com.mx/
Description: Tema de Municipio de Apazapan, Veracruz
Version: 0.1<div class="fecha">
      	<?php echo the_time('d M Y');?>
      </div>
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Municipio, Gobierno, Municipio, 
*/

body {font-family:var(--sans);
	background:var(--g1);
    font-family: sans-serif;
    color: #303030;
}

.fondo_azul {
    background-color: #757373;
    color: white;
}
p {
    font-weight: 300;
    line-height: 2rem;
    font-size: 1rem;
}
/* Header */
.logo{
    width: 150px;
    height: auto;
}

/* Fondo del menú */
.main-navigation, nav, #site-navigation {
  background-color: #2e2e2e;
  padding: 0 0px;
}

/* Enlaces del menú */
nav ul li a {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px 16px;
  display: block;
  transition: all 0.3s ease;
}

/* Hover en rojo elegante */
nav ul li a:hover {
  color: #fff !important;
  border-bottom: 2px solid #c31536;
}

/* Ítem activo */
nav ul li.current-menu-item a {
  color: #c31536 !important;
  border-bottom: 2px solid #c31536;
}

/* Submenús */
nav ul ul {
  background-color: #3d3d3d;
  border-top: 3px solid #c31536;
}
nav ul ul li a {
  color: #f0f0f0 !important;
  padding: 12px 16px;
}

/* Caja de Transparencia */
.icon-box {
  width: 320px;
  padding: 30px 20px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: #c31536;
  font-family: 'Segoe UI', sans-serif;
  transition: transform 0.3s ease;
}
.icon-box:hover { transform: translateY(-6px); }
.icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 24px;
  background: #c0392b;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}
.btn:hover { background: #96281b; }
h3 { 
    margin: 0 0 10px; 
    font-size: 1.2rem; 
}
p { 
    font-size: 0.9rem; 
    color: #aaa; 
    margin: 0; 
}

.nav-link {
    color: black;
}
.nav-link:hover {
    color: #c31536!important;
}

.current_page_item .nav-link {
    color: #c31536;
    border-bottom: 2px solid #c31536;
}

.bg-light {
    background-color: #eceaea6c!important;
}

.destacada {
    margin-top: -5rem;
}
.no-destacada {
    margin-top: 0rem!important;
    border: none;
}
.card-title {
    margin-bottom: 0.5rem;
    padding: .1rem;
    width: 250px;
    max-height: 48px;
    color: #303030;
    font-size: .8rem;
    align: center;
  }

.card-deck a:link {
    text-decoration: none!important;
}

/* Sección tercera */
.list-group-item a:link, a:visited {
    color: #303030;
    text-decoration: none!important;
}
.list-group-item a:link {
    text-decoration: none!important;
}

/*Footer*/
footer p{
    font-size: .9rem!important;
    line-height: 1rem;
}

footer span.direccion{
    font-size: .9rem!important;
    line-height: 1rem;
    font-weight: 400;
}

/*
* Actividades
*/
/* Botones*/
.btn-primary{
    background-color: rgb(75, 76, 71)!important;
    border:none;
}
.contenido-entrada h3{
    color:  rgb(75, 76, 71)!important;
}


.footer-elegante {
  background: linear-gradient(135deg, #1a1a1a, #2e2e2e);
  color: #f0f0f0;
  font-family: 'Segoe UI', sans-serif;
  padding: 50px 20px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}
.footer-col h4 {
  color: #c31536;
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p,
.footer-col ul { color: #bbb; font-size: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: #e74c3c; }
.footer-bottom {
  text-align: center;
  padding: 16px;
  background: #c31536;
  color: #fff;
  font-size: 0.85rem;
  margin-top: 0;
}

/* Caja Bienvenida */

.wrapper{
  max-width:960px;
  margin:2rem auto;
  background:#fff;
  border:1px #E3E6EA;
  display:grid;
  grid-template-columns:2fr 3fr;
  overflow:hidden;
}

.img-panel{
  background:#3D4043;
  display:flex;flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  min-height:480px;
  position:relative;
  overflow:hidden;
}

.bg-shape{
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background:#3D4043;
}
.red-accent{
  position:absolute;bottom:0;left:0;right:0;
  height:6px;
  background:#B52B2B;;
}
.top-label{
  position:absolute;top:1.5rem;left:0;right:0;
  text-align:center;
  font-size:10px;letter-spacing:3px;color:rgba(255,255,255,.5);
  font-family:sans-serif;
}

.figure-wrap{
  position:relative;z-index:2;
  width:100%;
	display:flex;
	justify-content:center;
	align-items:flex-end;
  padding-bottom:6px;
}

.exec-svg{width:220px;max-width:90%}

.text-panel{
  padding:3rem 2.5rem;
  display:flex;
	flex-direction:column;
	justify-content:center;
  border-left:3px #B52B2B;
}

.municipio-tag{
  font-size:10px;letter-spacing:3px;
  color:#B52B2B;
  font-family:sans-serif;
	margin-bottom:1.2rem;
  display:flex;
	align-items:center;gap:8px;
}
.tag-line{
	width:24px;
	height:1px;
	background:#B52B2B;}

.welcome-title{
  font-family:Georgia;
	font-size:1.7rem;
	font-weight:400;
  color:#111827;
	line-height:1.3;
	margin-bottom:.5rem;
}
.welcome-title span{
	color:#B52B2B;
	font-style:italic;
}

.municipio-name{
  font-family:sans-serif;
	font-size:1rem;
	font-weight:500;
  color:#3D4043;
	letter-spacing:1px;
	margin-bottom:1.5rem;
}

.divider{
	width:40px;
	height:2px;
	background:#B52B2B;
	margin-bottom:1.5rem;
}

.welcome-msg{
  font-family:sans-serif;
	font-size:14px;
	color:#5A5F64;
  line-height:1.8;
	margin-bottom:1.8rem;
}

.signature-block{
  border-top:1px solid #E3E6EA;
	padding-top:1.2rem;
  display:flex;
	align-items:center;
}
.sig-avatar{
  width:48px;height:48px;
  border-radius:50%;
  background:#FCF0F0;
  border:2px solid #B52B2B;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:500;color:#B52B2B;
  font-family:sans-serif;
  flex-shrink:0;
}
.sig-name{font-size:14px;font-weight:500;color:#111827}
.sig-title{font-size:12px;color:#fff;margin-top:2px}

.cta-btn{
  margin-top:1.5rem;
  display:inline-block;
  background:#B52B2B;
  color:#fff;border:none;
  padding:10px 24px;
  font-size:13px;
  letter-spacing:1px;
  font-family:sans-serif;cursor:pointer;
  align-self:flex-start;
}
.cta-btn:hover{background:#D63C3C;}

@media(max-width:620px){
  .wrapper{
	  grid-template-columns:1fr;
	}
  .img-panel{
	  min-height:280px;
	}
  .text-panel{
	  padding:2rem 1.5rem;
	  border-left:none;
	  border-top:3px solid #B52B2B;}
}
/*Directorio*/ 
.directorio-card{
      width: 320px;
      border: none;
      border-radius: 20px;
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
      transition: 0.3s ease;
      margin: 40px auto;
    }

    .directorio-card:hover{
      transform: translateY(-5px);
    }

    .card-header-custom{
      height: 120px;
      background: linear-gradient(135deg, #8B0000, #B22222, #36454F);
      position: relative;
    }

    .profile-img{
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 5px solid #fff;
      position: absolute;
      left: 50%;
      bottom: -25px;
      transform: translateX(-50%);
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .card-body{
      padding-top: 75px;
      text-align: center;
    }

    .nombre{
      font-size: 1.4rem;
      font-weight: bold;
      color: #36454F; /* Gris Oxford */
    }

    .cargo{
      color: #8B0000;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .info{
      color: #555;
      margin-bottom: 8px;
      font-size: 0.95rem;
    }

    .info i{
      color: #8B0000;
      margin-right: 8px;
    }

/* Estilos Transparencia */
 	.card-elegante{
            max-width: 420px;
            margin: 60px auto;
            border: none;
            border-radius: 20px;
            overflow: hidden;
            background: #ffffff;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            position: relative;
        }

        .header-card{
            background: #b30000;
            height: 120px;
        }

        .icono{
            width: 90px;
            height: 90px;
            background: #4a4f57; /* Gris Oxford */
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 40px;
            border: 5px solid white;
            position: absolute;
            top: 70px;
            left: 50%;
            transform: translateX(-50%);
        }

        .contenido{
            padding: 70px 30px 30px;
            text-align: center;
        }

        .contenido h2{
            color: #b30000;
            font-weight: 200;
            margin-bottom: 10px;
        }

        .contenido p{
            color: #555;
            margin-bottom: 20px;
        }

        .btn-elegante{
            background: #b30000;
            color: white;
            border-radius: 30px;
            padding: 10px 25px;
            border: none;
            transition: 0.3s;
        }

        .btn-elegante:hover{
            background: #4a4f57;
            color: white;
        }

/* Card de pagina */

.card-custom{
        max-width:400px;
        margin:auto;
        margin-top:60px;
        border:none;
        border-radius:25px;
        overflow:hidden;
        box-shadow:0 10px 25px rgba(0,0,0,0.15);
        text-align:center;
        position:relative;
    }
.header-card{
        height:120px;
        background:#b30000;
    }

    .icono{
        width:90px;
        height:90px;
        background:#4a4f57;
        color:white;
        border-radius:50%;
        display:flex;
        justify-content:center;
        align-items:center;
        font-size:40px;
        border:5px solid #fff;
        position:absolute;
        top:70px;
        left:50%;
        transform:translateX(-50%);
    }

/*Card Bienvenida*/
.custom-card{
      border:none;
      border-radius:20px;
      overflow:hidden;
      box-shadow:0 8px 25px rgba(0,0,0,0.12);
      transition:0.3s;
    }

    .custom-card:hover{
      transform:translateY(-5px);
    }

    .custom-card img{
      height:100%;
      object-fit:cover;
    }

    .card-body{
      padding:40px;
    }


/* Transparencia */
.table-container{
            margin-top:50px;
        }

        .table thead{
            background:#8B0000;
            color:white;
        }

        .icon-link{
            font-size:1.3rem;
            color:#8B0000;
            transition:0.3s;
        }

        .icon-link:hover{
            color:#343a40;
        }

/*** Fecha Entradas **/
.post-date,
.entry-date,
.posted-on {
    display: inline-block;
    background: linear-gradient(135deg, #b30000, #ff4d4d);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.post-date:hover,
.entry-date:hover,
.posted-on:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #990000, #e60000);
}

/* Icono de calendario */
.post-date::before,
.entry-date::before,
.posted-on::before {
    content: "📅 ";
    margin-right: 5px;
}

.entry-title,
.post-title,
h1.entry-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

/* Línea decorativa */
.entry-title::after,
.post-title::after,
h1.entry-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #b30000, #ff4d4d);
    margin-top: 10px;
    border-radius: 10px;
}

/* Efecto hover */
.entry-title:hover,
.post-title:hover,
h1.entry-title:hover {
    color: #b30000;
    transform: translateY(-2px);
}


.seccion-imagen{
    padding:60px 0;
    background:#f5f7fa;
}

.imagen-elegante{
    width:100%;
    height:auto;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    transition:all .4s ease;
    object-fit:cover;
}

.imagen-elegante:hover{
    transform:scale(1.02);
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
}

.contenedor-imagen{
    max-width:1000px;
    margin:auto;
    overflow:hidden;
}

/**** Redes Sociales ***/

.top-social-bar{
        background: #b30000;
        padding: 10px 0;
    }

    .social-icons a{
        color: #ffffff;
        font-size: 20px;
        margin-left: 15px;
        transition: 0.3s;
    }

    .social-icons a:hover{
        color: #d9d9d9;
        transform: scale(1.2);
    }