/*
Theme Name: Irak Türkleri Birliği - Görsel Kutuları Düzeltilmiş
Theme URI: https://togb.net/
Author: ITOGB için özel tasarım
Description: ITOGB için lacivert, buz mavisi ve beyaz renklerde, bağımsız başlık ve alt bilgi alanlarına sahip özel WordPress teması.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: irak-turkleri-togb-mavi-beyaz
*/

:root{--navy:#102a43;--blue:#2563a6;--ice:#eaf4fc;--pale:#f5f9fd;--ink:#1b2b3a;--muted:#617487;--line:#dce7f0;--white:#fff;--radius:18px;--shadow:0 12px 34px rgba(16,42,67,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.65}a{color:var(--blue);text-decoration:none}a:hover{color:var(--navy)}img{max-width:100%;height:auto;display:block}.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.topbar{background:var(--navy);color:#dceafa;font-size:12px}.topbar-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar a{color:#fff}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:13px;color:var(--navy);font-weight:800;letter-spacing:-.04em;font-size:19px;line-height:1.1}.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--navy);color:white;display:grid;place-items:center;font-size:16px;letter-spacing:0}.brand small{display:block;font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:700;margin-top:5px}.main-nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.main-nav ul{display:flex;align-items:center;gap:24px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.main-nav li{list-style:none;margin:0;padding:0;position:relative}.main-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;background:#fff;padding:10px!important;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);z-index:20;flex-direction:column;align-items:flex-start;gap:8px}.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:flex}.main-nav a{color:#30465b;font-weight:700;font-size:13px}.main-nav a:hover{color:var(--blue)}.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;color:var(--navy)}.hero{padding:36px 0 24px;background:linear-gradient(180deg,#f7fbff 0%,#fff 100%)}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:stretch}.hero-copy{padding:clamp(28px,5vw,64px);background:var(--navy);color:#fff;border-radius:var(--radius);display:flex;flex-direction:column;justify-content:center;min-height:390px;position:relative;overflow:hidden}.hero-copy:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-80px;bottom:-130px;box-shadow:0 0 0 28px rgba(255,255,255,.03),0 0 0 58px rgba(255,255,255,.025)}.eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800;color:#9dd3ff;margin-bottom:15px}.eyebrow:before{content:"";width:24px;height:2px;background:currentColor}.hero h1{font-size:clamp(34px,4.5vw,58px);line-height:1.08;letter-spacing:-.05em;margin:0 0 18px;max-width:640px}.hero p{color:#d9e8f6;max-width:510px;margin:0 0 26px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:9px;font-size:13px;font-weight:800;background:var(--blue);color:white;border:1px solid var(--blue);transition:.2s}.button:hover{background:#fff;color:var(--navy);border-color:#fff}.button-light{background:#fff;color:var(--navy);border-color:#fff}.button-light:hover{background:var(--ice);border-color:var(--ice)}.hero-visual{display:flex;flex-direction:column;gap:16px}.image-placeholder{background:linear-gradient(135deg,#e8f2fa,#d5e6f5);border:1px solid #c8dceb;position:relative;overflow:hidden;border-radius:var(--radius);display:grid;place-items:center;color:#63809a;min-height:230px;text-align:center;padding:20px}.image-placeholder:before,.image-placeholder:after{content:"";position:absolute;border:1px solid rgba(65,112,151,.18);border-radius:50%;width:220px;height:220px}.image-placeholder:after{width:300px;height:300px}.image-placeholder span{position:relative;z-index:1;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hero-visual .image-placeholder{flex:1;min-height:0}.hero-mini{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hero-mini .image-placeholder{min-height:132px;border-radius:14px}.section{padding:76px 0}.section-soft{background:var(--pale)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--blue);margin-bottom:8px}.section h2{font-size:clamp(27px,3vw,39px);letter-spacing:-.045em;line-height:1.16;color:var(--navy);margin:0}.section-intro{color:var(--muted);max-width:550px;margin:10px 0 0}.text-link{font-size:13px;font-weight:800;white-space:nowrap}.news-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:var(--shadow)}.card-image{height:190px;background:linear-gradient(135deg,#e8f2fa,#d5e6f5);display:grid;place-items:center;color:#68839b;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.card-image img{width:100%;height:100%;object-fit:cover}.card-body{padding:22px}.meta{font-size:11px;color:var(--blue);font-weight:800;letter-spacing:.08em;text-transform:uppercase}.card h3{font-size:19px;line-height:1.3;letter-spacing:-.025em;margin:10px 0;color:var(--navy)}.card p{font-size:13px;color:var(--muted);margin:0 0 16px}.read-more{font-size:12px;font-weight:800}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}.about-visual .image-placeholder{min-height:380px}.about-copy p{color:var(--muted)}.check-list{display:grid;gap:12px;margin:22px 0 28px;padding:0;list-style:none}.check-list li{display:flex;gap:12px;align-items:start;font-weight:700;font-size:14px}.check-list li:before{content:"✓";display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:var(--ice);color:var(--blue);font-size:12px}.president{background:var(--navy);color:#fff;border-radius:var(--radius);overflow:hidden;display:grid;grid-template-columns:.8fr 1.2fr;min-height:360px}.president-photo{min-height:360px;background:linear-gradient(135deg,#dbeaf6,#bcd4e8);display:grid;place-items:center;color:#55728d;font-size:12px;font-weight:800;letter-spacing:.1em;text-align:center;padding:20px}.president-copy{padding:clamp(28px,5vw,60px);display:flex;flex-direction:column;justify-content:center}.president-copy .section-kicker{color:#9dd3ff}.president-copy h2{color:#fff}.president-copy blockquote{font-size:17px;color:#dceafa;line-height:1.8;margin:18px 0}.president-copy strong{font-size:14px}.president-copy small{color:#a8c3dc}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}.stat{padding:24px 18px;background:#fff;border:1px solid var(--line);border-radius:14px}.stat strong{display:block;color:var(--navy);font-size:29px;letter-spacing:-.04em}.stat span{color:var(--muted);font-size:12px}.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.activity-card{padding:26px;border-radius:var(--radius);border:1px solid var(--line);background:#fff}.activity-icon{width:44px;height:44px;border-radius:12px;background:var(--ice);color:var(--blue);display:grid;place-items:center;font-size:18px;margin-bottom:20px}.activity-card h3{margin:0 0 8px;color:var(--navy);font-size:18px}.activity-card p{margin:0;color:var(--muted);font-size:13px}.gallery-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:180px 180px;gap:14px}.gallery-item{border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#e8f2fa,#d5e6f5);display:grid;place-items:center;color:#68839b;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.gallery-item:first-child{grid-row:span 2}.gallery-item img{width:100%;height:100%;object-fit:cover}.magazine{display:grid;grid-template-columns:.7fr 1.3fr;gap:34px;align-items:center;padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.magazine-cover{min-height:260px;display:grid;place-items:center;text-align:center;padding:20px;background:linear-gradient(145deg,#dcecf8,#aacce5);border-radius:12px;color:var(--navy);font-weight:900;font-size:22px;letter-spacing:-.03em}.magazine p{color:var(--muted)}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quick-link{padding:20px;border-radius:14px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--navy);font-size:14px;font-weight:800}.quick-link span{color:var(--blue);font-size:20px}.cta{padding:50px;border-radius:var(--radius);background:var(--ice);display:flex;align-items:center;justify-content:space-between;gap:28px}.cta h2{max-width:650px}.cta p{margin:10px 0 0;color:var(--muted)}.site-footer{background:#0b2034;color:#c8d8e7;padding:58px 0 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px;padding-bottom:44px}.footer-brand{color:#fff}.footer-about p{font-size:13px;color:#a9bed0;max-width:300px}.footer-col h3{font-size:12px;color:#fff;text-transform:uppercase;letter-spacing:.12em;margin:4px 0 18px}.footer-col a{display:block;color:#b5c9da;font-size:13px;margin:10px 0}.footer-col a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#9bb2c6}.footer-bottom a{color:#c8d8e7}.empty-note{padding:24px;border:1px dashed #bfd3e4;border-radius:14px;color:var(--muted);font-size:13px;background:#f9fcff}.entry-content{max-width:850px;margin:50px auto;padding:0 20px}.entry-title{font-size:42px;color:var(--navy);line-height:1.15}.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.menu-open .main-nav{display:flex}
@media(max-width:900px){.main-nav{gap:14px}.main-nav a{font-size:12px}.hero-grid{grid-template-columns:1fr}.hero-copy{min-height:320px}.hero-visual{display:grid;grid-template-columns:1fr 1fr}.hero-visual>.image-placeholder{min-height:230px}.hero-mini{grid-template-columns:1fr}.hero-mini .image-placeholder{min-height:105px}.news-grid{grid-template-columns:1fr 1fr}.news-grid .card:first-child{grid-column:span 2}.about-grid{gap:30px}.footer-grid{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-rows:150px 150px}}
@media(max-width:650px){.container{width:min(100% - 28px,1160px)}.topbar-inner{justify-content:center}.topbar-inner span:last-child{display:none}.header-inner{min-height:74px;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block}.main-nav{display:none;width:100%;padding:10px 0 14px;flex-direction:column;align-items:flex-start;gap:14px}.main-nav ul{width:100%;flex-direction:column;align-items:flex-start;gap:14px}.main-nav .sub-menu{display:flex;position:static;box-shadow:none;border:0;padding:6px 0 0 14px!important;background:transparent}.main-nav a{font-size:14px}.hero{padding-top:18px}.hero-grid{gap:14px}.hero-copy{padding:28px;min-height:340px}.hero h1{font-size:38px}.hero-visual{grid-template-columns:1fr}.hero-visual>.image-placeholder{min-height:200px}.hero-mini{grid-template-columns:1fr 1fr}.section{padding:54px 0}.section-head{align-items:flex-start;flex-direction:column;gap:12px}.news-grid,.activity-grid,.about-grid,.president,.magazine{grid-template-columns:1fr}.news-grid .card:first-child{grid-column:auto}.about-visual .image-placeholder{min-height:240px}.president-photo{min-height:260px}.stats{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:150px 150px 150px}.gallery-item:first-child{grid-row:span 2}.magazine{padding:20px}.magazine-cover{min-height:220px}.quick-grid{grid-template-columns:1fr}.cta{padding:28px;align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>div:first-child{grid-column:span 2}.footer-bottom{flex-direction:column;gap:8px}.post-list{grid-template-columns:1fr}}


/* Fixed thumbnail boxes: keep news text below images, never overlay it. */
.news-grid .card{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.news-grid .card-image{display:block;flex:0 0 210px;height:210px;min-height:210px;max-height:210px;width:100%;position:relative;overflow:hidden;padding:0;line-height:0;background:linear-gradient(135deg,#e8f2fa,#d5e6f5)}
.news-grid .card-image img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center}
.news-grid .card-body{display:block;position:relative;z-index:1;flex:1 0 auto;background:#fff;padding:22px}
.news-grid .card-body h3{position:static;display:block;margin:10px 0;color:var(--navy);overflow-wrap:anywhere}
.news-grid .card-body p{position:static;display:block;margin:0 0 16px}
@media(max-width:650px){.news-grid .card-image{flex-basis:190px;height:190px;min-height:190px;max-height:190px}}

/* Header layout correction: constrain custom logo and keep nav on one row. */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.site-header .header-inner{min-height:88px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:28px}
.site-header .brand{display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:300px}
.site-header .brand-with-logo{padding:0}
.site-header .brand-with-logo>a{display:flex;align-items:center;max-width:230px;min-width:0}
.site-header .brand .custom-logo-link{display:flex;align-items:center;max-width:230px}
.site-header .brand img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:210px!important;max-height:62px!important;object-fit:contain}
.site-header .main-nav{display:flex;flex:1 1 auto;justify-content:flex-end;align-items:center;min-width:0;gap:0}
.site-header .main-nav>ul.menu{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:clamp(10px,1.5vw,22px);width:auto;max-width:100%;margin:0;padding:0;list-style:none}
.site-header .main-nav>ul.menu>li{display:block;flex:0 0 auto;margin:0;padding:0}
.site-header .main-nav>ul.menu>li>a{display:block;white-space:nowrap;font-size:13px;line-height:1.4;padding:10px 0}
.site-header .main-nav>ul.menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;background:#fff;padding:10px!important;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);z-index:30;flex-direction:column;align-items:flex-start;gap:8px}
.site-header .main-nav>ul.menu li:hover>.sub-menu,.site-header .main-nav>ul.menu li:focus-within>.sub-menu{display:flex}
@media(max-width:900px){
 .site-header .header-inner{gap:16px}
 .site-header .brand{max-width:200px}
 .site-header .brand-with-logo>a,.site-header .brand .custom-logo-link{max-width:175px}
 .site-header .brand img.custom-logo{max-width:165px!important;max-height:52px!important}
 .site-header .main-nav>ul.menu{gap:10px}
 .site-header .main-nav>ul.menu>li>a{font-size:12px}
}
@media(max-width:650px){
 .site-header .header-inner{min-height:74px;flex-wrap:wrap;padding:12px 0}
 .site-header .brand{max-width:calc(100% - 90px)}
 .site-header .brand-with-logo>a,.site-header .brand .custom-logo-link{max-width:180px}
 .site-header .brand img.custom-logo{max-width:165px!important;max-height:48px!important}
 .site-header .menu-toggle{display:block;margin-left:auto}
 .site-header .main-nav{display:none;flex:0 0 100%;width:100%;padding:10px 0 14px;justify-content:flex-start}
 .site-header .main-nav ul.menu{width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px}
 .site-header .main-nav ul.menu>li{width:100%}
 .site-header .main-nav ul.menu>li>a{font-size:14px;padding:4px 0;white-space:normal}
 .site-header .main-nav ul.menu .sub-menu{display:flex;position:static;box-shadow:none;border:0;padding:6px 0 0 14px!important;background:transparent}
 .site-header .header-inner.menu-open .main-nav{display:flex}
}

/* Official emblem + existing text wordmark in the custom header */
.site-header .brand.brand-with-emblem{display:flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;max-width:360px;min-width:0;line-height:1.1}
.site-header .togb-emblem{display:block;width:54px;height:54px;max-width:54px;max-height:54px;flex:0 0 54px;object-fit:contain;border-radius:50%}
.site-header .brand-wordmark{display:block;font-size:16px;font-weight:800;letter-spacing:-.035em;white-space:nowrap;color:var(--navy)}
.site-header .brand-wordmark small{display:block;margin-top:5px;font-size:9px;line-height:1.3;letter-spacing:.07em;font-weight:800;color:var(--muted);white-space:normal}
.site-header .main-nav{flex:1 1 auto;min-width:0}
@media(max-width:900px){
 .site-header .brand.brand-with-emblem{gap:9px;max-width:285px}
 .site-header .togb-emblem{width:46px;height:46px;max-width:46px;max-height:46px;flex-basis:46px}
 .site-header .brand-wordmark{font-size:13px}
 .site-header .brand-wordmark small{font-size:8px}
}
@media(max-width:650px){
 .site-header .brand.brand-with-emblem{max-width:calc(100% - 82px);gap:8px}
 .site-header .togb-emblem{width:42px;height:42px;max-width:42px;max-height:42px;flex-basis:42px}
 .site-header .brand-wordmark{font-size:12px;white-space:normal}
 .site-header .brand-wordmark small{font-size:7px;letter-spacing:.04em}
}

/* FINAL OVERRIDE: keep the round association emblem genuinely small. */
.site-header .header-inner a.brand.brand-with-emblem > img.togb-emblem,
.site-header a.brand.brand-with-emblem img.togb-emblem {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
}
.site-header .header-inner a.brand.brand-with-emblem {
    align-items: center !important;
    gap: 10px !important;
    min-height: 0 !important;
    max-width: 340px !important;
}
@media (max-width: 900px) {
    .site-header .header-inner a.brand.brand-with-emblem > img.togb-emblem,
    .site-header a.brand.brand-with-emblem img.togb-emblem {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        flex-basis: 34px !important;
    }
}
@media (max-width: 650px) {
    .site-header .header-inner a.brand.brand-with-emblem > img.togb-emblem,
    .site-header a.brand.brand-with-emblem img.togb-emblem {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        flex-basis: 30px !important;
    }
}

/* Logo boyutu sabitleme */
.site-header .brand-with-emblem { display:flex; align-items:center; gap:12px; min-width:0; }
.site-header .togb-emblem { width:48px !important; height:48px !important; max-width:48px !important; max-height:48px !important; object-fit:contain; display:block; flex:0 0 48px; }
.site-header .brand-wordmark { display:block; }
@media (max-width: 600px) { .site-header .togb-emblem { width:40px !important; height:40px !important; max-width:40px !important; max-height:40px !important; flex-basis:40px; } }


/* Functional header search form */
.header-search{display:flex;align-items:center;flex:0 0 auto;gap:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;height:38px;margin:0 0 0 4px}
.header-search input[type="search"]{width:118px;min-width:0;height:36px;padding:0 10px;border:0!important;outline:none!important;background:transparent;font:inherit;font-size:12px;color:var(--ink);box-shadow:none!important}
.header-search input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
.header-search button{width:36px;height:36px;flex:0 0 36px;border:0;background:var(--blue);color:#fff;cursor:pointer;font-size:23px;line-height:1;display:grid;place-items:center}
.header-search button:hover{background:var(--navy)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.header-search input[type="search"]{width:90px}.site-header .header-inner{gap:12px}}
@media(max-width:900px){.header-search{margin-left:auto}.site-header .header-inner{flex-wrap:wrap}.site-header .main-nav{order:4;flex:0 0 100%}}
@media(max-width:650px){.header-search{height:36px;margin-left:auto}.header-search input[type="search"]{width:94px;height:34px}.header-search button{height:34px;width:34px;flex-basis:34px}.site-header .header-inner{gap:8px}}

/* Elementor homepage compatibility */
body.elementor-page #content { width: 100%; max-width: none; margin: 0; padding: 0; }
body.elementor-page #content > .elementor { width: 100%; }
body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1200px; }

/* Footer logo: use the official compact logo instead of the ITOGB text badge */
.site-footer .footer-brand{display:inline-flex;align-items:center;gap:12px}.site-footer .footer-logo{display:block;width:44px;height:44px;min-width:44px;object-fit:contain;border-radius:0}

/* Editable homepage image fields */
.hero-main-image,.hero-mini .image-placeholder,.about-visual .image-placeholder{padding:0;overflow:hidden}.hero-main-image img,.hero-mini .image-placeholder img,.about-visual .image-placeholder img{width:100%;height:100%;object-fit:cover}.hero-main-image{min-height:230px}.hero-mini .image-placeholder{min-height:132px}

/* Uploaded media sizing for editable homepage sections */
.activity-card>img{width:100%;height:150px;object-fit:cover;border-radius:10px;margin-bottom:18px}.president-photo img{width:100%;height:100%;min-height:360px;object-fit:cover}.magazine-cover img{width:100%;height:100%;min-height:260px;object-fit:cover;border-radius:12px}.gallery-item{display:block}.gallery-item img{width:100%;height:100%;object-fit:cover}.pagination{margin-top:28px}

/* FINAL FIX: consistent image crops, rounded image frames, and aligned news cards */
#haberler .container{width:min(1160px,calc(100% - 40px));margin-left:auto;margin-right:auto;}
#haberler .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;align-items:stretch;gap:20px;width:100%;}
#haberler .news-grid>.card{grid-column:auto!important;grid-row:auto!important;align-self:stretch;justify-self:stretch;width:100%;min-width:0;max-width:none;}
#haberler .news-grid .card-image{display:block;position:relative;width:100%;height:210px;min-height:210px;max-height:210px;flex:0 0 210px;padding:0;overflow:hidden;line-height:0;border-radius:0;background:linear-gradient(135deg,#e8f2fa,#d5e6f5);}
#haberler .news-grid .card-image img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;border-radius:0;}
.card,.image-placeholder,.hero-main-image,.hero-mini .image-placeholder,.about-visual .image-placeholder,.president-photo,.activity-card,.gallery-item,.magazine-cover{overflow:hidden;border-radius:var(--radius);}
.image-placeholder img,.hero-main-image img,.hero-mini .image-placeholder img,.about-visual .image-placeholder img,.president-photo img,.activity-card>img,.gallery-item img,.magazine-cover img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border-radius:0;}
.hero-main-image,.hero-mini .image-placeholder,.about-visual .image-placeholder{padding:0;}
.hero-main-image img,.hero-mini .image-placeholder img,.about-visual .image-placeholder img{position:absolute;inset:0;}
.hero-main-image,.hero-mini .image-placeholder,.about-visual .image-placeholder{position:relative;}
.president-photo{position:relative;padding:0;}
.president-photo img{position:absolute;inset:0;min-height:0;}
.gallery-item img{height:100%;}
@media(max-width:900px){#haberler .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){#haberler .container{width:min(100% - 28px,1160px);}#haberler .news-grid{grid-template-columns:minmax(0,1fr);}#haberler .news-grid .card-image{height:190px;min-height:190px;max-height:190px;flex-basis:190px;}}


/* Corrected news section markup/layout and uniform image frames */
#haberler .container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
#haberler .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
#haberler .section-head>div{min-width:0;flex:1}
#haberler .section-head>.text-link{display:inline-flex;flex:0 0 auto;align-items:center}
#haberler .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px;width:100%}
#haberler .news-grid>.card{display:flex;flex-direction:column;min-width:0;width:100%;max-width:none;align-self:stretch;overflow:hidden;border-radius:var(--radius)}
#haberler .news-grid .card-image{position:relative;display:block;flex:0 0 auto;width:100%;height:210px;min-height:210px;max-height:210px;padding:0;overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;line-height:0}
#haberler .news-grid .card-image img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;border-radius:inherit}
#haberler .news-grid .card-body{flex:1;min-width:0;overflow-wrap:anywhere}
#haberler .news-grid .card-image:not(:has(img)){display:grid;place-items:center;line-height:1.4}
@media(max-width:900px){#haberler .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#haberler .container{width:calc(100% - 28px)}#haberler .section-head{align-items:flex-start;flex-direction:column}#haberler .news-grid{grid-template-columns:minmax(0,1fr)}#haberler .news-grid .card-image{height:190px;min-height:190px;max-height:190px}}
/* Make uploaded photos fill their rounded frames without distortion */
.hero-main-image,.hero-mini .image-placeholder,.about-visual .image-placeholder,.president-photo,.gallery-item,.magazine-cover{overflow:hidden;border-radius:var(--radius)}
.hero-main-image img,.hero-mini .image-placeholder img,.about-visual .image-placeholder img,.president-photo img,.gallery-item img,.magazine-cover img,.activity-card>img{display:block;max-width:none;object-fit:cover;object-position:center;border-radius:0}

/* FINAL OVERRIDE: fill every image frame edge-to-edge, keep rounded corners */
.hero-visual .hero-main-image,
.hero-visual .hero-mini .image-placeholder,
.about-visual .image-placeholder,
.president-photo,
.gallery-item,
.magazine-cover {
  position: relative !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--radius) !important;
  box-sizing: border-box !important;
}
.hero-visual .hero-main-image { height: 400px !important; min-height: 400px !important; }
.hero-visual .hero-mini .image-placeholder { height: 160px !important; min-height: 160px !important; }
.about-visual .image-placeholder { height: 380px !important; min-height: 380px !important; }
.president-photo { min-height: 360px !important; }
.gallery-item { height: 100% !important; min-height: 0 !important; }
.magazine-cover { height: 260px !important; min-height: 260px !important; }
.hero-visual .hero-main-image > img,
.hero-visual .hero-mini .image-placeholder > img,
.about-visual .image-placeholder > img,
.president-photo > img,
.gallery-item > img,
.magazine-cover > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
}
.activity-card > img { display:block !important; width:100% !important; height:160px !important; max-width:none !important; object-fit:cover !important; object-position:center !important; border-radius:10px !important; }
#haberler .news-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
#haberler .news-grid > .card { min-width:0 !important; width:100% !important; }
#haberler .news-grid .card-image { position:relative !important; height:210px !important; min-height:210px !important; padding:0 !important; overflow:hidden !important; }
#haberler .news-grid .card-image > img { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; max-width:none !important; object-fit:cover !important; object-position:center !important; }
@media (max-width:900px) {
 .hero-visual .hero-main-image { height:300px !important; min-height:300px !important; }
 .hero-visual .hero-mini .image-placeholder { height:140px !important; min-height:140px !important; }
 #haberler .news-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:650px) {
 .hero-visual .hero-main-image { height:230px !important; min-height:230px !important; }
 .hero-visual .hero-mini .image-placeholder { height:130px !important; min-height:130px !important; }
 .about-visual .image-placeholder { height:240px !important; min-height:240px !important; }
 #haberler .news-grid { grid-template-columns:minmax(0,1fr) !important; }
 #haberler .news-grid .card-image { height:190px !important; min-height:190px !important; }
}


/* FIX 2026-10: image uploads must fill their designed frames */
.image-placeholder:has(img) {
  display:block !important;
  position:relative !important;
  overflow:hidden !important;
  padding:0 !important;
  isolation:isolate;
}
.image-placeholder:has(img)::before,
.image-placeholder:has(img)::after {
  content:none !important;
  display:none !important;
}
.image-placeholder > img,
.image-placeholder > a > img,
.image-placeholder img {
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:inherit !important;
  margin:0 !important;
}
.hero-main-image,
.hero-visual .image-placeholder,
.hero-mini .image-placeholder,
.about-visual .image-placeholder,
.president-photo,
.gallery-grid .card-image,
.news-grid .card-image {
  overflow:hidden !important;
  border-radius:var(--radius) !important;
}
.hero-mini .image-placeholder { border-radius:14px !important; }
.president-photo { position:relative !important; padding:0 !important; }
.president-photo > img {
  position:absolute !important; inset:0 !important;
  width:100% !important; height:100% !important;
  max-width:none !important; max-height:none !important;
  object-fit:cover !important; object-position:center !important;
  border-radius:inherit !important;
}
.news-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; align-items:stretch !important; }
.news-grid .card { min-width:0 !important; display:flex !important; flex-direction:column !important; height:100% !important; }
.news-grid .card-image { position:relative !important; display:block !important; flex:0 0 210px !important; width:100% !important; height:210px !important; min-height:210px !important; max-height:210px !important; padding:0 !important; line-height:0 !important; }
.news-grid .card-image > a { position:absolute !important; inset:0 !important; display:block !important; width:100% !important; height:100% !important; }
.news-grid .card-image img { position:absolute !important; inset:0 !important; display:block !important; width:100% !important; height:100% !important; max-width:none !important; max-height:none !important; object-fit:cover !important; object-position:center !important; border-radius:inherit !important; }
.news-grid .card-body { flex:1 1 auto !important; min-width:0 !important; overflow-wrap:anywhere !important; }
@media(max-width:900px){ .news-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;} }
@media(max-width:650px){ .news-grid{grid-template-columns:1fr !important;} .news-grid .card-image{flex-basis:190px !important;height:190px !important;min-height:190px !important;max-height:190px !important;} }


/* ITOGB image-frame correction v1.0.4: one consistent, edge-to-edge image rule */
.hero-visual .hero-main-image,
.hero-visual .hero-mini .image-placeholder,
.about-visual .image-placeholder,
.president-photo,
.activity-card,
.gallery-grid .gallery-item,
.gallery-item,
.magazine-cover,
#haberler .card-image,
#duyurular .card-image {
  position: relative !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border-radius: var(--radius, 18px) !important;
}
.hero-visual .hero-main-image { height: 400px !important; min-height: 0 !important; }
.hero-visual .hero-mini .image-placeholder { height: 160px !important; min-height: 0 !important; }
.about-visual .image-placeholder { height: 380px !important; min-height: 0 !important; }
.president-photo { min-height: 360px !important; }
.magazine-cover { height: 260px !important; min-height: 0 !important; }
.gallery-grid .gallery-item { min-width: 0 !important; min-height: 0 !important; }
.hero-visual .image-placeholder::before,
.hero-visual .image-placeholder::after,
.about-visual .image-placeholder::before,
.about-visual .image-placeholder::after { content: none !important; display: none !important; }
.hero-visual .hero-main-image > img,
.hero-visual .hero-mini .image-placeholder > img,
.about-visual .image-placeholder > img,
.president-photo > img,
.activity-card > img,
.gallery-grid .gallery-item > img,
.gallery-item > img,
.magazine-cover > img,
#haberler .card-image > img,
#duyurular .card-image > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
}
.hero-visual .hero-main-image > img,
.hero-visual .hero-mini .image-placeholder > img,
.about-visual .image-placeholder > img,
.president-photo > img,
.gallery-grid .gallery-item > img,
.gallery-item > img,
.magazine-cover > img,
#haberler .card-image > img,
#duyurular .card-image > img { position: absolute !important; inset: 0 !important; }
.activity-card > img { height: 160px !important; object-fit: cover !important; border-radius: 0 !important; }
#haberler .news-grid,
#duyurular .news-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-items: stretch !important; gap: 20px !important; }
#haberler .news-grid > .card,
#duyurular .news-grid > .card { display: flex !important; flex-direction: column !important; width: 100% !important; min-width: 0 !important; align-self: stretch !important; overflow: hidden !important; border-radius: var(--radius, 18px) !important; }
#haberler .card-image,
#duyurular .card-image { height: 210px !important; min-height: 210px !important; max-height: 210px !important; flex: 0 0 210px !important; border-radius: var(--radius, 18px) var(--radius, 18px) 0 0 !important; }
#haberler .card-image > img,
#duyurular .card-image > img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
@media (max-width: 900px) {
 .hero-visual .hero-main-image { height: 300px !important; }
 .hero-visual .hero-mini .image-placeholder { height: 140px !important; }
 #haberler .news-grid, #duyurular .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 650px) {
 .hero-visual .hero-main-image { height: 230px !important; }
 .hero-visual .hero-mini .image-placeholder { height: 130px !important; }
 .about-visual .image-placeholder { height: 240px !important; }
 #haberler .news-grid, #duyurular .news-grid { grid-template-columns: minmax(0, 1fr) !important; }
 #haberler .card-image, #duyurular .card-image { height: 190px !important; min-height: 190px !important; max-height: 190px !important; flex-basis: 190px !important; }
}


