/*
Theme Name: Revista MSA
Description: Revista de tecnologia e negócios da MSA Consultoria. Tema filho com editor de blocos nativo.
Author: MSA Consultoria
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: msa-revista
*/

:root { --msa-rule: #d9d6cf; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.msa-masthead { border-bottom: 4px solid var(--wp--preset--color--accent); }
.msa-company-logo img { display: block; width: 110px; height: auto; max-height: 58px; object-fit: contain; }
.msa-masthead .wp-block-site-title a { text-decoration: none; letter-spacing: -.045em; }
.msa-utility { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.msa-nav { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.msa-nav a { font-size: 14px; text-decoration: none; }
.msa-magazine-hero { padding-block: clamp(48px,7vw,100px); border-bottom: 1px solid var(--msa-rule); }
.msa-magazine-hero h1 { letter-spacing: -.055em; line-height: 1.04; max-width: 920px; }
.msa-eyebrow { font-family: var(--wp--preset--font-family--body); color: var(--wp--preset--color--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.msa-magazine-hero .wp-block-columns { gap: 48px; }
.msa-editor-note { border-left: 3px solid var(--wp--preset--color--accent); padding-left: 25px; }
.msa-latest { padding-block: 56px 80px; }
.msa-latest > h2 { border-bottom: 1px solid var(--msa-rule); padding-bottom: 20px; }
.msa-posts { gap: 32px; }
.msa-post-card { height: 100%; border-top: 3px solid var(--wp--preset--color--ink); padding-top: 20px; }
.msa-post-card .wp-block-post-title { margin-top: 14px; line-height: 1.2; }
.msa-post-card .wp-block-post-title a { text-decoration: none; }
.msa-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--accent); }
.msa-post-card .wp-block-post-featured-image { overflow: hidden; border-radius: 5px; }
.msa-post-card .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; }
.msa-post-card .wp-block-post-excerpt { font-size: 16px; line-height: 1.65; }
.msa-post-card .wp-block-post-date { color: var(--wp--preset--color--muted); font-size: 13px; }
.msa-post-card .wp-block-post-terms { font-size: 12px; font-weight: 700; }
.msa-empty-edition { background: #fff; border: 1px solid var(--msa-rule); padding: 32px; border-radius: 8px; }
.msa-article-header { padding-top: clamp(36px,6vw,80px); }
.msa-article-header h1 { letter-spacing: -.04em; line-height: 1.13; }
.msa-article-content { font-size: 19px; line-height: 1.85; overflow-wrap: anywhere; }
.msa-article-content h2, .msa-article-content h3 { line-height: 1.3; margin-top: 2em; }
.msa-article-content img { height: auto; }
.msa-article-content pre { overflow-x: auto; padding: 18px; background: #e9e6df; font-size: 14px; }
.msa-article-content a { text-decoration-thickness: .08em; text-underline-offset: .15em; }
.msa-footer { padding-block: 48px; margin-top: 64px; }
.msa-footer a { text-underline-offset: .2em; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 30px; }
.wp-block-query-pagination { margin-top: 40px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #21689c; outline-offset: 5px; }
@media (max-width: 781px) {
    .msa-utility { font-size: 10px; }
    .msa-magazine-hero .wp-block-columns { gap: 28px; }
    .msa-latest { padding-block: 36px 48px; }
    .msa-article-content { font-size: 18px; }
    .msa-posts { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
