/* ES Mühendislik – tema bileşen stilleri (renk, yazı tipi ve temel ölçüler theme.json'da) */

:root {
	--es-yaprak: #10842A;
	--es-yaprak-koyu: #0B6620;
	--es-filiz: #99FF00;
	--es-mavi: #0B4F8A;
	--es-damla: #0A80D8;
	--es-baglanti: #0A6CB8;
	--es-metin: #1E3346;
	--es-gri: #5A6B7B;
	--es-filiz-acik: #F3FCE6;
	--es-buz: #EEF6FD;
	--es-cizgi: #D6E5F2;
	--es-radius: 8px;
	--es-golge: 0 1px 2px rgba(11, 79, 138, .06), 0 6px 18px rgba(11, 79, 138, .06);
}

html { scroll-padding-top: 140px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
main.wp-block-group { margin-block-start: 0; }
.wp-block-post-content > .alignfull:first-child { margin-block-start: 0; }
.wp-block-post-content > section.alignfull { margin-block-start: 0; }

a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--es-damla); outline-offset: 2px; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part { top: 0; } }

.es-header { margin: 0 !important; }
.es-header > * { margin-block-start: 0 !important; }
.es-ust-serit { font-size: 13px; padding-block: 6px; color: var(--es-baglanti); }
.es-ust-serit p { margin: 0; }
.es-ust-serit a { color: var(--es-baglanti); text-decoration: none; font-weight: 600; }
.es-ust-serit a:hover { text-decoration: underline; }
.es-ana-serit { border-bottom: 1px solid var(--es-cizgi); padding-block: 10px; box-shadow: 0 2px 10px rgba(11, 79, 138, .04); }
.es-ust-icerik { gap: 24px; min-height: 64px; }
.es-logo { margin: 0 !important; flex-shrink: 0; }
.es-logo img { height: 62px; width: auto; display: block; }
.es-menu { flex: 1 1 auto; }
.es-menu .wp-block-navigation__container { gap: 6px 26px; }
.es-menu .wp-block-navigation-item__content { padding-block: 10px; text-decoration: none; color: var(--es-metin); }
.es-menu .wp-block-navigation-item__content:hover,
.es-menu .current-menu-item > .wp-block-navigation-item__content { color: var(--es-yaprak); }
.es-menu .wp-block-navigation__submenu-container {
	border: 1px solid var(--es-cizgi) !important;
	border-radius: var(--es-radius);
	box-shadow: var(--es-golge);
	padding: 8px 0;
	min-width: 250px !important;
	background: #fff !important;
}
.es-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 18px; font-weight: 500; }
.es-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--es-buz); }
.es-menu .wp-block-navigation__responsive-container-open svg,
.es-menu .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.es-menu .wp-block-navigation__responsive-container-open { padding: 7px; border: 1px solid var(--es-cizgi); border-radius: 6px; }
.es-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.es-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 18px; padding-block: 8px; }
.es-ust-buton { flex-shrink: 0; }
.es-ust-buton .wp-block-button__link { padding: 11px 16px; font-size: 15px; }

