/*
 * İçerik blokları: sitede (.entry__content) ve blok editöründe (.editor-styles-wrapper) aynı görünüm.
 * Editörde ne görülürse sitede o yayınlanır.
 */
:root { --c-ink: #1A1D22; --c-steel: #5E6470; --c-line: #C9CCD2; --c-fog: #E8EAEC; --c-navy: #2E3191; --c-orange: #F37024; --c-hover: #F37024; }

/* Kadence blokları kurumsal renklerle */
:root {
	--global-palette1: #2E3191; --global-palette2: #F37024; --global-palette3: #1A1D22; --global-palette4: #2B2F36;
	--global-palette5: #5E6470; --global-palette6: #8A909A; --global-palette7: #E8EAEC; --global-palette8: #F4F5F6; --global-palette9: #FFFFFF;
}

/* Editör tuvali sitedeki gibi */
.editor-styles-wrapper { font-family: 'Poppins', system-ui, sans-serif; font-size: 18px; line-height: 1.75; color: var(--c-ink); background: var(--c-fog); font-weight: 400; }
.editor-styles-wrapper .editor-post-title, .editor-styles-wrapper .wp-block-post-title { font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }

/* Yazı */
:is(.entry__content, .editor-styles-wrapper) h2 { font-size: 30px; line-height: 1.2; margin: 48px 0 16px; font-weight: 500; letter-spacing: -0.015em; }
:is(.entry__content, .editor-styles-wrapper) h3 { font-size: 24px; line-height: 1.25; margin: 36px 0 12px; font-weight: 500; }
:is(.entry__content, .editor-styles-wrapper) h4 { font-size: 20px; line-height: 1.3; margin: 28px 0 10px; font-weight: 500; }
:is(.entry__content, .editor-styles-wrapper) p { margin: 0 0 18px; }
:is(.entry__content, .editor-styles-wrapper) :is(ul, ol):not(.blocks-gallery-grid) { margin: 0 0 18px; padding-left: 22px; }
:is(.entry__content, .editor-styles-wrapper) li { margin-bottom: 6px; }
:is(.entry__content, .editor-styles-wrapper) a:not(.wp-block-button__link):not(.wp-element-button):not(.pcard):not(.pill) { color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
:is(.entry__content, .editor-styles-wrapper) mark:not(.has-inline-color) { background: rgba(243, 112, 36, .18); color: inherit; padding: 0 3px; border-radius: 4px; }
:is(.entry__content, .editor-styles-wrapper) figure.wp-block-image img, :is(.entry__content, .editor-styles-wrapper) .wp-block-media-text__media img { border-radius: 20px; height: auto; }
:is(.entry__content, .editor-styles-wrapper) figcaption { margin-top: 8px; font-size: 14px; color: var(--c-steel); text-align: center; }

/* Paragraf stilleri */
:is(.entry__content, .editor-styles-wrapper) p.is-style-dorce-lead { font-size: 22px; line-height: 1.55; font-weight: 300; color: var(--c-ink); margin-bottom: 28px; }
:is(.entry__content, .editor-styles-wrapper) p.is-style-dorce-note { font-size: 15px; line-height: 1.6; color: var(--c-steel); padding: 14px 18px; border-left: 3px solid var(--c-orange); background: rgba(255, 255, 255, .6); border-radius: 0 14px 14px 0; }

/* Başlık stilleri */
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-eyebrow { font-size: 13px !important; line-height: 1.4; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-orange); margin: 40px 0 8px; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-eyebrow + :is(h2, h3) { margin-top: 0; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-display { font-size: clamp(32px, 4.4vw, 52px) !important; line-height: 1.08; letter-spacing: -0.025em; font-weight: 500; }

/* Liste stilleri */
:is(.entry__content, .editor-styles-wrapper) ul.is-style-dorce-check { list-style: none; padding-left: 0; }
:is(.entry__content, .editor-styles-wrapper) ul.is-style-dorce-check > li { position: relative; padding-left: 34px; }
:is(.entry__content, .editor-styles-wrapper) ul.is-style-dorce-check > li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
:is(.entry__content, .editor-styles-wrapper) ol.is-style-dorce-steps { list-style: none; padding-left: 0; counter-reset: dstep; }
:is(.entry__content, .editor-styles-wrapper) ol.is-style-dorce-steps > li { counter-increment: dstep; position: relative; padding: 4px 0 14px 56px; min-height: 40px; }
:is(.entry__content, .editor-styles-wrapper) ol.is-style-dorce-steps > li::before { content: counter(dstep, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--c-ink); color: #fff; font-size: 14px; font-weight: 500; display: grid; place-items: center; }

/* Kutular (Grup bloğu) */
:is(.entry__content, .editor-styles-wrapper) :is(.is-style-dorce-box, .dorce-box) { background: #fff; border-radius: 22px; padding: 26px 28px; line-height: 1.6; margin: 0 0 24px; }
:is(.entry__content, .editor-styles-wrapper) :is(.is-style-dorce-box, .dorce-box) strong { color: var(--c-navy); font-weight: 600; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-dark { background: var(--c-ink); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px); margin: 0 0 32px; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-dark :is(h2, h3, h4, p, li) { color: #fff; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-dark a:not(.wp-block-button__link) { color: var(--c-hover); }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-accent { border-left: 4px solid var(--c-orange); padding: 4px 0 4px 24px; margin: 0 0 24px; }
:is(.entry__content, .editor-styles-wrapper) :is(.is-style-dorce-box, .is-style-dorce-dark, .is-style-dorce-accent, .dorce-box) > :first-child { margin-top: 0; }
:is(.entry__content, .editor-styles-wrapper) :is(.is-style-dorce-box, .is-style-dorce-dark, .is-style-dorce-accent, .dorce-box) > :last-child { margin-bottom: 0; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-group.has-background:not([class*="is-style-dorce"]) { border-radius: 22px; padding: 28px; }

/* Rakamlar (Sütunlar bloğu) */
:is(.entry__content, .editor-styles-wrapper) .wp-block-columns.is-style-dorce-stats { gap: 16px; align-items: stretch !important; margin: 0 0 40px; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-stats > .wp-block-column { background: #fff; border-radius: 20px; padding: 24px; }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-stats :is(h2, h3) { font-size: clamp(32px, 3.6vw, 44px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 10px; color: var(--c-navy); }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-stats p { font-size: 15px; line-height: 1.45; color: var(--c-steel); margin: 0; }

@media (max-width: 800px) {
	:is(.entry__content, .editor-styles-wrapper) .wp-block-columns.is-style-dorce-stats { flex-direction: row !important; flex-wrap: wrap !important; gap: 12px; }
	:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-stats > .wp-block-column { flex: 0 0 calc(50% - 6px) !important; padding: 18px; }
}

/* Düğmeler */
:is(.entry__content, .editor-styles-wrapper) .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--c-ink); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-button__link:hover { background: var(--c-hover); color: var(--c-ink); }
:is(.entry__content, .editor-styles-wrapper) .is-style-outline > .wp-block-button__link { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
:is(.entry__content, .editor-styles-wrapper) .is-style-outline > .wp-block-button__link:hover { background: var(--c-hover); border-color: var(--c-hover); color: var(--c-ink); }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-dark .wp-block-button__link { background: #fff; color: var(--c-ink); }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-dark .wp-block-button__link:hover { background: var(--c-hover); }
:is(.entry__content, .editor-styles-wrapper) .is-style-dorce-dark .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Alıntı */
:is(.entry__content, .editor-styles-wrapper) .wp-block-quote { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--c-orange); font-size: 22px; line-height: 1.5; font-weight: 300; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-quote p { margin-bottom: 10px; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-quote cite { display: block; font-size: 14px; font-style: normal; font-weight: 500; color: var(--c-steel); }
:is(.entry__content, .editor-styles-wrapper) .wp-block-pullquote { margin: 40px 0; padding: 36px 24px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); text-align: center; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-pullquote blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; font-weight: 300; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-pullquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--c-steel); }

/* Ayraç */
:is(.entry__content, .editor-styles-wrapper) hr.wp-block-separator { border: 0; border-top: 1px solid var(--c-line); margin: 48px auto; opacity: 1; }
:is(.entry__content, .editor-styles-wrapper) hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { width: 120px !important; max-width: 120px !important; border-top: 3px solid var(--c-orange); margin-left: 0 !important; }
:is(.entry__content, .editor-styles-wrapper) hr.wp-block-separator.is-style-dots { border: 0; text-align: center; }

/* Tablo */
:is(.entry__content, .editor-styles-wrapper) .wp-block-table { margin: 0 0 28px; overflow-x: auto; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 16px; overflow: hidden; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-table :is(th, td) { border: 0; border-bottom: 1px solid var(--c-fog); padding: 12px 16px; text-align: left; vertical-align: top; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-table thead th { background: var(--c-ink); color: #fff; font-weight: 500; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-table thead { border: 0; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #F4F5F6; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-table.is-style-stripes { border: 0; }
/* Mobilde geniş tablolar sıkışmaz, yana kaydırılır */
@media (max-width: 700px) { :is(.entry__content, .editor-styles-wrapper) .wp-block-table table { min-width: 620px; font-size: 14px; } :is(.entry__content, .editor-styles-wrapper) .wp-block-table { margin-inline: -16px; padding-inline: 16px; } }

/* Görsel + metin */
:is(.entry__content, .editor-styles-wrapper) .wp-block-media-text { gap: 0; margin: 0 0 40px; align-items: center; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-media-text .wp-block-media-text__content { padding: 0 0 0 clamp(20px, 4vw, 48px); }
:is(.entry__content, .editor-styles-wrapper) .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding: 0 clamp(20px, 4vw, 48px) 0 0; }
@media (max-width: 600px) {
	:is(.entry__content, .editor-styles-wrapper) .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content { padding: 20px 0 0; }
}

/* Kapak */
:is(.entry__content, .editor-styles-wrapper) .wp-block-cover { border-radius: 24px; overflow: hidden; margin: 0 0 32px; }

/* Belge bağlantısı */
:is(.entry__content, .editor-styles-wrapper) p.is-style-dorce-file a, :is(.entry__content, .editor-styles-wrapper) .dorce-file a { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 18px; background: #fff; color: var(--c-ink); text-decoration: none; font-weight: 500; line-height: 1.4; }
:is(.entry__content, .editor-styles-wrapper) p.is-style-dorce-file a::before, :is(.entry__content, .editor-styles-wrapper) .dorce-file a::before { content: "PDF"; flex: none; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 6px 8px; border-radius: 8px; background: var(--c-ink); color: #fff; }
:is(.entry__content, .editor-styles-wrapper) p.is-style-dorce-file a:hover, :is(.entry__content, .editor-styles-wrapper) .dorce-file a:hover { color: var(--c-navy); }

/* Görsel stili: köşesiz */
:is(.entry__content, .editor-styles-wrapper) .wp-block-image.is-style-dorce-square img { border-radius: 0; }

/* Açılır bölüm */
:is(.entry__content, .editor-styles-wrapper) .wp-block-details { border-top: 1px solid var(--c-line); padding: 4px 0; margin: 0; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-details:not(:has(+ .wp-block-details)) { border-bottom: 1px solid var(--c-line); margin-bottom: 28px; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-details summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; font-weight: 500; }

/* Kadence blokları: tema yazı tipi */
:is(.entry__content, .editor-styles-wrapper) [class*="wp-block-kadence"] { font-family: inherit; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-kadence-advancedbtn .kb-button { border-radius: 999px; font-weight: 500; }

/* Sürdürülebilir Kalkınma Amaçları (SKA) simgeleri: küçük kare ızgara */
:is(.entry__content, .editor-styles-wrapper) .wp-block-gallery.dorce-sdg { display: grid !important; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px !important; margin: 32px 0 40px; max-width: 1100px; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-gallery.dorce-sdg > figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 1; }
:is(.entry__content, .editor-styles-wrapper) .wp-block-gallery.dorce-sdg img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 6px !important; }
@media (max-width: 900px) { :is(.entry__content, .editor-styles-wrapper) .wp-block-gallery.dorce-sdg { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 500px) { :is(.entry__content, .editor-styles-wrapper) .wp-block-gallery.dorce-sdg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px !important; } }
