/* ==========================================================
   Faculdade Malta Picos — página inicial
   Depende dos tokens de base/redesign.css.
   ========================================================== */

.section {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-tight {
    padding-block: clamp(2rem, 4vw, 3rem);
}

.section.is-tint {
    background: var(--tint);
}

/* Cabeçalho de seção: número grande + fio vermelho */
.sec-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: .75rem 1.5rem;
    border-top: 3px solid var(--red);
    padding-top: 1.25rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.sec-num {
    font-size: clamp(3.25rem, 7vw, 5.5rem);
    font-weight: 900;
    font-stretch: 62%;
    line-height: .8;
    color: var(--red);
}

.sec-kicker {
    margin: 0 0 .45rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
}

.sec-title {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(2rem, 4.8vw, 3.75rem);
    font-weight: 900;
    font-stretch: 66%;
    line-height: .92;
    text-transform: uppercase;
    color: var(--ink);
}

.sec-title em {
    font-style: normal;
    color: var(--red);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
    background: var(--white);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
    background-size: calc(100% / 12) 100%;
    opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 25%, transparent 95%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.5rem;
    padding: .5rem .85rem;
    border: 2px solid var(--red);
    font-size: .78rem;
    font-weight: 800;
    font-stretch: 80%;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
}

.hero-kicker .pulse {
    background: var(--red);
    animation-name: pulse-red;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(186, 16, 22, .55); }
    100% { box-shadow: 0 0 0 .6rem rgba(186, 16, 22, 0); }
}

.hero-title {
    margin: 0 0 1.5rem;
    font-size: clamp(3.4rem, 10vw, 8.5rem);
    font-weight: 900;
    font-stretch: 62%;
    line-height: .86;
    letter-spacing: -.01em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero-title span {
    display: block;
}

.hero-title .is-red {
    color: var(--red);
}

.hero-lead {
    max-width: 34rem;
    margin: 0 0 2rem;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-soft);
}

