.dmh-shell,
.dmh-elementor-block,
.dmh-dynamic {
  --dmh-ink: #141414;
  --dmh-paper: #f6f2ea;
  --dmh-line: rgba(20,20,20,.18);
  --dmh-muted: rgba(20,20,20,.66);
  --dmh-soft: rgba(20,20,20,.06);
  box-sizing: border-box;
  color: var(--dmh-ink);
  font: inherit;
}
.dmh-shell {
  max-width: 1120px;
  margin: 24px auto;
  padding: clamp(20px, 4vw, 52px);
  background: var(--dmh-paper);
}
.dmh-shell *, .dmh-shell *::before, .dmh-shell *::after,
.dmh-elementor-block *, .dmh-elementor-block *::before, .dmh-elementor-block *::after { box-sizing: border-box; }
.dmh-shell h1, .dmh-shell h2, .dmh-shell h3, .dmh-shell p,
.dmh-elementor-block h1, .dmh-elementor-block h2, .dmh-elementor-block h3, .dmh-elementor-block p { margin-top: 0; }
.dmh-shell h1 { font-size: clamp(36px, 6vw, 72px); line-height: .95; letter-spacing: -.045em; }
.dmh-shell h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1; letter-spacing: -.03em; }
.dmh-shell h3, .dmh-elementor-block h3 { font-size: 22px; line-height: 1.1; }
.dmh-kicker { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.dmh-small { font-size: 13px; color: var(--dmh-muted); }
.dmh-message { max-width: 1120px; margin: 16px auto; padding: 14px 16px; border: 1px solid var(--dmh-line); background: #fff; color: var(--dmh-ink); }
.dmh-area-header, .dmh-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.dmh-area-header { padding-bottom: 28px; border-bottom: 1px solid var(--dmh-line); }
.dmh-member-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--dmh-line); position: sticky; top: 0; z-index: 3; background: var(--dmh-paper); }
.dmh-member-nav a, .dmh-text-link { color: var(--dmh-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.dmh-member-nav a { display: inline-block; padding: 8px 10px; text-decoration: none; border: 1px solid var(--dmh-line); border-radius: 999px; }
.dmh-section { padding: 42px 0; border-bottom: 1px solid var(--dmh-line); scroll-margin-top: 90px; }
.dmh-section:last-child { border-bottom: 0; }
.dmh-elementor-block .dmh-section { padding-top: 0; padding-bottom: 0; border-bottom: 0; }
.dmh-section-intro { max-width: 780px; color: var(--dmh-muted); }
.dmh-status, .dmh-pill { display: inline-flex; align-items: center; width: fit-content; padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; line-height: 1; color: var(--dmh-ink) !important; }
.dmh-status-active::before { content: '●'; margin-right: 6px; }
.dmh-card-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: 20px; align-items: stretch; }
.dmh-member-card { min-height: 300px; padding: 24px; background: var(--dmh-ink); color: var(--dmh-paper); display: flex; flex-direction: column; justify-content: space-between; border-radius: 4px; }
.dmh-member-card-top, .dmh-member-card-bottom, .dmh-member-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .08em; }
.dmh-member-name { max-width: 80%; font-size: clamp(32px, 5vw, 58px); line-height: .92; letter-spacing: -.04em; }
.dmh-member-meta { align-items: flex-end; border-top: 1px solid rgba(246,242,234,.35); padding-top: 16px; }
.dmh-member-meta strong { font-size: 18px; }
.dmh-qr-panel { min-height: 300px; padding: 22px; border: 1px solid var(--dmh-line); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--dmh-ink); }
.dmh-qrcode { padding: 10px; background: white; margin-bottom: 16px; width: fit-content; }
.dmh-qrcode img, .dmh-qrcode canvas { display: block; max-width: 100%; height: auto; }
.dmh-list { display: grid; gap: 12px; color: var(--dmh-ink); }
.dmh-list-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .28fr); gap: 28px; padding: 22px 0; border-top: 1px solid var(--dmh-line); }
.dmh-list-card:first-child { border-top: 0; }
.dmh-list-card-main { min-width: 0; }
.dmh-list-card-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dmh-content { max-width: 760px; }
.dmh-note { padding: 12px 14px; background: var(--dmh-soft); color: var(--dmh-ink); }
.dmh-opportunity-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.dmh-code, .dmh-deadline { width: 100%; padding: 12px; border: 1px solid var(--dmh-line); color: var(--dmh-ink); }
.dmh-code span, .dmh-deadline span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; color: var(--dmh-muted); }
.dmh-code strong { font-size: 20px; word-break: break-word; }
.dmh-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--dmh-ink); background: var(--dmh-ink); color: var(--dmh-paper) !important; text-decoration: none !important; cursor: pointer; font: inherit; }
.dmh-button-secondary { background: transparent; color: var(--dmh-ink) !important; }
.dmh-empty { padding: 28px 0; color: var(--dmh-muted); border-top: 1px solid var(--dmh-line); }
.dmh-account-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 36px; }
.dmh-account-info p { padding-bottom: 12px; border-bottom: 1px solid var(--dmh-line); }
.dmh-account-info span { display: block; color: var(--dmh-muted); font-size: 12px; margin-bottom: 4px; }
.dmh-profile-form { display: grid; gap: 16px; }
.dmh-profile-form label { display: grid; gap: 7px; font-weight: 600; }
.dmh-profile-form input, .dmh-profile-form textarea, .dmh-login-shell input[type="text"], .dmh-login-shell input[type="password"] { width: 100%; padding: 12px; border: 1px solid var(--dmh-line); background: #fff; color: var(--dmh-ink); font: inherit; }
.dmh-login-shell { max-width: 660px; }
.dmh-login-shell #loginform p { margin-bottom: 16px; }
.dmh-login-shell .login-submit input { min-height: 44px; padding: 10px 16px; border: 0; background: var(--dmh-ink); color: var(--dmh-paper); font: inherit; cursor: pointer; }
.dmh-verify { max-width: 680px; text-align: center; }
.dmh-verify-mark { width: 72px; height: 72px; margin: 0 auto 24px; border: 2px solid currentColor; border-radius: 999px; display: grid; place-items: center; font-size: 34px; }
.dmh-verify-member-no { font-size: 18px; }
.dmh-member-field { color: var(--dmh-ink) !important; }

/* Act Now temasının sarı vurgu rengini metin/linklere taşıdığı durumlarda
   üye alanındaki yazıları siyah tutar. Siyah kartın kendi açık renk yazıları hariçtir. */
.dmh-shell a:not(.dmh-button),
.dmh-elementor-block a:not(.dmh-button),
a.dmh-dynamic,
.dmh-dynamic a:not(.dmh-button) { color: var(--dmh-ink) !important; }
.dmh-member-card, .dmh-member-card * { color: var(--dmh-paper) !important; }

@media (max-width: 760px) {
  .dmh-card-grid, .dmh-list-card, .dmh-account-grid { grid-template-columns: 1fr; }
  .dmh-area-header, .dmh-section-heading { flex-direction: column; }
  .dmh-member-card { min-height: 250px; }
  .dmh-member-name { max-width: 100%; }
  .dmh-member-nav { position: static; }
}

/* -------------------------------------------------------------------------
 * v0.4 — Üye Olanakları kartları, Etkinlikler ve Kaynaklar
 * ---------------------------------------------------------------------- */
.dmh-benefits-grid,
.dmh-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dmh-benefit-card.dmh-list-card,
.dmh-resource-card {
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--dmh-line);
  border-radius: 8px;
  background: transparent;
  color: var(--dmh-ink);
}

