/* PDF Evi – child theme stilleri. Fontlar yerel olarak sunulur. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Lora';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/lora-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Lora';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/lora-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root{
	--pe-bg:#f7f5f0;
	--pe-surface:#ffffff;
	--pe-ink:#1d2420;
	--pe-text:#2b322e;
	--pe-muted:#667069;
	--pe-line:#e4dfd5;
	--pe-accent:#1f5c4d;
	--pe-accent-dark:#17463a;
	--pe-accent-soft:#e6efec;
	--pe-radius:12px;
	--pe-radius-sm:6px;
	--pe-shadow:0 1px 2px rgba(29,36,32,.06),0 6px 18px rgba(29,36,32,.07);
	--pe-sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	--pe-serif:"Lora",Georgia,"Times New Roman",serif;
}

/* ---------- Temel ---------- */
html{-webkit-text-size-adjust:100%}
#tie-body{background:var(--pe-bg);color:var(--pe-text);font-family:var(--pe-sans);font-size:16px;line-height:1.65}
#tie-body .background-overlay{background:none}
#tie-body #tie-wrapper,#tie-body #tie-container{background:transparent;box-shadow:none}
#tie-body h1,#tie-body h2,#tie-body h3,#tie-body h4,#tie-body h5,#tie-body h6,
#tie-body .the-subtitle,#tie-body .post-title,#tie-body .entry-title,#tie-body .page-title{font-family:var(--pe-serif);font-weight:600;color:var(--pe-ink);letter-spacing:-.005em}
#tie-body a{transition:color .15s ease,background-color .15s ease,border-color .15s ease}
#tie-body a:focus-visible,#tie-body button:focus-visible,#tie-body input:focus-visible,#tie-body textarea:focus-visible,#tie-body select:focus-visible{outline:2px solid var(--pe-accent);outline-offset:2px;border-radius:4px}
#tie-body img{height:auto}
#tie-body ::selection{background:var(--pe-accent);color:#fff}

/* ---------- Üst bölüm ---------- */
#tie-body #theme-header{background:var(--pe-surface);box-shadow:none;border-bottom:1px solid var(--pe-line)}
#tie-body #theme-header > br{display:none}
#tie-body .main-nav-wrapper{background:transparent}
#tie-body #main-nav{background:transparent;border:0;box-shadow:none}
#tie-body #main-nav .main-menu > ul > li > a{font-family:var(--pe-sans);font-size:14.5px;font-weight:600;color:var(--pe-text);padding:0 14px;background:transparent}
#tie-body #main-nav .main-menu > ul > li:hover > a,
#tie-body #main-nav .main-menu > ul > li.tie-current-menu > a{color:var(--pe-accent);background:transparent}
#tie-body #main-nav .main-menu > ul > li.tie-current-menu{border:0}
#tie-body #main-nav .menu-sub-content{background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:var(--pe-radius);box-shadow:var(--pe-shadow);padding:8px}
#tie-body #main-nav .menu-sub-content a{color:var(--pe-text);font-size:14px;border:0;border-radius:8px;padding:9px 12px}
#tie-body #main-nav .menu-sub-content a:hover{background:var(--pe-accent-soft);color:var(--pe-accent-dark)}
#tie-body #main-nav .components .search-bar{border:0}
#tie-body #main-nav .components > li{display:flex;align-items:center}

/* ---------- Kutular ---------- */
#tie-body .container-wrapper{background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:var(--pe-radius);padding:24px;box-shadow:none}
#tie-body .site-content{padding-top:28px}
#tie-body .mag-box-title,#tie-body .widget-title{border:0;margin-bottom:16px;padding:0}
#tie-body .mag-box-title:before,#tie-body .mag-box-title:after,#tie-body .widget-title:before,#tie-body .widget-title:after{display:none}
#tie-body .mag-box-title h3,#tie-body .widget-title .the-subtitle{font-size:19px;line-height:1.3;padding:0;min-height:0;color:var(--pe-ink);background:none;border:0}
#tie-body .widget-title .the-subtitle:before,#tie-body .widget-title .the-subtitle:after,#tie-body .mag-box-title h3:before,#tie-body .mag-box-title h3:after{display:none}
#tie-body .widget-title-icon{display:none}