/* ITOGB final layout fixes: header, activity cards, and responsive spacing */
.site-header .header-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:nowrap!important;min-width:0!important}
.site-header .brand.brand-with-emblem{display:flex!important;align-items:center!important;flex:0 1 330px!important;min-width:0!important;max-width:330px!important;gap:10px!important;white-space:normal!important}
.site-header .togb-emblem{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;flex:0 0 48px!important;object-fit:contain!important}
.site-header .brand-wordmark{min-width:0!important;font-size:15px!important;line-height:1.15!important;white-space:normal!important}
.site-header .brand-wordmark small{font-size:9px!important;line-height:1.25!important;white-space:normal!important}
.site-header .main-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:1 1 auto!important;min-width:0!important;gap:14px!important}
.site-header .main-nav ul.menu{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:14px!important;min-width:0!important;margin:0!important;padding:0!important}
.site-header .main-nav ul.menu>li{display:block!important;flex:0 0 auto!important;min-width:0!important;margin:0!important;padding:0!important}
.site-header .main-nav ul.menu>li>a{display:block!important;padding:8px 0!important;font-size:12px!important;line-height:1.3!important;white-space:nowrap!important}
.site-header .header-search{flex:0 0 auto!important;margin-left:0!important;max-width:160px!important}
.site-header .header-search input[type=search]{width:100px!important}
.activity-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:18px!important;width:100%!important}
.activity-grid>.activity-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;padding:22px!important}
.activity-card h3,.activity-card p{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important}
.activity-card>img{display:block!important;width:100%!important;height:160px!important;flex:0 0 160px!important;max-width:none!important;object-fit:cover!important;object-position:center!important;margin:0 0 16px!important;border-radius:0!important}
.activity-card .activity-icon{flex:0 0 44px!important;margin:0 0 20px!important}
.magazine{display:none!important}
@media(max-width:1100px){.site-header .header-inner{gap:10px!important}.site-header .brand.brand-with-emblem{flex-basis:260px!important;max-width:260px!important}.site-header .main-nav ul.menu{gap:9px!important}.site-header .main-nav ul.menu>li>a{font-size:11px!important}.site-header .header-search input[type=search]{width:78px!important}}
@media(max-width:900px){.site-header .header-inner{flex-wrap:wrap!important}.site-header .brand.brand-with-emblem{flex:1 1 240px!important;max-width:calc(100% - 60px)!important}.site-header .menu-toggle{display:block!important;flex:0 0 auto!important}.site-header .main-nav{display:none!important;order:5!important;flex:0 0 100%!important;width:100%!important}.site-header .header-inner.menu-open .main-nav{display:flex!important}.site-header .main-nav ul.menu{flex-direction:column!important;align-items:flex-start!important;width:100%!important;gap:8px!important}.site-header .main-nav ul.menu>li>a{font-size:14px!important;white-space:normal!important}.site-header .header-search{margin-left:auto!important}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.activity-grid{grid-template-columns:minmax(0,1fr)!important}.activity-grid>.activity-card{padding:20px!important}.site-header .brand-wordmark{font-size:12px!important}.site-header .brand-wordmark small{font-size:8px!important}}


