/*
Theme Name: Pescando em Mato Grosso
Theme URI: https://pescandoemmatogrosso.com.br/
Description: Tema editorial para o portal Pescando em Mato Grosso, com guia de pesca, matérias e comunidade.
Version: 1.7.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pescando-em-mato-grosso
*/
:root {
    --paper: #f5f3e9;
    --white: #fffdf6;
    --green: #112c25;
    --forest: #193e32;
    --deep: #0c211c;
    --muted: #53635a;
    --line: #d9ddd0;
    --lime: #dced91;
    --heading: Georgia, 'Times New Roman', serif;
    --body: 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--green); font: 1rem/1.55 var(--body); }
a { color: inherit; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.12; margin: 0; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #a56218; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 30; top: .75rem; left: .75rem; padding: .5rem 1rem; color: var(--green); background: var(--lime); }
.site-header { position: relative; z-index: 5; background: var(--deep); color: var(--white); border-bottom: 1px solid #395349; }
.header-row { display: flex; min-height: 118px; gap: 1.5rem; align-items: center; }
.identity { margin-right: auto; min-width: 0; }
.portal-logo, .custom-logo-link { display: inline-flex; align-items: center; padding: .3rem; background: var(--white); border-radius: .5rem; }
.portal-logo img { display: block; width: auto; height: 94px; }
.custom-logo { display: block; max-height: 94px; width: auto; max-width: 180px; object-fit: contain; }
.menu, .sub-menu { margin: 0; padding: 0; list-style: none; }
.desktop-nav > .menu, .footer-row .menu { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.2rem; }
.menu a { display: block; padding: .65rem 0; text-decoration: none; font-size: .89rem; font-weight: 650; }
.menu a:hover, .menu .current-menu-item > a { color: var(--lime); }
.desktop-nav { border-top: 1px solid #395349; }
.desktop-nav > .menu { gap: 0 clamp(.75rem, 1.55vw, 1.4rem); }
.desktop-nav > .menu > li > a, .mobile-nav nav > .menu > li > a { text-transform: uppercase; letter-spacing: .025em; font-size: .77rem; }
.desktop-nav > .menu > li > a { padding-block: .9rem; border-bottom: 2px solid transparent; }
.desktop-nav > .menu > li > a:hover, .desktop-nav > .menu > li > a[aria-current="page"], .desktop-nav > .menu > .current-menu-item > a { border-bottom-color: var(--lime); color: var(--lime); }
.mobile-nav nav { max-height: 68vh; overflow-y: auto; }
.mobile-nav a[aria-current="page"] { color: var(--lime); }
.desktop-nav li { position: relative; }
.desktop-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; width: max-content; min-width: 12rem; max-width: 18rem; background: var(--deep); padding: .45rem .9rem; border: 1px solid #395349; }
.desktop-nav .sub-menu .sub-menu { position: static; min-width: 0; border: 0; padding: 0 0 0 .65rem; }
.desktop-nav li:hover > .sub-menu, .desktop-nav li:focus-within > .sub-menu { display: block; }
.header-search summary, .mobile-nav summary { min-height: 44px; min-width: 44px; display: grid; place-items: center; list-style: none; cursor: pointer; border: 1px solid #527063; border-radius: .35rem; }
summary::-webkit-details-marker { display: none; }
.search-panel, .mobile-nav nav { position: absolute; top: 100%; right: max(1.5rem, calc((100% - 76rem) / 2)); width: min(100% - 3rem, 27rem); background: var(--deep); padding: 1rem; border: 1px solid #527063; box-shadow: 0 12px 30px #0003; }
.mobile-nav { display: none; }
.mobile-nav summary { padding-inline: .7rem; font-size: .85rem; font-weight: 700; }
.mobile-nav .sub-menu { padding-left: 1rem; }
.search-form { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 36rem; }
.search-form input, .comment-form input:not([type=checkbox]):not([type=submit]), .comment-form textarea {
    min-width: 0; border: 1px solid #87958b; border-radius: .3rem; padding: .65rem .75rem; font: inherit; color: var(--green); background: var(--white);
}
.search-form input { flex: 1 1 12rem; }
.pemt-ad-row-top { max-width: 1190px; margin-block: 1rem 1.25rem; }
.top-ad-label { margin: 0 0 .3rem; text-align: center; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.top-ad-banner { display: block; aspect-ratio: var(--ad-ratio, 1190 / 250); border-radius: .55rem; overflow: hidden; text-decoration: none; }
.top-ad-paid { background: var(--deep); }
.top-ad-paid img { display: block; width: 100%; height: 100%; object-fit: contain; }
.top-ad-community { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: clamp(1rem, 4vw, 3rem); color: var(--white); background: radial-gradient(ellipse at 90% 15%, #35654d, transparent 70%), var(--deep); }
.top-ad-community strong { display: block; font: 700 clamp(1.2rem, 3.4vw, 3.15rem)/1.08 var(--heading); }
.top-ad-community small { display: block; margin-top: .35rem; color: var(--lime); }
.top-ad-community .button { flex-shrink: 0; }
.top-ad-community:hover .button { background: #ebf7b0; }
@media (max-width: 36rem) {
    .top-ad-community { flex-wrap: wrap; aspect-ratio: auto; min-height: 7.5rem; }
}
.hero { background: radial-gradient(ellipse at 85% 30%, #245146, transparent 70%), var(--deep); color: var(--white); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.25rem); }
.hero-inner { min-width: 0; }
.hero-carousel { min-width: 0; }
.carousel-stage { overflow: hidden; border-radius: .6rem; background: #173e34; }
.carousel-slide { margin: 0; position: relative; aspect-ratio: 1.35; }
.carousel-slide[hidden], .carousel-controls[hidden] { display: none; }
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.carousel-slide-portrait img { object-fit: contain; }
.carousel-slide figcaption { position: absolute; inset: auto 0 0; background: linear-gradient(transparent, #091d18ea); color: var(--white); padding: 1.4rem 1rem .75rem; font-size: .83rem; font-weight: 650; }
.carousel-controls, .carousel-dots { display: flex; align-items: center; justify-content: center; }
.carousel-controls { gap: .5rem; margin-top: .45rem; }
.carousel-step, .carousel-dot { display: grid; place-items: center; min-height: 44px; min-width: 44px; padding: 0; background: transparent; color: var(--white); cursor: pointer; border: 0; }
.carousel-step { border: 1px solid #789487; border-radius: 50%; }
.carousel-step:hover, .carousel-dot:hover { color: var(--lime); }
.carousel-step[data-prev] svg { transform: rotate(180deg); }
.carousel-dot::before { content: ''; width: .6rem; height: .6rem; border: 1px solid currentColor; border-radius: 50%; }
.carousel-dot[aria-current] { color: var(--lime); }
.carousel-dot[aria-current]::before { background: currentColor; }
.eyebrow { display: flex; gap: .65rem; align-items: center; font-size: .74rem; line-height: 1.4; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; color: var(--lime); margin-bottom: 1.2rem; }
.hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 5.1vw, 4.9rem); line-height: .99; letter-spacing: -.048em; }
.hero h1 em { color: var(--lime); }
.hero-copy { margin: 1.35rem 0 1.6rem; max-width: 28rem; color: #eef2e8; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.button, .comment-form .submit { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .6rem 1rem; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; font: 750 .9rem/1.35 var(--body); color: var(--deep); background: var(--lime); cursor: pointer; }
.button:hover, .comment-form .submit:hover { background: #ebf7b0; }
.button-outline { background: transparent; color: var(--white); border-color: #a6b8a6; }
.button-outline:hover { background: #fff2; }
.guide { padding-block: 2.8rem 2.5rem; }
.section-title { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.35rem; }
.section-title span { flex: 1; border-top: 1px solid var(--line); }
.topic-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.topic { display: flex; flex-direction: column; min-width: 0; padding: 1rem .95rem .9rem; background: var(--white); border: 1px solid var(--line); border-radius: .45rem; text-decoration: none; transition: border-color .15s, background .15s; }
.topic:hover { background: #f0f4db; border-color: #8b9e74; }
.topic-icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border-radius: 50%; background: #e8eed6; color: var(--forest); margin-bottom: .8rem; }
.topic-icon svg { width: 1.4rem; height: 1.4rem; }
.topic strong { font-size: .99rem; line-height: 1.25; }
.topic-copy { margin: .4rem 0 .7rem; color: var(--muted); font-size: .83rem; line-height: 1.42; }
.topic-arrow { margin-top: auto; }
.feature-section { margin-top: .45rem; }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 18rem; overflow: hidden; border-radius: .65rem; background: var(--forest); color: var(--white); }
.feature-media, .card-media { display: block; position: relative; overflow: hidden; background: #234c40; }
.feature-media img, .card-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.photo-fallback { display: grid; position: absolute; inset: 0; place-items: center; background: radial-gradient(ellipse at 66% 18%, #487453, transparent 55%), linear-gradient(140deg, #284e41, #102b25); color: #dced91b3; }
.photo-fallback svg { width: 4.2rem; height: 4.2rem; stroke-width: .8; }
.feature-body { padding: clamp(1.35rem, 3.6vw, 3.15rem); align-self: center; }
.feature-body h2 { font-size: clamp(1.65rem, 2.8vw, 2.55rem); overflow-wrap: anywhere; }
.feature-body h2 a, .card-body h2 a, .card-body h3 a { text-decoration: none; }
.feature-body h2 a:hover, .card-body h2 a:hover, .card-body h3 a:hover { text-decoration: underline; }
.feature-body > p:not(.eyebrow) { color: #e1eadf; margin-top: .8rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; padding-block: .45rem; font-weight: 750; }
.feature .text-link { color: var(--lime); }
.recent { padding-block: 2.8rem 1.5rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.card-media { aspect-ratio: 16/9; }
.card-body { padding: 1.15rem; overflow-wrap: anywhere; }
.card-body h2, .card-body h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.card-body > p:last-child { margin: .65rem 0 0; color: var(--muted); font-size: .91rem; }
.post-meta { color: var(--muted); margin-bottom: .55rem; font-size: .75rem; font-weight: 700; }
.post-meta span { margin-inline: .2em; }
.more-posts { margin-top: 1rem; }
.community { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: clamp(1.35rem, 4vw, 2.5rem); border-radius: .6rem; margin-block: 2rem 3.5rem; background: var(--green); color: var(--white); }
.community h2 { font-size: clamp(1.5rem, 2.65vw, 2.25rem); }
.community p { color: #e1eadf; margin: .55rem 0 0; }
.site-footer { margin-top: 2.5rem; background: var(--deep); color: var(--white); }
.footer-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1rem; min-height: 6.5rem; padding-block: 1.4rem; }
.site-footer .portal-logo img, .site-footer .custom-logo { height: auto; max-height: 70px; max-width: 135px; }
.footer-row p { margin: 0; font-size: .83rem; }
.listing, .article-wrap { min-height: 55vh; padding-block: clamp(2rem, 6vw, 4.5rem); }
.listing-heading { margin-bottom: 1.8rem; }
.listing-heading h1, .article-header h1 { font-size: clamp(2.15rem, 5vw, 4.15rem); overflow-wrap: anywhere; }
.listing-heading .search-form, .archive-description { margin-top: 1rem; }
.pagination { margin-top: 1.6rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.page-numbers { display: inline-block; padding: .5rem .7rem; background: var(--white); border-radius: .25rem; }
.page-numbers.current { background: var(--forest); color: var(--white); }
.article-header, .article-content, .article-links, .comments-area { max-width: 45rem; margin-inline: auto; }
.article-header { margin-bottom: 1.55rem; }
.article-byline { margin: .8rem 0 0; color: var(--muted); font-size: .9rem; }
.article-cover { max-width: 62rem; margin: 0 auto 2rem; }
.article-cover img { display: block; width: 100%; border-radius: .5rem; }
.article-content { overflow-wrap: anywhere; font-size: 1.08rem; }
.article-content h2, .article-content h3 { margin: 1.15em 0 .55em; }
.article-content figure { max-width: 100%; }
.article-content iframe { max-width: 100%; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.alignleft { float: left; margin-right: 1.2rem; }
.alignright { float: right; margin-left: 1.2rem; }
.aligncenter { display: block; margin-inline: auto; }
.article-links { clear: both; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .8rem; }
.comments-area { margin-top: 2.2rem; }
.comment-form textarea { display: block; width: 100%; }
.comment-form label { display: block; }
.comment-form-cookies-consent label { display: inline; }
@media (max-width: 64rem) {
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
    .wrap { width: calc(100% - 2rem); }
    .header-row { gap: .5rem; min-height: 96px; }
    .search-panel, .mobile-nav nav { width: calc(100% - 2rem); right: 1rem; }
    .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-block: 2rem .9rem; }
    .hero h1 { font-size: clamp(2.75rem, 10.5vw, 4rem); }
    .carousel-slide { aspect-ratio: 1.23; }
    .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature { grid-template-columns: 1fr; }
    .feature-media { aspect-ratio: 16/9; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
    .post-grid { grid-template-columns: 1fr; }
    .portal-logo img { height: 74px; }
    .custom-logo { max-height: 74px; max-width: 130px; }
    .carousel-dot { min-width: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

.pemt-ad-row-article, .pemt-ad-row-footer { display: grid; gap: 1rem; clear: both; }
.pemt-ad-row-article { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 2rem; }
.pemt-ad-row-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 2rem 0; }
.pemt-ad-row-article .top-ad-community, .pemt-ad-row-footer .top-ad-community { min-height: 6.25rem; aspect-ratio: auto; padding: .8rem 1rem; }
.pemt-ad-row-article strong, .pemt-ad-row-footer strong { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.pemt-ad-row-article small, .pemt-ad-row-footer small { font-size: .75rem; }
@media (max-width: 42rem) {
    .pemt-ad-row-article, .pemt-ad-row-footer { grid-template-columns: 1fr; }
}

.pousada-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .85rem; margin-bottom: 1.5rem; }
.pousada-filters label { display: grid; gap: .25rem; font-size: .9rem; }
.pousada-filters input, .pousada-filters select { min-height: 44px; min-width: 0; max-width: 100%; padding: .55rem; font: inherit; border: 1px solid var(--muted); border-radius: .35rem; background: var(--white); color: var(--deep); }
.pousada-actions { margin-top: 1rem; gap: .75rem; }
.pousada-guide .listing-heading p:last-child { margin-top: .6rem; }

.pousada-social { margin-top: 2rem; }
.pousada-social h2 { margin-bottom: 1rem; }
.pousada-review { margin: 0 0 .85rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 3px solid var(--forest); border-radius: .4rem; background: var(--white); }
.pousada-review blockquote { margin: 0 0 .65rem; }
.pousada-review figcaption { font-weight: 700; font-size: .9rem; }
.pousada-instagram .instagram-media { margin-inline: 0; min-width: 0 !important; max-width: 100%; }

.pemt-ad-row-article .top-ad-destinations { background: var(--forest); }
.top-ad-destinations small { margin: 0 0 .2rem; }
.top-ad-destinations strong + span { font-size: .85rem; }
