/* Correções globais. Carregado depois do CSS de cada página (ver _Layout.cshtml). */

/* Footer em mobile/tablet: tudo centrado */
@media (max-width: 991px) {
    .pp-footer-news {
        text-align: center;
    }

    .pp-footer-news .rule {
        margin-left: auto;
        margin-right: auto;
    }

    .pp-socials {
        justify-content: center;
    }

    .pp-footer-links {
        justify-content: center;
        text-align: center;
    }

    .pp-footer-dev {
        flex-basis: 100%;
        margin-left: 0;
        text-align: center;
    }
}

/* Footer em telemóvel: links legais um por linha */
@media (max-width: 575.98px) {
    .pp-footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px !important;
    }
}

/* Passatempos: título cabe no ecrã do telemóvel */
@media (max-width: 575.98px) {
    .gw-hero-title {
        font-size: clamp(28px, 9vw, 48px);
        letter-spacing: .02em;
    }
}

/* Quem é: vídeo do YouTube com a largura da coluna de texto em ecrãs pequenos
   (a view tem grid-column inline que o encolhia para 72px) */
@media (max-width: 767.98px) {
    .story-media[style*="grid-column"] {
        grid-column: 1 !important;
        padding: 0;
        margin-left: 2.25rem;
        margin-right: 2.25rem;
    }
}