/* ==========================================
   ART ATELIER GALLERY
   Plantilla: cassiopeia_extended
   CSS personalizado
   ========================================== */

/* Prueba de carga del archivo */
:root {
    --aag-turquoise: #168b9a;
    --aag-white: #ffffff;
    --aag-dark: #26343a;
}

/* Fondo general */
body {
    background-color: var(--aag-white);
}
/* LOGOTIPO ART ATELIER GALLERY */

.aag-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
    font-family: "Century Gothic", "Avant Garde", sans-serif;
}

.aag-logo-main {
    color: #168b9a;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.aag-logo-sub {
    color: #555555;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 7px;
    margin-top: 5px;
}
/* =====================================
   IDENTIDAD ART ATELIER GALLERY
   ===================================== */

.container-header {
    background: #ffffff;
}

.container-header .navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.container-header .site-title {
    color: #168b9a;
    font-family: "Century Gothic", "Avant Garde", sans-serif;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.1;
}

.container-header .site-description {
    color: #555555;
    font-family: "Century Gothic", "Avant Garde", sans-serif;
    font-size: 13px;
    letter-spacing: 5px;
    margin-top: 5px;
}
/* Color del nombre de la galería */
.container-header .site-title {
    color: #168b9a !important;
}
/* ART ATELIER GALLERY — Identidad de cabecera */

.container-header .navbar-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.container-header .site-title {
    font-family: "Century Gothic", "CenturyGothic", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #1d7989;
    margin: 0;
}

.container-header .site-description {
    display: block !important;
    font-family: "Century Gothic", "CenturyGothic", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2.2em;
    line-height: 1.5;
    color: #1d7989;
    margin-top: 5px;
    transform: none;
}
/* Navegación en la misma línea que el logotipo */

.container-header {
    position: relative;
}

.container-header .container-nav {
    position: absolute;
    top: 30px;
    right: max(calc((100% - 1140px) / 2), 24px);
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.container-header .container-nav .mod-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.container-header .container-nav .mod-menu a {
    color: #333333;
    text-decoration: none;
}

.container-header .container-nav .mod-menu a:hover {
    color: #1d7989;
}
/* Separador inferior de la cabecera */

.container-header {
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
}
/* AAG FEATURED: ocultar título del artículo en portada */

.aag-featured__title {
    display: none !important;
}
/* PORTADA: cuadrícula de cinco proyectos */

@media (min-width: 1200px) {
    .blog-items.columns-5 {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 24px;
    }
}

.blog-items.columns-5 > div {
    width: auto;
    max-width: none;
    min-width: 0;
}

.blog-items.columns-5 img {
    display: block;
    width: 100%;
    height: auto;
}

/* Adaptación a pantallas medianas */
@media (min-width: 768px) and (max-width: 1199px) {
    .blog-items.columns-5 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Adaptación a móviles */
@media (max-width: 767px) {
    .blog-items.columns-5 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .blog-items.columns-5 {
        grid-template-columns: 1fr;
    }
}
/* PORTADA: presentación de las tarjetas */

/* Imágenes de proyectos: conservar proporción original */

.blog-items.columns-5 .blog-item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: initial;
    background: transparent;
}

/* Títulos de las tarjetas */
.blog-items.columns-5 .page-header h2 {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    margin-top: 14px;
}

.blog-items.columns-5 .page-header h2 a {
    color: #1d7989;
    text-decoration: none;
}

.blog-items.columns-5 .page-header h2 a:hover {
    color: #0e3b43;
}
/* ==========================================
   ART ATELIER GALLERY
   SISTEMA TIPOGRÁFICO GLOBAL
   ========================================== */

/* Títulos principales */
h1 {
    color: #1d7989;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Títulos secundarios */
h2 {
    color: #1d7989;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 18px;
}

/* Subtítulos */
h3 {
    color: #333333;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
}

/* Enlaces dentro de títulos */
h1 a,
h2 a,
h3 a {
    color: inherit;
    text-decoration: none !important;
}

h1 a:hover,
h2 a:hover,
h3 a:hover {
    color: #0e3b43;
    text-decoration: none !important;
}

/* ==========================================
   ART ATELIER GALLERY — FOOTER
   ========================================== */

.container-footer {
    background: #1d7989 !important;
    color: #ffffff;
}

/* Contenedor general */
.aag-footer {
    width: calc(100% - 40px);
    max-width: 1110px;
    margin: 0 auto;
    padding: 30px 0 18px;
    color: #ffffff;
}

/* Primera franja */
.aag-footer-main {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 0 8px 25px;
}

/* Logotipo */
.aag-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff !important;
    text-decoration: none !important;
}

.aag-footer-brand-title {
    font-family: "Century Gothic", "CenturyGothic", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
}

.aag-footer-brand-sub {
    font-size: 9px;
    letter-spacing: 2.2em;
    line-height: 1.6;
    white-space: nowrap;
}

/* Descripción */
.aag-footer-description {
    font-size: 15px;
    line-height: 1.5;
}

/* Redes sociales */
.aag-footer-social {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Segunda franja */
.aag-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.75);
    padding: 17px 8px 0;
    font-size: 13px;
}