.dmh-benefit-card.dmh-list-card:first-child { border-top: 1px solid var(--dmh-line); }
.dmh-benefit-card h3,
.dmh-resource-card h3 { margin: 14px 0 10px; }
.dmh-benefit-excerpt,
.dmh-resource-card p { color: var(--dmh-muted); }

.dmh-card-action {
  appearance: none;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dmh-ink) !important;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.dmh-card-action:hover,
.dmh-card-action:focus { text-decoration-thickness: 2px; }

.dmh-cta-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--dmh-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dmh-cta-card p { margin-bottom: 0; max-width: 760px; }

.dmh-section-footer { margin: 20px 0 0; }

.dmh-account-grid-static {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.dmh-account-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Modal */
html.dmh-modal-open { overflow: hidden; }
.dmh-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dmh-modal[aria-hidden="false"] { display: flex; }
.dmh-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
}
.dmh-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(82vh, 840px);
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--dmh-paper, #f6f2ea);
  color: var(--dmh-ink, #141414);
  border-radius: 10px;
  box-shadow: 0 18px 70px rgba(0,0,0,.22);
}
.dmh-modal-dialog h3 { margin: 14px 48px 18px 0; font-size: clamp(28px, 4vw, 44px); }
.dmh-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dmh-line);
  border-radius: 999px;
  background: transparent;
  color: var(--dmh-ink) !important;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.dmh-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
}
.dmh-modal-actions .dmh-code { width: auto; min-width: 170px; }