@media (max-width: 1100px) {
	.es-menu .wp-block-navigation__container { gap: 4px 16px; }
	.es-ust-buton .wp-block-button__link { font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 600px) {
	.es-logo img { height: 44px; }
	.es-ust-buton, .es-gizle-mobil, .es-ayrac { display: none !important; }
	.es-ust-icerik { min-height: 52px; }
	.es-ust-serit .wp-block-group { justify-content: center !important; }
}

/* ---------- Butonlar ---------- */
.wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.wp-block-button.is-style-es-ikincil .wp-block-button__link { background: #fff; color: var(--es-mavi); border-color: var(--es-mavi); }
.wp-block-button.is-style-es-ikincil .wp-block-button__link:hover,
.wp-block-button.is-style-es-ikincil .wp-block-button__link:focus { background: var(--es-mavi); color: #fff; border-color: var(--es-mavi); }
.wp-block-button.is-style-es-beyaz .wp-block-button__link { background: #fff; color: var(--es-yaprak); border-color: #fff; }
.wp-block-button.is-style-es-beyaz .wp-block-button__link:hover,
.wp-block-button.is-style-es-beyaz .wp-block-button__link:focus { background: var(--es-filiz-acik); color: var(--es-yaprak-koyu); border-color: var(--es-filiz-acik); }
.es-butonlar { gap: 12px; margin-top: 28px; }
@media (max-width: 600px) {
	.es-butonlar { flex-direction: column; align-items: stretch; }
	.es-butonlar .wp-block-button, .es-butonlar .wp-block-button__link { width: 100%; }
}

/* ---------- Üst etiket ---------- */
.is-style-es-etiket {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--wp--preset--font-family--ubuntu);
	font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--es-yaprak); margin-bottom: 10px !important;
}
.is-style-es-etiket::before { content: ""; width: 26px; height: 5px; border-radius: 3px; background: var(--es-filiz); flex-shrink: 0; }

/* ---------- Hero ---------- */
.es-hero { border-bottom: 5px solid var(--es-filiz); }
.es-hero h1 { max-width: 22ch; margin-top: 6px; }
.es-hero .es-giris { font-size: clamp(17px, 1.6vw, 19px); max-width: 56ch; color: var(--es-metin); }
.es-hero-sutunlar { align-items: center !important; gap: clamp(24px, 4vw, 56px) !important; }
.es-yol { font-size: 14px; color: var(--es-gri); margin-bottom: 4px !important; }
.es-yol a { color: var(--es-baglanti); text-decoration: none; }
.es-yol a:hover { text-decoration: underline; }

/* ---------- Görseller ---------- */
.es-gorsel img, .es-kart-gorsel img { border-radius: var(--es-radius); width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--es-buz); }
.es-gorsel { margin-block: 8px; }

/* ---------- Bölümler ---------- */
.es-bolum > h2:first-child, .es-bolum > .is-style-es-etiket + h2 { margin-top: 0; }
.es-bolum h2 { margin-bottom: 16px; }
.es-izgara { gap: 20px; margin-top: 28px !important; }
.es-ayrica { margin-top: 24px !important; font-size: 15px; color: var(--es-gri); }

/* ---------- Kartlar ---------- */
.is-style-es-kart, .is-style-es-adim {
	background: #fff;
	border: 1px solid var(--es-cizgi);
	border-radius: var(--es-radius);
	padding: 22px 22px 18px;
	position: relative;
	overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}
.is-style-es-kart { box-shadow: inset 0 5px 0 var(--es-filiz); padding-top: 27px; }
.is-style-es-kart:hover { border-color: var(--es-damla); box-shadow: inset 0 5px 0 var(--es-filiz), var(--es-golge); }
.is-style-es-kart > .es-kart-gorsel:first-child { margin: -27px -22px 18px !important; }
.is-style-es-kart > .es-kart-gorsel:first-child img { border-radius: 0; border-bottom: 5px solid var(--es-filiz); }
.is-style-es-kart:has(> .es-kart-gorsel:first-child) { box-shadow: none; }
.is-style-es-kart:has(> .es-kart-gorsel:first-child):hover { box-shadow: var(--es-golge); }
.is-style-es-kart h3, .is-style-es-adim h3 { margin: 0 0 8px; font-size: 20px; }
.is-style-es-kart h3 a { color: inherit; text-decoration: none; }
.is-style-es-kart h3 a:hover { color: var(--es-yaprak); }
.is-style-es-kart p, .is-style-es-adim p { margin: 0 0 8px; color: var(--es-gri); font-size: 16px; }
.is-style-es-kart ul { font-size: 15px; color: var(--es-gri); padding-left: 1.1em; }
.is-style-es-adim { border-left: 5px solid var(--es-yaprak); }
.es-detay { margin-top: 10px !important; }
.es-detay a { font-weight: 600; color: var(--es-yaprak); text-decoration: none; font-family: var(--wp--preset--font-family--ubuntu); }
.es-detay a:hover { text-decoration: underline; color: var(--es-yaprak-koyu); }

/* ---------- Güven şeridi ---------- */
.es-guven-serit { border-bottom: 1px solid var(--es-cizgi); }
.es-guven { position: relative; padding-left: 58px; }
.es-guven::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 44px; height: 44px; border-radius: 50%;
	background-color: var(--es-buz);
}
.es-guven::after {
	content: ""; position: absolute; left: 10px; top: 12px; width: 24px; height: 24px; background: var(--es-damla);
	-webkit-mask: var(--es-ikon) center / contain no-repeat; mask: var(--es-ikon) center / contain no-repeat;
}
.es-guven p { margin: 0; font-size: 15px; color: var(--es-gri); line-height: 1.45; }
.es-guven .es-guven-baslik { font-family: var(--wp--preset--font-family--ubuntu); font-size: 17px; color: var(--es-mavi); margin-bottom: 2px; }
.es-ikon-belge { --es-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E"); }
.es-ikon-takvim { --es-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E"); }
.es-ikon-konum { --es-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.es-ikon-iha { --es-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='5' r='2.5'/%3E%3Ccircle cx='19' cy='5' r='2.5'/%3E%3Ccircle cx='5' cy='19' r='2.5'/%3E%3Ccircle cx='19' cy='19' r='2.5'/%3E%3Cpath d='m7 7 3 3m7-3-3 3m-7 7 3-3m7 3-3-3'/%3E%3Crect x='10' y='10' width='4' height='4' rx='1'/%3E%3C/svg%3E"); }

/* ---------- Rakamlar (Derin Mavi) ---------- */
.es-sayilar h2 { color: #fff; }
.es-sayac { border-left: 3px solid var(--es-filiz); padding-left: 18px; }
.es-sayi { font-family: var(--wp--preset--font-family--ubuntu); font-weight: 700; font-size: clamp(38px, 5vw, 52px); line-height: 1; color: var(--es-filiz); margin: 0 0 6px !important; }
.es-sayi-etiket { margin: 0 !important; color: #dbe9f6; }

/* ---------- Listeler ---------- */
.wp-block-post-content ul.wp-block-list:not([class*="is-style"]):not(.es-footer-liste):not(.es-kenar-liste):not(.es-iletisim-listesi) { padding-left: 1.2em; }
.wp-block-post-content ul.wp-block-list:not([class*="is-style"]) > li::marker { color: var(--es-yaprak); }
.wp-block-post-content li + li { margin-top: 6px; }
.is-style-es-onay { list-style: none; padding-left: 0; }
.is-style-es-onay > li { position: relative; padding-left: 32px; }
.is-style-es-onay > li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--es-yaprak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (min-width: 782px) { .es-iki-sutun { columns: 2; column-gap: 40px; } .es-iki-sutun > li { break-inside: avoid; } }
.is-style-es-rozet { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.is-style-es-rozet > li { margin: 0 !important; background: #fff; border: 1px solid var(--es-cizgi); border-left: 4px solid var(--es-yaprak); border-radius: 6px; padding: 8px 16px; font-family: var(--wp--preset--font-family--ubuntu); font-weight: 500; color: var(--es-mavi); }

/* ---------- Bilgi paneli ---------- */
.is-style-es-panel { background: var(--es-buz); border-left: 5px solid var(--es-damla); border-radius: var(--es-radius); padding: 22px 26px; }
.is-style-es-panel.es-panel-yesil { background: var(--es-filiz-acik); border-left-color: var(--es-yaprak); }
.is-style-es-panel > :first-child { margin-top: 0; }
.is-style-es-panel > :last-child { margin-bottom: 0; }

/* ---------- SSS (details) ---------- */
.wp-block-details { margin-top: 12px !important; transition: border-color .15s; }
.wp-block-details:hover { border-color: var(--es-damla) !important; }
.wp-block-details summary {
	font-family: var(--wp--preset--font-family--ubuntu); font-weight: 700; font-size: 18px; color: var(--es-mavi);
	cursor: pointer; list-style: none; position: relative; padding-right: 36px; min-height: 28px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
	background: var(--es-filiz-acik); color: var(--es-yaprak); text-align: center; line-height: 28px; font-size: 22px; font-weight: 500;
}
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details[open] summary { margin-bottom: 10px; }
.wp-block-details p { margin: 8px 0 0; }

/* ---------- Tablolar ---------- */
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wp-block-table table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: 16px; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--es-cizgi); padding: 10px 14px; text-align: left; vertical-align: top; }
.wp-block-table thead th { background: var(--es-buz); color: var(--es-mavi); font-family: var(--wp--preset--font-family--ubuntu); border-bottom: 2px solid var(--es-damla); }
.wp-block-table tbody tr:nth-child(even) td { background: #fafcfe; }

/* ---------- Kapanış CTA ---------- */
.es-cta { border-top: 5px solid var(--es-filiz); text-align: center; }
.es-cta h2 { color: #fff; margin-top: 0; }
.es-cta p { max-width: 60ch; margin-inline: auto !important; }
.es-cta .wp-block-buttons { justify-content: center; }
.es-cta a:not(.wp-block-button__link) { color: #fff; font-weight: 600; }
.es-telefon { margin-top: 14px !important; font-size: 15px; }

/* ---------- Hizmet sayfası düzeni ---------- */
.es-hizmet-duzen { gap: clamp(28px, 4vw, 56px) !important; align-items: stretch !important; }
.es-icerik > .es-bolum { margin-top: 0 !important; padding-block: 8px 40px; border-bottom: 1px solid var(--es-cizgi); }
.es-icerik > .es-bolum:last-child { border-bottom: 0; }
.es-icerik > .es-bolum + .es-bolum { padding-top: 40px; }
.es-kutu { border-radius: var(--es-radius); padding: 28px 28px 32px !important; border-bottom: 0 !important; margin-block: 24px !important; }
.es-kutu-buz { background: var(--es-buz); }
.es-kutu-yesil { background: var(--es-filiz-acik); }
.es-kenar-sutun > .es-kenar { position: sticky; top: 140px; }
.es-kenar { display: flex; flex-direction: column; gap: 20px; }
.es-kenar-kutu { border: 1px solid var(--es-cizgi); border-radius: var(--es-radius); padding: 22px; background: #fff; margin: 0 !important; }
.es-kenar-baslik { font-family: var(--wp--preset--font-family--ubuntu); font-weight: 700; color: var(--es-mavi); font-size: 18px; margin: 0 0 10px !important; }
.es-kenar-liste { list-style: none; padding: 0; margin: 0; }
.es-kenar-liste li { margin: 0 !important; border-top: 1px solid var(--es-cizgi); }
.es-kenar-liste li:first-child { border-top: 0; }
.es-kenar-liste a { display: block; padding: 9px 0; text-decoration: none; color: var(--es-metin); font-weight: 600; font-size: 15px; }
.es-kenar-liste a:hover { color: var(--es-yaprak); }
.es-kenar-liste a[aria-current="page"] { color: var(--es-yaprak); }
.es-kenar-iletisim { background: var(--es-filiz-acik); border-color: transparent; box-shadow: inset 0 5px 0 var(--es-filiz); }
.es-kenar-iletisim p { font-size: 15px; margin: 0 0 8px; }
.es-kenar-tel { font-family: var(--wp--preset--font-family--ubuntu); font-weight: 700; font-size: 19px; color: var(--es-mavi) !important; text-decoration: none; }
.es-kenar .es-butonlar { margin-top: 12px; }
.es-kenar .wp-block-button, .es-kenar .wp-block-button__link { width: 100%; }
@media (max-width: 781px) { .es-kenar-sutun > .es-kenar { position: static; } }

/* ---------- Yasal metinler ---------- */
.es-yasal > section { margin-top: 0 !important; }
.es-yasal > section + section { margin-top: 36px !important; }

/* ---------- Blog ---------- */
.es-yazi-icerik h2 { margin-top: 44px; }
.es-yazar { color: var(--es-gri); font-size: 15px; }
.es-kucuk { font-size: 14px; color: var(--es-gri); border-top: 1px solid var(--es-cizgi); padding-top: 16px; margin-top: 40px !important; }
.es-yazi-tarih { gap: 6px; font-size: 14px; color: var(--es-gri); }
.es-yazi-tarih p { margin: 0; }
.es-yazilar.wp-block-latest-posts { gap: 20px; margin-top: 28px; padding: 0; }
.es-yazilar.wp-block-latest-posts.is-grid li { background: #fff; border: 1px solid var(--es-cizgi); border-radius: var(--es-radius); padding: 0 0 18px; overflow: hidden; margin: 0 !important; }
.es-yazilar .wp-block-latest-posts__featured-image { margin: 0 0 14px; }
.es-yazilar .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-bottom: 5px solid var(--es-filiz); }
.es-yazilar .wp-block-latest-posts__post-title { display: block; padding: 0 18px; font-family: var(--wp--preset--font-family--ubuntu); font-weight: 700; color: var(--es-mavi); text-decoration: none; font-size: 19px; line-height: 1.3; }
.es-yazilar .wp-block-latest-posts__post-date, .es-yazilar .wp-block-latest-posts__post-excerpt { padding: 0 18px; color: var(--es-gri); font-size: 14px; }
.es-yazilar .wp-block-latest-posts__post-excerpt { font-size: 15px; margin-top: 6px; }
.wp-block-post-template .is-style-es-kart { height: 100%; padding: 0 0 18px; box-shadow: none; }
.wp-block-post-template .is-style-es-kart > * { margin-inline: 18px; }
.wp-block-post-template .is-style-es-kart > .wp-block-post-featured-image { margin: 0 0 14px; }
.wp-block-post-template .is-style-es-kart > .wp-block-post-featured-image img { border-bottom: 5px solid var(--es-filiz); }
.es-kart-baslik { font-size: 20px !important; margin-top: 4px; }
.es-kart-baslik a { text-decoration: none; color: var(--es-mavi); }

/* ---------- İletişim ---------- */
.es-iletisim-listesi { list-style: none; padding: 0; }
.es-iletisim-listesi li { padding: 12px 0; border-bottom: 1px solid var(--es-cizgi); margin: 0 !important; }
.es-iletisim-listesi strong { display: block; color: var(--es-mavi); font-family: var(--wp--preset--font-family--ubuntu); font-size: 15px; }
.es-form-kutu { background: var(--es-buz); border-radius: var(--es-radius); padding: clamp(20px, 3vw, 32px); }
.es-form-kutu > h2 { margin-top: 0; }
.es-harita iframe { width: 100%; height: 420px; border: 0; border-radius: var(--es-radius); display: block; }
.es-sosyal a { font-weight: 600; margin-right: 6px; }

/* ---------- Form ---------- */
.es-form form { margin: 0; }
.es-form__izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.es-form p { margin: 0 0 14px; }
.es-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--es-metin); }
.es-form input[type="text"], .es-form input[type="email"], .es-form input[type="tel"], .es-form select, .es-form textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--es-metin);
	background: #fff; border: 1px solid #b9cde0; border-radius: 6px; box-sizing: border-box;
}
.es-form textarea { min-height: 140px; resize: vertical; }
.es-form input:focus, .es-form select:focus, .es-form textarea:focus { border-color: var(--es-damla); outline: 2px solid rgba(10, 128, 216, .25); outline-offset: 0; }
.es-form__onay { display: flex; gap: 10px; align-items: flex-start; }
.es-form__onay input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--es-yaprak); }
.es-form__onay label { font-weight: 400; font-size: 15px; margin: 0; }
.es-form__gonder { cursor: pointer; width: 100%; min-height: 50px; font-size: 17px; }
.es-form__not { font-size: 13px; color: var(--es-gri); }
.es-form__tuzak { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.es-form__basari { background: var(--es-filiz-acik); border-left: 5px solid var(--es-yaprak); padding: 16px 20px; border-radius: 6px; margin-bottom: 18px; }
.es-form__hata { background: #fff4f2; border-left: 5px solid #c0392b; padding: 14px 20px; border-radius: 6px; margin-bottom: 18px; color: #7a1f14; }
.es-form__hata ul { margin: 6px 0 0; padding-left: 1.2em; }

/* ---------- Footer ---------- */
footer.wp-block-template-part { margin-top: 0; }
.es-footer { margin: 0 !important; }
.es-footer > * { margin-block-start: 0 !important; }
.es-footer-ust { font-size: 15px; color: var(--es-gri); }
.es-footer-sutunlar { gap: 32px !important; }
.es-footer-baslik { font-family: var(--wp--preset--font-family--ubuntu); font-weight: 700; color: var(--es-mavi); font-size: 16px; margin-bottom: 10px !important; }
.es-footer-liste { list-style: none; padding: 0; margin: 0; }
.es-footer-liste li { margin: 0 0 6px !important; }
.es-footer a { color: var(--es-metin); text-decoration: none; }
.es-footer a:hover { color: var(--es-yaprak); text-decoration: underline; }
.es-logo-footer img { height: 56px; }
.es-footer-alt { font-size: 13px; }
.es-footer-alt p { margin: 0; }
.es-footer-alt a { color: #fff; }
.es-footer-alt a:hover { color: var(--es-filiz); }

/* ---------- Editörde görünen, sitede gizli bloklar ---------- */
.es-not, .es-doldur { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Okunabilir satır uzunluğu: tam genişlik bölümlerde metin 820px, sola hizalı ---------- */
.alignfull.is-layout-constrained:not(.es-cta) > :is(p, ul, ol, h1, h2, h3, section, .wp-block-details, .is-style-es-panel):not(.alignwide):not(.alignfull) {
	max-width: 820px;
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	margin-right: auto !important;
}
.alignfull.es-hero.is-layout-constrained > h1 { max-width: 22ch; }
@media (max-width: 600px) {
	.es-kart-gorsel img { aspect-ratio: 16 / 9; }
	.es-hero .es-gorsel img { aspect-ratio: 16 / 9; }
}


/* ---------- Belge görseli: başlık görselin hemen altında ---------- */
.wp-block-image.es-belge-gorsel { width: 320px; max-width: 100%; }
.wp-block-image.es-belge-gorsel img { width: 100% !important; height: auto; border: 1px solid #dfe6ee; border-radius: 6px; }
.wp-block-image.es-belge-gorsel figcaption { text-align: center; font-size: 0.875rem; line-height: 1.4; margin-top: 0.5rem; }
