/* ===================================================================
   World Money Finance - Basitleştirilmiş Kurumsal Tema Stilleri
   Renk Paleti: kayıtlı logodaki mavi #0042FC, koyu zemin ve açık mavi
   =================================================================== */

:root {
  --base-color: #0042fc;
  --dark-gray: #111827;
  --yellow: #0042fc;
  --yf-navy: #15213b;
  --yf-navy-dark: #0d1527;
  --yf-navy-light: #0042fc;
  --yf-gold: #0042fc;
  --yf-gold-dark: #0035c8;
  --yf-gold-light: #b5c6ff;
  --yf-gold-subtle: #eef3ff;
  --yf-light: #f8faff;
  --yf-border: #d8e2ff;
}

/* Base Theme Overrides to Match Registered Logo */
.btn-base-color {
  background-color: var(--base-color) !important;
  color: #ffffff !important;
  border-color: var(--base-color) !important;
}

.btn-base-color:hover {
  background-color: var(--yf-gold-dark) !important;
  border-color: var(--yf-gold-dark) !important;
  color: #ffffff !important;
}

.btn-gold {
  background-color: var(--yf-gold) !important;
  color: #ffffff !important;
  border-color: var(--yf-gold) !important;
}

.btn-gold:hover {
  background-color: var(--yf-gold-dark) !important;
  border-color: var(--yf-gold-dark) !important;
  color: #ffffff !important;
}

.bg-yellow {
  background-color: var(--yf-gold) !important;
}

.text-base-color {
  color: var(--base-color) !important;
}

.text-gold {
  color: var(--yf-gold) !important;
}

.text-dark-gray {
  color: var(--yf-navy) !important;
}

/* Header & Brand */
div.wmf-dark-theme header .navbar [class*="col-"] {
  padding: 15px;
}

.navbar-brand.wmf-brand {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border-radius: 2px;
  padding: 4px 8px;
}

