/* Feito por Preto: editorial layout and shared navigation. */
#masthead .top-header .container { box-sizing: border-box; display: flex; align-items: stretch; width: calc(100% - 48px); max-width: 1400px; margin: 24px auto 0; padding: 0; border: 1px solid #aaa69f; }
#masthead .header-left { box-sizing: border-box; flex: 0 0 310px; width: 310px; display: flex; align-items: center; padding: 22px 24px; border-right: 1px solid #aaa69f; }
#masthead .header-center { box-sizing: border-box; flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 24px; border: 0; }
#masthead .header-right { box-sizing: border-box; display: flex; align-items: center; flex: 0 0 62px; width: 62px; padding: 0; border-left: 1px solid #aaa69f; }
.fpp-site-branding { display: block; padding: 0; }
.fpp-site-branding .custom-logo-link { display: inline-block; line-height: 0; max-width: 100%; margin: 0; }
.fpp-site-branding img.custom-logo { display: block; width: 280px; max-width: 100%; height: auto; margin: 0; }
.fpp-site-branding .site-description { font: 400 12px/1.5 "DM Sans", sans-serif; margin: 9px 0 0; color: #444; }
#masthead .main-navigation, #masthead .main-navigation .primary-menu-list { width: 100%; }
#masthead .main-navigation ul.menu { display: flex; align-items: center; justify-content: flex-start; gap: 18px; width: 100%; margin: 0; padding: 0; }
#masthead .main-navigation ul.menu > li { flex: 0 0 auto; margin: 0; padding: 0; }
#masthead .main-navigation ul.menu > li > a { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 16px 4px; white-space: nowrap; font: 500 16px/1.5 "DM Sans", sans-serif; text-transform: none; letter-spacing: 0; color: #1c1c1c; }
#masthead .main-navigation ul.menu > li.fpp-menu-institutional { margin-left: auto; padding-left: 22px; border-left: 1px solid #d4d0c8; }
#masthead .main-navigation ul.menu > li > a:hover, #masthead .main-navigation ul.menu > li.current-menu-item > a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
#masthead .main-navigation ul.menu > li > a:focus-visible { outline: 2px solid #222; outline-offset: 3px; }
.fpp-header-search { position: relative; width: 100%; height: 100%; }
.fpp-header-search > summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 48px; cursor: pointer; color: #222; }
.fpp-header-search > summary::-webkit-details-marker { display: none; }
.fpp-header-search > summary:hover { background: #f4f0e7; }
.fpp-header-search > summary:focus-visible { outline: 2px solid #222; outline-offset: -5px; }
.fpp-header-search-panel { position: absolute; z-index: 100; right: 0; top: calc(100% + 8px); width: 350px; max-width: calc(100vw - 40px); padding: 16px; border: 1px solid #aaa69f; background: #fff; box-shadow: 0 8px 22px #00000014; }
.fpp-search-form { display: flex; width: 100%; gap: 0; }
.fpp-search-form .search-field { min-width: 0; width: 100%; height: 46px; padding: 10px 12px; border: 1px solid #888; border-right: 0; border-radius: 0; font: 400 16px/1.5 "DM Sans", sans-serif; background: #fff; color: #222; }
.fpp-search-form .search-submit { position: static; display: flex; align-items: center; justify-content: center; width: 46px; min-width: 46px; height: 46px; padding: 0; border: 1px solid #151515; border-radius: 0; background: #151515; color: #fff; }
.fpp-search-form .search-submit svg { width: 20px; height: 20px; fill: none; }
.fpp-search-form :focus-visible { outline: 2px solid #555; outline-offset: 3px; }
body.fpp-front-page .site-content > .container { box-sizing: border-box; width: 100%; max-width: 1448px; padding: 0 24px; margin-inline: auto; }
body.fpp-front-page #primary { width: 100%; margin: 0; padding: 0; }
body.fpp-front-page #secondary { display: none; }
.fpp-editorial-home { color: #1b1b1b; }
.fpp-home-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 48px; align-items: center; padding: 36px 24px 30px; }
.fpp-home-intro { max-width: 490px; }
#fpp-home-title { margin: 0 0 19px; font: 600 clamp(34px, 3.4vw, 48px)/1.08 "EB Garamond", Georgia, serif; color: #131313; letter-spacing: -.015em; text-wrap: balance; }
.fpp-home-intro p { margin: 0 0 24px; max-width: 440px; font: 400 17px/1.6 "DM Sans", sans-serif; color: #45413c; }
.fpp-editorial-link { display: inline-flex; gap: 14px; align-items: center; border-top: 1px solid #b9b5ad; padding-top: 12px; color: #333; font: 500 11px/1.6 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.fpp-editorial-link:hover { color: #000; text-decoration: underline; text-underline-offset: 5px; }
.fpp-home-hero-photo { position: relative; margin: 0; min-width: 0; aspect-ratio: 2 / 1; overflow: hidden; background: #dcd8ce; }
.fpp-home-hero-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 31%; }
.fpp-home-hero-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #0009); pointer-events: none; }
.fpp-home-hero-photo figcaption { position: absolute; z-index: 1; right: 20px; bottom: 18px; margin: 0; padding-left: 40px; color: #fff; font: 400 11px/1.4 "DM Sans", sans-serif; text-align: right; }
.fpp-home-hero-photo figcaption::before { content: ""; position: absolute; width: 30px; height: 1px; background: #fff9; left: 0; bottom: 3px; }
.fpp-home-sections { border: 1px solid #bbb7b0; }
.fpp-home-section { padding: 20px 22px 24px; border-bottom: 1px solid #bbb7b0; }
.fpp-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 0 0 16px; }
.fpp-section-heading h2 { margin: 0; font: 600 19px/1.2 "EB Garamond", Georgia, serif; text-transform: uppercase; color: #161616; }
.fpp-section-heading > a { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: #66615a; font: 500 10px/1.5 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.fpp-section-heading > a:hover { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.fpp-stories-grid { display: grid; gap: 26px; }
.fpp-stories-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fpp-stories-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.fpp-front-page .site-main article.fpp-story-card { display: flex; flex-direction: column; min-width: 0; width: auto; max-width: none; padding: 0; margin: 0; border: 0; background: transparent; }
.fpp-story-photo { display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; background: #e8e3d9; margin-bottom: 12px; }
.fpp-story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.fpp-story-categories { margin: 0 0 8px; font: 400 10px/1.5 "DM Sans", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: #77716a; }
.fpp-story-categories a { color: inherit; text-decoration: none; }
.fpp-story-categories a:hover { text-decoration: underline; }
.fpp-story-card h3 { margin: 0 0 14px; color: #151515; font: 600 22px/1.18 "EB Garamond", Georgia, serif; text-wrap: pretty; }
.fpp-story-card h3 a { color: inherit; text-decoration: none; }
.fpp-story-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fpp-story-date { display: block; margin-top: auto; font: 400 10px/1.5 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .07em; color: #77716a; }
.fpp-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.fpp-category-card { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #302d28; color: #fff; text-decoration: none; }
.fpp-category-card > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .25s ease; }
.fpp-category-6 > img { filter: grayscale(1); }
.fpp-category-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, #000c); }
.fpp-category-copy { position: absolute; left: 14px; right: 30px; bottom: 16px; z-index: 1; }
.fpp-category-name { display: block; color: #fff; font: 600 29px/1.1 "EB Garamond", Georgia, serif; margin-bottom: 10px; }
.fpp-category-description { display: block; max-width: 175px; color: #fff; font: 400 10px/1.4 "DM Sans", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.fpp-category-card > svg { position: absolute; z-index: 1; right: 12px; bottom: 16px; color: #fff; }
.fpp-category-card:hover > img { transform: scale(1.035); }
.fpp-archive-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(245px, 1fr); border-bottom: 1px solid #bbb7b0; }
.fpp-archive-section { border-bottom: 0; }
.fpp-archive-section .fpp-story-photo { aspect-ratio: 3 / 2; }
.fpp-archive-section .fpp-story-card h3 { font-size: 21px; }
.fpp-home-about { border-left: 1px solid #bbb7b0; padding: 28px 24px; }
.fpp-home-about .fpp-about-eyebrow { margin: 0 0 12px; font: 600 10px/1.5 "DM Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.fpp-home-about h2 { margin: 0 0 14px; color: #151515; font: 600 31px/1.1 "EB Garamond", Georgia, serif; }
.fpp-home-about > p:not(.fpp-about-eyebrow) { margin: 0 0 18px; color: #5a554e; font: 400 14px/1.65 "DM Sans", sans-serif; }
.fpp-last-section { border-bottom: 0; }
.fpp-last-section .fpp-story-photo { aspect-ratio: 16 / 10; }
.fpp-editorial-home a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.fpp-category-card:focus-visible { outline: 3px solid #111; outline-offset: 4px; }
@media (max-width: 1250px) {
    .fpp-home-hero { gap: 30px; padding-inline: 12px; }
    .fpp-category-name { font-size: 25px; }
    .fpp-stories-grid { gap: 20px; }
}
@media (max-width: 1000px) {
    .fpp-home-hero { grid-template-columns: 1fr 1.2fr; gap: 24px; }
    #fpp-home-title { font-size: 36px; }
    .fpp-home-hero-photo { aspect-ratio: 1.25 / 1; }
    .fpp-home-intro p { font-size: 15px; }
    .fpp-stories-four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
    .fpp-category-grid { gap: 12px; }
    .fpp-category-name { font-size: 23px; }
    .fpp-category-description { font-size: 9px; }
    .fpp-archive-layout { grid-template-columns: 1fr; }
    .fpp-home-about { border-left: 0; border-top: 1px solid #bbb7b0; }
    .fpp-home-about h2 br { display: none; }
}
@media (max-width: 767px) {
    #mblheader > .container { width: calc(100% - 32px); max-width: none; padding: 18px 0; }
    #mblheader .fpp-site-branding img.custom-logo { width: min(245px, calc(100vw - 96px)); }
    #mblheader .fpp-site-branding .site-description { max-width: 245px; font-size: 11px; margin-top: 7px; }
    #mblheader .toggle-button { min-width: 44px; min-height: 44px; }
    body.fpp-front-page .site-content > .container { padding-inline: 18px; }
    .fpp-home-hero { grid-template-columns: 1fr; padding: 28px 4px 24px; gap: 26px; }
    .fpp-home-intro { max-width: 520px; }
    #fpp-home-title { font-size: 39px; max-width: 440px; }
    .fpp-home-intro p { font-size: 16px; max-width: 450px; margin-bottom: 20px; }
    .fpp-home-hero-photo { aspect-ratio: 16 / 9; }
    .fpp-home-section { padding: 18px 16px 22px; }
    .fpp-section-heading { align-items: center; gap: 12px; }
    .fpp-section-heading h2 { font-size: 17px; }
    .fpp-section-heading > a { font-size: 9px; gap: 4px; }
    .fpp-stories-grid { gap: 24px 18px; }
    .fpp-story-card h3, .fpp-archive-section .fpp-story-card h3 { font-size: 21px; }
    .fpp-story-categories { font-size: 9px; }
    .fpp-story-date { font-size: 9px; }
    .fpp-stories-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fpp-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .fpp-category-card:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
    .fpp-category-name { font-size: 27px; }
    .fpp-category-description { font-size: 10px; }
    .fpp-home-about { padding: 24px 20px; }
}
@media (max-width: 500px) {
    .fpp-stories-four, .fpp-stories-three { grid-template-columns: 1fr; }
    .fpp-story-photo { aspect-ratio: 4 / 3; }
    .fpp-story-card h3, .fpp-archive-section .fpp-story-card h3 { font-size: 25px; }
    .fpp-story-categories, .fpp-story-date { font-size: 10px; }
    #fpp-home-title { font-size: 36px; }
    .fpp-home-section { padding-inline: 14px; }
    .fpp-section-heading h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .fpp-category-card > img { transition: none; }
}

/* Keep full-size links; switch to the mobile menu before they become cramped. */
@media (min-width: 1280px) and (max-width: 1350px) {
    #masthead .header-left { flex-basis: 280px; width: 280px; padding-inline: 18px; }
    #masthead .header-center { padding-inline: 18px; }
    #masthead .main-navigation ul.menu { gap: 10px; }
    #masthead .main-navigation ul.menu > li.fpp-menu-institutional { padding-left: 14px; }
}
@media (max-width: 1279px) {
    #masthead { display: none; }
    #mblheader { display: block; }
    #mblheader > .container { box-sizing: border-box; width: calc(100% - 40px); max-width: none; padding: 22px 0; }
    #mblheader .fpp-site-branding img.custom-logo { width: min(290px, calc(100vw - 112px)); }
    #mblheader .fpp-site-branding .site-description { max-width: 290px; font-size: 12px; margin-top: 9px; }
    #mblheader .toggle-button { min-width: 48px; min-height: 48px; }
    #mblheader .mbl-primary-menu-list { box-sizing: border-box; width: min(400px, 90vw); max-width: 100%; }
    #mblheader .mbl-primary-menu-list ul.menu > li > a { display: block; padding: 15px 0; font: 500 18px/1.5 "DM Sans", sans-serif; text-transform: none; letter-spacing: 0; }
    #mblheader .mbl-primary-menu-list ul.menu > li.fpp-menu-institutional { margin-top: 16px; padding-top: 12px; border-top: 1px solid #d4d0c8; }
    #mblheader .mbl-primary-menu-list .close { min-width: 44px; min-height: 44px; left: 24px; }
    #mblheader .mbl-primary-menu-list .mobile-menu { box-sizing: border-box; width: 100%; height: calc(100% - 64px); padding: 0 24px 24px; overflow-x: hidden; overflow-y: auto; }
    #mblheader .mbl-primary-menu-list .fpp-search-form { box-sizing: border-box; display: flex; flex-flow: row nowrap; position: relative; width: 100%; margin: 22px 0 16px; padding: 0; border: 0; }
    #mblheader .mbl-primary-menu-list .fpp-search-form .search-field { box-sizing: border-box; flex: 1; min-width: 0; width: 100%; height: 46px; margin: 0; padding: 10px 12px; border: 1px solid #888; border-right: 0; border-radius: 0; font: 400 16px/1.5 "DM Sans", sans-serif; background: #fff; color: #222; }
    #mblheader .mbl-primary-menu-list .fpp-search-form .search-submit { box-sizing: border-box; position: static; display: flex; align-items: center; justify-content: center; flex: 0 0 46px; min-width: 46px; width: 46px; height: 46px; margin: 0; padding: 0; border: 1px solid #151515; border-radius: 0; background: #151515; color: #fff; opacity: 1; }
    #mblheader .mbl-primary-menu-list .fpp-search-form .search-submit svg { fill: none; width: 20px; height: 20px; }

}
body.fpp-front-page .fpp-footer { margin-top: 48px; }
body.fpp-front-page .fpp-footer-inner { box-sizing: border-box; max-width: 1448px; padding: 52px 24px 0; }
@media (max-width: 767px) {
    body.fpp-front-page .fpp-footer { margin-top: 32px; }
    body.fpp-front-page .fpp-footer-inner { padding: 36px 24px 0; }
}
