/*
Theme Name: Engelliyiz Haber 6D
Theme URI: https://engelliyiz.com.tr/
Author: OpenAI
Description: Engelliyiz.com.tr için erişilebilir, gösterişli, modern ve kapsamlı haber portalı WordPress teması. Köşe yazıları ve yazar alanları WordPress içeriklerinden otomatik beslenir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: engelliyiz-haber
*/
:root{--eh-primary:#102b58;--eh-secondary:#f5a623;--eh-accent:#ef3e5b;--eh-ink:#18243a;--eh-muted:#69758a;--eh-bg:#f2f5fa;--eh-card:#fff;--eh-border:#e5eaf2;--eh-radius:18px;--eh-shadow:0 12px 34px rgba(17,39,77,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--eh-bg);color:var(--eh-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--eh-accent)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.eh-container{width:min(1240px,calc(100% - 36px));margin-inline:auto}.eh-topbar{background:#0b1d3c;color:#dce7ff;font-size:13px}.eh-topbar .eh-container{display:flex;justify-content:space-between;gap:15px;padding:8px 0}.eh-topbar a{color:#fff}.eh-header{background:linear-gradient(120deg,#102b58 0%,#174d83 58%,#226e9d 100%);color:#fff;position:relative;overflow:hidden}.eh-header:after{content:"";position:absolute;width:430px;height:430px;border:70px solid rgba(255,255,255,.06);border-radius:50%;right:-110px;top:-230px}.eh-brandrow{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 0;position:relative;z-index:1}.eh-brand{display:flex;align-items:center;gap:15px;min-width:0}.eh-brand img{max-height:76px;width:auto}.eh-brandname{font-size:clamp(25px,3vw,38px);font-weight:950;letter-spacing:-1.4px;line-height:1.05}.eh-tagline{color:#d5e6fa;font-size:13px;margin-top:6px}.eh-search{display:flex;width:min(360px,100%);background:#fff;border-radius:999px;padding:5px;box-shadow:0 8px 25px #061a3540}.eh-search input{min-width:0;flex:1;border:0;outline:0;padding:9px 14px;border-radius:999px;color:#18243a}.eh-search button{border:0;border-radius:999px;background:var(--eh-secondary);color:#1c2c43;font-weight:900;padding:9px 18px;cursor:pointer}.eh-nav{background:#fff;box-shadow:0 7px 22px rgba(13,34,67,.10);position:relative;z-index:10}.eh-nav .eh-container{display:flex;align-items:center;gap:0;min-height:54px}.eh-nav a{display:inline-flex;align-items:center;padding:15px 14px;font-weight:800;font-size:14px;color:#20324e;white-space:nowrap}.eh-nav a:hover,.eh-nav .current-menu-item>a{background:#fff5e5;color:#d47b00}.eh-nav .eh-home{background:var(--eh-accent);color:#fff;padding-inline:20px}.eh-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}.eh-nav li{position:relative}.eh-nav li ul{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;box-shadow:var(--eh-shadow);border-radius:0 0 12px 12px;z-index:20}.eh-nav li:hover>ul{display:block}.eh-nav li ul a{width:100%;padding:11px 16px}.eh-mobile-toggle{display:none;border:0;background:var(--eh-primary);color:#fff;padding:10px 14px;border-radius:10px;margin:8px 0}.eh-breaking{background:linear-gradient(90deg,#e52e4d,#f36b3e);color:#fff;overflow:hidden}.eh-breaking .eh-container{display:flex;align-items:center;min-height:43px;gap:14px}.eh-breaking-window{overflow:hidden;white-space:nowrap;flex:1;min-width:0}.eh-breaking-track{display:inline-flex;align-items:center;white-space:nowrap;width:max-content;animation:eh-marquee 38s linear infinite}.eh-breaking-track:hover{animation-play-state:paused}.eh-breaking-label{font-size:12px;font-weight:1000;letter-spacing:.7px;background:#a80e2a;padding:7px 12px;border-radius:7px;white-space:nowrap}.eh-breaking-track a{display:inline-block;color:#fff;font-weight:800;padding:0 18px}.eh-breaking-sep{font-size:10px;color:#ffd36a;padding:0 5px}@keyframes eh-marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}.eh-main{padding:26px 0 55px}.eh-section{margin:0 0 32px}.eh-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px}.eh-section-title{font-size:22px;line-height:1.2;font-weight:950;margin:0;color:#142b50;display:flex;align-items:center;gap:10px}.eh-section-title:before{content:"";width:6px;height:25px;border-radius:5px;background:linear-gradient(var(--eh-accent),var(--eh-secondary))}.eh-more{font-size:13px;font-weight:850;color:#e34b45}.eh-grid{display:grid;gap:18px}.eh-hero-grid{grid-template-columns:1.65fr 1fr 1fr;grid-template-rows:220px 220px}.eh-card{background:var(--eh-card);border:1px solid var(--eh-border);border-radius:var(--eh-radius);overflow:hidden;box-shadow:var(--eh-shadow);min-width:0}.eh-story{position:relative;min-height:210px;isolation:isolate}.eh-story:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(4,15,34,.9));z-index:-1}.eh-story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s}.eh-story:hover img{transform:scale(1.045)}.eh-story .eh-story-content{position:absolute;left:0;right:0;bottom:0;padding:20px;color:#fff}.eh-story h2,.eh-story h3{margin:8px 0 0;line-height:1.25;font-weight:950}.eh-story h2{font-size:clamp(21px,2.5vw,31px)}.eh-story h3{font-size:18px}.eh-story-large{grid-row:span 2}.eh-story-large .eh-story-content{padding:26px}.eh-story-large h2{font-size:clamp(25px,3vw,38px)}.eh-category{display:inline-flex;background:var(--eh-secondary);color:#172b48;padding:4px 9px;border-radius:6px;font-size:11px;font-weight:950;text-transform:uppercase}.eh-meta{font-size:12px;color:#d8e2f2;margin-top:8px}.eh-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.eh-post-card{display:flex;flex-direction:column}.eh-thumb{aspect-ratio:16/9;overflow:hidden;background:#dce4ef}.eh-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.eh-post-card:hover .eh-thumb img{transform:scale(1.04)}.eh-post-body{padding:16px 17px 18px;display:flex;flex-direction:column;flex:1}.eh-post-body h3{font-size:17px;line-height:1.35;margin:7px 0 8px;font-weight:900}.eh-post-body p{margin:0;color:var(--eh-muted);font-size:13px}.eh-post-meta{font-size:11px;color:#8a95a7;margin-top:auto;padding-top:12px}.eh-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:25px}.eh-sidebar .eh-widget{background:#fff;border:1px solid var(--eh-border);border-radius:16px;padding:18px;margin-bottom:18px;box-shadow:var(--eh-shadow)}.eh-widget-title{font-size:17px;font-weight:950;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid #f0a52d}.eh-widget ul{list-style:none;padding:0;margin:0}.eh-widget li{padding:9px 0;border-bottom:1px solid var(--eh-border);font-size:14px;font-weight:700}.eh-widget li:last-child{border:0}.eh-column-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.eh-column-card{background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--eh-border);box-shadow:var(--eh-shadow)}.eh-column-card .eh-column-image{height:145px;background:linear-gradient(135deg,#122b56,#2780a5);display:flex;align-items:center;justify-content:center;color:#fff;font-size:42px;font-weight:900}.eh-column-card .eh-column-image img{width:100%;height:100%;object-fit:cover}.eh-column-card .eh-column-content{padding:16px}.eh-column-card h3{font-size:17px;line-height:1.3;margin:0 0 7px;font-weight:950}.eh-column-card p{font-size:13px;color:var(--eh-muted);margin:0}.eh-author-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.eh-author{background:#fff;border:1px solid var(--eh-border);border-radius:16px;padding:18px 12px;text-align:center;box-shadow:var(--eh-shadow)}.eh-avatar{width:76px;height:76px;border-radius:50%;margin:0 auto 10px;object-fit:cover;border:4px solid #fff;box-shadow:0 0 0 2px var(--eh-secondary)}.eh-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:#e8f0fb;color:#183b67;font-size:28px;font-weight:950}.eh-author h3{font-size:15px;margin:0;font-weight:950}.eh-author span{font-size:12px;color:var(--eh-muted)}.eh-author .eh-author-link{display:inline-block;color:#e34b45;font-weight:850;font-size:12px;margin-top:7px}.eh-single{background:#fff;border-radius:20px;padding:clamp(20px,4vw,42px);box-shadow:var(--eh-shadow);border:1px solid var(--eh-border)}.eh-single h1{font-size:clamp(28px,4vw,42px);line-height:1.18;margin:12px 0;font-weight:1000;letter-spacing:-.8px}.eh-single .eh-lead{font-size:18px;color:#5e6b7e}.eh-single .eh-featured{margin:22px 0;border-radius:15px;overflow:hidden}.eh-single .eh-featured img{width:100%;max-height:540px;object-fit:cover}.eh-content{font-size:17px;line-height:1.85}.eh-content h2,.eh-content h3{line-height:1.3;color:#142b50}.eh-content img{border-radius:12px}.eh-content a{color:#d84b48;text-decoration:underline}.eh-author-box{display:flex;align-items:center;gap:14px;background:#f4f7fc;border-radius:14px;padding:15px;margin-top:28px}.eh-author-box img{width:64px;height:64px;border-radius:50%;object-fit:cover}.eh-author-box strong{display:block}.eh-pagination{margin-top:25px}.eh-pagination .page-numbers{display:inline-block;background:#fff;padding:9px 14px;border-radius:9px;margin:3px;font-weight:800;border:1px solid var(--eh-border)}.eh-pagination .current{background:var(--eh-primary);color:#fff}.eh-footer{background:#0b1d3c;color:#dbe6f7;padding:42px 0 20px}.eh-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:28px}.eh-footer h3{color:#fff;margin:0 0 12px}.eh-footer a{color:#dbe6f7}.eh-footer ul{list-style:none;padding:0;margin:0}.eh-footer li{padding:5px 0}.eh-footer-bottom{border-top:1px solid #ffffff24;margin-top:28px;padding-top:16px;font-size:12px;color:#aabbd5}.eh-empty{background:#fff;border-radius:15px;padding:30px;text-align:center;color:var(--eh-muted)}.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.eh-skip{position:absolute;left:-9999px}.eh-skip:focus{left:10px;top:10px;background:#fff;padding:12px;z-index:9999}
@media(max-width:900px){.eh-hero-grid{grid-template-columns:1.2fr 1fr;grid-template-rows:220px 180px}.eh-story-large{grid-row:span 2}.eh-layout{grid-template-columns:1fr}.eh-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.eh-author-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.eh-container{width:min(100% - 24px,1240px)}.eh-topbar .eh-container{font-size:11px}.eh-brandrow{padding:18px 0;align-items:flex-start;flex-direction:column}.eh-brandname{font-size:28px}.eh-search{width:100%}.eh-mobile-toggle{display:block}.eh-nav .eh-container{display:block}.eh-nav-menu{display:none;padding-bottom:8px}.eh-nav-menu.is-open{display:block}.eh-nav ul{display:block}.eh-nav a{display:flex;padding:12px 14px}.eh-nav li ul{position:static;display:block;box-shadow:none;padding-left:15px}.eh-hero-grid{grid-template-columns:1fr 1fr;grid-template-rows:235px 165px}.eh-story-large{grid-column:span 2;grid-row:auto}.eh-story-large h2{font-size:25px}.eh-story h3{font-size:15px}.eh-story .eh-story-content{padding:13px}.eh-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.eh-post-body{padding:12px}.eh-post-body h3{font-size:14px}.eh-post-body p{display:none}.eh-column-grid{grid-template-columns:1fr}.eh-author-grid{grid-template-columns:repeat(2,1fr)}.eh-sidebar{display:block}.eh-footer-grid{grid-template-columns:1fr}.eh-section-title{font-size:19px}.eh-breaking .eh-container{gap:8px;min-height:40px}.eh-breaking-label{font-size:10px;padding:6px 8px}.eh-breaking-track a{font-size:12px;padding:0 12px}}
/* Mobil manşet kartları: sabit satır yükseklikleriyle çakışmayı önle */
@media(max-width:640px){
  .eh-hero-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:230px repeat(2,220px);
    grid-auto-rows:220px;
    align-items:stretch;
    gap:12px;
  }
  .eh-hero-grid > .eh-story{
    position:relative;
    min-width:0;
    min-height:0;
    height:100%;
    grid-row:auto;
  }
  .eh-hero-grid > .eh-story-large{
    grid-column:1 / -1;
    grid-row:auto;
    min-height:0;
    height:230px;
  }
  .eh-story img{width:100%;height:100%;object-fit:cover;}
  .eh-story .eh-story-content{max-width:100%;}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Haber detay: yazar kartı ve yorum alanı */
.eh-author-box{position:relative;display:flex;align-items:center;gap:18px;margin:34px 0 26px;padding:22px 24px;background:linear-gradient(120deg,#102b58 0%,#174d83 65%,#24779b 100%);border:0;border-radius:20px;color:#fff;box-shadow:0 14px 32px rgba(16,43,88,.18);overflow:hidden}
.eh-author-box:after{content:"";position:absolute;width:170px;height:170px;border:28px solid rgba(255,255,255,.08);border-radius:50%;right:-45px;top:-80px;pointer-events:none}
.eh-author-box .eh-avatar,.eh-author-box img{position:relative;z-index:1;flex:0 0 82px;width:82px;height:82px;margin:0;border:4px solid rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(0,0,0,.2)}
.eh-author-box>div{position:relative;z-index:1;min-width:0}
.eh-author-box strong{display:block;color:#fff;font-size:19px;line-height:1.25;font-weight:950}
.eh-author-box span{display:block;color:#d8e8fb;font-size:13px;margin:4px 0 10px}
.eh-author-box a{display:inline-flex;align-items:center;background:#f5a623;color:#182b49;padding:8px 13px;border-radius:999px;font-size:12px;font-weight:950;text-decoration:none;transition:.2s}
.eh-author-box a:hover{background:#fff;color:#102b58}
.eh-comments{margin-top:34px;padding:clamp(18px,3vw,30px);background:#fff;border:1px solid var(--eh-border);border-radius:20px;box-shadow:var(--eh-shadow)}
.eh-comments-heading,.eh-comment-form-heading{margin-bottom:20px}
.eh-comments-kicker{display:inline-block;color:#d98200;font-size:11px;font-weight:950;letter-spacing:1.2px}
.eh-comments-heading h2,.eh-comment-form-heading h2{margin:5px 0 4px;color:#142b50;font-size:clamp(21px,3vw,27px);line-height:1.25;font-weight:950}
.eh-comments-heading p,.eh-comment-form-heading p{margin:0;color:#718096;font-size:13px}
.eh-comment-list{list-style:none!important;margin:0 0 26px!important;padding:0!important}
.eh-comment-list .eh-comment{display:flex;gap:13px;padding:18px 0;border-bottom:1px solid #e9eef5;list-style:none}
.eh-comment-avatar{flex:0 0 48px}.eh-comment-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.eh-comment-body{min-width:0;flex:1}.eh-comment-topline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.eh-comment-topline strong{font-size:14px;color:#172f55}.eh-comment-topline time{font-size:11px;color:#8b97a8}
.eh-comment-text{font-size:14px;line-height:1.7;color:#48566b;overflow-wrap:anywhere}.eh-comment-text p{margin:7px 0}
.eh-comment-reply a{display:inline-block;margin-top:5px;color:#d94c50;font-size:12px;font-weight:850}
.eh-comment-form{margin-top:22px;padding:22px;background:#f5f8fc;border:1px solid #e6edf6;border-radius:16px}
.eh-comment-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.eh-comment-form p{margin:0 0 15px}.eh-comment-form label{display:block;margin:0 0 7px;color:#263b5b;font-size:13px;font-weight:850}
.eh-comment-form label span,.eh-comment-note span{color:#e34b55}
.eh-comment-form input,.eh-comment-form textarea{display:block;width:100%;max-width:100%;padding:12px 14px;border:1px solid #dce4ef;border-radius:11px;background:#fff;color:#18243a;outline:none;font:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}
.eh-comment-form input{height:47px}.eh-comment-form textarea{min-height:145px;resize:vertical}
.eh-comment-form input:focus,.eh-comment-form textarea:focus{border-color:#2872a5;box-shadow:0 0 0 3px rgba(40,114,165,.12)}
.eh-comment-note{font-size:11px!important;color:#7b8798;margin:0 0 15px!important}
.eh-comment-form .form-submit{margin:0}.eh-comment-submit{border:0;border-radius:999px;background:linear-gradient(90deg,#e9435c,#f3a323);color:#fff;padding:13px 23px;font-size:12px;font-weight:950;letter-spacing:.4px;cursor:pointer;box-shadow:0 7px 16px rgba(226,73,75,.2);transition:transform .2s,box-shadow .2s}
.eh-comment-submit:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(226,73,75,.28)}
.eh-comments .comment-respond{margin-top:24px}.eh-comments .logged-in-as{font-size:12px;color:#718096}.eh-comments .logged-in-as a{color:#d94c50;font-weight:800}
.eh-comments .children{list-style:none;margin:12px 0 0 28px;padding:0}.eh-comments .navigation{margin:15px 0}
.eh-comments-closed{padding:14px;background:#f5f8fc;border-radius:10px;color:#718096;font-size:13px}
@media(max-width:640px){.eh-author-box{gap:13px;padding:17px;border-radius:16px}.eh-author-box .eh-avatar,.eh-author-box img{flex-basis:66px;width:66px;height:66px}.eh-author-box strong{font-size:16px}.eh-comments{padding:16px;border-radius:16px}.eh-comment-form{padding:15px}.eh-comment-fields{grid-template-columns:1fr;gap:0}.eh-comment-list .eh-comment{gap:10px}.eh-comment-avatar{flex-basis:40px}.eh-comment-avatar img{width:40px;height:40px}}

/* Haber detay sayfasi: onceki / sonraki haber kartlari */
.eh-post-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0 30px;padding-top:22px;border-top:1px solid #e7edf5}
.eh-switch-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:122px;padding:17px 18px;border:1px solid #e1e8f2;border-radius:16px;background:linear-gradient(145deg,#fff 0%,#f3f7fc 100%);box-shadow:0 8px 22px rgba(17,39,77,.07);text-decoration:none!important;transition:transform .2s,box-shadow .2s,border-color .2s}
.eh-switch-card:hover{transform:translateY(-3px);border-color:#f0a52d;box-shadow:0 13px 28px rgba(17,39,77,.12)}
.eh-switch-label{display:flex;align-items:center;gap:7px;color:#d88712;font-size:10px;font-weight:950;letter-spacing:1px}
.eh-switch-content{display:flex;align-items:center;gap:12px;margin-top:12px;min-width:0}
.eh-switch-content strong{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#172f55;font-size:14px;line-height:1.4;font-weight:900}
.eh-switch-next .eh-switch-label,.eh-switch-next .eh-switch-content{justify-content:flex-end;text-align:right}
.eh-switch-thumb{flex:0 0 62px;width:62px;height:54px;border-radius:9px;overflow:hidden;background:#dce5f0}
.eh-switch-thumb img{width:100%;height:100%;object-fit:cover}
.eh-switch-empty{display:block}
@media(max-width:640px){.eh-post-switch{grid-template-columns:1fr;gap:10px;margin:22px 0 24px}.eh-switch-card{min-height:104px;padding:14px 15px}.eh-switch-content strong{font-size:13px}.eh-switch-thumb{flex-basis:58px;width:58px;height:50px}.eh-switch-next .eh-switch-content{flex-direction:row-reverse}}