/* ---------- Düğmeler ve formlar ---------- */
#tie-body .button,#tie-body [type="submit"],#tie-body .more-link{background:var(--pe-accent);color:#fff;border:0;border-radius:8px;font-family:var(--pe-sans);font-weight:600;font-size:15px;line-height:1.2;padding:12px 20px;min-height:44px;box-shadow:none}
#tie-body .button:hover,#tie-body [type="submit"]:hover,#tie-body .more-link:hover{background:var(--pe-accent-dark);color:#fff}
#tie-body input[type="text"],#tie-body input[type="email"],#tie-body input[type="search"],#tie-body input[type="url"],#tie-body input[type="tel"],#tie-body textarea,#tie-body select{background:var(--pe-surface);border:1px solid #cfc8bb;border-radius:8px;color:var(--pe-text);font-family:var(--pe-sans);font-size:16px;padding:11px 14px;max-width:100%}
#tie-body textarea{min-height:140px}
#tie-body .wpcf7 label{display:block;font-weight:600;margin-bottom:14px}
#tie-body .wpcf7 input[type="text"],#tie-body .wpcf7 input[type="email"],#tie-body .wpcf7 textarea{width:100%;margin-top:6px;font-weight:400}

/* ---------- Kırıntı ve sayfa başlığı ---------- */
#tie-body #breadcrumb{color:var(--pe-muted);font-size:13px;margin-bottom:10px}
#tie-body #breadcrumb a{color:var(--pe-muted)}
#tie-body #breadcrumb a:hover{color:var(--pe-accent)}
#tie-body .page-title{font-size:clamp(26px,3.4vw,34px);line-height:1.2;margin:0 0 8px}
#tie-body .taxonomy-description{color:var(--pe-muted);font-size:15.5px;max-width:70ch}

/* ---------- Arşiv / arama: kapak ızgarası ---------- */
#tie-body .mag-box.wide-post-box .posts-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:26px 18px;margin:0;padding:0;list-style:none}
#tie-body .mag-box.wide-post-box .posts-items > li{display:block !important;float:none;width:auto;margin:0;padding:0;border:0;min-width:0}
#tie-body .mag-box.wide-post-box .posts-items > li:before,#tie-body .mag-box.wide-post-box .posts-items > li:after{display:none}
#tie-body .mag-box.wide-post-box .posts-items > li.stream-item,#tie-body .mag-box.wide-post-box .posts-items > li:not(.post-item){grid-column:1/-1}
#tie-body .mag-box.wide-post-box .post-item .post-thumb{display:block;float:none;flex:none;width:100%;max-width:none;margin:0 0 10px;aspect-ratio:2/3;overflow:hidden;border-radius:var(--pe-radius-sm);background:#ece8df;box-shadow:var(--pe-shadow)}
#tie-body .mag-box.wide-post-box .post-item .post-thumb img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .25s ease}
#tie-body .mag-box.wide-post-box .post-item:hover .post-thumb img{transform:scale(1.03)}
#tie-body .mag-box.wide-post-box .post-item .post-details{padding:0;margin:0;overflow:visible;width:auto;float:none}
#tie-body .mag-box.wide-post-box .post-item .post-meta,
#tie-body .mag-box.wide-post-box .post-item .post-excerpt,
#tie-body .mag-box.wide-post-box .post-item .more-link,
#tie-body .mag-box.wide-post-box .post-item .post-cat-wrap,
#tie-body .mag-box.wide-post-box .post-item .post-thumb-overlay-wrap{display:none}
#tie-body .mag-box.wide-post-box .post-item .post-title{font-family:var(--pe-sans);font-size:14.5px;font-weight:600;line-height:1.38;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#tie-body .mag-box.wide-post-box .post-item .post-title a{color:var(--pe-ink)}
#tie-body .mag-box.wide-post-box .post-item .post-title a:hover{color:var(--pe-accent)}
#tie-body .pages-nav{margin-top:28px}
#tie-body .pages-nav a,#tie-body .pages-nav .pagination-disabled{border:1px solid var(--pe-line);border-radius:8px;background:var(--pe-surface);color:var(--pe-text);min-height:44px;line-height:42px;padding:0 18px}
#tie-body .pages-nav a:hover{border-color:var(--pe-accent);color:var(--pe-accent);background:var(--pe-surface)}

