/*
Theme Name: İnsan Onuru
Theme URI: https://insanonuru.org.tr/
Author: İnsan Onuru Eğitim ve Yardımlaşma Derneği
Description: İnsan Onuru Derneği için blok teması (v2: slaytlı ana sayfa, yuvarlak köşeler). GiveWP (bağış) ve Contact Form 7 (gönüllü, iletişim) ile uyumludur. Etkinlikler için "İnsan Onuru Etkinlikler" eklentisiyle birlikte kullanılır.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: insanonuru
*/

/* ---------- Genel ---------- */
*,*::before,*::after{box-sizing:border-box}
img{max-width:100%;height:auto}
:where(.wp-site-blocks) > *{margin-block-start:0}
.wp-site-blocks::before{content:"";display:block;height:5px;background:linear-gradient(90deg,#0B4FA0 0 33.333%,#C8312B 33.333% 66.666%,#2F7D32 66.666% 100%)}
.screen-reader-text:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
:focus-visible{outline:2px solid #0B4FA0;outline-offset:2px}

/* ---------- Üst bar ---------- */
.io-topbar a{color:#fff;text-decoration:none}
.io-topbar a:hover{text-decoration:underline;color:#fff}
.io-topbar p{margin:0}

/* ---------- Başlık ---------- */
.io-brand{text-decoration:none;display:flex;align-items:center;gap:12px}
.io-brand-name{font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:28px;line-height:1;text-transform:uppercase;color:var(--wp--preset--color--mavi);display:block}
.io-brand-sub{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--mavi);font-weight:600;line-height:1.4;margin-top:3px}
.io-header .wp-block-navigation a{padding:10px 14px;border-radius:999px;transition:background .15s}
.io-header .wp-block-navigation a:hover,
.io-header .wp-block-navigation .current-menu-item > a,
.io-header .wp-block-navigation a[aria-current="page"]{color:var(--wp--preset--color--mavi);background:#EEF3FA}
.io-header .wp-block-navigation__responsive-container.is-menu-open{padding:24px 16px}
.io-header .wp-block-navigation__responsive-container.is-menu-open a{font-size:20px;border-radius:0;background:none;border-bottom:1px solid var(--wp--preset--color--cizgi);width:100%;padding:12px 0}
.io-header .wp-block-navigation__responsive-container-open{border:1.5px solid #16181D;border-radius:12px;padding:10px 14px;min-height:44px;font-weight:600}
.io-header .wp-block-navigation__responsive-container-open::after{content:"Menü";margin-left:8px;font-size:15px}

/* ---------- Butonlar ---------- */
.wp-block-button.is-style-cizgi .wp-block-button__link{background:transparent;color:#16181D;box-shadow:inset 0 0 0 1.5px #16181D}
.wp-block-button.is-style-cizgi .wp-block-button__link:hover{background:#16181D;color:#fff}
.wp-block-button.is-style-mavi .wp-block-button__link{background:var(--wp--preset--color--mavi);color:#fff}
.wp-block-button.is-style-mavi .wp-block-button__link:hover{background:var(--wp--preset--color--mavi-koyu)}
.wp-block-button.is-style-beyaz .wp-block-button__link{background:#fff;color:var(--wp--preset--color--mavi)}
.wp-block-button__link{min-height:48px;display:inline-flex;align-items:center;justify-content:center}

/* ---------- Bölüm başlığı ---------- */
.io-sec-head{border-bottom:2px solid #16181D;padding-bottom:12px;margin-bottom:32px!important}
.io-sec-head h2{margin:0}
.io-sec-head a{font-weight:600;text-decoration:none;white-space:nowrap}

/* ---------- Sayfa bandı ---------- */
.io-band{border-top:1px solid var(--wp--preset--color--cizgi);border-bottom:1px solid var(--wp--preset--color--cizgi)}
.io-crumb a{color:var(--wp--preset--color--gri-acik)}

/* ---------- Ayraçlı listeler ---------- */
.io-jump{gap:0!important;padding:18px 0;border-bottom:1px solid var(--wp--preset--color--cizgi)}
.io-jump p{margin:0}
.io-jump a{text-decoration:none;font-weight:600}
.io-jump > * + *{border-left:1px solid #C9CCD1;padding-left:28px;margin-left:28px!important}
.wp-block-categories.io-cats{list-style:none;margin:0;padding:18px 0;display:flex;flex-wrap:wrap;border-bottom:1px solid var(--wp--preset--color--cizgi)}
.wp-block-categories.io-cats li a{text-decoration:none;font-weight:600;color:var(--wp--preset--color--gri-metin)}
.wp-block-categories.io-cats li + li{border-left:1px solid #C9CCD1;padding-left:24px;margin-left:24px}
.wp-block-categories.io-cats .current-cat a{color:#16181D;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}

/* Yazı ızgarası: yazılar arası dikey ve yatay ayraç */
.io-grid .wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;border-bottom:1px solid var(--wp--preset--color--cizgi)}
.io-grid .wp-block-post-template > li{padding:28px 28px 36px;border-top:1px solid var(--wp--preset--color--cizgi);border-left:1px solid var(--wp--preset--color--cizgi);margin:0}
.io-grid .wp-block-post-template > li:nth-child(3n+1){border-left:0;padding-left:0}
.io-grid .wp-block-post-template > li:nth-child(3n){padding-right:0}
.io-grid .wp-block-post-template > li:nth-child(-n+3){border-top:0;padding-top:0}
.io-grid .wp-block-post-featured-image{margin-bottom:14px}
.io-grid .wp-block-post-title a,.io-list .wp-block-post-title a{color:#16181D;text-decoration:none}
.io-grid .wp-block-post-title a:hover,.io-list .wp-block-post-title a:hover{color:var(--wp--preset--color--mavi)}

/* Liste (yan haberler) */
.io-list .wp-block-post-template > li{padding:20px 0;border-bottom:1px solid var(--wp--preset--color--cizgi);margin:0}
.io-list .wp-block-post-template > li:first-child{padding-top:0}
.io-news-side{border-left:1px solid var(--wp--preset--color--cizgi);padding-left:48px}

/* Etkinlik satırları */
.io-events .wp-block-post-template{border-top:1px solid var(--wp--preset--color--cizgi)}
.io-events .wp-block-post-template > li{border-bottom:1px solid var(--wp--preset--color--cizgi);padding:24px 0;margin:0}
.io-ev-row{display:grid!important;grid-template-columns:96px minmax(0,1fr) 220px auto;gap:28px;align-items:center}
.io-ev-row .wp-block-post-title{margin:0}
.io-ev-row .wp-block-post-title a{color:#16181D;text-decoration:none}
.io-ev-row .wp-block-post-excerpt{margin:6px 0 0}
.io-ev-row .wp-block-post-excerpt p{margin:0}
.io-date{display:block;text-align:center;background:var(--wp--preset--color--mavi);color:#fff;border-radius:14px;padding:10px 0;line-height:1.1}
.io-date-d{display:block;font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:34px;line-height:1}
.io-date-m{display:block;font-size:13px;font-weight:600;text-transform:uppercase;margin-top:4px}
.io-ev-meta{color:var(--wp--preset--color--gri-metin);font-size:15px}
.io-ev-meta strong{display:block;color:#16181D}
.io-tabs{display:flex;gap:8px;margin-bottom:24px}
.io-tabs a{min-height:48px;display:inline-flex;align-items:center;padding:0 22px;font-weight:600;color:#16181D;text-decoration:none;border-radius:999px;box-shadow:inset 0 0 0 1.5px #D3D6DB}
.io-tabs a:hover{box-shadow:inset 0 0 0 1.5px var(--wp--preset--color--mavi)}
body:not(.io-gecmis) .io-tabs .io-tab-up,
body.io-gecmis .io-tabs .io-tab-past{color:#fff;background:var(--wp--preset--color--mavi);box-shadow:none}

/* Kart görünmeyen çalışma ızgarası */
.io-areas .wp-block-image{margin-bottom:18px}
.io-areas h3{margin:0 0 8px}
.io-areas p{margin:0 0 12px}

/* Görsel + metin satırları (Çalışmalarımız) */
.io-rows > .io-row{padding:56px 0;margin:0!important;border-bottom:1px solid var(--wp--preset--color--cizgi);scroll-margin-top:24px}
.io-rows > .io-row:last-child{border-bottom:0}
.io-rows ul{color:var(--wp--preset--color--gri-metin)}

/* Şeffaflık şeridi */
.io-trust > .wp-block-column{padding:24px;border-left:1px solid var(--wp--preset--color--cizgi)}
.io-trust > .wp-block-column:first-child{border-left:0;padding-left:0}
.io-trust p{margin:0}

/* Kurumsal kenar menü ve belge satırları */
.io-side a{display:block;padding:12px 0;border-bottom:1px solid var(--wp--preset--color--cizgi);text-decoration:none;font-weight:600;color:#16181D}
.io-side p{margin:0}
.io-rule-rows > *{padding:18px 0;border-bottom:1px solid var(--wp--preset--color--cizgi);margin:0!important}
.io-rule-rows p{margin:0}
.io-steps{list-style:none;padding:0;margin:0;counter-reset:s}
.io-steps li{counter-increment:s;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid var(--wp--preset--color--cizgi)}
.io-steps li::before{content:counter(s);font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:26px;color:var(--wp--preset--color--mavi);line-height:1}
.io-iban{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:16px}

.io-goals{columns:2;column-gap:48px;color:var(--wp--preset--color--gri-metin)}
.io-goals li{margin-bottom:12px;break-inside:avoid}
.io-side{position:relative}
.io-band .wp-block-post-title,.io-band h1{margin:0}

/* ---------- Formlar (Contact Form 7, GiveWP) ---------- */
.wpcf7 label{display:block;font-weight:600;font-size:14px}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 input[type=number],.wpcf7 select,.wpcf7 textarea{width:100%;min-height:48px;padding:10px 12px;margin-top:6px;border:1.5px solid #C9CCD1;border-radius:12px;font:inherit;font-size:16px;background:#fff;color:#16181D}
.wpcf7 input:focus,.wpcf7 select:focus,.wpcf7 textarea:focus{border-color:var(--wp--preset--color--mavi);outline:none}
.wpcf7 .wpcf7-checkbox .wpcf7-list-item{display:block;margin:0;min-height:40px}
.wpcf7 .wpcf7-list-item label{display:flex;gap:10px;align-items:center;font-weight:500;font-size:16px}
.wpcf7 input[type=checkbox]{width:20px;height:20px}
.wpcf7 input[type=submit]{min-height:56px;padding:0 32px;background:var(--wp--preset--color--mavi);color:#fff;border:0;border-radius:12px;font:600 18px var(--wp--preset--font-family--barlow);cursor:pointer}
.wpcf7 input[type=submit]:hover{background:var(--wp--preset--color--mavi-koyu)}
.io-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.io-form-grid p,.wpcf7 p{margin:0 0 16px}
.io-form-checks .wpcf7-checkbox{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}
.io-form-title{font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:28px;text-transform:uppercase;border-bottom:2px solid #16181D;padding-bottom:10px;margin:32px 0 20px}
.io-form-title:first-child{margin-top:0}
.give-btn,.give-donation-level-btn{border-radius:12px!important}

/* ---------- Altbilgi ---------- */
.io-footer{position:relative;border-radius:28px 28px 0 0}
.io-footer a{color:#D5D7DB;text-decoration:none}
.io-footer a:hover{color:#fff;text-decoration:underline}
.io-footer p{margin:0 0 8px}

/* ---------- Telefon ---------- */
@media (max-width:960px){
.io-grid .wp-block-post-template{grid-template-columns:minmax(0,1fr)}
.io-grid .wp-block-post-template > li,.io-grid .wp-block-post-template > li:nth-child(-n+3){border-left:0;padding:24px 0;border-top:1px solid var(--wp--preset--color--cizgi)}
.io-grid .wp-block-post-template > li:first-child{border-top:0;padding-top:0}
.io-news-side{border-left:0;padding-left:0;border-top:1px solid var(--wp--preset--color--cizgi);padding-top:24px}
.io-ev-row{grid-template-columns:72px minmax(0,1fr)}
.io-ev-row > :nth-child(n+3){grid-column:2}
.io-jump{flex-direction:column;align-items:flex-start!important}
.io-jump > * + *{border-left:0;padding-left:0;margin-left:0!important;border-top:1px solid var(--wp--preset--color--cizgi)}
.io-jump > *{padding:10px 0;width:100%}
.io-trust > .wp-block-column{border-left:0;padding:20px 0;border-top:1px solid var(--wp--preset--color--cizgi)}
.io-rows > .io-row{padding:32px 0}
.io-form-grid,.io-form-checks .wpcf7-checkbox{grid-template-columns:minmax(0,1fr)}
.io-goals{columns:1}
.io-board{grid-template-columns:minmax(0,1fr)!important}
.io-topbar .io-topbar-left{display:none}
.io-brand-name{font-size:22px}
.io-brand-sub{font-size:10px}
}
@media (max-width:600px){
.io-brand img{width:42px;height:auto}
.io-brand-sub{display:none}
.io-header .io-header-donate .wp-block-button__link{padding:10px 14px;min-height:44px;font-size:15px}
.io-header .wp-block-navigation__responsive-container-open::after{display:none}
}
.io-sec-head + .io-events .wp-block-post-template{border-top:0}

/* =====================================================================
   v2: görsel ağırlıklı ana sayfa, yuvarlak köşeler
   ===================================================================== */
.wp-block-button.is-style-hayalet .wp-block-button__link{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7)}
.wp-block-button.is-style-hayalet .wp-block-button__link:hover{background:#fff;color:#16181D}
.wp-block-button.is-style-beyaz .wp-block-button__link:hover{background:#EEF3FA;color:var(--wp--preset--color--mavi-koyu)}

/* Görseller */
main .wp-block-image img,
main .wp-block-post-featured-image img,
main .wp-block-post-featured-image a{border-radius:16px}
.io-grid .wp-block-post-featured-image{overflow:hidden;border-radius:16px}

/* Bölüm başlığı (ana sayfa) */
.io-head{margin-bottom:28px!important;gap:16px}
.io-head h2{margin:0;font-size:44px}
.io-head p{margin:6px 0 0;color:var(--wp--preset--color--gri-acik)}
.io-head .io-more,.io-head .io-more a{margin:0;color:var(--wp--preset--color--mavi);font-weight:600;text-decoration:none;white-space:nowrap}
.io-head .io-more a:hover{text-decoration:underline}
.io-head-solo{font-size:44px;margin:0 0 28px!important}

/* Sayfa başlığı bandı: görselli, yuvarlak */
.io-hero{position:relative;max-width:min(1216px,calc(100% - 64px));margin:4px auto 0!important;border-radius:24px;overflow:hidden;background-color:#16181D;background-position:center;background-size:cover;background-repeat:no-repeat;color:#fff;border:0}
.io-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,16,20,.82) 0%,rgba(14,16,20,.35) 70%,rgba(14,16,20,.15) 100%)}
.io-hero > *{position:relative}
.io-hero h1,.io-hero .wp-block-post-title,.io-hero .wp-block-query-title,.io-hero a,.io-hero .wp-block-post-date,.io-hero .wp-block-post-terms a{color:#fff!important}
.io-hero p,.io-hero .has-gri-metin-color{color:#E6E8EB!important}
.io-hero .io-crumb a{color:#E6E8EB!important}

/* Slayt */
.io-hero-home{position:relative}
.io-slider{position:relative;border-radius:24px;overflow:hidden;background:#16181D}
.io-slider:not(.is-ready) > .io-slide ~ .io-slide{display:none}
.io-track{display:flex;transition:transform .6s cubic-bezier(.4,0,.2,1)}
.io-slide{flex:0 0 100%;margin:0!important;padding:0 64px 64px!important;align-items:center!important}
.io-slide .wp-block-cover__background{opacity:1!important;background:linear-gradient(90deg,rgba(14,16,20,.78) 0%,rgba(14,16,20,.45) 45%,rgba(14,16,20,0) 75%)!important}
.io-slide .wp-block-cover__inner-container{max-width:560px!important;color:#fff}
.io-tag{display:inline-flex;align-items:center;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:6px 12px;border-radius:999px;background:var(--wp--preset--color--kirmizi);color:#fff;margin:0 0 18px!important}
.io-slide-title{font-size:64px!important;color:#fff;margin:0!important}
.io-slide-text{font-size:19px;margin:18px 0 28px!important;color:#E6E8EB}
.io-dots{position:absolute;left:64px;bottom:108px;display:flex;gap:8px;z-index:2}
.io-dot{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.5);padding:0;cursor:pointer;transition:width .3s}
.io-dot.is-on{width:32px;background:#fff}
.io-ctrl{position:absolute;right:28px;bottom:92px;display:flex;align-items:center;gap:10px;z-index:2}
.io-cbtn{width:48px;height:48px;border-radius:999px;border:0;background:#fff;color:#16181D;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.io-cbtn:hover{background:var(--wp--preset--color--mavi);color:#fff}
.io-count{color:#fff;font-weight:600;font-size:15px;min-width:56px;text-align:center;font-variant-numeric:tabular-nums}

/* Hızlı bağış */
.io-qd{position:relative;z-index:3;margin:-64px auto 0;max-width:1120px;background:#fff;border-radius:20px;border:1px solid #E3E5E8;box-shadow:0 18px 40px rgba(22,24,29,.10);padding:28px 32px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 32px;align-items:end}
.io-qd-rows{display:flex;flex-direction:column;gap:14px}
.io-qd-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.io-qd-label{font-weight:700;margin-right:6px}
.io-pill{position:relative;display:inline-flex}
.io-pill input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.io-pill span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1.5px solid #D3D6DB;border-radius:999px;background:#fff;color:#16181D;font-weight:600;font-size:15px}
.io-pill:hover span{border-color:var(--wp--preset--color--mavi)}
.io-pill input:checked + span{background:var(--wp--preset--color--mavi);border-color:var(--wp--preset--color--mavi);color:#fff}
.io-pill input:focus-visible + span{outline:2px solid var(--wp--preset--color--mavi);outline-offset:2px}
.io-qd-other{min-height:44px;width:150px;padding:0 16px;border:1.5px solid #D3D6DB;border-radius:999px;font:inherit;font-size:15px}
.io-qd-other:focus{border-color:var(--wp--preset--color--mavi);outline:none}
.io-qd-btn{min-height:56px;min-width:200px;padding:0 24px;border:0;border-radius:12px;background:var(--wp--preset--color--kirmizi);color:#fff;font:600 17px var(--wp--preset--font-family--barlow);cursor:pointer}
.io-qd-btn:hover{background:var(--wp--preset--color--kirmizi-koyu)}

/* Çalışma karoları */
.io-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:260px;gap:20px}
.io-bento > *{margin:0!important}
.io-tile{min-height:0!important;height:100%;border-radius:20px;overflow:hidden;padding:0!important;align-items:flex-end!important}
.io-tile .wp-block-cover__image-background{transition:transform .5s}
.io-tile:hover .wp-block-cover__image-background{transform:scale(1.04)}
.io-tile .wp-block-cover__background{opacity:1!important;background:linear-gradient(0deg,rgba(14,16,20,.82) 0%,rgba(14,16,20,.35) 40%,rgba(14,16,20,0) 65%)!important}
.io-tile .wp-block-cover__inner-container{position:static;padding:0 24px 22px;width:100%!important;max-width:none!important}
.io-tile h3{font-size:28px;margin:0;position:relative;z-index:2}
.io-tile h3 a{color:#fff;text-decoration:none}
.io-tile h3 a::after{content:"";position:absolute;inset:0;z-index:3}
.io-tile h3 a:focus-visible{outline:none}
.io-tile:has(a:focus-visible){outline:3px solid var(--wp--preset--color--mavi);outline-offset:3px}
.io-tile p{margin:6px 0 0;color:#E6E8EB;font-size:15px;position:relative;z-index:2}
.io-tile-big{grid-column:span 2;grid-row:span 2}
.io-tile-big h3{font-size:40px}
.io-tile-big::after{content:"";position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:999px;z-index:2;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center no-repeat}

/* Haber kaydırma */
.io-car .wp-block-post-template{display:flex!important;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0;padding:0}
.io-car .wp-block-post-template::-webkit-scrollbar{display:none}
.io-car .wp-block-post-template > li{flex:0 0 calc((100% - 48px) / 3);scroll-snap-align:start;margin:0;border-radius:20px;overflow:hidden;background:#F5F6F4;display:flex;flex-direction:column}
.io-car .wp-block-post-featured-image{margin:0}
.io-car .wp-block-post-featured-image img,.io-car .wp-block-post-featured-image a{border-radius:0}
.io-card-in{padding:20px 22px 24px}
.io-card-in > *{margin:0}
.io-card-in .io-meta{font-size:14px;font-weight:600;color:var(--wp--preset--color--gri-acik)}
.io-card-in .wp-block-post-title{margin-top:6px}
.io-card-in .wp-block-post-title a{color:#16181D;text-decoration:none}
.io-card-in .wp-block-post-title a:hover{color:var(--wp--preset--color--mavi)}
.io-arrows{display:flex;gap:10px;margin-left:12px}
.io-abtn{width:48px;height:48px;border-radius:999px;border:1.5px solid #16181D;background:#fff;color:#16181D;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.io-abtn:hover{background:#16181D;color:#fff}
.io-abtn[disabled]{opacity:.3;cursor:default;background:#fff;color:#16181D}

/* Etkinlik kartları */
.io-evcards .wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0}
.io-evcards .wp-block-post-template > li{margin:0}
.io-evcard{height:100%;border:1px solid #E3E5E8;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.io-evcard-ph{position:relative;min-height:96px;background:#F3F4F2}
.io-evcard-ph .wp-block-post-featured-image{margin:0}
.io-evcard-ph .wp-block-post-featured-image img,.io-evcard-ph .wp-block-post-featured-image a{border-radius:0}
.io-evcard-ph .io-date{position:absolute;left:16px;bottom:-26px;width:72px;border:4px solid #fff;padding:6px 0;z-index:2}
.io-evcard-ph .io-date-d{font-size:28px}
.io-evcard-ph .io-date-m{font-size:12px;margin-top:2px}
.io-evcards li:nth-child(3n+2) .io-date{background:var(--wp--preset--color--kirmizi)}
.io-evcards li:nth-child(3n) .io-date{background:var(--wp--preset--color--yesil)}
.io-evcard-in{padding:40px 22px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
.io-evcard-in > *{margin:0}
.io-evcard-in .wp-block-post-title a{color:#16181D;text-decoration:none}
.io-evcard-in .wp-block-post-title a:hover{color:var(--wp--preset--color--mavi)}
.io-evcard-in .io-ev-meta strong{display:inline;font-weight:500;color:var(--wp--preset--color--gri-acik)}
.io-evcard-in .io-ev-meta strong::after{content:" · "}
.io-evcard-in .wp-block-read-more{margin-top:auto;padding-top:10px}

/* Galeri */
.io-gal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:220px;gap:16px;grid-auto-flow:dense}
.io-gal > .wp-block-image{margin:0!important;height:100%}
.io-gal > .wp-block-image img{width:100%;height:100%;object-fit:cover;border-radius:16px}
.io-gal > .io-tall{grid-row:span 2}
.io-gal > .io-wide{grid-column:span 2}

/* Gönüllü paneli */
.io-vol{border-radius:24px;overflow:hidden;margin:0}
.io-vol > .wp-block-column:first-child{align-self:stretch}
.io-vol .wp-block-image{margin:0;height:100%}
.io-vol .wp-block-image img{width:100%;height:100%;min-height:420px;object-fit:cover;border-radius:0}

/* Şeffaflık karoları */
.io-trust{gap:16px!important}
.io-trust > .wp-block-column,.io-trust > .wp-block-column:first-child{background:var(--wp--preset--color--zemin);border:0;border-radius:16px;padding:22px}
.io-trust > .wp-block-column > p + p{margin-top:4px}
.io-trust > .wp-block-column::before{content:"";display:block;width:40px;height:40px;border-radius:12px;margin-bottom:14px;background:#fff var(--io-ic) center/22px 22px no-repeat}
.io-ic-kayit{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3.4 8.6-8 10-4.6-1.4-8-5-8-10V6z'/%3E%3C/svg%3E")}
.io-ic-makbuz{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E")}
.io-ic-foto{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.io-ic-banka{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M5 10v8M19 10v8M9 10v8M15 10v8M3 20h18M12 3l9 5H3z'/%3E%3C/svg%3E")}

/* Altbilgi logosu */
.io-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.io-footer-brand img{width:44px;height:auto;background:#fff;border-radius:999px;padding:4px}

/* Etkinlik satırı tarih kutusu */
.io-ev-row .io-date{color:#fff}

@media (max-width:960px){
.io-hero{max-width:calc(100% - 32px);border-radius:18px;padding-top:72px!important;padding-bottom:36px!important}
.io-slide{min-height:520px!important;padding:0 20px 110px!important;align-items:flex-end!important}
.io-slider{border-radius:18px}
.io-slide .wp-block-cover__background{background:linear-gradient(0deg,rgba(14,16,20,.85) 0%,rgba(14,16,20,.35) 60%,rgba(14,16,20,.1) 100%)!important}
.io-slide-title{font-size:38px!important}
.io-slide-text{font-size:17px}
.io-dots{left:20px;bottom:58px}
.io-ctrl{right:16px;bottom:44px}
.io-count{display:none}
.io-qd{margin:-28px 8px 0;grid-template-columns:minmax(0,1fr);padding:20px}
.io-qd-btn{width:100%}
.io-head h2,.io-head-solo{font-size:34px}
.io-head{flex-wrap:wrap!important}
.io-bento{grid-template-columns:minmax(0,1fr);grid-auto-rows:220px}
.io-tile-big{grid-column:auto;grid-row:span 1}
.io-tile-big h3{font-size:30px}
.io-car .wp-block-post-template > li{flex-basis:82%}
.io-arrows{display:none}
.io-gal{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:160px}
.io-evcards .wp-block-post-template{grid-template-columns:minmax(0,1fr)}
.io-vol .wp-block-image img{min-height:260px}
.io-vol > .wp-block-column:last-child{padding:32px 24px!important}
.io-trust{flex-wrap:wrap!important}
.io-trust > .wp-block-column,.io-trust > .wp-block-column:first-child{flex-basis:100%!important;padding:22px}
}

/* Diğer eklentilerin genel buton/başlık stillerine karşı */
.io-slider button,.io-qd button,.io-arrows button{font-family:var(--wp--preset--font-family--barlow);text-transform:none;letter-spacing:normal;line-height:1;box-shadow:none;margin:0}
.io-dot{min-height:0}
.io-slide .io-slide-title{color:#fff}

/* Tablet ve dar masaüstü: menü "Menü" butonunda toplanır */
.io-header .wp-block-button__link{white-space:nowrap}
@media (max-width:1100px){
.io-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}
.io-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none}
}
.io-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.io-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:stretch!important;width:100%}
.io-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{max-width:720px;margin:0 auto;padding-top:48px}
.io-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%}

/* =====================================================================
   v2.1: banka hesapları, bağış türleri, bağış sayfaları
   ===================================================================== */
.io-hesaplar{display:flex;flex-direction:column;gap:12px}
.io-hesap-alici{margin:0 0 4px;font-size:15px;color:var(--wp--preset--color--gri-metin)}
.io-hesap-alici span{font-weight:700;color:#16181D;margin-right:6px}
.io-hesap{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;background:var(--wp--preset--color--zemin);border-radius:16px;padding:16px 18px}
.io-hesap-para{display:flex;align-items:center;justify-content:center;height:48px;border-radius:12px;background:var(--wp--preset--color--mavi);color:#fff;font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:20px}
.io-hesap:nth-of-type(3) .io-hesap-para{background:var(--wp--preset--color--yesil)}
.io-hesap:nth-of-type(4) .io-hesap-para{background:var(--wp--preset--color--kirmizi)}
.io-hesap-bilgi{display:flex;flex-direction:column;gap:2px;min-width:0}
.io-hesap-iban{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:17px;font-weight:600;letter-spacing:.02em;word-break:normal;overflow-wrap:anywhere}
.io-hesap-no{font-size:14px;color:var(--wp--preset--color--gri-acik)}
.io-kopyala{min-height:40px;padding:0 16px;border-radius:999px;border:1.5px solid #16181D;background:#fff;color:#16181D;font:600 14px var(--wp--preset--font-family--barlow);cursor:pointer;white-space:nowrap}
.io-kopyala:hover{background:#16181D;color:#fff}
.io-kopyala.is-ok{background:var(--wp--preset--color--yesil);border-color:var(--wp--preset--color--yesil);color:#fff}
.io-hesap-not{margin:4px 0 0;font-size:15px;color:var(--wp--preset--color--gri-metin)}
.io-hesaplar.is-sade .io-hesap{grid-template-columns:52px minmax(0,1fr) auto;padding:14px}
.io-hesaplar.is-sade .io-hesap-iban{font-size:14px;letter-spacing:0}
.io-secim{background:#EEF3FA;border-radius:16px;padding:16px 20px;margin:0 0 8px;font-weight:600;color:var(--wp--preset--color--mavi-koyu)}
.io-secim strong{color:var(--wp--preset--color--mavi)}

.io-iletisim-kisa{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.io-iletisim-kisa a{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 16px;border-radius:12px;background:var(--wp--preset--color--zemin);color:#16181D;text-decoration:none;font-weight:600}
.io-iletisim-kisa a:hover{background:#EEF3FA;color:var(--wp--preset--color--mavi)}
.io-iletisim-kisa a::before{content:"";width:20px;height:20px;flex:0 0 20px;background:var(--io-ic) center/20px no-repeat}
.io-ik-tel{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")}
.io-ik-wa{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.4 7.4L3 21l2.1-5.5A8.4 8.4 0 1 1 21 11.5z'/%3E%3C/svg%3E")}
.io-ik-mail{--io-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E")}
.io-iletisim-satir p{line-height:1.6}

.io-turler{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.io-turler-grup{background:var(--wp--preset--color--zemin);border-radius:20px;padding:24px}
.io-turler-baslik{margin:0 0 12px;font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:24px;text-transform:uppercase}
.io-turler ul{list-style:none;margin:0;padding:0}
.io-turler li + li{border-top:1px solid #E1E3E0}
.io-turler a{display:flex;flex-direction:column;padding:12px 28px 12px 0;text-decoration:none;color:#16181D;position:relative}
.io-turler a::after{content:"→";position:absolute;right:4px;top:50%;transform:translateY(-50%);color:var(--wp--preset--color--mavi);font-weight:700}
.io-turler a strong{font-weight:700}
.io-turler a span{font-size:14px;color:var(--wp--preset--color--gri-acik)}
.io-turler a:hover strong{color:var(--wp--preset--color--mavi)}

.io-soz{font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:600;font-size:26px;line-height:1.2;color:var(--wp--preset--color--mavi);border-left:4px solid var(--wp--preset--color--kirmizi);padding-left:18px;margin-bottom:24px}
.io-tikli{list-style:none;padding:0;margin:0 0 8px}
.io-tikli li{position:relative;padding:10px 0 10px 34px;border-bottom:1px solid var(--wp--preset--color--cizgi)}
.io-tikli li::before{content:"";position:absolute;left:0;top:13px;width:22px;height:22px;border-radius:999px;background:var(--wp--preset--color--yesil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
.io-bs-yan{position:sticky;top:24px;align-self:flex-start}
.io-vm h3{margin-top:0}
.io-tablo table{border-collapse:collapse;width:100%}
.io-tablo th,.io-tablo td{border:1px solid var(--wp--preset--color--cizgi);padding:12px;text-align:left;vertical-align:top}
.io-tablo th{background:var(--wp--preset--color--zemin)}

/* Üst bar: telefon ve dil seçici */
.io-topbar .gtranslate_wrapper,.io-topbar .gt_switcher_wrapper{display:inline-flex}
.io-topbar select.gt_selector{background:transparent;color:#fff;border:1px solid #4A4E55;border-radius:8px;padding:2px 6px;font:inherit;font-size:13px}
.io-topbar select.gt_selector option{color:#16181D}

@media (max-width:960px){
.io-turler{grid-template-columns:minmax(0,1fr)}
.io-bs-yan{position:static}
.io-hesap,.io-hesaplar.is-sade .io-hesap{grid-template-columns:48px minmax(0,1fr);gap:12px}
.io-hesap .io-kopyala{grid-column:1 / -1}
}
@media (max-width:600px){
.io-topbar .io-topbar-tel,.io-topbar .io-topbar-mail{display:none}
.io-topbar .alignwide > .wp-block-group{flex-wrap:nowrap!important;align-items:center}
}
.io-haber-galeri{gap:12px!important;margin-top:32px}
.io-haber-galeri .wp-block-image{margin:0}
.io-haber-galeri img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