/* ==========================================
   ITOGB BAŞVURU SAYFASI - MODERN MAVİ BEYAZ TASARIM
   ========================================== */

/* ANA ALAN */
body .entry-content.togb-basvuru-page {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 24px 90px !important;
    box-sizing: border-box !important;
}

/* ÜST BAŞLIK */
body .togb-basvuru-page .togb-basvuru-hero {
    display: block !important;
    max-width: 760px !important;
    margin: 0 auto 55px !important;
    text-align: center !important;
}

.togb-basvuru-page {
    background: #eaf3ff !important;
    outline: 5px solid red !important;
}

body .togb-basvuru-page .togb-basvuru-kicker {
    display: inline-block !important;
    margin-bottom: 18px !important;
    padding: 8px 15px !important;
    border: 1px solid #dce8f5 !important;
    border-radius: 50px !important;
    background: #f1f6fc !important;
    color: #245b91 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
}

body .togb-basvuru-page .togb-basvuru-hero h1 {
    margin: 0 0 20px !important;
    color: #15365b !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    font-weight: 750 !important;
    letter-spacing: -1.8px !important;
    line-height: 1.15 !important;
}

body .togb-basvuru-page .togb-basvuru-hero p {
    max-width: 620px !important;
    margin: 0 auto !important;
    color: #687b91 !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
}

