/* Demansiya teması — mobil öncelikli. Kırılımlar: 640px, 900px. Renkler theme.json paletinden gelir. */
:root {
  --dm-ico-whatsapp: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 11.6A8.4 8.4 0 0 1 7.6 19L3.5 20.5 5 16.6A8.4 8.4 0 1 1 20 11.6Z%27/%3E%3Cpath d=%27M9 8.6c0 3.4 2.6 6.4 6.3 6.6l.9-1.6-1.9-.9-.8.8a4.6 4.6 0 0 1-2.6-2.6l.8-.8-.9-1.9-1.6.4Z%27/%3E%3C/svg%3E");
  --dm-ico-survey: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%275%27 y=%273%27 width=%2714%27 height=%2718%27 rx=%272%27/%3E%3Cpath d=%27M9 3v2h6V3%27/%3E%3Cpath d=%27m8.5 11 1.5 1.5L13 9.5%27/%3E%3Cpath d=%27M8.5 16h7%27/%3E%3C/svg%3E");
  --dm-ico-download: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8l-5-5Z%27/%3E%3Cpath d=%27M14 3v5h5%27/%3E%3Cpath d=%27M12 11v6%27/%3E%3Cpath d=%27m9 14 3 3 3-3%27/%3E%3C/svg%3E");
  --dm-radius: 18px;
  --dm-shadow: 0 12px 32px -14px rgba(13, 37, 99, .28);
  --dm-focus: #2F6FDB;
  --dm-header-h: 64px;
  --dm-gutter: 16px;
  --dm-safe-b: env(safe-area-inset-bottom, 0px);
  --dm-base: var(--wp--preset--color--base);
  --dm-surface: var(--wp--preset--color--surface);
  --dm-card: var(--wp--preset--color--card);
  --dm-sand: var(--wp--preset--color--sand);
  --dm-text: var(--wp--preset--color--contrast);
  --dm-muted: var(--wp--preset--color--muted);
  --dm-primary: var(--wp--preset--color--primary);
  --dm-primary-dark: var(--wp--preset--color--primary-dark);
  --dm-primary-soft: var(--wp--preset--color--primary-soft);
  --dm-accent: var(--wp--preset--color--accent);
  --dm-accent-hover: var(--wp--preset--color--accent-hover);
  --dm-accent-soft: var(--wp--preset--color--accent-soft);
  --dm-dark: var(--wp--preset--color--dark);
  --dm-line: var(--wp--preset--color--line);
}

/* ---------- Temel ---------- */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--dm-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background-image: radial-gradient(rgba(120, 96, 60, .035) 1px, transparent 1px); background-size: 4px 4px; overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
img { height: auto; }
h1, h2, h3, .dm-h1 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--dm-focus); outline-offset: 3px; border-radius: 6px; }
.dm-h1 { font-size: var(--wp--preset--font-size--xx-large) !important; }
.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; }
.dm-icon { width: 24px; height: 24px; flex: none; }

/* Header / main / footer arasında boşluk olmasın; tam genişlik bölümler birbirine yapışsın */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.dm-main, .dm-content { margin-block: 0 !important; }
.dm-content > .alignfull { margin-block: 0 !important; }
.dm-content > .alignfull + .alignfull { margin-block-start: 0 !important; }

.dm-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem !important; font-weight: 600; color: var(--dm-accent-hover); margin-bottom: .75em !important; }
.dm-eyebrow a { color: inherit; text-decoration: none; }
.dm-lead { font-size: var(--wp--preset--font-size--large); color: var(--dm-muted); }
.dm-note { font-size: .88rem; color: var(--dm-muted); }