/* ---------- Yazı ---------- */
#tie-body .entry-header .post-title{font-size:clamp(26px,3.6vw,38px);line-height:1.2;margin:8px 0 12px}
#tie-body .post-cat{background:var(--pe-accent-soft);color:var(--pe-accent-dark);border-radius:999px;font-family:var(--pe-sans);font-size:12.5px;font-weight:600;line-height:1;padding:6px 11px}
#tie-body a.post-cat:hover{background:var(--pe-accent);color:#fff}
#tie-body .post-meta,#tie-body .post-meta a{color:var(--pe-muted);font-size:13px}
#tie-body .entry-content{font-size:17px;line-height:1.75;color:var(--pe-text)}
#tie-body .entry-content > *{max-width:70ch}
#tie-body .entry-content > .alignwide,#tie-body .entry-content > .alignfull,#tie-body .entry-content > table,#tie-body .entry-content > .code-block,#tie-body .entry-content > .stream-item,#tie-body .entry-content > div[id^="inline-related"]{max-width:none}
#tie-body .entry-content p{margin-bottom:1.15em}
#tie-body .entry-content h2{font-size:26px;line-height:1.25;margin:1.6em 0 .6em}
#tie-body .entry-content h3{font-size:22px;line-height:1.3;margin:1.5em 0 .5em}
#tie-body .entry-content h4{font-size:19px;line-height:1.35;margin:1.4em 0 .5em}
#tie-body .entry-content a{color:var(--pe-accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#tie-body .entry-content a:hover{color:var(--pe-accent-dark)}
#tie-body .entry-content img{border-radius:var(--pe-radius-sm)}
#tie-body .entry-content .wp-caption{max-width:100%;background:none;border:0;padding:0}
#tie-body .entry-content .wp-caption-text,#tie-body .entry-content figcaption{color:var(--pe-muted);font-size:13.5px;font-style:normal;text-align:left;padding:6px 0 0}
#tie-body .entry-content blockquote{border-left:3px solid var(--pe-accent);background:var(--pe-accent-soft);border-radius:0 var(--pe-radius-sm) var(--pe-radius-sm) 0;padding:16px 20px;font-style:normal;color:var(--pe-text)}
#tie-body .entry-content blockquote:before{display:none}
#tie-body .post-bottom-meta{margin-top:24px}
#tie-body .post-bottom-meta .tagcloud a,#tie-body .tagcloud a{background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:999px;color:var(--pe-text);font-size:13px;padding:6px 12px}
#tie-body .post-bottom-meta .tagcloud a:hover,#tie-body .tagcloud a:hover{border-color:var(--pe-accent);color:var(--pe-accent);background:var(--pe-surface)}
#tie-body .share-buttons{border-color:var(--pe-line)}

/* İlgili yazılar ve yazı altı ızgaraları */
#tie-body #related-posts .related-posts-list,#tie-body .related-posts-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:22px 18px;margin:0}
#tie-body .related-posts-list .related-item{float:none;width:auto;margin:0;padding:0;min-width:0}
#tie-body .related-posts-list .related-item .post-thumb{display:block;aspect-ratio:2/3;overflow:hidden;border-radius:var(--pe-radius-sm);background:#ece8df;margin:0 0 10px;box-shadow:var(--pe-shadow)}
#tie-body .related-posts-list .related-item .post-thumb img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
#tie-body .related-posts-list .related-item .post-title{font-family:var(--pe-sans);font-size:14.5px;font-weight:600;line-height:1.38;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#tie-body .related-posts-list .related-item .post-meta{display:none}

/* ---------- Kenar çubuğu ---------- */
#tie-body .sidebar .widget{margin-bottom:22px}
#tie-body .widget-posts-list-container .widget-single-post-item{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--pe-line);min-height:0}
#tie-body .widget-posts-list-container .widget-single-post-item:last-child{border:0;margin:0;padding:0}
#tie-body .widget-posts-list-container .post-widget-thumbnail{float:left;width:54px;margin:0 14px 0 0}
#tie-body .widget-posts-list-container .post-widget-thumbnail .post-thumb{display:block;aspect-ratio:2/3;overflow:hidden;border-radius:4px;background:#ece8df}
#tie-body .widget-posts-list-container .post-widget-thumbnail img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
#tie-body .widget-posts-list-container .post-widget-body{padding-left:68px;min-height:81px}
#tie-body .widget-posts-list-container .post-title{font-family:var(--pe-sans);font-size:14.5px;font-weight:600;line-height:1.4;margin:0 0 4px}
#tie-body .widget li a{color:var(--pe-text)}
#tie-body .widget li a:hover{color:var(--pe-accent)}
#tie-body .widget_categories li,#tie-body .tie-widget-categories li,#tie-body .widget_archive li{border-color:var(--pe-line);padding:9px 0}

