/* Imagen incluida en la tarjeta */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Texto permanente */
.gallery-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.45);
    color: white;
    text-align: left;
}

.gallery-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.gallery-text small {
    font-size: 13px;
    opacity: 0.9;
}

/* Overlay del theme solo al hover */
.overlay-hover {
    opacity: 0;
    transition: 0.4s ease;
}

.media-box:hover .overlay-hover {
    opacity: 1;
    background: rgba(0,0,0,0.55);
}

/* Imagen */
.map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenedor del enlace */
.map-box {
    display: block;
    position: relative;
    overflow: hidden;
}

/* Texto centrado */
.map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 90%;
}

.map-text h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.map-text small {
    font-size: 14px;
    opacity: 0.9;
}

/* Hover elegante */
.map-box:hover .map-img {
    transform: scale(1.04);
    transition: 0.4s ease;
}

.map-box:hover .map-text {
    opacity: 1;
}
/* Contenedor del ítem */
.gallery-grid-item {
    padding: 10px !important;      /* espacio interno simétrico */
    box-sizing: border-box;
}

/* Imagen */
.map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Enlace */
.map-box {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

/* Texto centrado */
.map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #422902;
    width: 90%;
}

.map-text h4 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.map-text small {
    font-size: 14px;
}

/* Separación vertical entre filas */
.grid-item {
    margin-bottom: 25px;
}

/* Hover elegante */
.map-box:hover .map-img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.flex-direction-nav a:before {
    font-family: "FontAwesome";
    font-size: 32px;
    color: white;
}

.flex-direction-nav .flex-prev:before {
    content: "\f104"; /* flecha izquierda */
}

.flex-direction-nav .flex-next:before {
    content: "\f105"; /* flecha derecha */
}

/* Estilo base del menú superior */
.header-top .top-links li a {
    color: #ffffff !important;          /* Blanco suave */
    font-weight: 200;
    background-color: rgb(43, 32, 13);
    letter-spacing: 0.7px;
    transition: color 0.3s ease;
}

/* Hover elegante con color ONIC */
.header-top .top-links li a:hover {
    color: #F1B929 !important;          /* Azul ONIC */
    background-color: rgba(2, 120, 255, 0.397) !important;
}

/* Color del teléfono también */
.header-top .top-links li {
    color: #F1B929 !important;
}

.header-top .top-links li i {
    color: #ffffff !important;          /* Ícono color ONIC */
}

/* Restaurar FontAwesome para iconos */
.fa,
[class^="fa-"],
[class*=" fa-"],
.fas,
.far,
.fal,
.fab {
    font-family: 'FontAwesome' !important;
}

/* ===== Header oscuro (normal) — texto BLANCO ===== */
.site-header:not(.sticky) .top-links li,
.site-header:not(.sticky) .top-links li a,
.site-header:not(.sticky) .main-navigation ul.sf-menu > li > a,
.site-header:not(.sticky) .main-navigation ul.sf-menu > li i {
    color: #ffffff !important;
}

/* ===== Header blanco (sticky) — texto NEGRO ===== */
.site-header.sticky,
.site-header.sticky .top-links li,
.site-header.sticky .top-links li a,
.site-header.sticky .main-navigation ul.sf-menu > li > a,
.site-header.sticky .main-navigation ul.sf-menu > li i {
    color: #fcfcfc !important;
}

/* Color del icono de teléfono en sticky */
.site-header.sticky .top-links i.fa {
    color: #ffffff !important;
}

/* Hover coherente */
.site-header.sticky .main-navigation ul.sf-menu > li > a:hover {
    color: #444 !important;
}

.categoria-circular {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    border: 4px solid #00aced;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 10px 0;
    padding: 0;
    align-items: center;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    font-size: 26px;
    color: #00ACED; /* color SMT */
    transition: .3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #f1b929; /* color dorado SMT */
    transform: scale(1.25);
}

.categoria-arte-indigena img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* --- Diseño general del dashboard --- */
    .dash-wrapper {
        max-width: 1300px;
        margin: 30px auto;
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.4rem;
        font-weight: 600;
        margin: 25px 0 10px 0;
        color: #222;
        border-left: 6px solid #2B7AE4;
        padding-left: 10px;
    }

    /* --- KPI cards --- */
    .kpi-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
        margin-bottom: 25px;
    }

    .kpi-card {
        background: #ffffff;
        padding: 18px 22px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.07);
        border-left: 5px solid #2B7AE4;
    }
    .kpi-title {
        font-size: 0.88rem;
        color: #666;
        font-weight: 600;
    }
    .kpi-value {
        font-size: 1.8rem;
        font-weight: 700;
        margin-top: 4px;
        color: #111;
    }

    /* --- Chart containers --- */
    .chart-card {
        background: #fff;
        padding: 18px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.07);
        margin-bottom: 20px;
    }

    .chart-full {
        height: 380px;
    }

    .chart-half {
        height: 260px;
    }

    .chart-mini {
        height: 180px;
    }

    /* --- Tabla sectores --- */
    .sector-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }
    .sector-table thead {
        background: #2B7AE4;
        color: white;
    }
    .sector-table th, .sector-table td {
        padding: 8px;
        border: 1px solid #ddd;
    }
    .sector-table tbody tr:nth-child(even) {
        background: #f8f8f8;
    }

    @font-face{
  font-family: "Andes";
  src: url("/fonts/Andes.woff2") format("woff2"),
       url("/fonts/Andes.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2) Variante itálica si tienes el archivo italic. Si no, se usará la oblicua del navegador */
@font-face{
  font-family: "Andes";
  src: url("/fonts/Andes-Italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* 3) Estilos del contenedor */
.slogan-hero{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 20vh; /* ajusta según altura deseada */
  padding: 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(250,250,250,0.02)); /* opcional */
}

/* 4) Tipografía y presentación del slogan */
.slogan-hero h1{
  margin:0;
  font-family: "Andes", "Andada", "Georgia", serif; /* Andes -> fallback a Andada/serif */
  font-style: italic; /* fuerza itálica */
  font-size: clamp(1.25rem, 3.5vw, 2.75rem); /* responsivo */
  line-height: 1.15;
  font-weight: 600;
  color: #2b2b2b; /* puedes cambiar por color institucional */
  letter-spacing: -0.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

/* 5) Accesibilidad: versión para lectores de pantalla */
.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}