/* KART ALANI */
body .entry-content.togb-basvuru-page .togb-basvuru-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    align-items: stretch !important;
}

/* KARTLAR */
body .entry-content.togb-basvuru-page .togb-basvuru-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 38px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 1px solid #e3eaf2 !important;
    border-radius: 22px !important;
    box-shadow: 0 8px 30px rgba(25, 58, 94, 0.06) !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}

/* KARTIN ÜSTÜNDE MAVİ ÇİZGİ */
body .togb-basvuru-page .togb-basvuru-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(90deg, #174a7e, #65a9e8) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform 0.3s ease !important;
}

body .togb-basvuru-page .togb-basvuru-card:hover::before {
    transform: scaleX(1) !important;
}

/* HOVER VE HAFİF ZOOM */
body .entry-content.togb-basvuru-page .togb-basvuru-card:hover {
    transform: translateY(-7px) scale(1.01) !important;
    border-color: #c7d9ed !important;
    box-shadow: 0 20px 45px rgba(25, 58, 94, 0.12) !important;
}

/* NUMARA KUTUSU */
body .togb-basvuru-page .togb-basvuru-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 26px !important;
    border-radius: 16px !important;
    background: #edf4fc !important;
    color: #245b91 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    transition: transform 0.3s ease, background 0.3s ease !important;
}