/* ---------- Alt bölüm ---------- */
#tie-body #footer{background:var(--pe-ink);margin-top:48px}
#tie-body #site-info{background:transparent;color:#c9d1cc;font-size:14px;line-height:1.6;padding:28px 0}
#tie-body #site-info a{color:#fff;text-decoration:underline;text-underline-offset:3px}
#tie-body #site-info .copyright-text{float:none;text-align:center;max-width:80ch;margin:0 auto 8px}
#tie-body #go-to-top{background:var(--pe-accent);border-radius:999px}

/* ---------- 404 ---------- */
#tie-body .container-404{text-align:center;padding:40px 0}
#tie-body .container-404 h2{font-size:clamp(28px,5vw,44px)}
#tie-body .container-404 #menu-404{margin-top:24px}

/* ---------- Ana sayfa ---------- */
.pe-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.pe-hero{background:var(--pe-surface);border-bottom:1px solid var(--pe-line);padding:clamp(36px,7vw,72px) 0 clamp(32px,6vw,60px);text-align:center}
#tie-body .pe-hero__title{font-size:clamp(30px,5.2vw,52px);line-height:1.12;margin:0 auto 14px;max-width:18ch}
.pe-hero__lead{color:var(--pe-muted);font-size:clamp(16px,1.6vw,18.5px);line-height:1.6;max-width:60ch;margin:0 auto 26px}
.pe-search{display:flex;gap:8px;max-width:560px;margin:0 auto}
#tie-body .pe-search input[type="search"]{flex:1 1 auto;min-width:0;height:52px;border-radius:10px;font-size:16px;padding:0 16px;background:var(--pe-bg)}
#tie-body .pe-search button{flex:0 0 auto;height:52px;padding:0 26px;border-radius:10px;font-size:16px}
.pe-hero__meta{color:var(--pe-muted);font-size:14px;margin:16px 0 0}
.pe-section{padding:clamp(28px,4.5vw,44px) 0 0}
.pe-section:last-child{padding-bottom:8px}
.pe-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
#tie-body .pe-section__title{font-size:clamp(21px,2.6vw,27px);line-height:1.2;margin:0}
#tie-body .pe-section__more{color:var(--pe-accent);font-size:14.5px;font-weight:600;white-space:nowrap;padding:10px 0}
#tie-body .pe-section__more:hover{color:var(--pe-accent-dark);text-decoration:underline;text-underline-offset:3px}
.pe-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 20px}
.pe-card{min-width:0}
.pe-card__cover{display:block;aspect-ratio:2/3;overflow:hidden;border-radius:var(--pe-radius-sm);background:#ece8df;box-shadow:var(--pe-shadow);margin-bottom:10px}
#tie-body .pe-card__cover img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .25s ease}
.pe-card:hover .pe-card__cover img{transform:scale(1.03)}
.pe-card__placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#ece8df,#ddd6c8)}
#tie-body .pe-card__title{font-family:var(--pe-sans);font-size:14.5px;font-weight:600;line-height:1.38;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#tie-body .pe-card__title a{color:var(--pe-ink)}
#tie-body .pe-card__title a:hover{color:var(--pe-accent)}
.pe-card__cat{color:var(--pe-muted);font-size:12.5px;margin:4px 0 0}
.pe-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.pe-chips li{margin:0}
#tie-body .pe-chips a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:999px;color:var(--pe-text);font-size:14.5px;font-weight:500}
#tie-body .pe-chips a:hover{border-color:var(--pe-accent);color:var(--pe-accent)}
.pe-chips span{color:var(--pe-muted);font-size:12.5px}

@media (max-width:1100px){.pe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:991px){
	#tie-body .container-wrapper{padding:18px}
	#tie-body .sidebar{margin-top:24px}
}
@media (max-width:700px){
	.pe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}
	#tie-body .entry-content{font-size:16.5px}
}
@media (max-width:480px){
	.pe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.pe-search{flex-direction:column}
	#tie-body .pe-search button{width:100%}
	#tie-body .mag-box.wide-post-box .posts-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
	#tie-body .related-posts-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
	#tie-body *,.pe-card__cover img{transition:none !important;animation:none !important}
}

/* ---------- Tür menüsü: çok sütunlu açılır liste ---------- */
#tie-body #main-nav .menu-item-179 > .menu-sub-content{column-count:3;column-gap:6px;width:660px;max-width:92vw}
#tie-body #main-nav .menu-item-179 > .menu-sub-content > li{break-inside:avoid;display:block;float:none;width:auto;border:0}