/* Public resources page */
.dmh-public-resources .dmh-resources-grid { margin-top: 36px; }

/* Tema sarısının kart içi aksiyon metinlerine taşmasını engelle. */
.dmh-benefit-card a,
.dmh-resource-card a,
.dmh-benefit-card button,
.dmh-resource-card button,
.dmh-cta-card a,
.dmh-modal-dialog a:not(.dmh-button) { color: var(--dmh-ink) !important; }

@media (max-width: 980px) {
  .dmh-benefits-grid,
  .dmh-resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .dmh-benefits-grid,
  .dmh-resources-grid { grid-template-columns: 1fr; }
  .dmh-benefit-card.dmh-list-card,
  .dmh-resource-card { min-height: 0; }
  .dmh-cta-card,
  .dmh-account-grid-static { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .dmh-account-grid-static { display: grid; }
  .dmh-modal { padding: 12px; }
}


/* -------------------------------------------------------------------------
 * v0.6.6 — İçerik kartları ve Kaynaklar bilgi mimarisi
 * Kartlar yalnızca taranabilir bilgiyi gösterir; uzun açıklama modalda açılır.
 * ---------------------------------------------------------------------- */
.dmh-benefit-card.dmh-list-card,
.dmh-resource-card {
  min-height: 190px;
  padding: 24px;
  gap: 28px;
}

.dmh-benefit-card h3,
.dmh-resource-card h3 {
  margin: 16px 0 0;
  font-family: inherit !important;
  font-size: clamp(18px, 1.4vw, 22px) !important;
  line-height: 1.22 !important;
  letter-spacing: -.015em !important;
  text-transform: none !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere;
}

.dmh-benefit-card-top,
.dmh-resource-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Kart ön yüzünde uzun özetler gösterilmez. */
.dmh-benefit-excerpt,
.dmh-resource-card-top > p {
  display: none !important;
}

.dmh-card-action {
  font-size: 14px;
  line-height: 1.2;
}

.dmh-section-footer {
  margin: 32px 0 0;
  padding-top: 4px;
}
.dmh-section-footer .dmh-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--dmh-ink);
  text-decoration: none;
  font-weight: 600;
}

/* Kaynaklar herkese açık sayfası: sayfa zemini nötr, kart sistemi üye alanıyla aynı. */
.dmh-public-resources {
  background: #fff !important;
}
.dmh-public-resources .dmh-section-intro {
  margin-bottom: 0;
}
.dmh-public-resources .dmh-resources-grid {
  margin-top: 34px;
}
.dmh-public-resources .dmh-resource-card {
  background: #fff;
}