body .togb-basvuru-page .togb-basvuru-card:hover .togb-basvuru-icon {
    transform: scale(1.07) !important;
    background: #dceafb !important;
}

/* KART ETİKETİ */
body .togb-basvuru-page .togb-basvuru-label {
    display: block !important;
    margin-bottom: 12px !important;
    color: #4778a8 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
}

/* KART BAŞLIĞI */
body .togb-basvuru-page .togb-basvuru-card h2 {
    margin: 0 0 16px !important;
    color: #173858 !important;
    font-size: clamp(24px, 3vw, 31px) !important;
    font-weight: 750 !important;
    letter-spacing: -0.7px !important;
    line-height: 1.3 !important;
}

/* KART AÇIKLAMASI */
body .togb-basvuru-page .togb-basvuru-card p {
    margin: 0 0 30px !important;
    color: #687b91 !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
}

/* BAŞVURU BUTONU */
body .togb-basvuru-page .togb-basvuru-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: auto !important;
    padding: 14px 21px !important;

    border: 1px solid #174a7e !important;
    border-radius: 10px !important;
    background: #174a7e !important;
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease !important;
}

body .togb-basvuru-page .togb-basvuru-button:hover {
    border-color: #2468a8 !important;
    background: #2468a8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* BUTON OKU */
body .togb-basvuru-page .togb-basvuru-button span {
    display: inline-block !important;
    transition: transform 0.25s ease !important;
}

body .togb-basvuru-page .togb-basvuru-button:hover span {
    transform: translate(3px, -3px) !important;
}

/* TABLET VE MOBİL */
@media (max-width: 700px) {
    body .entry-content.togb-basvuru-page {
        padding: 40px 18px 60px !important;
    }

    body .togb-basvuru-page .togb-basvuru-hero {
        margin-bottom: 35px !important;
    }

    body .togb-basvuru-page .togb-basvuru-hero p {
        font-size: 15px !important;
    }

    body .entry-content.togb-basvuru-page .togb-basvuru-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    body .entry-content.togb-basvuru-page .togb-basvuru-card {
        padding: 28px 24px !important;
    }

    body .togb-basvuru-page .togb-basvuru-card p {
        font-size: 14px !important;
    }
}

/* HAREKETİ AZALTMA TERCİHİ */
@media (prefers-reduced-motion: reduce) {
    body .togb-basvuru-page .togb-basvuru-card,
    body .togb-basvuru-page .togb-basvuru-icon,
    body .togb-basvuru-page .togb-basvuru-button,
    body .togb-basvuru-page .togb-basvuru-button span,
    body .togb-basvuru-page .togb-basvuru-card::before {
        transition: none !important;
    }

    body .togb-basvuru-page .togb-basvuru-card:hover,
    body .togb-basvuru-page .togb-basvuru-card:hover .togb-basvuru-icon {
        transform: none !important;
    }
}

body .togb-basvuru-page .togb-basvuru-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    background: #eaf4fc !important;
    padding: 20px !important;
}