.wmf-wordmark {
  display: block;
  width: 260px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

/* Yeni kırpılmış PNG'nin tamamını başlık alanında göster. */
header nav.navbar .navbar-brand img.default-logo,
header nav.navbar .navbar-brand img.alt-logo {
  width: 260px !important;
  height: 44px !important;
  max-width: 260px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

header nav.navbar .navbar-brand img.default-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

header nav.navbar .navbar-brand img.alt-logo,
header nav.navbar .navbar-brand img.mobile-logo {
  display: none !important;
}

header nav.navbar .navbar-brand img.mobile-logo {
  width: 220px !important;
  height: 40px !important;
  max-width: 220px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

footer .footer-logo {
  max-width: 100%;
}

footer .footer-logo .wmf-wordmark-footer {
  width: auto;
  height: 36px;
  max-width: 100%;
  max-height: 44px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  header nav.navbar .navbar-brand img.default-logo,
  header nav.navbar .navbar-brand img.alt-logo {
    width: 215px !important;
    height: 40px !important;
    max-width: 215px !important;
    max-height: 40px !important;
  }
}

@media (max-width: 991px) {
  header nav.navbar .navbar-brand img.default-logo,
  header nav.navbar .navbar-brand img.alt-logo {
    display: none !important;
  }

  header nav.navbar .navbar-brand img.mobile-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 575px) {
  header nav.navbar .navbar-brand.wmf-brand {
    padding: 2px 6px;
  }

  header nav.navbar .navbar-brand img.mobile-logo {
    width: min(220px, 58vw) !important;
    height: 36px !important;
    max-width: min(220px, 58vw) !important;
    max-height: 36px !important;
  }
}

/* Push Menu Drawer */
.wmf-city-map {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 24px;
  border: 1px solid #33445f;
  border-radius: 4px;
  background: #0e1728;
}

.wmf-contact-city-map {
  height: 220px;
  margin-top: 0;
  margin-bottom: 0;
}


.wmf-map-directions {
  position: relative;
  overflow: hidden;
}

.wmf-map-directions iframe {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wmf-map-directions-link {
  position: absolute;
  inset: 0;
}

.wmf-map-directions-label {
  position: absolute;
  inset: auto 12px 12px;
  padding: 10px 12px;
  background: var(--yf-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  border-radius: 4px;
  pointer-events: none;
}

.wmf-map-directions:focus-within {
  outline: 3px solid var(--wmf-accent-text);
  outline-offset: 4px;
}

@media (min-width: 992px) {
  .wmf-contact-info-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .wmf-contact-info-content .wmf-contact-city-map {
    flex: 1 0 220px;
    height: auto;
  }
}

@media (max-width: 575px) {
  .wmf-city-map {
    height: 180px;
  }

  .wmf-contact-city-map {
    height: 200px;
  }
}

/* Category Cards (Crafto Interactive Banner Enhancement) */
.yf-category-grid .interactive-banner-style-08 figure {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(30, 49, 72, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  background: #ffffff;
}

.yf-category-grid .interactive-banner-style-08 figure:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 49, 72, 0.16);
}

.yf-category-grid .interactive-banner-style-08 figure img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.yf-category-grid .interactive-banner-style-08 figure:hover img {
  transform: scale(1.06);
}

.yf-card-num-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(30, 49, 72, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Detail Page Guarantee Text Box */
.yf-guarantee-card {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--yf-gold);
  border-bottom: 1px solid var(--yf-border);
  border-radius: 0;
  padding: 30px 0 32px;
  box-shadow: none;
  position: relative;
}

.yf-guarantee-badge {
  display: none;
}

.yf-guarantee-text {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.72;
  color: var(--yf-navy);
  font-weight: 400;
  text-wrap: pretty;
}

.yf-guarantee-text strong {
  font-weight: 700;
  color: var(--yf-navy);
  background: none;
  padding: 0;
}

/* Category detail: continuous content + request sidebar */
.yf-category-detail-section {
  padding-top: 16px !important;
  padding-bottom: 80px !important;
}

.yf-category-top-actions {
  display: none !important;
}

.yf-category-promise .yf-guarantee-card {
  border: 0;
  padding: 0;
}

.yf-category-sidebar {
  display: flex;
  flex-direction: column;
}

.yf-category-sidebar > .bg-white {
  order: 2;
  border: 1px solid var(--yf-border) !important;
  border-top: 3px solid var(--yf-gold) !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.yf-category-sidebar > .bg-very-light-gray {
  order: 1;
  margin-bottom: 24px;
}

@media (min-width: 992px) {
  .yf-category-detail-section > .container {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
    column-gap: clamp(40px, 5vw, 72px);
    row-gap: 28px;
    align-items: start;
  }

  .yf-category-intro-row,
  .yf-category-content-row {
    display: contents;
  }

  .yf-category-media,
  .yf-category-promise,
  .yf-category-main,
  .yf-category-sidebar {
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
    padding-right: 0;
    padding-left: 0;
  }

  .yf-category-media {
    grid-column: 1;
    grid-row: 1;
  }

  .yf-category-promise {
    grid-column: 1;
    grid-row: 2;
  }

  .yf-category-main {
    grid-column: 1;
    grid-row: 3;
  }

  .yf-category-sidebar {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

@media (max-width: 991px) {
  .yf-category-detail-section {
    padding-top: 12px !important;
    padding-bottom: 56px !important;
  }

  .yf-category-intro-row {
    margin-bottom: 0 !important;
  }

  .yf-category-promise {
    margin-top: 28px;
  }

  .yf-category-content-row {
    padding-top: 0 !important;
  }

  .yf-category-main,
  .yf-category-sidebar {
    margin-top: 36px;
  }
}

@media (max-width: 767px) {
  .yf-guarantee-card {
    padding: 22px 0 24px;
  }
  .yf-guarantee-text {
    font-size: 16px;
    line-height: 1.65;
  }
}

/* Floating WhatsApp Button */
.yf-whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  background-color: #25D366;
  color: #ffffff !important;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.yf-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Image preview containers */
.yf-image-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(30, 49, 72, 0.1);
  border: 1px solid var(--yf-border);
}

.yf-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================================
   Header Top Bar & Push Button Fixes (No-wrap & Full Fit)
   =================================================================== */

.header-top-bar {
  background-color: #f4f7ff !important;
  border-bottom: 1px solid var(--yf-border) !important;
  position: relative;
  z-index: 1000;
  overflow: visible !important;
}

.header-top-bar .top-bar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 44px;
  padding: 6px 0;
  width: 100%;
}

.header-top-bar .top-bar-left {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--yf-navy);
}

.header-top-bar .top-bar-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  white-space: nowrap !important;
  gap: 24px;
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--yf-navy);
}

.header-top-bar .top-bar-item {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  color: var(--yf-navy) !important;
}

.header-top-bar .top-bar-item:hover {
  color: var(--yf-gold) !important;
}

/* Ensure no text wraps or drops inside top bar */
.header-top-bar * {
  white-space: nowrap !important;
}

@media (max-width: 1199px) {
  .header-top-bar .top-bar-left {
    font-size: 12.5px;
  }
  .header-top-bar .top-bar-right {
    font-size: 12.5px;
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .header-top-bar .top-bar-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px;
    padding: 8px 0;
  }
  .header-top-bar .top-bar-left,
  .header-top-bar .top-bar-right {
    justify-content: center !important;
  }
}

/* Smooth Scrolling & Section Offset */
html {
  scroll-behavior: smooth !important;
}

#kategoriler,
#basvuru-formu,
#iletisim-bilgileri {
  scroll-margin-top: 90px;
}

/* ===================================================================
   CTA Section & Background Separation
   =================================================================== */
.yf-cta-section {
  background-color: var(--yf-gold-subtle) !important;
  border-top: 1px solid rgba(0, 66, 252, 0.22) !important;
  border-bottom: 1px solid rgba(0, 66, 252, 0.15) !important;
  position: relative;
  z-index: 2;
}

.yf-cta-title {
  font-size: 2.13rem !important; /* User selected exact font-size */
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--yf-navy) !important;
  letter-spacing: -0.5px !important;
}

