/*
Theme Name: Tela Turca
Theme URI: https://telaturca.com.br
Author: Tela Turca
Description: Tema editorial leve, responsivo e original para o portal Tela Turca.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: telaturca
*/
:root{--wine:#641b2b;--wine2:#42101c;--gold:#b58a4b;--ink:#201b1c;--muted:#746c6e;--paper:#fffdf9;--soft:#f6f0e9;--line:#e9dfd5;--white:#fff;--radius:14px;--shadow:0 12px 32px rgba(48,24,27,.08);--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.68;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{background:rgba(255,253,249,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:99}.header-row{min-height:78px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;flex-shrink:0}.custom-logo{max-height:48px;width:auto}.brand-text{font-family:var(--serif);font-size:29px;letter-spacing:.02em;font-weight:700;color:var(--wine2)}.brand-text span{color:var(--gold)}.main-nav{margin-left:auto}.main-nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0}.main-nav a{font-size:14px;font-weight:700;letter-spacing:.015em}.main-nav a:hover{color:var(--wine)}.search-toggle,.menu-toggle{border:0;background:none;width:42px;height:42px;display:grid;place-items:center;cursor:pointer;color:var(--wine2)}.menu-toggle{display:none}.hero{padding:34px 0 20px}.hero-grid{display:grid;grid-template-columns:1.55fr .85fr;gap:18px}.hero-main,.hero-small{position:relative;overflow:hidden;border-radius:var(--radius);background:#2a2223}.hero-main{min-height:490px}.hero-side{display:grid;gap:18px}.hero-small{min-height:236px}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.86;transition:transform .45s}.hero article:hover img{transform:scale(1.025)}.shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(21,10,13,.88) 100%)}.hero-copy{position:absolute;left:0;right:0;bottom:0;padding:32px;color:#fff}.hero-small .hero-copy{padding:22px}.eyebrow{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#fff;background:var(--wine);padding:6px 9px;border-radius:999px;margin-bottom:10px}.hero h1,.hero h2{font-family:var(--serif);line-height:1.08;margin:0;text-wrap:balance}.hero h1{font-size:clamp(32px,4vw,52px);max-width:780px}.hero h2{font-size:25px}.section{padding:38px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-title{font-family:var(--serif);font-size:32px;line-height:1.1;margin:0;color:var(--wine2)}.section-title:after{content:'';display:block;width:44px;height:2px;background:var(--gold);margin-top:10px}.more{font-size:13px;font-weight:800;color:var(--wine);text-transform:uppercase;letter-spacing:.08em}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{min-width:0}.card-thumb{aspect-ratio:16/10;overflow:hidden;border-radius:12px;background:var(--soft)}.card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.card:hover img{transform:scale(1.035)}.card-cat{display:block;color:var(--wine);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;margin-top:13px}.card h3{font-family:var(--serif);font-size:21px;line-height:1.22;margin:5px 0 6px}.card p{color:var(--muted);font-size:14px;line-height:1.55;margin:0}.soft-section{background:var(--soft);border-block:1px solid var(--line)}.feature-row{display:grid;grid-template-columns:1.15fr 1fr;gap:34px;align-items:center}.feature-img{border-radius:var(--radius);overflow:hidden;aspect-ratio:16/10}.feature-img img{width:100%;height:100%;object-fit:cover}.feature-copy h2{font:700 38px/1.08 var(--serif);margin:8px 0 12px}.feature-copy p{color:var(--muted)}.archive-head{padding:44px 0 18px}.archive-head h1{font:700 44px/1.1 var(--serif);margin:0}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.single{width:min(790px,calc(100% - 40px));margin:44px auto 70px}.single-header{text-align:center}.single-header .eyebrow{color:#fff}.single-title{font:700 clamp(36px,5vw,58px)/1.06 var(--serif);letter-spacing:-.02em;margin:10px 0 16px;text-wrap:balance}.single-deck{font-size:20px;color:var(--muted);line-height:1.5;margin:0 auto 16px;max-width:700px}.meta{font-size:13px;color:var(--muted)}.single-cover{margin:30px auto;border-radius:16px;overflow:hidden}.single-content{font-size:18px;line-height:1.82}.single-content h2,.single-content h3{font-family:var(--serif);line-height:1.2;color:var(--wine2);margin-top:1.7em}.single-content h2{font-size:32px}.single-content h3{font-size:25px}.single-content a{color:var(--wine);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.single-content figure{margin:32px 0}.single-content img{border-radius:12px}.single-content blockquote{margin:30px 0;padding:8px 0 8px 22px;border-left:3px solid var(--gold);font:italic 23px/1.5 var(--serif);color:#4e3b3f}.author-box{display:flex;gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;margin-top:42px}.author-box img{border-radius:50%;width:70px;height:70px}.author-box h3{margin:0;font-family:var(--serif)}.site-footer{background:#26171b;color:#eee6e1;margin-top:60px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:50px;padding:50px 0}.site-footer h3{font-family:var(--serif);color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.site-footer a{color:#d9ceca}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;color:#bfb1ad;font-size:13px}.search-panel{display:none;border-top:1px solid var(--line);padding:16px 0;background:#fff}.search-panel.open{display:block}.search-form{display:flex;max-width:700px;margin:auto}.search-field{width:100%;border:1px solid var(--line);border-radius:10px 0 0 10px;padding:13px 15px;font-size:16px}.search-submit{border:0;background:var(--wine);color:#fff;padding:0 20px;border-radius:0 10px 10px 0;font-weight:700}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:78px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:12px 20px}.main-nav.open{display:block}.main-nav ul{display:block}.main-nav li{border-bottom:1px solid var(--line)}.main-nav a{display:block;padding:13px 0}.menu-toggle{display:grid;margin-left:auto}.header-row{gap:8px}.hero-grid{grid-template-columns:1fr}.hero-main{min-height:430px}.hero-side{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(2,1fr)}.post-grid{grid-template-columns:repeat(2,1fr)}.feature-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:600px){body{font-size:15px}.wrap{width:min(100% - 28px,1180px)}.site-header{position:relative}.header-row{min-height:66px}.brand-text{font-size:24px}.custom-logo{max-height:40px}.main-nav{top:66px}.hero{padding-top:18px}.hero-grid{gap:12px}.hero-main{min-height:380px;border-radius:12px}.hero-side{grid-template-columns:1fr}.hero-small{min-height:210px}.hero-copy{padding:21px}.hero h1{font-size:34px}.hero h2{font-size:23px}.section{padding:30px 0}.section-title{font-size:28px}.cards,.post-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.card h3{font-size:18px}.card p{display:none}.card-thumb{border-radius:9px;aspect-ratio:4/3}.feature-copy h2{font-size:31px}.single{width:min(100% - 28px,790px);margin-top:28px}.single-title{font-size:37px}.single-deck{font-size:18px}.single-content{font-size:17px;line-height:1.78}.single-cover{margin-inline:-14px;border-radius:0}.footer-grid{grid-template-columns:1fr;gap:20px}.footer-grid>div:first-child{grid-column:auto}.archive-head h1{font-size:36px}}

/* Tela Turca 1.1 — pesquisa e página inicial */
.search-toggle{width:48px;height:48px;padding:9px}.search-toggle svg{width:29px;height:29px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.search-toggle:hover{background:var(--soft);border-radius:50%}.home-page-content{padding:28px 0 4px}.home-page-content .single-content{font-size:17px}.home-page-content .single-content:empty{display:none}@media(max-width:600px){.search-toggle{width:46px;height:46px;padding:10px}.search-toggle svg{width:27px;height:27px}.home-page-content{padding-top:20px}}

/* Tela Turca 1.2 — rodapé editorial */
.site-footer{position:relative;overflow:hidden;background:linear-gradient(118deg,#1c1014 0%,#28171c 55%,#1c1014 100%);color:#eee6e1;margin-top:60px}
.site-footer:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 25%,rgba(181,138,75,.11),transparent 28%),radial-gradient(circle at 12% 80%,rgba(100,27,43,.16),transparent 30%);pointer-events:none}
.footer-main{position:relative;display:grid;grid-template-columns:1.2fr .72fr .9fr 1.15fr;gap:54px;padding:58px 0 50px}
.footer-logo{display:inline-flex;align-items:center;gap:8px;font:700 38px/1 var(--serif);letter-spacing:.01em;color:#fff}.footer-logo strong{color:#d2a45c;font-weight:700}.footer-logo i{font-style:normal;color:#d2a45c;font-size:36px;transform:translateY(-2px)}
.footer-brand p{max-width:360px;margin:24px 0 0;color:#ded2ce;font-size:16px;line-height:1.65}.footer-rule{width:48px;height:2px;background:#d2a45c;margin:28px 0 20px}.footer-tagline{font:italic 19px/1.4 var(--serif);color:#f0e6df}
.site-footer h3{position:relative;font:700 23px/1.2 var(--serif);color:#fff;margin:4px 0 27px}.site-footer h3:after{content:"";display:block;width:38px;height:2px;background:#d2a45c;margin-top:12px}
.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:0}.footer-col a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;color:#ded2ce;font-size:15px;transition:color .2s,transform .2s}.footer-col a span{font-size:22px;color:#b99a70}.footer-col a:hover{color:#fff;transform:translateX(3px)}
.footer-posts{display:grid;gap:14px}.footer-post{display:grid;grid-template-columns:88px 1fr;gap:14px;align-items:center;color:#f2e9e5}.footer-post-thumb{width:88px;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#39262b;display:grid;place-items:center}.footer-post-thumb img{width:100%;height:100%;object-fit:cover}.footer-placeholder{font:700 18px var(--serif);color:#d2a45c}.footer-post-title{font:600 14px/1.4 var(--sans);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.footer-post:hover .footer-post-title{color:#e1b873}
.footer-bottom{position:relative;border-top:1px solid rgba(255,255,255,.11);padding:18px 0;color:#c9bbb7;font-size:12px}.footer-bottom-row{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}.footer-legal{display:flex;justify-content:center;flex-wrap:wrap;gap:0}.footer-legal a{padding:0 10px;border-right:1px solid rgba(210,164,92,.55);color:#d8ccc8}.footer-legal a:last-child{border-right:0}.footer-legal a:hover{color:#fff}.back-top{width:38px;height:38px;border:1px solid #d2a45c;border-radius:50%;display:grid;place-items:center;color:#d2a45c;font-size:20px;font-weight:700}.back-top:hover{background:#d2a45c;color:#241419}
@media(max-width:1000px){.footer-main{grid-template-columns:1fr 1fr;gap:42px}.footer-bottom-row{grid-template-columns:1fr auto}.footer-legal{grid-column:1/-1;grid-row:2;justify-content:flex-start}.back-top{grid-column:2;grid-row:1}}
@media(max-width:600px){.site-footer{margin-top:42px}.footer-main{grid-template-columns:1fr;gap:34px;padding:44px 0 36px}.footer-logo{font-size:33px}.footer-logo i{font-size:31px}.footer-brand p{margin-top:18px}.footer-rule{margin:22px 0 16px}.site-footer h3{font-size:21px;margin-bottom:19px}.footer-col a{padding:8px 0}.footer-popular{padding-top:2px}.footer-post{grid-template-columns:82px 1fr}.footer-post-thumb{width:82px}.footer-bottom{padding:20px 0}.footer-bottom-row{display:grid;grid-template-columns:1fr auto;gap:18px}.footer-legal{display:none}.back-top{grid-column:2;grid-row:1}.footer-bottom-row>div:first-child{line-height:1.55}}