body .togb-basvuru-page .togb-basvuru-card {
    background: #ffffff !important;
    border: 2px solid red !important;
    border-radius: 22px !important;
    padding: 35px !important;
}

/* ITOGB BAŞVURU KARTLARI - KESİN DÜZENLEME */

html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
}

html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards article.togb-basvuru-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 35px !important;
    background: #ffffff !important;
    border: 1px solid #dce7f0 !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 34px rgba(16, 42, 67, .08) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
}

html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards article.togb-basvuru-card:hover {
    transform: translateY(-7px) scale(1.01) !important;
    box-shadow: 0 20px 45px rgba(25, 58, 94, .12) !important;
}

html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards article.togb-basvuru-card h2 {
    color: #173858 !important;
}

html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards article.togb-basvuru-card p {
    color: #687b91 !important;
}

html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards article.togb-basvuru-card .togb-basvuru-button {
    display: inline-flex !important;
    margin-top: auto !important;
    padding: 14px 21px !important;
    border-radius: 10px !important;
    background: #174a7e !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 700px) {
    html body main.entry-content.togb-basvuru-page section.togb-basvuru-cards {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Haber ve duyuru detay sayfalarında görsel ve başlık çakışmasını düzelt */
body.single .entry-content > article.card {
    display: block !important;
    overflow: hidden;
}

body.single .entry-content > article.card > .card-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

body.single .entry-content > article.card > .card-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

body.single .entry-content > article.card > .card-body {
    position: relative;
    display: block;
    padding: 24px;
    background: #fff;
}

body.single .entry-content > article.card > .card-body h2 {
    position: static;
    margin: 0 0 20px;
    color: #12304a;
}

body.single .entry-content > article.card .entry-text {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body.single .entry-content > article.card .entry-text img {
    max-width: 100%;
    height: auto;
}

/* =====================================
   DUYURULAR VE YAZARLAR SAYFASI GENİŞLİĞİ
   Yalnızca sayfa 246 ve 442
===================================== */

/* Duyurular ve Yazarlar sayfalarının ana alanı */
body.page-id-246 main.entry-content,
body.page-id-442 main.entry-content {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Sayfaların içindeki beyaz kutuyu genişlet */
body.page-id-246 main.entry-content > *,
body.page-id-442 main.entry-content > * {
    box-sizing: border-box;
}

/* Duyurular kartları */
body.page-id-246 .news-grid,
body.page-id-246 .togb-duyurular-grid {
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Mobil uyumluluk */
@media (max-width: 900px) {
    body.page-id-246 .news-grid,
    body.page-id-246 .togb-duyurular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    body.page-id-246 .news-grid,
    body.page-id-246 .togb-duyurular-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   ITOGB - DUYURULAR VE YAZARLAR TAM GENİŞLİK
   Yalnızca 246 ve 442 numaralı sayfalar
========================================== */

/* Sayfanın ana içerik alanını genişlet */
body.page-id-246 main.entry-content,
body.page-id-442 main.entry-content {
    width: calc(100% - 60px) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Duyurular sayfasındaki dış kapsayıcıları genişlet */
body.page-id-246 main.entry-content .container,
body.page-id-246 main.entry-content .section,
body.page-id-246 main.entry-content .news-grid,
body.page-id-246 main.entry-content .togb-duyurular-grid {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Duyurular kartlarını üç sütunda tut */
body.page-id-246 .togb-duyurular-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

/* Yazarlar sayfasının başlık alanını genişlet */
body.page-id-442 main.entry-content > * {
    max-width: none !important;
}

/* Tablet */
@media (max-width: 900px) {
    body.page-id-246 .togb-duyurular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Telefon */
@media (max-width: 600px) {
    body.page-id-246 main.entry-content,
    body.page-id-442 main.entry-content {
        width: calc(100% - 28px) !important;
    }

    body.page-id-246 .togb-duyurular-grid {
        grid-template-columns: 1fr !important;
    }
}