.yf-cta-desc {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #556575 !important;
  margin-bottom: 0 !important;
}

/* Footer Top Accent Border - Distinct Corporate Separation */
.footer-dark.bg-dark-gray {
  border-top: 3px solid var(--yf-gold) !important;
}

/* ===================================================================
   Typography Optimization (Türk İşi - Dengeli, Göz Yormayan Font Scale)
   =================================================================== */

/* Hero Title Scaling (Crafto fs-75 / 75px is oversized) */
h1.fs-75, 
.fs-75:not(i) {
  font-size: clamp(32px, 3vw, 42px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.7px !important;
}

h1.lh-75, 
.lh-75:not(i) {
  line-height: 1.25 !important;
}

/* Hero "44" Counter (Crafto fs-150 / 150px is oversized) */
.fs-150:not(i) {
  font-size: clamp(5.2rem, 7.5vw, 6.5rem) !important;
  line-height: 1 !important;
}

/* Section Headings (h2) */
h2, .h2 {
  font-size: clamp(26px, 2.15vw, 32px) !important;
  line-height: 1.24 !important;
  letter-spacing: -0.5px !important;
}

/* Sub-section Headings (h3) */
h3, .h3 {
  font-size: clamp(21px, 1.7vw, 26px) !important;
  line-height: 1.3 !important;
}

/* h4 Headings */
h4, .h4 {
  font-size: clamp(18px, 1.35vw, 22px) !important;
  line-height: 1.35 !important;
}

/* Card & Feature Box Headings (h5) */
h5, .h5 {
  font-size: clamp(17px, 1.15vw, 19px) !important;
  line-height: 1.4 !important;
}

/* Category Grid Card Titles */
.yf-category-grid .fs-21 {
  font-size: 1.18rem !important;
  line-height: 1.35 !important;
}

/* Inner Page Titles */
.page-title h1 {
  font-size: clamp(28px, 2.35vw, 34px) !important;
  line-height: 1.2 !important;
}

/* Compact title rhythm: keep Crafto structure, reduce oversized bands. */
h1, h2, h3,
.h1, .h2, .h3 {
  text-wrap: balance;
}

header.header-with-topbar + section.top-space-margin.full-screen {
  height: clamp(520px, 68vh, 650px) !important;
  min-height: clamp(520px, 68vh, 650px) !important;
}

.top-space-margin.page-title-big-typography {
  background-image:
    linear-gradient(90deg, rgba(18, 31, 46, 0.88) 0%, rgba(18, 31, 46, 0.72) 52%, rgba(18, 31, 46, 0.48) 100%),
    url('../images/yardim-finans/page-title-corporate-city-v1.jpg') !important;
  background-position: center 58% !important;
  background-size: cover !important;
  padding-top: clamp(28px, 3vw, 44px) !important;
  padding-bottom: clamp(28px, 3vw, 44px) !important;
}

.top-space-margin.page-title-big-typography .py-4 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (min-width: 992px) {
  .top-space-margin.page-title-big-typography .col-lg-8 {
    width: 100%;
    max-width: 100%;
  }

  .top-space-margin.page-title-big-typography p {
    max-width: none !important;
  }
}

.top-space-margin.page-title-big-typography h1 {
  font-size: clamp(28px, 2.35vw, 34px) !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

.top-space-margin.page-title-big-typography p {
  font-size: clamp(14px, 1.15vw, 17px) !important;
  line-height: 1.5 !important;
  max-width: 72ch;
}

@media (max-width: 991px) {
  header.header-with-topbar + section.top-space-margin.full-screen {
    height: 560px !important;
    min-height: 560px !important;
  }
}

@media (max-width: 767px) {
  header.header-with-topbar + section.top-space-margin.full-screen {
    height: 500px !important;
    min-height: 500px !important;
  }

  .top-space-margin.page-title-big-typography {
    background-image:
      linear-gradient(90deg, rgba(18, 31, 46, 0.9), rgba(18, 31, 46, 0.7)),
      url('../images/yardim-finans/page-title-corporate-city-v1.jpg') !important;
    background-position: 60% center !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* Paragraph Subtitles & Leads */
p.fs-20 {
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
}

p.fs-18 {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
}

p.fs-17 {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Detail Page Guarantee Text */
.yf-guarantee-text {
  font-size: 18px !important;
  line-height: 1.72 !important;
}

.yf-guarantee-card + .mt-4 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  margin-top: 20px !important;
}

.yf-guarantee-card + .mt-4 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 18px !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .yf-guarantee-text {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 575px) {
  .yf-guarantee-card + .mt-4 {
    grid-template-columns: 1fr;
  }
}

.yf-guarantee-card + .yf-category-top-actions {
  display: none !important;
}

/* ===================================================================
   Navbar Dropdown Styling for "Çözümlerimiz"
   =================================================================== */
.navbar-nav .dropdown:hover > .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.navbar-nav .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  transform: translateY(8px);
  background-color: #ffffff !important;
  border: 1px solid var(--yf-border) !important;
  border-top: 3px solid var(--yf-gold) !important;
  border-radius: 8px !important;
  box-shadow: 0 15px 35px rgba(30, 49, 72, 0.12) !important;
  padding: 10px 0 !important;
  min-width: 250px !important;
  margin-top: 0 !important;
}

.navbar-nav .dropdown-menu li {
  margin: 0 !important;
}

.navbar-nav .dropdown-menu li a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--yf-navy) !important;
  padding: 9px 22px !important;
  display: block !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.navbar-nav .dropdown-menu li a:hover {
  background-color: var(--yf-gold-subtle) !important;
  color: var(--yf-gold-dark) !important;
  padding-left: 26px !important;
}

/* ===================================================================
   Homepage Experience Photo & Badge
   =================================================================== */
.yf-experience-image-wrap {
  position: relative;
}

.yf-experience-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  right: auto;
  width: max-content;
  transform: translateX(-50%);
  background-color: var(--yf-gold) !important;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 10px 25px rgba(30, 49, 72, 0.22);
  z-index: 3;
  text-align: center;
  border: 2.5px solid #ffffff;
}

.yf-experience-badge .badge-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  display: block;
  color: #ffffff !important;
}

