/* Home editorial: composição da referência publicada, com conteúdo local. */
.home-magazine-mobile-link { display: none; }
@font-face {
 font-family: 'Raleway';
 src: url('../fonts/raleway/Raleway-variable.ttf') format('truetype');
 font-style: normal;
 font-weight: 100 900;
 font-display: swap;
}
.home { --home-gold: #b68d4a; --home-ink: #111; --home-muted: #777; --home-border: #eee; }
.home .site-main { color: var(--home-ink); font-family: 'Raleway', sans-serif; }
.home .magazine-home, .home .home-section-inner, .home .history-home, .home .editorias-home { width: min(100% - 40px, 1200px); margin-inline: auto; }
.home .magazine-home { margin-block: 100px 60px; }
.home .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.home .home-eyebrow { margin: 0 0 14px; color: #17633b; font-size: 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home .section-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: -.04em; }
.home .section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; letter-spacing: -.035em; text-transform: uppercase; }
.home .home-text-link { display: inline-block; flex-shrink: 0; color: #111; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.home .home-text-link:hover { color: #17633b; }
.home .featured-post { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 30px; align-items: start; margin-bottom: 60px; }
.home .featured-post__media { display: block; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.home .featured-post__image { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border: 1px solid #eee; transition: transform .6s ease; }
.home .featured-post__content { min-width: 0; padding-top: 6px; }
.home .home-post-categories { color: #8b7955; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.8; margin-bottom: 22px; overflow-wrap: anywhere; }
.home .home-post-categories a { color: inherit; text-decoration: none; }
.home .featured-post h2 { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.home .featured-post h2 a, .home .news-card h2 a { color: inherit; text-decoration: none; }
.home .featured-post__content p { color: var(--home-muted); font-size: 18px; line-height: 1.9; margin: 0 0 36px; }
.home .featured-post__content .home-text-link { margin-top: 18px; }
.home .news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home .news-card { min-width: 0; border: 1px solid #eee; background: #fff; transition: transform .35s ease, box-shadow .35s ease; }
.home .news-card > a { display: block; overflow: hidden; }
.home .news-card__image { transition: transform .6s ease; }
.home .news-card h2 a, .home .magazine-home .section-heading > .home-text-link { transition: opacity .3s ease; }
.home .youtube-item__posts .home-outline-link { transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.home .editoria-card img { transition: transform .7s ease; }
@media (hover: hover) and (pointer: fine) {
 .home .featured-post__media:hover, .home .news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgb(0 0 0 / 8%); }
 .home .featured-post__media:hover img, .home .news-card:hover .news-card__image, .home .editoria-card:hover img { transform: scale(1.05); }
 .home .news-card h2 a:hover { opacity: .7; }
 .home .magazine-home .section-heading > .home-text-link:hover { opacity: .6; }
 .home .youtube-item__posts .home-outline-link:hover { transform: translateY(-3px); }
}
.home .featured-post__media:focus-visible, .home .news-card:focus-within { transform: translateY(-6px); box-shadow: 0 20px 50px rgb(0 0 0 / 8%); }
.home .featured-post__media:focus-visible img, .home .news-card:focus-within .news-card__image, .home .editoria-card:focus-within img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
 .home .featured-post__media, .home .featured-post__image, .home .news-card, .home .news-card__image, .home .news-card h2 a, .home .magazine-home .section-heading > .home-text-link, .home .youtube-item__posts .home-outline-link, .home .editoria-card img { transition: none; transform: none !important; }
}
.home .news-card__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.home .news-card__body { padding: 24px 26px 28px; }
.home .news-card .home-post-categories { margin-bottom: 16px; }
.home .news-card h2 { margin: 0 0 18px; font-family: 'Raleway', sans-serif; font-size: 26px; line-height: 1.22; overflow-wrap: anywhere; }
.home .news-card p { margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.9; }
.home .youtube-home { width: 100%; margin: 0; padding: 56px 0 60px; background: #f1ead7; }
.home .youtube-home .section-heading { margin-bottom: 48px; }
.home .youtube-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.home .youtube-item { min-width: 0; padding: 24px; border: 1px solid #ac915b; background: white; text-align: center; display: flex; flex-direction: column; }
.home .youtube-item > img { width: 100%; height: 96px; object-fit: contain; margin-bottom: 24px; }
.home .youtube-item__posts, .home .youtube-item__posts article { display: flex; flex-direction: column; flex: 1; }
.home .youtube-item__posts a { color: inherit; text-decoration: none; }
.home .youtube-item__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.home .youtube-item h3 { margin: 22px 0 16px; font-size: 22px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home .home-outline-link, .home .section-cta a { display: inline-block; align-self: center; border: 1px solid #315e31; padding: 14px 20px; color: #315e31; text-decoration: none; font-size: 12px; text-transform: uppercase; line-height: 1.5; }
.home .youtube-item__posts .home-outline-link { margin-top: auto; color: #315e31; }
.home .home-outline-link:hover, .home .section-cta a:hover { background: #315e31; color: white; }
.home .history-home { position: relative; display: grid; place-items: center; min-height: 480px; margin-block: 24px 60px; overflow: hidden; text-align: center; }
.home .history-home__image { position: absolute; inset: 0; }
.home .history-home__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home .history-home::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 30%); }
.home .history-home__content { position: relative; z-index: 1; padding: 40px 24px; color: white; }
.home .history-home h2 { margin: 0 0 64px; font-size: clamp(32px, 5vw, 64px); line-height: 1.2; letter-spacing: .03em; }
.home .history-home .home-outline-link { border-color: rgb(255 255 255 / 65%); color: white; letter-spacing: .12em; }
.home .history-home .home-outline-link:hover { background: rgb(0 0 0 / 35%); }
.home .editorias-home { margin-block: 40px 30px; }
.home .editorias-home .section-heading { justify-content: center; margin-bottom: 36px; }
.home .editorias-home .section-heading h2 { font-size: 32px; }
.home .editorias-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home .editoria-card { position: relative; min-width: 0; overflow: hidden; background: #263528; }
.home .editoria-card > a { display: block; position: relative; color: white; text-decoration: none; aspect-ratio: 4 / 5; }
.home .editoria-card img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.home .editoria-card > a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(0 0 0 / 85%)); }
.home .editoria-card h3 { position: absolute; z-index: 1; inset-inline: 24px; bottom: 62px; margin: 0; color: white; font-size: 27px; line-height: 1.2; }
.home .editoria-card__explore { position: absolute; z-index: 1; bottom: 28px; left: 24px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.home .boulevard-global-sponsor--rodape { margin-block: 60px 40px; }
.home .site-main:has(> .boulevard-global-sponsor--rodape) + .site-footer { margin-top: 0; }
.home .site-main a:focus-visible { outline: 3px solid #17633b; outline-offset: 3px; }
.home .history-home a:focus-visible, .home .editoria-card a:focus-visible { outline-color: white; outline-offset: -4px; }
@media (min-width: 801px) and (max-width: 1100px) {
 .home .news-grid, .home .editorias-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .home .youtube-grid { gap: 18px; }
 .home .youtube-item { padding: 16px; }
}
@media (max-width: 800px) {
 .home .boulevard-global-sponsor--cabecalho { margin-block: 20px; }
 .home .boulevard-global-sponsor--cabecalho + .magazine-home { margin-top: 0; }
 .home .magazine-home { margin-block: 48px 40px; }
 .home .section-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 32px; }
 .home .home-eyebrow { font-size: 16px; }
 .home .featured-post { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; border: 1px solid #b19e71; padding: 0; }
 .home .featured-post__content { padding: 0 20px 20px; }
 .home .featured-post__image { height: auto; aspect-ratio: auto; object-fit: contain; }
 .home .featured-post h2 { font-size: 32px; }
 .home .featured-post__content p { font-size: 16px; }
 .home .news-grid, .home .youtube-grid, .home .editorias-grid { grid-template-columns: 1fr; }
 .home .news-card__body { padding: 24px; }
 .home .youtube-home { padding-block: 36px; }
 .home .youtube-grid { gap: 24px; }
 .home .history-home { min-height: 360px; }
 .home .history-home h2 { margin-bottom: 40px; }
 .home .editorias-home .section-heading { align-items: center; }
 .home .editorias-home { margin-bottom: 0; }
 .home .boulevard-global-sponsor--rodape { margin-block: 60px 15px !important; }
.home .site-footer { margin-top: 0; }
}

/* Refinamento editorial aprovado em 22/09/2026, exclusivo da Home. */
.home { --home-ink: #292929; --home-muted: #626262; --home-border: #e6e1d9; --home-gold-text: #87672f; }
.home .magazine-home { margin-block: 36px 48px; }
.home .section-heading { margin-bottom: 28px; gap: 20px; }
.home .home-eyebrow { margin-bottom: 8px; color: var(--home-gold-text); font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.home .section-heading h1,
.home .section-heading h2,
.home .featured-post h2,
.home .news-card h2,
.home .history-home h2 { font-family: 'Raleway', sans-serif; font-weight: 400; letter-spacing: -.025em; text-transform: none; }
.home .section-heading h1 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.22; }
.home .section-heading h2 { font-size: clamp(28px, 2.8vw, 36px); }
.home .home-text-link { color: var(--home-gold-text); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 4px; }
.home .home-text-link:hover { color: var(--home-ink); }
.home .featured-post { border: 1px solid var(--home-border); grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.home .featured-post__image { aspect-ratio: 16 / 10; }
.home .featured-post__image { border: 0; }
.home .featured-post__content { padding: 24px 28px 24px 0; }
.home .featured-post h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 18px; line-height: 1.15; overflow-wrap: break-word; }
.home .featured-post__content p { font-size: 17px; line-height: 1.7; margin-bottom: 20px; }
.home .featured-post__content .home-text-link { margin-top: 0; }
.home .featured-post__content.is-fitted { display: flex; flex-direction: column; min-height: var(--featured-content-height); }
.home .featured-post__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--featured-summary-lines, 5); overflow: hidden; overflow-wrap: break-word; }
.home .featured-post__content.is-fitted > .home-text-link { margin-top: auto; align-self: flex-start; }
.home .home-post-categories { color: var(--home-gold-text); font-size: 11px; letter-spacing: .06em; margin-bottom: 12px; overflow-wrap: normal; }
/* Desktop: imagem inteira e margens internas do modelo de Arquitetura. */
@media (min-width: 801px) {
 .home .featured-post { height:450px; box-sizing:border-box; border:0; outline:1px solid var(--home-border); outline-offset:-1px; grid-template-columns:fit-content(65%) minmax(0,1fr); gap:24px; align-items:stretch; }
 .home .featured-post__media { min-width:0; height:420px; margin:15px 0 15px 15px; }
 .home .featured-post__media .featured-post__image { width:auto; max-width:100%; height:420px; max-height:450px; aspect-ratio:auto; margin:0; object-fit:contain; object-position:center; transform:none; }
 .home .featured-post .featured-post__content { display:flex; flex-direction:column; height:100%; min-height:0; box-sizing:border-box; padding:20px 20px 20px 0; overflow:hidden; }
 .home .featured-post .home-post-categories { flex-shrink:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
 .home .featured-post h2 { flex-shrink:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; }
 .home .featured-post .featured-post__summary { min-height:0; flex-shrink:1; }
 .home .featured-post__content > .home-text-link { margin-top:auto; align-self:flex-start; }
 .home .featured-post:not(:has(.featured-post__image)) { grid-template-columns:1fr; }
 .home .featured-post:not(:has(.featured-post__image)) .featured-post__media { display:none; }
 .home .featured-post:not(:has(.featured-post__image)) .featured-post__content { padding-left:20px; }
}
.home .news-grid { gap: 20px; border-top: 1px solid var(--home-border); padding-top: 28px; }
.home .news-card { border: 0; display: flex; flex-direction: column; }
.home .news-card__body { flex: 1; border: 1px solid var(--home-border); border-top: 0; padding: 16px 14px 18px; }
.home .news-card .home-post-categories { margin-bottom: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home .news-card h2 { font-size: 23px; line-height: 1.25; margin-bottom: 12px; overflow-wrap: break-word; }
.home .news-card p { line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.home .youtube-home { background: #fff; margin-block: 0; padding-block: 0 20px; }
.home .youtube-home .home-section-inner { border-top: 0; padding-top: 0; }
.home .youtube-home .section-heading { margin-bottom: 24px; }
.home .youtube-grid { gap: 24px; }
.home .youtube-item { padding: 0; border: 0; text-align: left; }
.home .youtube-item__posts article { border: 1px solid var(--home-border); border-top: 0; padding-bottom: 18px; }
.home .youtube-item__posts article h3,
.home .youtube-item__posts article > p,
.home .youtube-item__posts article > .home-outline-link { margin-inline: 14px; }
.home .youtube-item > img { height: 72px; margin-bottom: 16px; object-position: left center; }
.home .youtube-item__image { aspect-ratio: 16 / 9; }
.home .youtube-item h3 { margin-block: 16px; font-family: 'Raleway', sans-serif; font-weight: 400; line-height: 1.35; }
.home .youtube-item h3.youtube-item__program { margin: 0 0 14px; font-size: 21px; display: block; overflow: visible; }
.home .youtube-item__summary { margin: 0 0 20px; color: var(--home-muted); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.home .home-outline-link,
.home .section-cta a,
.home .youtube-item__posts .home-outline-link { color: var(--home-gold-text); border-color: var(--home-gold); padding: 11px 18px; font-size: 14px; text-transform: none; border-radius: 2px; text-align: center; }
.home .youtube-item__posts .home-outline-link { align-self: stretch; }
.home .home-outline-link:hover,
.home .section-cta a:hover { background: #87672f; color: #fff; }
.home .editorias-home .section-heading { justify-content: flex-start; margin-bottom: 24px; }
.home .editorias-grid { gap: 20px; }
.home .editoria-card > a { aspect-ratio: 4 / 3; }
.home .editoria-card h3 { inset-inline: 0; bottom: 0; padding: 12px 16px; background: rgb(0 0 0 / 48%); font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 22px; }
.home .editoria-card > a::after { background: linear-gradient(transparent 60%, rgb(0 0 0 / 20%)); }
.home .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 32px; }
.home .site-footer__brand { grid-column: 1 / -1; text-align: center; padding-bottom: 28px; border-bottom: 1px solid rgb(255 255 255 / 35%); }
.home .footer-nav { grid-column: 1; grid-row: 2; }
.home .site-footer__contact { grid-column: 2; grid-row: 2; border-left: 1px solid rgb(255 255 255 / 35%); padding-left: 32px; }
.home .editoria-card__explore { left: 16px; bottom: 16px; font-size: 11px; letter-spacing: .06em; }
.home .site-main a:focus-visible { outline-color: var(--home-gold-text); }
.home .editoria-card a:focus-visible { outline-color: white; }
@media (max-width: 800px) {
 .home .magazine-home { margin-block: 20px 36px; }
 .home .section-heading { gap: 12px; }
 .home .featured-post { grid-template-columns: 1fr; gap: 0; }
 .home .featured-post__content { padding: 22px 20px; }
 .home .featured-post__image { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
 .home .news-card { border: 0; }
 .home .news-card__body { padding: 20px; }
 .home .editorias-home .section-heading { align-items: flex-start; }
 .home .site-footer__grid { grid-template-columns: 1fr; }
 .home .footer-nav { grid-column: 1; grid-row: auto; }
 .home .site-footer__contact { grid-column: 1; grid-row: auto; padding-left: 0; border-left: 0; }
}

/* Mesmo magazine mobile das editorias: destaque empilhado e cards em linhas. */
@media (max-width: 600px) {
 .home .featured-post { border: 1px solid #b19e71; gap: 20px; }
 .home .featured-post__content { display: flex; flex-direction: column; min-height: 0; padding: 0 20px 20px; }
 .home .featured-post__content h2 { order: 0; font-size: clamp(26px, 3.2vw, 42px); }
 .home .featured-post__content .home-post-categories { order: 1; font-size: 16px; letter-spacing: 0; text-transform: none; }
 .home .featured-post__summary { order: 2; font-size: 18px; line-height: 1.7; text-align: justify; margin-bottom: 18px; -webkit-line-clamp: 10; }
 .home .featured-post__content > .home-text-link { order: 3; align-self: flex-start; }
 .home .news-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 0; border-top: 0; }
 .home .news-card { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 18px; align-items: start; border: 1px solid var(--home-border); }
 .home .news-card__image { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
 .home .news-card__body { min-width: 0; padding: 14px 12px 14px 0; border: 0; container-type: inline-size; }
 .home .news-card h2 { font-size: clamp(16px, 10.5cqi, 24px); line-height: 1.3; text-align: left; word-break: normal; overflow-wrap: normal; hyphens: none; margin: 0 0 12px; }
 .home .news-card .home-post-categories, .home .news-card__body > p { display: none; }
 .home .home-magazine-mobile-link { display: inline-block; color: var(--green); font-size: 14px; font-weight: 600; margin-bottom: 12px; text-decoration: none; }
 .home .news-card:not(:has(.news-card__image)) { grid-template-columns: 1fr; }
 .home .news-card:not(:has(.news-card__image)) > a { display: none; }
 .home .news-card:not(:has(.news-card__image)) .news-card__body { padding: 14px; }
 .home .news-card:has(.news-card__image) .news-card__body { contain: size; align-self: stretch; display: flex; flex-direction: column; overflow: hidden; }
 .home .news-card:has(.news-card__image) h2 { flex: 0 1 auto; min-height: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--mobile-title-lines, 3); overflow: hidden; }
 .home .news-card:has(.news-card__image) .home-magazine-mobile-link { flex-shrink: 0; margin-bottom: 0; }
}