.hero-lead strong {
    color: var(--ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hero-proof {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin: 1.75rem 0 0;
    padding: 0;
    font-size: .95rem;
    font-weight: 600;
}

.hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.hero-proof i {
    color: var(--red);
    font-size: 1.15rem;
}

.hero-visual {
    position: relative;
    width: calc(100% - 1.5rem);
}

.hero-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 1.5rem -1.5rem -1.5rem 1.5rem;
    background: var(--red);
}

.hero-photo img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.hero-stamp {
    position: absolute;
    top: 1.75rem;
    left: -2.75rem;
    z-index: 2;
    width: clamp(6.75rem, 11vw, 8.75rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: var(--white);
    border: 2px solid var(--red);
    border-radius: 50%;
    color: var(--red);
}

.hero-stamp svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 22s linear infinite;
}

.hero-stamp text {
    fill: var(--red);
    font-family: var(--font);
    font-size: 9.6px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.hero-stamp i {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-course {
    position: absolute;
    right: -1.5rem;
    bottom: -2.5rem;
    z-index: 2;
    display: grid;
    gap: .2rem;
    min-width: 15.5rem;
    padding: 1rem 4rem 1rem 1.15rem;
    background: var(--white);
    border: 2px solid var(--red);
    box-shadow: var(--shadow);
    color: var(--ink);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.hero-course-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}

.hero-course strong {
    font-size: 1.75rem;
    font-weight: 900;
    font-stretch: 64%;
    line-height: 1;
    text-transform: uppercase;
}

.hero-course-meta {
    font-size: .85rem;
    color: var(--ink-soft);
}

.hero-course > i {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background: var(--red);
    color: var(--white);
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease;
}

.hero-course:hover {
    background: var(--red);
    color: var(--white);
}

.hero-course:hover .hero-course-label,
.hero-course:hover .hero-course-meta {
    color: var(--white);
}

.hero-course:hover > i {
    background: var(--white);
    color: var(--red);
}

@media (max-width: 991.98px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        max-width: 28rem;
        margin: .5rem auto 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn-p {
        flex: 1 1 100%;
    }

    .hero-stamp {
        top: -1.25rem;
        left: -.75rem;
    }

    .hero-course {
        left: 1.25rem;
        right: -1rem;
        min-width: 0;
    }
}

/* ===================== FAIXA CORRIDA ===================== */
.ticker {
    overflow: hidden;
    background: var(--red);
    color: var(--white);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 40s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticker-list li {
    display: flex;
    align-items: center;
    padding: .95rem 0;
    white-space: nowrap;
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    font-weight: 900;
    font-stretch: 62%;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.ticker-list li::after {
    content: "\2731";
    margin: 0 1.5rem;
    font-size: .6em;
    opacity: .7;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* ===================== CURSO EM DESTAQUE ===================== */
.course-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.cf-icon {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 0 1.25rem;
    background: var(--red);
    color: var(--white);
    font-size: 1.5rem;
}

.cf-name {
    margin: 0 0 1.5rem;
    font-size: clamp(3.25rem, 11vw, 9rem);
    font-weight: 900;
    font-stretch: 62%;
    line-height: .84;
    letter-spacing: -.01em;
    text-transform: uppercase;
    color: var(--red);
    overflow-wrap: anywhere;
}

.cf-desc {
    max-width: 40rem;
    margin: 0 0 1.75rem;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.7;
    color: var(--ink-soft);
}

.cf-areas-label {
    margin: 0 0 .75rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
}

.cf-areas {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 2rem;
    padding: 0;
}

.cf-areas li {
    padding: .45rem .75rem;
    border: 1.5px solid var(--line);
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    transition: border-color .2s ease, color .2s ease;
}

.cf-areas li:hover {
    border-color: var(--red);
    color: var(--red);
}

.cf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.cf-specs {
    margin: 0;
    border: 2px solid var(--red);
    background: var(--white);
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.cf-specs-head {
    margin: 0;
    padding: .9rem 1.25rem;
    background: var(--red);
    color: var(--white);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cf-specs-list {
    margin: 0;
}

.cf-specs-list div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.cf-specs-list div:last-child {
    border-bottom: 0;
}

.cf-specs dt {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
}

.cf-specs dd {
    margin: 0;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 800;
    font-stretch: 75%;
    color: var(--ink);
}

.cf-specs .is-big dd {
    font-size: 2.6rem;
    font-stretch: 62%;
    line-height: .9;
    text-transform: uppercase;
    color: var(--red);
}

/* vários cursos: lista editorial */
.course-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.course-row {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto 3rem;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: padding .25s var(--ease), background .25s ease;
}

.course-row:hover {
    padding-inline: 1rem;
    background: var(--tint);
    color: var(--ink);
}

.cr-num {
    font-size: 1.6rem;
    font-weight: 900;
    font-stretch: 62%;
    color: var(--red);
}

.cr-name {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 900;
    font-stretch: 64%;
    line-height: 1;
    text-transform: uppercase;
}

.cr-meta {
    font-size: .88rem;
    color: var(--ink-soft);
}

.cr-arrow {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border: 2px solid var(--red);
    color: var(--red);
    transition: background .2s ease, color .2s ease;
}

.course-row:hover .cr-arrow {
    background: var(--red);
    color: var(--white);
}

.course-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 2px solid var(--red);
}

.course-empty p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    font-stretch: 66%;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .course-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .cf-specs {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .course-row {
        grid-template-columns: 2.25rem minmax(0, 1fr) 2.5rem;
        gap: .75rem;
    }

    .cr-meta {
        grid-column: 2;
        grid-row: 2;
    }

    .cr-arrow {
        grid-row: 1 / span 2;
        grid-column: 3;
        width: 2.5rem;
        height: 2.5rem;
    }

    .cf-actions .btn-p {
        flex: 1 1 100%;
    }
}

/* ===================== COMO INGRESSAR ===================== */
.ways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.way {
    position: relative;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: var(--white);
    border: 2px solid var(--red);
    overflow: hidden;
}

.way-letter {
    position: absolute;
    right: 1rem;
    top: -.5rem;
    font-size: clamp(6rem, 12vw, 9rem);
    font-weight: 900;
    font-stretch: 62%;
    line-height: 1;
    color: var(--tint-2);
}

.way h3 {
    position: relative;
    margin: 0 0 .75rem;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    font-stretch: 64%;
    line-height: .95;
    text-transform: uppercase;
}

.way p {
    position: relative;
    max-width: 30rem;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.way.is-red {
    background: var(--red);
    color: var(--white);
}

.way.is-red h3 {
    color: var(--white);
}

.way.is-red p {
    color: rgba(255, 255, 255, .88);
}

.way.is-red .way-letter {
    color: rgba(255, 255, 255, .14);
}

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 2.5rem;
    padding: 0;
    counter-reset: step;
}

.steps li {
    padding: 1.5rem 1.5rem 1.5rem 0;
    border-top: 2px solid var(--red);
}

.steps li + li {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
}

.steps span {
    display: block;
    margin-bottom: .6rem;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--red);
}

.steps strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 1.5rem;
    font-weight: 900;
    font-stretch: 66%;
    text-transform: uppercase;
}

.steps p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.ways-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .3em;
}

.link-arrow:hover {
    color: var(--red-deep);
}

@media (max-width: 767.98px) {
    .ways,
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps li,
    .steps li + li {
        padding: 1.25rem 0;
        border-left: 0;
    }
}

/* ===================== CAMPANHAS ===================== */
.promo {
    padding: .5rem;
    border: 2px solid var(--red);
    background: var(--white);
}

.promo img {
    display: block;
    width: 100%;
    height: auto;
}

.promo .carousel-control-prev,
.promo .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 3rem;
    height: 3rem;
    background: var(--red);
    color: var(--white);
    font-size: 1.25rem;
    opacity: 1;
    transform: translateY(-50%);
}

.promo .carousel-control-prev {
    left: 1rem;
}

.promo .carousel-control-next {
    right: 1rem;
}

.promo .carousel-control-prev:hover,
.promo .carousel-control-next:hover {
    background: var(--red-deep);
}

.promo .carousel-indicators {
    position: absolute;
    bottom: .5rem;
    margin-bottom: .5rem;
    display: flex;
    justify-content: center;
    gap: .35rem;
}

.promo .carousel-indicators [data-bs-target] {
    width: 1.75rem;
    height: .3rem;
    margin: 0;
    border: 0;
    background: var(--white);
    opacity: .55;
}

.promo .carousel-indicators .active {
    opacity: 1;
}

@media (max-width: 575.98px) {
    /* no celular as setas descem para não cobrir a arte do banner */
    .promo .carousel-control-prev,
    .promo .carousel-control-next {
        top: auto;
        bottom: .75rem;
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1rem;
        transform: none;
    }

    .promo .carousel-control-prev {
        left: .75rem;
    }

    .promo .carousel-control-next {
        right: .75rem;
    }

    .promo .carousel-indicators {
        bottom: 1.2rem;
    }
}

/* ===================== POR QUE A MALTA ===================== */
.why {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.why-lead {
    margin: 0 0 1.25rem;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.6;
    color: var(--ink);
}

.why-text p {
    line-height: 1.7;
    color: var(--ink-soft);
}

.why-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.25rem;
    margin: 1.75rem 0 2rem;
    padding: 0;
}

.why-points li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
}

.why-points i {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    background: var(--tint-2);
    color: var(--red);
    font-size: .9rem;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 2px solid var(--red);
}

.stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: clamp(10rem, 18vw, 13rem);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat:nth-child(2n) {
    border-right: 0;
}

.stat:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.stat strong {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 900;
    font-stretch: 62%;
    line-height: .85;
    text-transform: uppercase;
    color: var(--red);
}

.stat span {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
}

.stat.is-red {
    background: var(--red);
}

.stat.is-red strong,
.stat.is-red span {
    color: var(--white);
}

/* selo ABMES recriado em vermelho e branco */
.stat-seal {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .5rem;
}

.stat-seal i {
    font-size: 2rem;
    color: var(--red);
}

.stat-seal b {
    font-size: 1.25rem;
    font-weight: 900;
    font-stretch: 66%;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}

.stat-seal small {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

@media (max-width: 991.98px) {
    .why {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 479.98px) {
    .why-points {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===================== PROFESSORES (duotone vermelho) ===================== */
.faculty {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.prof {
    display: block;
    color: var(--ink);
    text-decoration: none;
}

.prof-photo {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--red);
}

.prof-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.15);
    mix-blend-mode: screen;
    transition: filter .45s ease, transform .6s var(--ease);
}

.prof:hover .prof-photo img,
.prof:focus-visible .prof-photo img {
    filter: grayscale(0);
    mix-blend-mode: normal;
    transform: scale(1.04);
}

.prof-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .9rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: .9rem;
}

.prof-info strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    font-stretch: 66%;
    line-height: 1.05;
    text-transform: uppercase;
}

.prof-info small {
    display: block;
    margin-top: .2rem;
    font-size: .85rem;
    color: var(--ink-soft);
}

.prof-info i {
    color: var(--red);
    font-size: 1.1rem;
    transition: transform .2s ease;
}

.prof:hover .prof-info i {
    transform: translate(.15rem, -.15rem);
}

@media (max-width: 991.98px) {
    .faculty {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================== JÁ É ALUNO ===================== */
.student-bar {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    border: 2px solid var(--red);
}

.student-title {
    margin: 0;
    padding: 1.4rem 1.5rem;
    background: var(--red);
    color: var(--white) !important;
    font-size: 1.9rem;
    font-weight: 900;
    font-stretch: 62%;
    line-height: .95;
    text-transform: uppercase;
}

.student-title span {
    display: block;
    margin-top: .4rem;
    font-size: .85rem;
    font-weight: 600;
    font-stretch: 100%;
    line-height: 1.3;
    text-transform: none;
    opacity: .85;
}

.student-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-left: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.student-link > i:first-child {
    font-size: 1.5rem;
    color: var(--red);
}

.student-link span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: 1.05rem;
    font-weight: 800;
    font-stretch: 80%;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.student-link:hover {
    background: var(--red);
    color: var(--white);
}

.student-link:hover > i:first-child {
    color: var(--white);
}

@media (max-width: 991.98px) {
    .student-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-title {
        grid-column: 1 / -1;
    }

    .student-link {
        border-top: 1px solid var(--line);
    }

    .student-link:nth-of-type(odd) {
        border-left: 0;
    }
}

/* ===================== NOTÍCIAS / RECADOS (rolagem lateral) ===================== */
.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17rem, 23rem);
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--tint-2);
}

.rail > * {
    scroll-snap-align: start;
}

.news-card {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--red);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-.3rem);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem;
    flex: 1;
}