.yf-experience-badge .badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  color: #ffffff !important;
}

/* Rozet şehir fotoğrafını kapatmasın: fotoğrafın altına sarksın (YF ile aynı). */
.yf-experience-image-wrap {
  margin-bottom: 62px;
}

.yf-experience-image-wrap .yf-experience-badge {
  bottom: -62px;
}

/* Feature Cards Icon Box */
.yf-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--yf-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(30, 49, 72, 0.16);
  transition: all 0.3s ease;
}

.yf-icon-box i {
  color: var(--yf-gold) !important;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.yf-icon-box:hover {
  transform: translateY(-3px);
  background-color: var(--yf-gold);
  box-shadow: 0 8px 22px rgba(0, 66, 252, 0.3);
}

.yf-icon-box:hover i {
  color: #ffffff !important;
  transform: scale(1.08);
}

/* World Money Finance: simple, non-interactive solution cards */
.yf-solution-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--yf-border);
  border-radius: 2px;
  cursor: default;
}

.yf-solution-card-image {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.yf-solution-card-body {
  padding: 22px;
}

.yf-solution-card h3 {
  margin: 0 0 8px;
  color: var(--yf-navy);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}

.yf-solution-card p {
  margin: 0;
  color: #5f6975;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 575px) {
  .yf-solution-card-image {
    height: 170px;
  }

  .yf-solution-card-body {
    padding: 18px;
  }
}

/* Intentionally simpler visual treatment for the English site */
.cursor-page-inner {
  display: none !important;
}

body.custom-cursor {
  cursor: auto !important;
}

body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor select,
body.custom-cursor input[type="submit"] {
  cursor: pointer !important;
}

.btn,
.btn-rounded,
.btn-round-edge {
  border-radius: 4px !important;
  box-shadow: none !important;
}

.btn-box-shadow,
.box-shadow-quadruple-large,
.shadow-sm {
  box-shadow: none !important;
}

.navbar,
.yf-experience-badge,
.yf-icon-box {
  box-shadow: none !important;
}

.yf-experience-badge,
.yf-icon-box {
  border-radius: 4px !important;
}

.wmf-powered-by-wrap {
  width: min(100%, 260px);
  margin: 0 0 0 auto;
}

.wmf-powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.wmf-powered-by:hover,
.wmf-powered-by:focus-visible {
  opacity: 1;
}

.wmf-powered-by-label {
  color: #b9c6d9;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.wmf-powered-by img {
  display: block;
  height: 24px;
  width: auto;
}

/* Crafto's .mt-2 overrides Bootstrap's mt-md-0; keep the footer columns level. */
@media (min-width: 768px) {
  div.wmf-dark-theme .footer-dark .row.pt-1 > .col-md-5 {
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  .wmf-powered-by-wrap {
    margin-right: auto;
  }
}

/* World Money Finance dark theme: keep the registered logo and blue accents. */
div.wmf-dark-theme {
  --wmf-page: #090e1a;
  --wmf-section: #0e1728;
  --wmf-surface: #151f31;
  --wmf-surface-raised: #1b2940;
  --wmf-border: #33445f;
  --wmf-text: #f4f7ff;
  --wmf-muted: #b9c6d9;
  --wmf-accent-text: #9bb5ff;
  --yf-light: var(--wmf-section);
  --yf-gold-subtle: #12203a;
  --yf-border: var(--wmf-border);
  background: var(--wmf-page);
  color: var(--wmf-muted);
  color-scheme: dark;
}

div.wmf-dark-theme .bg-white,
div.wmf-dark-theme header nav.navbar {
  background-color: var(--wmf-surface) !important;
}

div.wmf-dark-theme .bg-very-light-gray {
  background-color: var(--wmf-section) !important;
}

div.wmf-dark-theme header.header-with-topbar + section.top-space-margin.full-screen {
  background-image:
    linear-gradient(90deg, rgba(9, 14, 26, 0.78), rgba(9, 14, 26, 0.42)),
    url('../images/world-money-finance/hero-blonde-office-v2.jpg') !important;
}

@media (max-width: 767px) {
  div.wmf-dark-theme header.header-with-topbar + section.top-space-margin.full-screen {
    background-position: 65% center !important;
  }
}

div.wmf-dark-theme .header-top-bar {
  background-color: var(--wmf-page) !important;
  border-bottom-color: var(--wmf-border) !important;
}

div.wmf-dark-theme .header-top-bar .top-bar-left,
div.wmf-dark-theme .header-top-bar .top-bar-item {
  color: var(--wmf-muted) !important;
}

div.wmf-dark-theme .header-top-bar .top-bar-item:hover,
div.wmf-dark-theme .header-top-bar .top-bar-item:focus {
  color: var(--wmf-accent-text) !important;
}

div.wmf-dark-theme .text-dark-gray,
div.wmf-dark-theme .yf-guarantee-text,
div.wmf-dark-theme .yf-guarantee-text strong,
div.wmf-dark-theme .yf-solution-card h3,
div.wmf-dark-theme .yf-cta-title {
  color: var(--wmf-text) !important;
}

div.wmf-dark-theme .text-medium-gray,
div.wmf-dark-theme .yf-solution-card p,
div.wmf-dark-theme .yf-cta-desc {
  color: var(--wmf-muted) !important;
}

div.wmf-dark-theme .text-gold,
div.wmf-dark-theme .text-base-color,
div.wmf-dark-theme .yf-icon-box i {
  color: var(--wmf-accent-text) !important;
}

div.wmf-dark-theme header nav.navbar .navbar-nav .nav-link {
  color: var(--wmf-text) !important;
}

div.wmf-dark-theme header nav.navbar .navbar-nav .nav-link:hover,
div.wmf-dark-theme header nav.navbar .navbar-nav .nav-link:focus,
div.wmf-dark-theme header nav.navbar .navbar-nav .nav-link.active {
  color: var(--wmf-accent-text) !important;
}

div.wmf-dark-theme header nav.navbar .navbar-toggler-line {
  background-color: var(--wmf-text) !important;
}

div.wmf-dark-theme .border-color-extra-light-gray,
div.wmf-dark-theme .yf-guarantee-card,
div.wmf-dark-theme .yf-solution-card {
  border-color: var(--wmf-border) !important;
}

div.wmf-dark-theme .yf-guarantee-card {
  border-top-color: var(--base-color) !important;
}

div.wmf-dark-theme .yf-solution-card,
div.wmf-dark-theme .contact-form-style-01 .bg-white,
div.wmf-dark-theme #contact-details .bg-white,
div.wmf-dark-theme #contact-details .bg-very-light-gray {
  background: var(--wmf-surface-raised) !important;
}

div.wmf-dark-theme .yf-icon-box {
  background: #263b63;
}

div.wmf-dark-theme .yf-icon-box:hover {
  background: var(--base-color);
}

div.wmf-dark-theme .yf-icon-box:hover i {
  color: #ffffff !important;
}

div.wmf-dark-theme .form-control,
div.wmf-dark-theme .form-select {
  background-color: var(--wmf-section) !important;
  border: 1px solid var(--wmf-border) !important;
  color: var(--wmf-text) !important;
}

div.wmf-dark-theme .form-control::placeholder {
  color: var(--wmf-muted) !important;
  opacity: 1;
}

div.wmf-dark-theme .form-control:focus,
div.wmf-dark-theme .form-select:focus {
  border-color: var(--wmf-accent-text) !important;
  box-shadow: 0 0 0 3px rgba(0, 66, 252, 0.2) !important;
}

div.wmf-dark-theme .form-select {
  appearance: auto !important;
  background-image: none !important;
}

div.wmf-dark-theme .form-select option {
  background-color: var(--wmf-section);
  color: var(--wmf-text);
}

div.wmf-dark-theme .contact-form-style-01 .form-icon {
  color: var(--wmf-muted);
}

div.wmf-dark-theme input[type="checkbox"] {
  accent-color: var(--base-color);
}

div.wmf-dark-theme .terms-condition-box .box:before {
  border-color: var(--wmf-border);
}

div.wmf-dark-theme .terms-condition-box input[type="checkbox"]:checked + .box:before {
  background: var(--base-color);
  border-color: var(--base-color);
}

div.wmf-dark-theme .terms-condition-box .box:after {
  border-color: #ffffff;
}

div.wmf-dark-theme .terms-condition-box input[type="checkbox"]:focus-visible + .box:before {
  outline: 2px solid var(--wmf-accent-text);
  outline-offset: 2px;
}

div.wmf-dark-theme .yf-cta-section {
  background: #12203a !important;
  border-top-color: var(--wmf-border) !important;
  border-bottom-color: var(--wmf-border) !important;
}

div.wmf-dark-theme .footer-dark.bg-dark-gray {
  background: #080d19 !important;
}

div.wmf-dark-theme .footer-dark p,
div.wmf-dark-theme .footer-dark ul li a,
div.wmf-dark-theme .footer-dark .widget-text,
div.wmf-dark-theme .footer-dark .widget-link {
  color: var(--wmf-muted) !important;
  opacity: 1;
}

div.wmf-dark-theme .footer-dark .text-white-hover:hover {
  color: var(--wmf-accent-text) !important;
}

div.wmf-dark-theme a:focus-visible,
div.wmf-dark-theme button:focus-visible {
  outline: 2px solid var(--wmf-accent-text);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  div.wmf-dark-theme header nav.navbar .navbar-collapse {
    background: var(--wmf-surface) !important;
    border-top: 1px solid var(--wmf-border);
    box-shadow: none;
  }
}

/* Gerçek <body> renderer'da tüm tenant'larla ortaktır; statik `body.wmf-dark-theme` zemin rengi kapsayıcıdan türetilir. */
body:has(div.wmf-dark-theme) {
  background: #090e1a;
}