/* Kaynak detayında kısa özet bir giriş metnidir; belgeye gitme eylemi modala taşınır. */
.dmh-resource-lead {
  max-width: 62ch;
  margin: 0 0 22px;
  color: var(--dmh-muted);
  font-size: 17px;
  line-height: 1.55;
}
.dmh-resource-content {
  color: var(--dmh-ink);
}
.dmh-resource-content:empty { display: none; }
.dmh-resource-modal .dmh-modal-actions {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .dmh-benefit-card.dmh-list-card,
  .dmh-resource-card {
    min-height: 160px;
    padding: 20px;
  }
  .dmh-section-footer { margin-top: 24px; }
}

/* -------------------------------------------------------------------------
 * v0.7.0 — Elementor'dan yönetilebilir bağımsız Kaynaklar / Üye Olanakları
 * ---------------------------------------------------------------------- */
.dmh-standalone-widget {
  width: 100%;
  color: var(--dmh-ink);
}
.dmh-standalone-heading {
  margin-bottom: 32px;
}
.dmh-standalone-heading h2 {
  margin: 0;
  color: var(--dmh-ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.03em;
}
.dmh-standalone-heading .dmh-standalone-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--dmh-muted);
  line-height: 1.55;
}
.dmh-standalone-widget .dmh-benefits-grid,
.dmh-standalone-widget .dmh-resources-grid {
  margin-top: 0;
}

/* Elementor renk/padding kontrollerinin temel link stilini ezebilmesi için. */
.dmh-standalone-widget .dmh-card-action {
  min-height: 0;
}

/* v0.8 flexible card metadata */
.dmh-meta-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 14px 0 0;
}
.dmh-meta-field {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
}
.dmh-meta-field dt,
.dmh-meta-field dd {
    margin: 0;
}
:where(.dmh-card-meta .dmh-meta-field) {
    font-size: .86rem;
    line-height: 1.35;
}
:where(.dmh-card-meta dt) {
    font-weight: 600;
    opacity: .65;
}
:where(.dmh-card-meta dd) {
    font-weight: 500;
}
.dmh-modal-meta {
    padding: 12px 0 16px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    margin-bottom: 18px;
}
.dmh-modal-meta .dmh-meta-field {
    min-width: 120px;
}
:where(.dmh-modal-meta dt) {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .6;
}
:where(.dmh-modal-meta dd) {
    font-weight: 600;
}
\n\n/* -------------------------------------------------------------------------\n * v0.8.1 — esnek alan görünürlüğü + kaynak footer / modal kapatma düzeltmeleri\n * ---------------------------------------------------------------------- */\n.dmh-modal-close {\n  box-sizing: border-box !important;\n  min-width: 38px !important;\n  max-width: 38px !important;\n  width: 38px !important;\n  height: 38px !important;\n  min-height: 38px !important;\n  padding: 0 !important;\n  margin: 0 !important;\n  border: 1px solid var(--dmh-ink, #141414) !important;\n  border-radius: 50% !important;\n  background: #fff !important;\n  color: transparent !important;\n  font-size: 0 !important;\n  line-height: 1 !important;\n  box-shadow: none !important;\n  transform: none !important;\n}\n.dmh-modal-close:hover,\n.dmh-modal-close:focus {\n  background: #fff !important;\n  color: transparent !important;\n  transform: none !important;\n}\n.dmh-modal-close > span { display:none !important; }\n.dmh-modal-close::before,\n.dmh-modal-close::after {\n  content: "";\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  width: 16px;\n  height: 2px;\n  background: var(--dmh-ink, #141414);\n  border-radius: 99px;\n  transform-origin: center;\n}\n.dmh-modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }\n.dmh-modal-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }\n\n.dmh-card-meta {\n  width: 100%;\n  margin-top: 14px;\n}\n.dmh-card-meta .dmh-meta-field {\n  border-top: 1px solid rgba(0,0,0,.10);\n  padding-top: 7px;\n}\n.dmh-resources-section .dmh-section-footer {\n  display: flex;\n  align-items: center;\n}\n