/*
Theme Name: MTON Guia
Description: Portal editorial de viagens, cidades e serviços de Mato Grosso.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 8.0
Author: MTON
Text Domain: mton-guia
*/
:root{--paper:#f8f6ef;--white:#fffdf8;--ink:#182b20;--muted:#526256;--green:#224b37;--green2:#183829;--pale:#e6eee4;--line:#dedfd1;--orange:#a44927;--gold:#f0ac62;--body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:2rem}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.62 var(--body)}
a{color:inherit;text-decoration:none}
a,button,input,select{outline-offset:4px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--orange)}
img{display:block;max-width:100%;height:auto}
svg{flex:none;vertical-align:middle}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.07;letter-spacing:-.037em}
h1{font-size:clamp(3rem,6vw,5rem)}
h2{font-size:clamp(2.2rem,4.5vw,3.75rem)}
h3{font-size:1.64rem}
button,input,select{font:inherit}
button{cursor:pointer}
.wrap{width:min(1280px,calc(100% - 92px));margin-inline:auto}
.sr,.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;top:1rem;left:1rem;z-index:30;background:var(--white);padding:10px 14px;transform:translateY(-200%)}
.skip:focus{transform:none}
.utility{background:#21392b;color:#f1f1e7;font-size:.72rem;font-weight:650;letter-spacing:.035em}
.utility .wrap{height:34px;display:flex;justify-content:space-between;align-items:center}
.utility span,.utility a{display:flex;align-items:center;gap:.32rem}
.utility svg{width:13px;height:13px;color:#ffc483}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:79px}
.brand{display:inline-flex;align-items:center;width:max-content}
.brand img{display:block}
.site-nav{display:flex;align-items:center;gap:clamp(.75rem,2.25vw,2rem);font-size:.92rem;font-weight:680}
.site-nav a:hover,.site-nav a[aria-current]{color:var(--orange)}
.nav-tool{display:flex;align-items:center;gap:.42rem;border:1px solid #cbd8cc;background:#eef3ea;padding:.55rem .85rem;border-radius:7px}
.nav-tool svg{width:17px;height:17px}
.nav-toggle{display:none;gap:.35rem;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--white);padding:.5rem .65rem;color:var(--green);font-weight:750}
.home{padding-top:25px}
.hero{position:relative;isolation:isolate;display:flex;min-height:clamp(480px,43vw,615px);overflow:hidden;border-radius:20px;align-items:center;color:#fffdf3;background:#283b2d}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%;z-index:-2}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,25,19,.94),rgba(12,28,20,.77) 34%,rgba(14,29,22,.16) 73%,rgba(14,29,22,.08)),linear-gradient(0deg,rgba(14,26,16,.35),transparent 35%);z-index:-1}
.hero-content{width:100%;padding:56px clamp(26px,5vw,75px) 68px}
.hero-kicker{display:inline-flex;align-items:center;gap:.6rem;font-weight:750;letter-spacing:.165em;font-size:.71rem;color:#ffdfb8}
.hero-kicker i{width:7px;height:7px;border-radius:50%;background:#f6aa5e}
.hero h1{font-size:clamp(4rem,8vw,7.1rem);line-height:.91;letter-spacing:-.074em;margin:22px 0 25px}
.hero h1 span{color:#f7b067}
.hero p{font-size:clamp(1rem,1.55vw,1.22rem);color:#f2eee4;max-width:31rem;margin-bottom:26px}
.hero-search{display:flex;align-items:center;gap:12px;background:var(--white);padding:6px 6px 6px 15px;border-radius:9px;color:var(--green);width:min(100%,530px)}
.hero-search input{min-width:0;flex:1;color:var(--ink);padding:9px 0;border:none;background:transparent}
.hero-search>svg{width:20px;height:20px}
.hero-credit{position:absolute;right:17px;bottom:14px;display:flex;align-items:center;gap:6px;padding:5px 9px;border-radius:5px;background:#18261de8;color:white;font-size:.69rem}
.hero-credit svg{width:13px;height:13px;color:var(--gold)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.53rem;min-height:45px;background:var(--green);border:1px solid var(--green);border-radius:7px;color:white;padding:.62rem 1rem;font-size:.9rem;font-weight:740;line-height:1.35;text-align:center}
.button:hover{background:var(--green2)}
.button svg{width:17px;height:17px}
.secondary{color:var(--green);background:#f0f5ef;border-color:#bdcebd}
.secondary:hover{background:#e1eddf}
.quick-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 0}
.quick-nav>a{background:var(--white);display:flex;gap:11px;align-items:center;border:1px solid var(--line);padding:15px 12px;border-radius:10px;transition:border-color .18s;min-height:82px}
.quick-nav>a:hover{border-color:var(--green)}
.quick-icon,.directory-pin{width:39px;height:39px;border-radius:8px;background:#e9eee4;color:var(--green);display:grid;place-items:center;flex:none}
.quick-icon svg{width:21px;height:21px}
.quick-nav strong,.quick-nav small,.directory strong,.directory small{display:block;line-height:1.26}
.quick-nav strong{font-size:.89rem}
.quick-nav small,.directory small{font-size:.75rem;color:var(--muted);margin-top:5px}
.quick-arrow,.directory-arrow{width:16px;height:16px;margin-left:auto;color:var(--orange)}
.section{margin:62px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:23px}
.eyebrow{display:block;color:var(--orange);font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.155em;line-height:1.4;margin-bottom:8px}
.text-link,.card-action{display:inline-flex;align-items:center;gap:.45rem;color:var(--green);font-weight:780;font-size:.87rem}
.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.text-link svg,.card-action svg{width:17px;height:17px}
.cards{display:grid;gap:19px}
.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--white);min-width:0}
.post-card-link{display:flex;flex-direction:column;height:100%}
.post-card-link:hover h3{color:var(--orange)}
.post-image{background:#e0e8d9;aspect-ratio:16/9;overflow:hidden}
.post-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.post-card-link:hover img{transform:scale(1.035)}
.post-card-body{padding:18px 19px 20px;display:flex;flex-direction:column;flex:1}
.post-card-body p{color:var(--muted);font-size:.9rem;margin:10px 0 15px}
.card-action{margin-top:auto}
.tool-band{position:relative;overflow:hidden;isolation:isolate;background:#234b37;color:#fffdf6;border-radius:16px;padding:clamp(29px,5vw,65px);margin:58px 0}
.tool-band .eyebrow{color:#f8c48e}
.tool-band p:not(.eyebrow){max-width:32rem;color:#e0eee2;margin:14px 0 20px}
.tool-band .button{color:#203628;background:#ffe2bb;border-color:#ffe2bb}
.tool-band .button:hover{background:#f9ce96}
.tool-band-graphic{position:absolute;inset:0 0 0 auto;display:grid;align-items:center;justify-items:center;width:45%;z-index:-1;background:repeating-radial-gradient(ellipse at 75% 30%,transparent 0 26px,#8aa38327 27px 28px,transparent 29px 42px)}
.tool-band-graphic svg{width:57%;height:auto;stroke-width:.65;color:#e4af75;opacity:.75}
.inner{padding:48px 0 70px;min-height:53vh}
.list-head{max-width:840px;margin-bottom:29px}
.list-head>p:not(.eyebrow),.dek{color:var(--muted);font-size:1.17rem;margin-top:13px;max-width:740px}
.prose{max-width:790px;margin:0 auto;font-size:1.05rem;line-height:1.76}
.prose h2{font-size:clamp(1.65rem,3vw,2.45rem);margin:1.55em 0 .5em}
.prose h3{margin:1.35em 0 .5em}
.prose p,.prose ul,.prose ol,.prose table{margin:0 0 1em}
.prose a{color:var(--green);text-decoration:underline;text-underline-offset:.2em}
.prose a:hover{color:var(--orange)}
.prose li+li{margin-top:.28em}
.prose blockquote{margin:1.3rem 0;padding:12px 18px;border-left:4px solid var(--orange);background:#f3ecdb}
.prose blockquote>p:last-child{margin:0}
.prose .callout{padding:16px 20px;border:1px solid var(--line);border-radius:8px;background:#eef1e7}
.crumb{font-size:.8rem;color:var(--muted);margin-bottom:22px}
.crumb a:hover{text-decoration:underline}
.single{max-width:1000px;margin:auto}
.article-head{max-width:890px;margin:0 auto 24px}
.article-head h1{font-size:clamp(2.9rem,6.2vw,5.5rem)}
.article-meta{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.86rem}
.article-cover{margin:0 0 24px}
.article-cover img{border-radius:15px;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--pale)}
.article-cover figcaption{color:var(--muted);font-size:.75rem;margin-top:6px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 auto 28px;max-width:790px}
.stats div{border:1px solid var(--line);border-radius:9px;padding:13px 12px;background:var(--white)}
.stats b,.stats span{display:block}
.stats b{font-size:1.15rem;line-height:1.18}
.stats span{color:var(--muted);font-size:.77rem;margin-top:5px}
.filter-panel,.tool-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.filter-panel{background:#e9eee4;border:1px solid #d6e1d3;border-radius:11px;padding:16px}
.filter-panel label,.tool-form label{display:grid;gap:5px;font-weight:700;font-size:.85rem;flex:1 1 190px}
.filter-panel .text-link{align-self:center;margin-top:17px}
input:not([type=checkbox]),select{min-height:44px;border-radius:7px;color:var(--ink)}
.filter-panel input,.filter-panel select,.tool-form input:not([type=checkbox]),.tool-form select{width:100%;padding:8px 11px;border:1px solid #bfcbbd;background:var(--white)}
.directory-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:23px 0 13px;color:var(--muted);font-size:.88rem}
.directory{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.directory a{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--white);height:100%;min-height:67px}
.directory a:hover{border-color:var(--green)}
.directory-pin{width:33px;height:33px}
.directory-pin svg{width:17px;height:17px}
.empty{padding:14px 15px;background:#edf1e7;border-radius:8px;color:var(--muted)}
.tool-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.tool-tabs a{display:flex;align-items:center;gap:7px;background:var(--pale);border:1px solid #cfdbce;border-radius:30px;padding:6px 13px;font-size:.85rem;font-weight:750}
.tool-tabs a:hover{background:#d9e8d8}
.tool-tabs svg{width:17px;height:17px}
.tool-panel{border:1px solid var(--line);border-radius:14px;background:var(--white);padding:clamp(18px,3.8vw,44px);margin-bottom:18px}
.tool-panel h2{font-size:clamp(1.9rem,4vw,3rem)}
.tool-panel>p:not(.eyebrow){color:var(--muted);max-width:700px;margin:10px 0 17px}
.tool-form.trip-form label{flex-basis:27%}
.tool-form .check{display:flex;align-items:center;align-self:center;gap:.4rem}
.check input{accent-color:var(--green)}
.tool-results{margin-top:20px;padding:13px 16px;background:#edf2e9;border-radius:8px}
.tool-results p+p{margin-top:6px}
.compare-table{width:100%;margin-top:18px;border-collapse:collapse;table-layout:fixed;overflow-wrap:anywhere;font-size:.92rem}
.compare-table th,.compare-table td{padding:9px 11px;border:1px solid var(--line);text-align:left}
.compare-table thead{background:var(--pale)}
.compare-table a,.route-builder a,.saved-list a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.route-builder{margin-top:18px}
.route-builder summary{color:var(--green);font-weight:770;cursor:pointer}
.route-builder p{margin:9px 0;color:var(--muted)}
.saved-list{list-style:none;padding:0;margin:0 0 13px}
.saved-list li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:7px 0;gap:.55rem}
.saved-list button,.clear-saved{border:none;text-decoration:underline;text-underline-offset:.2em;color:#854224;background:none;padding:8px;font-weight:700;font-size:.84rem}
[data-saved] .empty{margin-bottom:12px}
.pagination{margin-top:25px}
.nav-links{display:flex;flex-wrap:wrap;gap:7px}
.nav-links>*{border:1px solid var(--line);padding:6px 11px;border-radius:6px;background:var(--white)}
.nav-links>.current{color:white;background:var(--green)}
.site-footer{background:#e9ede2;border-top:1px solid #d8ded0;padding:34px 0 16px}
.footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:23px}
.footer-grid h2{font:780 .76rem/1.4 var(--body);letter-spacing:.105em;text-transform:uppercase;margin:0 0 10px}
.footer-grid p{max-width:280px;color:var(--muted);font-size:.87rem;margin-top:12px}
.footer-grid>div:not(:first-child)>a{display:block;font-size:.84rem;margin:4px 0;width:fit-content}
.footer-grid a:hover,.footer-end a:hover{text-decoration:underline}
.footer-end{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #cdd5c9;padding-top:12px;margin-top:22px;color:var(--muted);font-size:.76rem}
@media(max-width:980px){.wrap{width:calc(100% - 54px)}.quick-nav{grid-template-columns:repeat(2,1fr)}.site-nav{gap:.85rem}.site-nav a{font-size:.83rem}}
@media(max-width:730px){.wrap{width:calc(100% - 36px)}.header-row{flex-wrap:wrap;min-height:69px;padding:13px 0;gap:12px}.nav-toggle:not([hidden]){display:flex}.site-nav{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:11px 16px;padding:5px 0 3px}.site-nav a{font-size:.89rem}.hero{min-height:465px}.hero-content{padding:40px 19px 58px}.hero::before{background:linear-gradient(90deg,#0e2018e8,#14291d7c),linear-gradient(0deg,#0d20195e,transparent 50%)}.hero-img{object-position:62% 50%}.three,.directory{grid-template-columns:repeat(2,minmax(0,1fr))}.inner{padding-top:32px}.section{margin:43px 0}.section-head{align-items:start;flex-direction:column;gap:.65rem}.tool-form.trip-form label{flex-basis:43%}.tool-band-graphic{opacity:.45}}
@media(max-width:480px){.wrap{width:calc(100% - 28px)}.hero h1{font-size:clamp(3.5rem,13.5vw,4.4rem)}.hero-search{gap:7px;flex-wrap:wrap;padding:8px 10px}.hero-search input{width:calc(100% - 30px);flex:auto}.hero-search button{width:100%}.hero-credit{font-size:.62rem}.quick-nav{gap:7px}.quick-nav>a{padding:8px;gap:7px;min-height:66px}.quick-icon{width:30px;height:30px}.quick-icon svg{width:17px;height:17px}.quick-arrow{display:none}.quick-nav strong{font-size:.79rem}.quick-nav small{font-size:.66rem}.three,.directory{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:span 2}.compare-table{font-size:.77rem}.compare-table th,.compare-table td{padding:7px 5px}.article-meta{align-items:start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.prose table{width:100%;border-collapse:collapse;background:var(--white);font-size:.95rem}
.prose table caption{text-align:left;font-size:.8rem;font-weight:750;color:var(--muted);padding:0 0 6px}
.prose table th,.prose table td{padding:9px 13px;border:1px solid var(--line);text-align:left}
.prose table th{width:52%;background:#edf1e7}
.save-button[aria-pressed=true] svg{fill:#a44927;stroke:#a44927}
.tourism-tabs a[aria-current="page"]{background:var(--green);color:white;border-color:var(--green)}
.prose table:has(thead) th,.prose table:has(thead) td{width:auto;overflow-wrap:anywhere}
@media(max-width:550px){.prose table:has(thead){font-size:.78rem}.prose table:has(thead) th,.prose table:has(thead) td{padding:7px}}
.tourism-featured{margin:26px 0 36px}
.tourism-featured h2{font-size:clamp(1.65rem,3vw,2.35rem);margin-bottom:14px}

/* Navegação e figuras da edição editorial. */
.prose .mton-indice {
  margin: 0 0 2rem;
  padding: .8rem 1.05rem;
  border: 1px solid #d5e2d8;
  border-radius: .7rem;
  background: #f0f5ef;
}
.prose .mton-indice summary {
  color: var(--green);
  cursor: pointer;
  font-weight: 750;
}
.prose .mton-indice ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem 1.6rem;
  margin: .7rem 0 .25rem;
  padding-left: 1.2rem;
}
.prose h2[id] { scroll-margin-top: 6rem; }
.prose .mton-figura { margin: 1.55rem 0 1.85rem; }
.prose .mton-figura img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .75rem;
  background: #f7f3e8;
}
.prose .mton-figura figcaption {
  margin-top: .55rem;
  color: #536157;
  font-size: .83rem;
  line-height: 1.45;
}
@media (max-width: 560px) {
  .prose .mton-indice ul { grid-template-columns: 1fr; }
  .prose .mton-figura { margin: 1.25rem 0 1.5rem; }
}
.prose .mton-foto img {
  width: auto;
  max-width: 100%;
  max-height: min(75vh, 42rem);
  margin-inline: auto;
  object-fit: contain;
}

.city-news { max-width: 790px; margin-inline: auto; }
.city-news-list { padding: 0; margin: 1rem 0; list-style: none; }
.city-news-list li { display: grid; gap: .25rem; border-bottom: 1px solid var(--line); padding: .75rem 0; }
.city-news-list time { color: var(--muted); font-size: .82rem; }
.city-news-list a { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.city-news-pagination { display: flex; flex-wrap: wrap; gap: 1rem; }

.contest-count { margin: 1rem 0; color: var(--muted); }
.contest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin: 1rem 0; }
.contest-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; }
.contest-card h2 { font-size: 1.45rem; margin: .55rem 0; }
.contest-card p { color: var(--muted); margin: .35rem 0; }
.contest-badge { display: inline-block; border-radius: 1rem; background: #eee8da; color: var(--ink); font-size: .78rem; font-weight: 750; padding: .25rem .7rem; }
.contest-aberto { background: #e1f1e5; color: #224b37; }
.contest-cancelado, .contest-suspenso { background: #f4e6df; color: #793b28; }
.contest-detail { margin: 1.5rem auto; max-width: 790px; }
.contest-detail dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: 1rem; }
.contest-detail dt { font-weight: 750; }
.contest-detail dd { margin: 0; }
.contest-sources { margin-top: 1.5rem; color: var(--muted); }
.contest-sources a { text-decoration: underline; }

.route-point-actions,.planner-links,.planner-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}
.route-point-actions{margin:1rem 0}
.route-point-button{min-height:38px;padding:.35rem .7rem;font-size:.85rem}
.route-point-button[aria-pressed=true]{background:var(--pale)}
.planner-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.planner-search label{display:grid;gap:5px;font-weight:700}
.planner-search input{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px}
.planner-list{margin:0 0 14px;padding:0;list-style:none}
.planner-list li{border-bottom:1px solid var(--line);padding:.7rem 0}
.planner-list p{margin:0 0 .4rem}
.planner-list a:not(.button){text-decoration:underline;text-underline-offset:3px}
.planner-controls button{min-height:34px;padding:.15rem .55rem;border:1px solid var(--line);border-radius:6px;background:var(--white)}
.planner-controls button:disabled{opacity:.5;cursor:default}
@media(max-width:730px){.planner-grid{grid-template-columns:1fr}}