/* ---------- Önceki / sonraki yazı ---------- */
#tie-body .prev-next-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0;border:0;background:none;margin-top:22px}
#tie-body .prev-next-post-nav:before,#tie-body .prev-next-post-nav:after{display:none}
#tie-body .prev-next-post-nav .tie-col-xs-6{float:none;width:auto;min-width:0;padding:16px 18px;background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:var(--pe-radius)}
#tie-body .prev-next-post-nav .post-thumb{display:none}
#tie-body .prev-next-post-nav .post-title{position:static;font-family:var(--pe-sans);font-size:15px;font-weight:600;line-height:1.4;color:var(--pe-ink);background:none;padding:0;margin:0;text-shadow:none}
#tie-body .prev-next-post-nav a:hover .post-title{color:var(--pe-accent)}
#tie-body .prev-next-post-nav .prev-post:before,#tie-body .prev-next-post-nav .next-post:before{display:block;color:var(--pe-muted);font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px}
#tie-body .prev-next-post-nav .prev-post:before{content:"Önceki"}
#tie-body .prev-next-post-nav .next-post:before{content:"Sonraki"}
#tie-body .prev-next-post-nav .next-post{text-align:right}
#tie-body #related-posts,#tie-body #comments .container-wrapper{margin-top:22px}
#tie-body .entry-header-outer.container-wrapper{margin-bottom:22px}
@media (max-width:600px){#tie-body .prev-next-post-nav{grid-template-columns:1fr}#tie-body .prev-next-post-nav .next-post{text-align:left}}

/* ---------- Tek satırlı üst bölüm (logo + menü + arama) ---------- */
#tie-body #theme-header.header-layout-1 #main-nav{line-height:68px !important;background:var(--pe-surface)}
#tie-body .header-layout-1 .main-menu-wrapper{background:transparent;border:0;gap:18px}
#tie-body .header-layout-1 .header-layout-1-logo{width:auto !important;flex:0 0 auto}
#tie-body .header-layout-1 #logo{float:none;margin:11px 0 !important;line-height:1}
#tie-body .header-layout-1 #logo a{display:block}
#tie-body .header-layout-1 #logo img{display:block;max-height:46px !important;width:auto}
#tie-body .header-layout-1 #menu-components-wrap{flex:1 1 auto;min-width:0;justify-content:space-between;align-items:center}
#tie-body .header-layout-1 #main-nav .main-menu > ul > li > a{padding:0 10px;font-size:14px}

/* ---------- Arama: menüdeki kutu ---------- */
#tie-body #main-nav .components{display:flex;align-items:center;float:none;flex:0 0 auto}
#tie-body #main-nav .components .search-bar{float:none;line-height:normal;border:0;margin:0}
#tie-body #main-nav #search{position:relative;display:block;width:200px;line-height:normal}
#tie-body #main-nav #search-input{display:block;width:100%;height:40px;line-height:40px;margin:0;padding:0 42px 0 16px;background:var(--pe-bg);border:1px solid var(--pe-line);border-radius:999px;color:var(--pe-text);font-size:14px;float:none}
#tie-body #main-nav #search-input:focus{background:var(--pe-surface);border-color:var(--pe-accent)}
#tie-body #main-nav #search-submit{position:absolute;top:0;right:0;width:42px;height:40px;min-height:0;line-height:40px;padding:0;margin:0;background:transparent;border:0;border-radius:0 999px 999px 0;color:var(--pe-muted);font-size:15px}
#tie-body #main-nav #search-submit:hover{background:transparent;color:var(--pe-accent)}

/* ---------- Arama formları (arama sayfası, 404, bileşenler) ---------- */
#tie-body form.search-form{display:flex;gap:8px;align-items:stretch;overflow:visible;margin-top:12px}
#tie-body form.search-form label{flex:1 1 auto;min-width:0;margin:0}
#tie-body form.search-form .search-field{float:none;width:100%;height:48px;margin:0}
#tie-body form.search-form .search-submit{float:none;flex:0 0 auto;width:auto;height:48px;min-height:0;margin:0;padding:0 22px}
#tie-body #mobile-search form.search-form{display:block;position:relative;margin-top:0}
#tie-body #mobile-search .search-field{height:44px;font-size:16px;padding:0 48px 0 18px;border-radius:999px}
#tie-body #mobile-search .search-submit{position:absolute;top:0;right:4px;width:44px;height:44px;min-height:0;padding:0;background:transparent;font-size:0;border-radius:999px}
#tie-body #mobile-search .search-form:after{top:7px;right:11px}

/* ---------- Yatay görseller ---------- */
#tie-body .post-thumb img.pe-landscape,#tie-body .pe-card__cover img.pe-landscape{object-fit:contain;background:#efeae0}

/* ---------- Dar masaüstü: menü sığsın ---------- */
@media (min-width:992px) and (max-width:1240px){
	#tie-body .header-layout-1 #main-nav .main-menu > ul > li > a{padding:0 8px;font-size:13.5px}
	#tie-body #main-nav #search{width:150px}
	#tie-body #main-nav .menu-item-100{display:none}
	#tie-body .header-layout-1 .main-menu-wrapper{gap:12px}
}

/* ---------- Mobil ---------- */
@media (max-width:991px){
	#tie-body #theme-header.header-layout-1 #main-nav{line-height:56px !important}
	#tie-body .header-layout-1 #logo{margin:8px 0 !important;text-align:center}
	#tie-body .header-layout-1 #logo a{display:inline-block}
	#tie-body .header-layout-1 #logo img{max-height:40px !important}
	#tie-body .mobile-header-components{height:44px;line-height:44px}
	#tie-body .mobile-header-components .components li.custom-menu-link > a{width:44px;height:44px;padding:0;margin:0;display:flex;align-items:center;justify-content:center}
	#tie-body .site-content{padding-top:18px}
	#tie-body .entry-content table{display:block;max-width:100%;overflow-x:auto}
	#tie-body .entry-content iframe,#tie-body .entry-content video,#tie-body .entry-content embed{max-width:100%}
	#tie-body .entry-content .wp-caption{width:auto !important}
	#tie-body #mobile-menu li a{min-height:44px;display:flex;align-items:center}
}
@media (max-width:480px){
	#tie-body .entry-header .post-title{font-size:25px}
	#tie-body .container-wrapper{padding:16px}
	.pe-wrap{padding:0 14px}
	#tie-body form.search-form .search-submit{padding:0 16px}
}
html,body#tie-body{overflow-x:hidden}

/* ---------- Kapak kutuları: sağlam oran düzeltmesi ----------
   Ana tema .post-thumb için height:100% tanımlar. Izgara hücreleri satır yüksekliğine
   gerildiğinde bu yüzde, hücrenin tüm yüksekliğine çözülür; kapak başlığın alanını da
   kaplar ve oran bozulur. Yükseklik sıfırlanıp oran dolgu (padding) ile verilir. */
#tie-body .mag-box.wide-post-box .posts-items,
#tie-body .related-posts-list,
.pe-grid{align-items:start}
#tie-body .mag-box.wide-post-box .post-item .post-thumb,
#tie-body .related-posts-list .related-item .post-thumb,
#tie-body .widget-posts-list-container .post-widget-thumbnail .post-thumb,
#tie-body .pe-card__cover{position:relative;display:block;height:0 !important;min-height:0;padding:150% 0 0 !important;aspect-ratio:auto;overflow:hidden;transform:none}
#tie-body .mag-box.wide-post-box .post-item .post-thumb img,
#tie-body .related-posts-list .related-item .post-thumb img,
#tie-body .widget-posts-list-container .post-widget-thumbnail .post-thumb img,
#tie-body .pe-card__cover img,
#tie-body .pe-card__cover .pe-card__placeholder{position:absolute;top:0;left:0;right:0;bottom:0;width:100% !important;height:100% !important;max-width:none;margin:0;object-fit:cover}
#tie-body .post-thumb img.pe-landscape,#tie-body .pe-card__cover img.pe-landscape{object-fit:contain}
#tie-body .mag-box.wide-post-box .post-item,
#tie-body .related-posts-list .related-item{height:auto;align-self:start}

/* Kapağı olmayan yazılar: ızgara bozulmasın diye nötr bir kapak alanı */
#tie-body .mag-box.wide-post-box .post-item:not(.has-post-thumbnail) .post-details:before,
#tie-body .mag-box.wide-post-box .post-item.no-small-thumbs .post-details:before{content:"";display:block;padding-top:150%;margin-bottom:10px;border-radius:var(--pe-radius-sm);background:linear-gradient(135deg,#ece8df,#ddd6c8)}
