﻿/* En tu CSS global (por ejemplo, en skytile.css o donde lo uses) */
@font-face {
    font-family: 'Ethnocentric';
    src: url('/fonts/Ethnocentric Rg.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/* ====== Banda base ====== */
.band {
    width: 100%;
    background: var(--bg, #000);
    color: var(--fg, #fff);
}

    /* Full-bleed real, incluso dentro de contenedores con padding */
    .band.full-bleed {
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
    }

/* Contenedor interno: centra vertical/horizontal y limita ancho */
.band__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px; /* ajusta a tu layout */
    margin: 0 auto;
    min-height: var(--h, 220px);
    display: flex;
    align-items: center; /* centra vertical */
    padding: 28px 20px; /* respiro vertical */
    gap: 16px; /* por si hay ChildContent */
}

/* Título: tipografía fluida y contraste claro */
.band__title {
    margin: 0;
    color: inherit;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: clamp(28px, 2vw, 64px);
    line-height: 1.05;
    text-align: inherit;
    font-family: 'Ethnocentric', sans-serif;
}

/* ====== Alineaciones horizontales ====== */
.align-center {
    justify-content: center;
    text-align: center;
}

.align-left {
    justify-content: flex-start;
    text-align: left;
}

.align-right {
    justify-content: flex-end;
    text-align: right;
}

   


/* Base (desktop) */
.band__inner {
    padding-left: 3rem;
    padding-bottom: 0;
}


/* <= 1200px */
@media (max-width:1200px) {
    .band__inner {
        min-height: max(200px,calc(var(--h,220px) - 10px));
        padding: 24px 24px;
        padding-left: 2.5rem;
    }

    .band__title {
        font-size: clamp(26px,3vw,56px);
        font-family: 'Ethnocentric', sans-serif;
    }
}

/* <= 992px */
@media (max-width:992px) {
    .band__inner {
        min-height: max(180px,calc(var(--h,220px) - 20px));
        padding: 22px 20px;
        padding-left: 2rem;
    }

    .band__title {
        font-size: clamp(24px,3vw,44px);
        font-family: 'Ethnocentric', sans-serif;
    }
}

/* <= 768px */
@media (max-width:768px) {
    .band__inner {
        min-height: max(160px,calc(var(--h,220px) - 40px));
        padding: 20px 16px;
        padding-left: 1.25rem;
    }

    .band__title {
        font-size: clamp(22px,3vw,36px) !important;
        line-height: 1.1;
        font-family: 'Ethnocentric', sans-serif;
    }
}



/* <= 400px */
@media (max-width:400px) {
    .band__inner {
        min-height: 128px;
    }

    .band__title {
        font-weight: 800;
        font-family: 'Ethnocentric', sans-serif;
    }
}