/* ---------- İkonlar (içerikte <span class="dm-ico--ad">; çizim maskeden) — inc/helpers.php ile aynı yollar ---------- */
.dm-ico { display: inline-block; flex: none; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: var(--dm-ico) center / contain no-repeat; mask: var(--dm-ico) center / contain no-repeat; }
.dm-ico--book { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5v-15Z%27/%3E%3Cpath d=%27M4 20.5A2.5 2.5 0 0 1 6.5 18H20v3H6.5A2.5 2.5 0 0 1 4 20.5Z%27/%3E%3C/svg%3E"); }
.dm-ico--phone { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%276%27 y=%272.5%27 width=%2712%27 height=%2719%27 rx=%272.5%27/%3E%3Cpath d=%27M10.5 18h3%27/%3E%3C/svg%3E"); }
.dm-ico--download { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8l-5-5Z%27/%3E%3Cpath d=%27M14 3v5h5%27/%3E%3Cpath d=%27M12 11v6%27/%3E%3Cpath d=%27m9 14 3 3 3-3%27/%3E%3C/svg%3E"); }
.dm-ico--whatsapp { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 11.6A8.4 8.4 0 0 1 7.6 19L3.5 20.5 5 16.6A8.4 8.4 0 1 1 20 11.6Z%27/%3E%3Cpath d=%27M9 8.6c0 3.4 2.6 6.4 6.3 6.6l.9-1.6-1.9-.9-.8.8a4.6 4.6 0 0 1-2.6-2.6l.8-.8-.9-1.9-1.6.4Z%27/%3E%3C/svg%3E"); }
.dm-ico--survey { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%275%27 y=%273%27 width=%2714%27 height=%2718%27 rx=%272%27/%3E%3Cpath d=%27M9 3v2h6V3%27/%3E%3Cpath d=%27m8.5 11 1.5 1.5L13 9.5%27/%3E%3Cpath d=%27M8.5 16h7%27/%3E%3C/svg%3E"); }
.dm-ico--leaf { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 19c0-9 6-14 15-14 0 9-5 15-14 15%27/%3E%3Cpath d=%27M5 19 13 11%27/%3E%3C/svg%3E"); }
.dm-ico--quote { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 11H6a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3-1.5 5-4 6%27/%3E%3Cpath d=%27M19 11h-4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3-1.5 5-4 6%27/%3E%3C/svg%3E"); }
.dm-ico--pen { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m4 20 1-4L16 5l3 3L8 19l-4 1Z%27/%3E%3Cpath d=%27m14 7 3 3%27/%3E%3C/svg%3E"); }
.dm-ico--camera { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%275%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%274%27/%3E%3Ccircle cx=%2717.3%27 cy=%276.7%27 r=%27.8%27/%3E%3C/svg%3E"); }
.dm-ico--heart { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.5-7 10-7 10Z%27/%3E%3C/svg%3E"); }
.dm-ico--mail { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%275%27 width=%2718%27 height=%2714%27 rx=%272%27/%3E%3Cpath d=%27m3 7 9 6 9-6%27/%3E%3C/svg%3E"); }
.dm-ico--play { --dm-ico: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 4.5v15l14-7.5-14-7.5Z%27 fill=%27black%27/%3E%3C/svg%3E"); }

/* ---------- Butonlar (min 48px dokunma alanı) ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.wp-block-button__link:hover { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--dm-text) !important; color: var(--dm-base) !important; }
/* Bağlantısı girilmemiş buton pasif görünür ("yakında") */
.wp-block-button__link:not([href]) { background: transparent !important; color: var(--dm-muted) !important; border: 2px dashed var(--dm-line) !important; cursor: not-allowed; box-shadow: none !important; }
.wp-block-button__link:not([href])::after { content: "yakında"; white-space: nowrap; flex: none; font-weight: 500; font-size: .75em; background: var(--dm-card); padding: .15em .6em; border-radius: 999px; }
.editor-styles-wrapper .wp-block-button__link:not([href])::after { content: none; }
.wp-block-buttons { gap: 12px; }
@media (max-width: 639px) {
  .dm-slide__text .wp-block-buttons, .dm-buy { flex-direction: column; align-items: stretch; }
  .dm-slide__text .wp-block-button, .dm-buy .wp-block-button { width: 100%; }
  .dm-slide__text .wp-block-button__link, .dm-buy .wp-block-button__link { width: 100%; }
}

/* ---------- Header ---------- */
.dm-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 30; background: rgba(242, 235, 220, .95); border-bottom: 1px solid var(--dm-line); }
@supports (backdrop-filter: blur(8px)) { .dm-header { background: rgba(242, 235, 220, .84); backdrop-filter: blur(10px); } }
.dm-header__bar { padding-block: 0 !important; }
.dm-header__inner { min-height: var(--dm-header-h); gap: 16px; }
.dm-brand { gap: 10px !important; min-width: 0; }
.dm-brand .wp-block-site-logo img { border-radius: 10px; width: 40px; height: auto; }
.dm-brand__text { gap: 0 !important; line-height: 1.1; min-width: 0; }
.dm-brand .wp-block-site-title { margin: 0; line-height: 1.1; font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; font-weight: 600; }
.dm-brand .wp-block-site-title a { color: var(--dm-text); text-decoration: none; }
.dm-brand .wp-block-site-tagline { margin: 0; font-size: .68rem; color: var(--dm-muted); letter-spacing: .08em; text-transform: uppercase; }

/* Menü: masaüstünde hap linkler, son öğe vurgulu */
.dm-nav .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 44px; padding: 0 14px !important; border-radius: 999px; color: var(--dm-text); text-decoration: none; }
.dm-nav .wp-block-navigation-item__content:hover,
.dm-nav .current-menu-item > .wp-block-navigation-item__content,
.dm-nav [aria-current="page"] { background: var(--dm-primary-soft); color: var(--dm-primary-dark); }
.dm-nav .dm-nav-cta > .wp-block-navigation-item__content { background: var(--dm-accent); color: #fff; }
.dm-nav .dm-nav-cta > .wp-block-navigation-item__content:hover { background: var(--dm-accent-hover); color: #fff; }
.dm-nav .wp-block-navigation__container { gap: 2px; }

/* Mobil menü düğmesi 900px altında görünsün (çekirdek varsayılanı 600px) */
.dm-nav .wp-block-navigation__responsive-container-open { width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; }
.dm-nav .wp-block-navigation__responsive-container-open:hover { background: var(--dm-primary-soft); }
@media (max-width: 899px) {
  .dm-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .dm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* Açık menü: sağdan çekmece + karartma */
/* backdrop-filter, içindeki fixed çekmeceyi başlığa hapseder; DesignSetGo sabit başlığı z-index'i değişkenle 100'e çeker */
html.has-modal-open .dm-header { z-index: 100001 !important; --dsgo-sticky-header-z-index: 100001 !important; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--dm-base); }
html.has-modal-open body::after { content: ""; position: fixed; inset: 0; z-index: 100000; background: rgba(10, 28, 77, .45); }
.dm-nav .wp-block-navigation__responsive-container.is-menu-open {
  top: 0; bottom: 0; left: auto; right: 0; width: min(360px, 88vw); height: 100dvh; box-sizing: border-box;
  background: var(--dm-base) !important; color: var(--dm-text) !important;
  box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .35);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(24px + var(--dm-safe-b)) !important;
  animation: dm-drawer .3s ease both;
}
@keyframes dm-drawer { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.dm-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px !important; align-items: stretch !important; }
.dm-nav .is-menu-open .wp-block-navigation__container { gap: 4px !important; align-items: stretch !important; width: 100%; }
.dm-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.dm-nav .is-menu-open .wp-block-navigation-item__content { min-height: 52px; padding: 0 16px !important; border-radius: 14px; font-size: 1.08rem; width: 100%; }
.dm-nav .is-menu-open .dm-nav-cta > .wp-block-navigation-item__content { justify-content: center; margin-top: 8px; }
.dm-nav .wp-block-navigation__responsive-container-close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; top: 12px !important; right: 12px !important; }

/* ---------- Hero slider ---------- */
.dm-hero {
  position: relative; overflow: hidden; padding-block: 24px 72px !important;
  background: radial-gradient(120% 90% at 0% 0%, var(--dm-primary-soft), transparent 60%),
              radial-gradient(90% 80% at 100% 100%, var(--dm-sand), transparent 60%), var(--dm-base);
}
.dm-slider { margin-block: 0 !important; }
.dm-slide { display: grid; gap: 20px; align-content: start; }
body .dm-slide > * { margin-block: 0; }
.dm-slider.is-ready { display: grid; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.dm-slider.is-ready > .dm-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; margin: 0 !important; }
.dm-slider.is-ready > .dm-slide.is-active { opacity: 1; visibility: visible; }
.dm-slider:not(.is-ready) > .dm-slide + .dm-slide { margin-top: 48px; padding-top: 48px; border-top: 1px dashed var(--dm-line); }
.dm-slide__art { display: flex; justify-content: center; }
.dm-slide__art .wp-block-image { margin: 0; }
.dm-slide__art .wp-block-image img { width: auto; max-height: min(240px, 34dvh); aspect-ratio: 723 / 1024; object-fit: cover; }
.dm-art-shape { width: 180px; aspect-ratio: 1; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: linear-gradient(140deg, var(--dm-primary), var(--dm-accent-soft)); color: #fff; display: grid; place-items: center; box-shadow: var(--dm-shadow); }
.dm-art-shape .dm-icon { width: 64px; height: 64px; }
.dm-slide__text { text-align: center; }
body .dm-slide__text > * + * { margin-block-start: .6em; }
.dm-slide__text .dm-lead { max-width: 60ch; margin-inline: auto; }
.dm-slide__text .wp-block-buttons { justify-content: center; margin-top: 1.4em !important; }

.dm-slider-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.dm-slider-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--dm-text); background: transparent; color: var(--dm-text); cursor: pointer; transition: background-color .2s, color .2s; }
.dm-slider-btn:hover { background: var(--dm-text); color: var(--dm-base); }
.dm-slider-btn svg { width: 22px; height: 22px; }
.dm-dots { display: flex; gap: 2px; }
.dm-dot { width: 32px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
.dm-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--dm-line); transition: width .25s, background-color .25s; }
.dm-dot.is-active::before { width: 24px; background: var(--dm-accent); }
.dm-count { display: none; font-variant-numeric: tabular-nums; color: var(--dm-muted); min-width: 3ch; text-align: center; }
.dm-count b { color: var(--dm-text); }

/* Kitap kapağı blok stili */
.is-style-dm-book img { border-radius: 10px; box-shadow: 0 24px 48px -18px rgba(10, 28, 77, .55); transform: rotate(-2.5deg); }

/* ---------- Yuvarlak kategori şeridi ---------- */
.dm-circle-nav { position: relative; z-index: 2; }
.dm-content > .alignfull.dm-circle-nav, .dm-circle-nav { margin-top: -52px !important; }
.dm-circle-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(var(--dm-gutter) * -1) !important; padding: 4px var(--dm-gutter) 8px; }
.dm-circle-list::-webkit-scrollbar { display: none; }
body .dm-circle-list > * { margin: 0; }
.dm-circle-item { position: relative; flex: none; display: grid; justify-items: center; gap: 8px; width: 84px; scroll-snap-align: start; }
body .dm-circle-item > * { margin: 0; }
.dm-circle { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 4px solid var(--dm-surface); box-shadow: 0 10px 24px -10px rgba(10, 28, 77, .45); transition: box-shadow .2s, border-color .2s; }
.dm-circle img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dm-circle .dm-icon { width: 30px; height: 30px; }
.dm-circle-label { font-size: .8rem; font-weight: 600; text-align: center; line-height: 1.25; }
.dm-circle-label a { color: var(--dm-text); text-decoration: none; }
.dm-circle-label a::after { content: ""; position: absolute; inset: 0; }
.dm-circle-item:hover .dm-circle { border-color: var(--dm-primary-soft); box-shadow: 0 14px 28px -10px rgba(10, 28, 77, .55); }
.tone-sage { background-color: var(--dm-primary-soft); color: var(--dm-primary-dark); }
.tone-clay { background-color: var(--dm-sand); color: var(--dm-accent); }
.tone-sand { background-color: var(--dm-card); color: var(--dm-primary-dark); }

/* ---------- Bölümler ---------- */
.dm-section { padding-block: 56px !important; }
.dm-section-title { margin-bottom: .4em; }
.dm-section-sub { color: var(--dm-muted); }

.dm-card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px !important; }
body .dm-card-grid > * { margin: 0; }
.is-style-dm-card { position: relative; display: grid; grid-template-columns: 112px 1fr; background: var(--dm-surface); border: 1px solid var(--dm-line); border-radius: var(--dm-radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
body .is-style-dm-card > * { margin: 0; }
.is-style-dm-card:hover { box-shadow: var(--dm-shadow); border-color: transparent; }
.dm-card__media { position: relative; display: grid; place-items: center; min-height: 112px; overflow: hidden; }
body .dm-card__media > * { margin: 0; }
.dm-card__media .wp-block-image { position: absolute; inset: 0; margin: 0; }
.dm-card__media .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dm-card__media .dm-icon { width: 40px; height: 40px; }
.dm-badge { position: absolute; top: 8px; left: 8px; margin: 0; background: var(--dm-accent); color: #fff; font-size: .7rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; }
.dm-card__body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 16px 44px 16px 16px; }
body .dm-card__body > * { margin: 0; }
.dm-card__body h3 { font-size: 1.12rem; margin-bottom: .15em !important; }
.dm-card__body h3 a { color: var(--dm-text); text-decoration: none; }
.dm-card__body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dm-card__body p { color: var(--dm-muted); font-size: .92rem; }
.dm-card__body::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--dm-accent); border-right: 2px solid var(--dm-accent); transform: translateY(-50%) rotate(45deg); transition: transform .2s; }
.is-style-dm-card:hover .dm-card__body::after { transform: translate(3px, -50%) rotate(45deg); }

.dm-community { background: var(--dm-card); }
.dm-gap-lg { gap: 32px !important; }
.is-style-dm-panel { background: var(--dm-surface); border-radius: var(--dm-radius); padding: 28px 24px; box-shadow: var(--dm-shadow); }
.dm-quote > .dm-icon { width: 40px; height: 40px; color: var(--dm-accent-soft); }
.dm-quote-query .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.dm-quote__title { font-size: 1.4rem !important; margin: .5em 0 .3em !important; }
.dm-quote__title::before { content: "“"; }
.dm-quote__title::after { content: "”"; }
.dm-quote__author, .dm-story__author { color: var(--dm-muted); }
.dm-quote__author p::before, .dm-story__author p::before { content: "— "; }
.dm-text-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.dm-accent-title { color: var(--dm-accent-hover) !important; }

/* Uygulama bölümü */
.dm-app__text { text-align: center; }
.dm-app__text .wp-block-buttons { justify-content: center; }
.dm-store .wp-block-button__link { background: var(--dm-dark); min-height: 56px; border-radius: 14px; padding-left: 1.1em; }
.dm-store .wp-block-button__link:hover { background: #000; }
.dm-store .wp-block-button__link::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5v17l15-8.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5v17l15-8.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dm-phone { margin-inline: auto; width: 210px; aspect-ratio: 9 / 18.5; border-radius: 34px; background: var(--dm-dark); padding: 10px; box-shadow: 0 30px 60px -24px rgba(10, 28, 77, .6); }
.dm-phone__screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: linear-gradient(170deg, var(--dm-primary-soft) 0 38%, var(--dm-surface) 38%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 48px 16px 16px; }
.dm-phone__notch { position: absolute; top: 8px; width: 70px; height: 18px; border-radius: 999px; background: var(--dm-dark); }
.dm-phone__screen img { width: 68px; height: 68px; border-radius: 18px; background: var(--dm-surface); padding: 6px; box-shadow: var(--dm-shadow); }
.dm-phone__screen strong { font: 600 1.3rem var(--wp--preset--font-family--heading); margin-top: 6px; }
.dm-phone__screen span { font-size: .72rem; color: var(--dm-muted); }
.dm-phone__lines { width: 100%; display: grid; gap: 10px; margin-top: 18px; }
.dm-phone__lines i { display: block; height: 34px; border-radius: 10px; background: var(--dm-card); }
.dm-phone__lines i:nth-child(2) { background: var(--dm-sand); }

/* E-bülten bloğu */
.dm-newsletter { background: var(--dm-primary-dark); background-image: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.06), transparent 55%); color: #fff; padding: 56px var(--dm-gutter); margin-block: 0 !important; }
.dm-newsletter__inner { max-width: 1180px; margin-inline: auto; display: grid; gap: 24px; }
.dm-newsletter h2 { color: #fff; margin: .3em 0; }
.dm-newsletter p { color: rgba(255, 255, 255, .88); margin: 0; }
.dm-newsletter .dm-icon { width: 40px; height: 40px; }
.dm-subscribe { display: grid; gap: 12px; }
.dm-subscribe input[type="email"] { width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font: 400 1rem var(--wp--preset--font-family--body); background: #fff; color: var(--dm-text); box-sizing: border-box; }
.dm-subscribe input:focus { outline: 3px solid #F4C9B5; outline-offset: 2px; }
.dm-subscribe input[aria-invalid="true"] { border-color: #F4C9B5; }
.dm-subscribe button { width: 100%; min-height: 52px; cursor: pointer; }
.dm-subscribe button[aria-busy="true"] { opacity: .7; cursor: progress; }
.dm-subscribe__msg { min-height: 1.6em; font-size: .95rem; font-weight: 500; }
.dm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Alt sayfalar ---------- */
.dm-page-hero { padding-block: 40px 32px !important; background: radial-gradient(110% 100% at 0% 0%, var(--dm-primary-soft), var(--dm-base) 70%); }
.dm-page-hero .wp-block-post-title { margin: 0; }
.dm-prose { padding-block: 40px 56px !important; }
.dm-book__cover .wp-block-image { display: flex; justify-content: center; margin: 0; }
.dm-book__cover img { width: min(260px, 72vw); }
.dm-status { display: inline-block; background: var(--dm-primary-soft); color: var(--dm-primary-dark); padding: .35em 1em; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.dm-resource-grid { display: grid; gap: 14px; margin-top: 24px !important; }
body .dm-resource-grid > * { margin: 0; }
.dm-resource { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; background: var(--dm-surface); padding: 20px; border-radius: var(--dm-radius); border: 1px solid var(--dm-line); }
body .dm-resource > * { margin: 0; }
.dm-resource > .dm-icon { grid-row: span 2; color: var(--dm-primary); }
.dm-resource p { color: var(--dm-muted); }

.dm-story-list .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.dm-story-list .wp-block-post { background: var(--dm-surface); border-radius: var(--dm-radius); padding: 28px 22px; border: 1px solid var(--dm-line); margin: 0; }
.dm-story-list .wp-block-post::before { content: ""; display: block; width: 40px; height: 40px; background: var(--dm-accent-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 11H6a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3-1.5 5-4 6'/%3E%3Cpath d='M19 11h-4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3-1.5 5-4 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 11H6a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3-1.5 5-4 6'/%3E%3Cpath d='M19 11h-4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v4c0 3-1.5 5-4 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.dm-story__quote { font-size: clamp(1.35rem, 4vw, 1.8rem) !important; }
.dm-story__quote::before { content: "“"; }
.dm-story__quote::after { content: "”"; }
.dm-story__quote a { color: inherit; text-decoration: none; }
.dm-story__author { font-weight: 600; color: var(--dm-primary-dark) !important; }
.dm-single-title::before { content: "“"; }
.dm-single-title::after { content: "”"; }
.wp-block-query-pagination { margin-top: 24px; gap: 8px; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* Karekod karşılama: WhatsApp + anket (telefonda büyük, tam genişlik) */
.dm-qr-actions { margin-top: 1.6em !important; }
body .dm-qr-actions > * + * { margin-block-start: .9em; }
.dm-qr-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
.dm-qr-buttons .wp-block-button, .dm-qr-buttons .wp-block-button__link { width: 100%; }
.dm-qr-buttons .wp-block-button__link { min-height: 58px; font-size: 1.05rem; }
.dm-btn-whatsapp .wp-block-button__link[href] { background: var(--dm-primary-dark); }
.dm-btn-whatsapp .wp-block-button__link[href]:hover { background: var(--dm-dark); }
.dm-btn-whatsapp .wp-block-button__link::before, .dm-btn-survey .wp-block-button__link::before, .dm-download .wp-block-button__link::before {
  content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: var(--dm-ico) center / contain no-repeat; mask: var(--dm-ico) center / contain no-repeat;
}
.dm-btn-whatsapp { --dm-ico: var(--dm-ico-whatsapp); }
.dm-btn-survey { --dm-ico: var(--dm-ico-survey); }
.dm-download { --dm-ico: var(--dm-ico-download); margin-top: .8em !important; }
.dm-download .wp-block-button__link::before { width: 20px; height: 20px; }
@media (min-width: 640px) {
  .dm-qr-buttons { flex-direction: row; }
  .dm-qr-buttons .wp-block-button { width: auto; flex: 1 1 0; }
}

/* WordPress "Dosya" bloğu (indirilebilir belge) */
.wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.wp-block-file > a:not(.wp-block-file__button) { font-weight: 600; color: var(--dm-text); overflow-wrap: anywhere; }
.wp-block-file .wp-block-file__button {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px;
  background: var(--dm-accent); color: #fff; font-weight: 600; text-decoration: none;
}
.wp-block-file .wp-block-file__button:hover { background: var(--dm-accent-hover); }
.wp-block-file .wp-block-file__button::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--dm-ico-download) center / contain no-repeat; mask: var(--dm-ico-download) center / contain no-repeat; }
.dm-resource .wp-block-file { grid-column: 1 / -1; margin-top: .8em; }
.dm-resource .wp-block-buttons { grid-column: 1 / -1; }

/* İletişim formu */
.dm-contact { display: grid; gap: 14px; background: var(--dm-surface); border: 1px solid var(--dm-line); border-radius: var(--dm-radius); padding: 22px; margin-block: 28px !important; }
.dm-contact p { margin: 0; }
.dm-field { display: grid; gap: 6px; }
.dm-field label { font-weight: 600; font-size: .95rem; }
.dm-field input, .dm-field textarea { width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 16px; border: 2px solid var(--dm-line); border-radius: 14px; background: #fff; color: var(--dm-text); font: 400 1rem var(--wp--preset--font-family--body); }
.dm-field textarea { min-height: 140px; resize: vertical; }
.dm-field input:focus, .dm-field textarea:focus { outline: 3px solid var(--dm-focus); outline-offset: 1px; border-color: transparent; }
.dm-contact [aria-invalid="true"] { border-color: var(--dm-accent) !important; }
.dm-consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--dm-muted); }
.dm-consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--dm-primary-dark); }
.dm-contact button { min-height: 52px; cursor: pointer; justify-self: start; padding-inline: 1.6em; }
.dm-contact button[aria-busy="true"] { opacity: .7; cursor: progress; }
.dm-form-msg { min-height: 1.5em; font-weight: 500; }
@media (max-width: 639px) { .dm-contact button { justify-self: stretch; } }

/* Sık sorulanlar (Ayrıntılar bloğu) */
.dm-faq { background: var(--dm-surface); border: 1px solid var(--dm-line); border-radius: 14px; padding: 0 18px; margin-block: 10px !important; }
.dm-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; font-weight: 600; cursor: pointer; list-style: none; }
.dm-faq summary::-webkit-details-marker { display: none; }
.dm-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--dm-accent-hover); transition: transform .2s; }
.dm-faq[open] summary::after { transform: rotate(45deg); }
.dm-faq > :not(summary) { margin: 0 0 16px; color: var(--dm-muted); }

/* Yasal metinler ve düz sayfalar */
.dm-prose h2 { font-size: clamp(1.25rem, 3.4vw, 1.6rem); margin-top: 1.8em; }
.dm-prose h3, .dm-prose h4 { margin-top: 1.4em; }
.dm-prose li + li { margin-top: .35em; }

/* ---------- Footer ---------- */
.dm-footer { background: var(--dm-dark); color: rgba(255, 255, 255, .8); padding-block: 48px calc(96px + var(--dm-safe-b)) !important; font-size: .95rem; }
.dm-footer__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 32px 20px !important; }
.dm-footer__brand { grid-column: 1 / -1; }
@media (max-width: 639px) { .dm-footer__col:last-child { grid-column: 1 / -1; } }
body .dm-footer__col > * + * { margin-block-start: 0; }
.dm-footer .dm-brand .wp-block-site-title a { color: #fff; }
.dm-footer__title { font: 600 .78rem var(--wp--preset--font-family--body) !important; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; margin-bottom: 10px !important; }
.dm-footer a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255, 255, 255, .8); text-decoration: none; overflow-wrap: anywhere; }
.dm-footer a:hover { color: #fff; text-decoration: underline; }
.dm-footer p { margin: 0; }
.dm-muted-link { display: flex; align-items: center; min-height: 40px; color: rgba(255, 255, 255, .5); }
.dm-social { gap: 0 !important; }
.dm-social .wp-social-link { background: none !important; color: rgba(255, 255, 255, .8) !important; }
.dm-social .wp-social-link a { padding: 0 !important; gap: 8px; line-height: 1.3; white-space: nowrap; overflow-wrap: normal; }
.dm-social .wp-social-link svg { width: 18px; height: 18px; }
.dm-social .wp-block-social-link-label { font-size: .95rem !important; margin: 0 !important; }
.dm-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px !important; padding-top: 16px; font-size: .85rem; gap: 4px !important; }

/* ---------- Sabit "Bize Yazın" butonu ---------- */
.dm-fab { position: fixed; right: 16px; bottom: calc(16px + var(--dm-safe-b)); z-index: 20; margin: 0 !important; transition: transform .25s, opacity .25s; }
.dm-fab .wp-block-button__link { min-height: 52px; padding-left: 16px; box-shadow: 0 14px 30px -10px rgba(169, 87, 58, .65); }
.dm-fab .wp-block-button__link::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dm-fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.editor-styles-wrapper .dm-fab { position: static; }

/* ---------- ≥ 640px ---------- */
@media (min-width: 640px) {
  :root { --dm-gutter: 24px; --dm-header-h: 72px; }
  .dm-section { padding-block: 72px !important; }
  .dm-slide__art .wp-block-image img { max-height: 340px; }
  .dm-card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .is-style-dm-card { grid-template-columns: 1fr; }
  .dm-card__media { aspect-ratio: 4 / 3; }
  .dm-card__media .dm-icon { width: 56px; height: 56px; }
  .dm-badge { left: auto; right: 12px; top: 12px; }
  .dm-card__body { padding: 20px 52px 22px 22px; }
  .dm-subscribe { grid-template-columns: 1fr auto; }
  .dm-subscribe button { width: auto; }
  .dm-subscribe__msg { grid-column: 1 / -1; }
  .dm-resource-grid { grid-template-columns: repeat(2, 1fr); }
  .is-style-dm-panel, .dm-story-list .wp-block-post { padding: 40px; }
  .dm-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .dm-circle-item { width: 100px; }
  .dm-circle { width: 88px; height: 88px; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  .dm-hero { padding-block: 56px 104px !important; }
  .dm-slide { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; min-height: 440px; }
  .dm-slide__art { order: 2; }
  .dm-slide__art .wp-block-image img { max-height: 430px; }
  .dm-art-shape { width: 320px; }
  .dm-art-shape .dm-icon { width: 96px; height: 96px; }
  .dm-slide__text { text-align: left; }
  .dm-slide__text .dm-lead { margin-inline: 0; }
  .dm-slide__text .wp-block-buttons, .dm-slider-controls { justify-content: flex-start; }
  .dm-count { display: inline; }

  .dm-content > .alignfull.dm-circle-nav, .dm-circle-nav { margin-top: -64px !important; }
  .dm-circle-list { justify-content: center; overflow: visible; gap: 28px; margin-inline: 0 !important; padding: 0; }
  .dm-circle-item { width: 112px; }
  .dm-circle { width: 104px; height: 104px; border-width: 6px; }
  .dm-circle .dm-icon { width: 36px; height: 36px; }
  .dm-circle-label { font-size: .9rem; }

  .dm-section { padding-block: 88px !important; }
  .dm-card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .dm-gap-lg { gap: 56px !important; }
  .dm-app__text { text-align: left; }
  .dm-app__text .wp-block-buttons { justify-content: flex-start; }
  .dm-phone { width: 240px; }
  .dm-newsletter { padding-block: 88px; }
  .dm-newsletter__inner { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .dm-page-hero { padding-block: 72px 48px !important; }
  .dm-book__cover { flex-basis: 340px !important; flex-grow: 0 !important; }
  .dm-book__cover img { width: 100%; }
  .dm-resource-grid { grid-template-columns: repeat(3, 1fr); }
  .dm-footer { padding-block: 64px 32px !important; }
  .dm-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px !important; }
  .dm-footer__brand { grid-column: auto; }
}

/* Hover yalnızca fareli cihazlarda */
@media (hover: none) {
  .is-style-dm-card:hover, .wp-block-button__link:hover { box-shadow: none; }
  .is-style-dm-card:active { transform: scale(.985); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
