/*
Theme Name: Tunima
Description: Site Düzenleyici, bloklar, normal sayfalar ve WordPress blog sistemiyle düzenlenebilir Tunima teması.
Version: 2.4.1
Requires at least: 6.6
Requires PHP: 8.1
Author: Bolcal Yazılım
Text Domain: tunima
*/
body{-webkit-font-smoothing:antialiased}
.wp-site-blocks{overflow-wrap:break-word;word-break:normal}
:where(.tn-hero,.tn-section,.tn-night,.tn-platform-section,.tn-trust-strip,.tn-footer,.tn-cta),:where(.tn-hero,.tn-section,.tn-night,.tn-platform-section,.tn-trust-strip,.tn-footer,.tn-cta) *{box-sizing:border-box}
.tn-eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#147d70}

/* The native Columns flex rules must not allocate extra growth to the 55% column. */
.tn-hero{position:relative;padding-block:56px}
.tn-hero>.wp-block-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  align-items:center;
  gap:clamp(32px,4vw,64px);
  width:100%;max-width:100%;margin-block:0;
}
.tn-hero>.wp-block-columns>.wp-block-column{
  min-width:0;width:100%;max-width:100%;
  flex-basis:auto!important;margin-block:0;
}
.tn-hero h1{font-size:clamp(2.7rem,4.8vw,4.5rem);letter-spacing:-.045em;line-height:1.09;margin-block:22px}
.tn-hero h1 em{font-family:Georgia,serif;color:#b7856e;font-weight:400}
.tn-hero>.wp-block-columns>.wp-block-column:first-child>p:not(.tn-eyebrow){max-width:60ch;line-height:1.75}
.tn-hero-card{
  width:100%;max-width:520px;min-width:0;margin-inline:auto;
  padding:28px;border:1px solid #dce9dd;border-radius:28px;
  background:linear-gradient(145deg,#e8f3e9,#f8f7ef);
  box-shadow:0 20px 64px #223f370b;text-align:center;
}
.tn-hero-card>.tn-eyebrow{margin-top:0;margin-bottom:14px;letter-spacing:.1em}
.tn-hero-card .wp-block-image{width:144px;max-width:100%;margin:0 auto}
.tn-hero-card .wp-block-image img{display:block;width:100%;height:auto}
.tn-hero-card>.wp-block-heading{font-size:clamp(1.6rem,2.2vw,2rem);line-height:1.22;letter-spacing:-.025em;margin-block:18px}
.tn-hero-card>.wp-block-columns{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;width:100%;max-width:100%;margin-top:12px;margin-bottom:0;
}
.tn-hero-card>.wp-block-columns>.wp-block-column{
  min-width:0;width:100%;max-width:100%;flex-basis:auto!important;margin-block:0;
}
.tn-preview-tile{height:100%;padding:16px;border:1px solid #e3eadf;border-radius:14px;background:#fffdf8;text-align:left}
.tn-preview-tile .wp-block-heading{font-size:1.05rem;line-height:1.35;letter-spacing:-.02em;margin-top:0;margin-bottom:0}
.tn-preview-tile p{font-size:.87rem;line-height:1.65;margin-top:8px;margin-bottom:0}
.tn-hero-card .wp-block-heading,.tn-preview-tile p{word-break:normal;overflow-wrap:normal;hyphens:none}

/* Public sections remain ordinary editable WordPress blocks. */
.tn-section{padding-block:56px}
.tn-section>.wp-block-columns{align-items:stretch;gap:24px;max-width:100%}
.tn-section>.wp-block-columns>.wp-block-column{min-width:0}
.tn-feature{height:100%;padding:28px;border:1px solid #e1e8df;border-radius:20px;background:#fff}
.tn-feature h3{margin-top:0;font-size:1.4rem;line-height:1.3}
.tn-feature p{font-size:1rem;line-height:1.75}
.tn-feature .tn-eyebrow{font-size:1.8rem;line-height:1;margin-bottom:16px}
.tn-trust-strip{padding:26px 32px;border:1px solid #e0e7da;border-radius:18px;background:#f0f4ec}
.tn-trust-strip>.wp-block-columns{max-width:100%;gap:28px;margin-block:0}
.tn-promise h3{margin-top:0;font-size:1.1rem;line-height:1.4}
.tn-promise p{font-size:.95rem;line-height:1.7;color:#647461}
.tn-night{padding:52px;border-radius:28px;background:#223f37;color:#fff}
.tn-night>.wp-block-columns{max-width:100%;align-items:center;gap:40px;margin-block:0}
.tn-night .wp-block-heading{color:inherit}
.tn-night .wp-element-button{background:#e4f2e9;color:#223f37}
.tn-night-note{padding:30px;border:1px solid #a8b7a84d;border-radius:22px;background:#ffffff08}
.tn-night-note .tn-eyebrow{color:#ccdec7}
.tn-night-note h2{font-family:Georgia,serif;font-size:2rem;font-weight:400;line-height:1.3}
.tn-platform-section{margin-top:48px;margin-bottom:24px;padding:44px;border-radius:28px;background:#edf3f4}
.tn-platform-section>.wp-block-columns{max-width:100%;gap:24px}
.tn-platform-section .tn-feature{background:#ffffffcf}
.tn-step{padding:24px 0;border-top:2px solid #a6c4ae}
.tn-parent-card,.tn-privacy-card{height:100%;padding:32px;border-radius:24px}
.tn-parent-card{background:#eeebf7}
.tn-privacy-card{background:#f7ecdf}
.tn-parent-card h2,.tn-privacy-card h2{font-size:2rem;line-height:1.25}
.tn-cta{padding:60px;border-radius:28px;background:#e4f2e9;text-align:center}
.tn-cta .wp-block-buttons{justify-content:center}
.tn-post-card{height:100%;padding:24px;border:1px solid #e1e8df;border-radius:18px;background:#fff}
.tn-post-card h3{font-size:1.5rem;line-height:1.3}
.tn-post-card .wp-block-post-featured-image img{border-radius:12px}
.tn-post-card .wp-block-post-date{font-size:.875rem;color:#617465}
.wp-block-query .wp-block-post-template{gap:24px}
.wp-block-details{padding:18px 0;border-bottom:1px solid #dfe7dd}
.wp-block-details summary{cursor:pointer;font-weight:600}
/* Native blocks and application pages share the theme's content/wide grid. */
.wp-site-blocks .wp-block-post-content>.tp-app.tp-embedded-panel{
  box-sizing:border-box;width:100%;max-width:var(--wp--style--global--wide-size,1240px)!important;
  margin-inline:auto!important;margin-block:0!important;
}
.tp-has-panel .tn-page{padding-top:28px;padding-bottom:36px}
.tp-has-panel .tn-page>.wp-block-post-title{
  box-sizing:border-box;width:100%;max-width:var(--wp--style--global--wide-size,1240px);
  margin:0 auto 22px;font-size:clamp(28px,3vw,36px);line-height:1.2;letter-spacing:-.025em;text-align:left;
}
.tp-has-panel .tn-page>.wp-block-post-content{margin-block-start:0}
.tn-page>.wp-block-post-title{font-size:clamp(30px,3.5vw,46px);line-height:1.2;margin-top:0}
@media(max-width:700px){.tp-has-panel .tn-page{padding-top:20px}.tp-has-panel .tn-page>.wp-block-post-title{font-size:28px;margin-bottom:18px}}
.tn-page{min-height:50vh;padding-block:44px}
.tn-page>.wp-block-post-title{margin-bottom:36px}

/* Header controls target their actual Button blocks, not every last-child link. */
.tn-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;padding-block:24px;border-bottom:1px solid #e1e8e0}
.tn-header>.wp-block-site-logo,.tn-header>.wp-block-site-title{margin:0;min-width:0}
.tn-header .wp-block-site-logo img{display:block;width:176px;max-width:100%;height:auto}
.tn-header .wp-block-navigation{min-width:0;font-size:.93rem;justify-self:end}
.tn-header .wp-block-navigation__container{gap:clamp(12px,1.2vw,22px)}
.tn-top-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin:0}
.tn-top-actions .wp-element-button{padding:10px 15px;border-radius:10px;font-size:.9rem;line-height:1.45;text-decoration:none;white-space:nowrap}
.tn-top-actions .wp-block-button:not(.is-style-outline) .wp-element-button{border:1px solid #147d70;background:#147d70;color:#fff}
.tn-top-actions .is-style-outline .wp-element-button{border:1px solid #b7cbbb;background:transparent;color:#223f37}
.tn-footer{margin-top:56px;padding:56px 0 28px;border-top:1px solid #dfe7dd}
.tn-footer .wp-block-site-logo{margin-bottom:20px}

.tn-connect-card{max-width:820px;margin:28px auto;padding:28px;border:1px solid #cfddd2;border-radius:20px;background:#edf5ef}
.tn-connect-card h2{font-size:1.65rem}
.tn-connect-card input{width:100%;box-sizing:border-box;margin:12px 0;padding:14px;border:1px solid #ccdbce;border-radius:10px;background:#fff;font:inherit;direction:ltr}
.tn-connect-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.tn-connect-card button{padding:10px 16px;border:1px solid #a7c0ac;border-radius:10px;background:#fff;color:#223f37;font:inherit;cursor:pointer}
.tn-connect-card small{display:block;margin-top:16px;color:#526759}

@media(max-width:1150px){
  .tn-header{grid-template-columns:auto minmax(0,1fr);gap:18px}
  .tn-top-actions{grid-column:1/-1;justify-self:end}
}
@media(max-width:960px){
  .tn-hero>.wp-block-columns{grid-template-columns:minmax(0,1fr);gap:32px}
  .tn-hero>.wp-block-columns>.wp-block-column:first-child{max-width:720px;justify-self:center;width:100%}
  .tn-hero-card{max-width:520px;margin-inline:auto}
  .tn-header{grid-template-columns:auto minmax(0,1fr) auto}
  .tn-header .wp-block-navigation__responsive-container-open{display:flex}
  .tn-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .tn-top-actions{grid-column:auto;justify-self:end}
}
@media(max-width:782px){
  .tn-hero{padding-block:32px}
  .tn-hero h1{font-size:clamp(2.45rem,7.5vw,3.4rem)}
  .tn-hero-card{padding:24px}
  .tn-section{padding-block:36px}
  .tn-section>.wp-block-columns{gap:20px}
  .tn-trust-strip{padding:22px}
  .tn-trust-strip>.wp-block-columns{gap:18px}
  .tn-night,.tn-cta{padding:30px 24px}
  .tn-night>.wp-block-columns{gap:24px}
  .tn-platform-section{margin-top:30px;padding:28px 22px}
  .tn-parent-card,.tn-privacy-card{padding:26px}
  .wp-block-query .wp-block-post-template.is-layout-grid{grid-template-columns:minmax(0,1fr)}
  .tn-header{padding-block:18px;gap:16px}
  .tn-header .wp-block-site-logo img{width:145px}
  .tn-top-actions .wp-element-button{padding:9px 12px;font-size:.85rem}
  .tn-footer{padding-top:36px}
  .tn-connect-card{padding:22px}
}
@media(max-width:600px){
  .tn-header{grid-template-columns:minmax(0,1fr) auto}
  .tn-top-actions{grid-column:1/-1;justify-self:start}
  .tn-hero-card{padding:20px}
  .tn-hero-card>.wp-block-columns{gap:10px}
  .tn-preview-tile{padding:13px}
  .tn-preview-tile .wp-block-heading{font-size:1rem}
  .tn-preview-tile p{font-size:.83rem;line-height:1.6}
}
@media(max-width:360px){
  .tn-hero-card>.wp-block-columns{grid-template-columns:minmax(0,1fr)}
}