.aag-footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.aag-footer-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: 1px;
}

.aag-footer-links a:hover {
    color: #e2eeee !important;
}

/* Móviles */
@media (max-width: 767px) {
    .aag-footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aag-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}
/* FOOTER AAG: ocupar todo el ancho disponible */

.container-footer .grid-child {
    display: block;
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.container-footer .aag-footer-module {
    display: block;
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
}

.container-footer .aag-footer {
    width: 100%;
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================================================
   ART ATELIER GALLERY — ABOUT
   Presentacion bilingue en dos columnas
   ================================================== */

.aag-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 46px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 35px 0 45px;
    box-sizing: border-box;
}

/* Columnas */
.aag-about-column {
    min-width: 0;
}

/* Separador entre idiomas */
.aag-about-en {
    border-left: 1px solid #1d7989;
    padding-left: 46px;
}

/* Titulos principales */
.aag-about h2 {
    color: #1d7989;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 15px;
}

/* Subtitulos */
.aag-about h3 {
    color: #1d7989;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 19px 0 7px;
}

/* Parrafos */
.aag-about p {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0 0 10px;
}

/* Adaptacion para tablet y movil */
@media (max-width: 800px) {

    .aag-about {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px 0 35px;
    }

    .aag-about-en {
        border-left: 0;
        border-top: 1px solid #1d7989;
        padding-left: 0;
        padding-top: 28px;
    }
}

/* ==================================================
   ART ATELIER GALLERY
   FERIAS — DISEÑO EDITORIAL
   ================================================== */

.aag-fairs {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.aag-fairs-section {
    width: 100%;
    margin: 45px 0 60px;
}

.aag-fairs-section h2 {
    color: #1d7989 !important;
    font-size: 31px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin: 0 0 25px !important;
}

/* Tablas */
.aag-fairs-table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Tres columnas */
.aag-fairs-table th:nth-child(1),
.aag-fairs-table td:nth-child(1) {
    width: 14%;
}

.aag-fairs-table th:nth-child(2),
.aag-fairs-table td:nth-child(2) {
    width: 43%;
}

.aag-fairs-table th:nth-child(3),
.aag-fairs-table td:nth-child(3) {
    width: 43%;
}

/* Encabezados */
.aag-fairs-table thead th {
    padding: 15px 16px !important;
    color: #737d7e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #bdcccc !important;
}

/* Filas */
.aag-fairs-table tbody td {
    padding: 21px 16px !important;
    vertical-align: middle !important;
    text-align: left !important;
    color: #414747 !important;
    font-size: 22px !important;
    line-height: 1.4 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #d8e0e0 !important;
}

/* Año */
.aag-fairs-table tbody td:first-child {
    color: #1d7989 !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    white-space: nowrap;
}

/* Nombre de la feria */
.aag-fairs-table tbody td:nth-child(2) {
    color: #292f30 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* Ciudad y país */
.aag-fairs-table tbody td:nth-child(3) {
    color: #50595a !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}

/* Hover discreto */
.aag-fairs-table tbody tr:hover {
    background: #f6f9f9 !important;
}

/* Móviles */
@media (max-width: 767px) {

    .aag-fairs-section {
        margin: 32px 0 42px;
    }

    .aag-fairs-section h2 {
        font-size: 25px !important;
    }

    .aag-fairs-table th:nth-child(1),
    .aag-fairs-table td:nth-child(1) {
        width: 17%;
    }

    .aag-fairs-table th:nth-child(2),
    .aag-fairs-table td:nth-child(2) {
        width: 39%;
    }

    .aag-fairs-table th:nth-child(3),
    .aag-fairs-table td:nth-child(3) {
        width: 44%;
    }

    .aag-fairs-table thead th {
        padding: 10px 5px !important;
        font-size: 10px !important;
        letter-spacing: .4px;
    }

    .aag-fairs-table tbody td {
        padding: 13px 5px !important;
        font-size: 13px !important;
    }

    .aag-fairs-table tbody td:first-child {
        font-size: 18px !important;
    }

    .aag-fairs-table tbody td:nth-child(2) {
        font-size: 14px !important;
    }

    .aag-fairs-table tbody td:nth-child(3) {
        font-size: 12px !important;
    }
}
/* Art Atelier Gallery - Aviso de confirmación art3f Luxembourg */
.aag-lux-landing .acym_module_success {
    background-color: #eef8f7 !important;
    border: 1px solid #cfe7e4 !important;
    border-radius: 3px !important;
    color: #365654 !important;
    padding: 16px 20px !important;
    box-shadow: none !important;
    font-size: 14px;
    line-height: 1.6;
}