.news-date {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
}

.news-body h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    font-stretch: 66%;
    line-height: 1.05;
    text-transform: uppercase;
}

.news-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.news-more {
    margin-top: auto;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
}

.quote {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--white);
    border-top: 4px solid var(--red);
}

.quote blockquote {
    position: relative;
    margin: 0;
    padding-top: 2.25rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink);
}

.quote blockquote::before {
    content: "\201C";
    position: absolute;
    top: -.75rem;
    left: -.2rem;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--red);
}

.quote figcaption {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: auto;
}

.quote-avatar {
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    overflow: hidden;
    border-radius: 50%;
    background: var(--red);
}

.quote-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    mix-blend-mode: screen;
}

.quote figcaption strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    font-stretch: 70%;
    text-transform: uppercase;
}

.quote figcaption small {
    color: var(--ink-soft);
}

/* ===================== REVISTA ===================== */
.journal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.journal-covers {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.journal-covers img {
    width: clamp(6rem, 27vw, 12rem);
    height: auto;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease);
}

.journal-covers img:nth-child(1) {
    transform: rotate(-8deg) translateX(1.5rem);
}

.journal-covers img:nth-child(2) {
    position: relative;
    z-index: 1;
    transform: translateY(-.75rem);
}

.journal-covers img:nth-child(3) {
    transform: rotate(8deg) translateX(-1.5rem);
}

.journal-covers:hover img:nth-child(1) {
    transform: rotate(-12deg) translateX(.5rem);
}

.journal-covers:hover img:nth-child(3) {
    transform: rotate(12deg) translateX(-.5rem);
}

.journal-text p {
    line-height: 1.7;
    color: var(--ink-soft);
}

.journal-list {
    list-style: none;
    margin: 1.25rem 0 2rem;
    padding: 0;
    border-top: 1px solid var(--line);
}

.journal-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.journal-list i {
    color: var(--red);
}

@media (max-width: 991.98px) {
    .journal {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track,
    .hero-stamp svg {
        animation: none;
    }
}
