.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

.warm-glow-border {
    border: 1px solid rgba(121, 85, 72, 0.1);
}

.warm-glow-border:hover {
    border-color: rgba(176, 141, 87, 0.4);
    box-shadow: 0 4px 20px rgba(176, 141, 87, 0.1);
}

.glass-nav-warm {
    background: rgba(251, 249, 244, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.appbar-logo-wrap {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background-color: #1b1c19;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.appbar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.appbar-mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.appbar-mobile-brand__divider {
    width: 1px;
    height: 1.75rem;
    background-color: #d1c5b6;
    flex-shrink: 0;
}

.appbar-mobile-brand__name {
    font-family: "EB Garamond", serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #775928;
    line-height: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.appbar-inner {
    gap: 0.5rem;
}

.appbar-brand-link {
    color: inherit;
}

.appbar-actions {
    gap: 0.5rem;
}

.appbar-cta {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.appbar-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.appbar-menu-btn .material-symbols-outlined {
    font-size: 1.5rem;
}

@media (min-width: 1024px) {
    .appbar-inner {
        gap: 1rem;
    }

    .appbar-actions {
        gap: 1.5rem;
    }

    .appbar-cta {
        padding: 0.5rem 1.5rem;
    }
}

/* Artículos recientes en inicio (entre filas del bento) */
.home-blog-articles {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.home-blog-articles__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-blog-articles__header .blog-articles__heading {
    margin-bottom: 0;
}

.home-blog-articles__list.blog-articles__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .home-blog-articles__list.blog-articles__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1023px) {
    .appbar-mobile-brand {
        flex: 1;
        min-width: 0;
    }

    .appbar-mobile-brand__name {
        font-size: clamp(0.9375rem, 3.2vw, 1.125rem);
    }

    .appbar-cta {
        padding: 0.4375rem 0.75rem;
        font-size: 11px;
        line-height: 1.2;
        letter-spacing: 0.04em;
    }
}

/* Menú móvil (overlay) */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav:not([hidden]) {
    display: block;
}

.mobile-nav__panel {
    position: absolute;
    inset: 0;
    background-color: #fbf9f4;
    display: flex;
    flex-direction: column;
    padding: 1rem 20px 6rem;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav--open {
    pointer-events: auto;
}

.mobile-nav--open .mobile-nav__panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(209, 197, 182, 0.5);
    margin-bottom: 0.5rem;
}

.mobile-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.mobile-nav__brand-divider {
    width: 1px;
    height: 1.75rem;
    background-color: #d1c5b6;
    flex-shrink: 0;
}

.mobile-nav__brand-name {
    font-family: "EB Garamond", serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #775928;
    line-height: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #1b1c19;
    cursor: pointer;
}

.mobile-nav__close .material-symbols-outlined {
    font-size: 1.75rem;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 0.5rem;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 1.125rem 0;
    border: none;
    background: transparent;
    font-family: "Manrope", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1b1c19;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
    color: #775928;
    outline: none;
}

.mobile-nav__link--active {
    color: #775928;
}

.mobile-nav__link--submenu {
    justify-content: flex-start;
}

.mobile-nav__link--lang {
    gap: 0.5rem;
    margin-top: auto;
}

.mobile-nav__cta {
    position: absolute;
    right: 20px;
    bottom: 2rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* Hero: imagen + overlays como en el diseño original */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #1b1c19;
    background-image: url('images/hero-earth.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay--side {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(27, 28, 25, 0.8),
        rgba(27, 28, 25, 0.4),
        transparent
    );
    pointer-events: none;
}

.hero-overlay--bottom {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        #fbf9f4,
        transparent 50%,
        transparent
    );
    pointer-events: none;
}

.hero-flags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.hero-flag {
    width: 30px;
    height: 20px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Tarjetas con imagen de fondo */
.card-media-wrap {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.card-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s ease;
}

.group:hover .card-media {
    transform: scale(1.05);
}

.card-overlay--top {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(27, 28, 25, 0.8),
        rgba(27, 28, 25, 0.2) 50%,
        transparent
    );
    pointer-events: none;
}

.card-overlay--side {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(27, 28, 25, 0.8),
        rgba(27, 28, 25, 0.4) 60%,
        transparent
    );
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}
