/*
Theme Name: Nikah Ethiopia
Theme URI: https://www.nikahethiopia.com/
Description: Minimal Zoosk-style design for Nikah Ethiopia: purple, Inter, flat buttons, soft cards.
Author: Nikah Ethiopia
Template: datebook
Version: 3.0.0
Text Domain: datebook-child
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Ethiopic:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #F8F9FA;
  --surface-white: #FFFFFF;
  --primary-purple: #6B46C1;
  --primary-hover: #553C9A;
  --text-dark: #1A202C;
  --text-muted: #718096;
  --border-light: #E2E8F0;
  --purple-deep: #44337A;
  --purple-soft: #F3EFFB;
  --shadow-card: 0 4px 12px rgba(0,0,0,0.04);
  --font-main: 'Inter', 'Noto Sans Ethiopic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Global ---------- */
*, *::before, *::after { text-shadow: none !important; }
html body {
  font-family: var(--font-main) !important;
  background: var(--bg-color) !important;
  background-image: none !important;
  color: var(--text-dark) !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased;
}
html body :is(h1,h2,h3,h4,h5,h6,p,a,li,label,td,th,small,input,select,textarea,button,.btn,.nav-link,.navbar-brand,.form-control,.form-select) {
  font-family: var(--font-main) !important;
}
html body :is(h1,h2,h3,h4,h5,h6) { color: var(--text-dark); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
html body a { color: var(--primary-purple); text-decoration: none; transition: color .2s ease; }
html body a:hover { color: var(--primary-hover); }
html body main, html body section, html body .datebook-panel-welcome { margin-bottom: 2rem; }
html body .datebook-wrapper, html body main, html body .container, html body .row { background-image: none !important; box-shadow: none; }

/* ---------- Buttons ---------- */
html body .btn:not(.btn-close):not(.btn-link),
html body input[type="submit"],
html body button[type="submit"] {
  background: var(--primary-purple) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  box-shadow: none !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color .2s ease !important;
}
html body .btn:not(.btn-close):not(.btn-link):hover,
html body input[type="submit"]:hover,
html body button[type="submit"]:hover { background: var(--primary-hover) !important; color: #fff !important; }
html body .btn-sm { padding: 8px 16px !important; }
html body :is(.btn-outline-primary,.btn-light,.btn-secondary,.btn-outline-secondary) {
  background: var(--purple-soft) !important; color: var(--primary-purple) !important;
}
html body :is(.btn-outline-primary,.btn-light,.btn-secondary,.btn-outline-secondary):hover { background: #E6DCF8 !important; color: var(--primary-hover) !important; }

/* ---------- Fields ---------- */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
html body select, html body textarea, html body .form-control, html body .form-select {
  background-color: var(--surface-white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 6px !important;
  padding: 12px !important;
  color: var(--text-dark) !important;
  box-shadow: none !important;
  transition: border-color .2s ease;
}
html body input:focus, html body select:focus, html body textarea:focus, html body .form-control:focus, html body .form-select:focus {
  border-color: var(--primary-purple) !important; outline: none !important; box-shadow: none !important;
}
html body ::placeholder { color: var(--text-muted) !important; opacity: 1; }
html body .form-check-input:checked { background-color: var(--primary-purple) !important; border-color: var(--primary-purple) !important; }

/* ---------- Cards ---------- */
html body :is(.card,.profile-card,.datebook-custom-card,.elementor-widget-wrap) {
  background: var(--surface-white) !important; background-image: none !important;
  border: 0 !important; border-radius: 12px !important; box-shadow: var(--shadow-card) !important;
}
html body .card-body { padding: 24px !important; }
html body .datebook-panel-welcome { background: transparent !important; box-shadow: none !important; }
html body .datebook-panel-welcome > .card-body { padding: 0 !important; }
html body .modal-content { border: 0 !important; border-radius: 12px !important; box-shadow: 0 12px 32px rgba(0,0,0,.12) !important; }
html body .dropdown-menu { border: 0 !important; border-radius: 12px !important; box-shadow: 0 8px 24px rgba(0,0,0,.08) !important; }

/* ---------- Header: language bar, top bar, hero ---------- */
html body #datebook-header.datebook-header-panel,
html body #datebook-header .datebook-front-view,
html body #datebook-header .datebook-welcome-image {
  background: var(--primary-purple) !important; background-image: none !important; border: 0 !important; box-shadow: none !important;
}
html body #datebook-header.datebook-header-panel::before, html body #datebook-header.datebook-header-panel::after,
html body #datebook-header .datebook-welcome-image::before, html body #datebook-header .datebook-welcome-image::after { display: none !important; content: none !important; }
html body #datebook-header.datebook-header-panel { padding-bottom: 3rem; margin-bottom: 2rem; }
html body.datebook-other-container #datebook-header.datebook-header-panel { padding-bottom: 1.25rem; }
html body #datebook-language-menu-header { background: var(--purple-deep) !important; padding: 6px 0; }
html body #datebook-language-menu-header a { color: #E9E1FA !important; font-size: .8rem; }
html body #datebook-language-menu-header a.datebook-language-item-selected { color: #fff !important; font-weight: 700; }
html body .datebook-primary-menu-container { background: var(--primary-purple) !important; border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: none !important; }
html body .datebook-primary-menu-sub, html body .datebook-primary-menu-sub .container { background: transparent !important; box-shadow: none !important; }
html body .navbar-brand img { max-height: 40px !important; width: auto !important; }
html body .datebook-primary-menu-sub .nav-link { color: #fff !important; font-weight: 500; opacity: .92; }
html body .datebook-primary-menu-sub .nav-link:hover { opacity: 1; color: var(--purple-soft) !important; }
html body .datebook-register-links { gap: 10px; justify-content: center; }
html body .datebook-register-links .nav-link { color: #fff !important; font-weight: 600; padding: 9px 22px !important; border-radius: 8px; background: rgba(255,255,255,.14); transition: background-color .2s ease; }
html body .datebook-register-links .nav-link:hover { background: rgba(255,255,255,.26); }
html body .datebook-register-links .nav-item:first-child .nav-link { background: #fff; color: var(--primary-purple) !important; }
html body .datebook-register-links .nav-item:first-child .nav-link:hover { background: var(--purple-soft); }
html body :is(.datebook-welcome-slogan,.datebook-welcome-image h1,.datebook-welcome-panel h1,.datebook-inner-hero h1) {
  color: #fff !important; font-weight: 800 !important; text-align: center; line-height: 1.2 !important;
  font-size: clamp(1.75rem, 4.2vw, 2.7rem) !important; max-width: 860px; margin: 1.75rem auto 1.5rem !important;
}
html body .datebook-inner-hero p { color: #E9E1FA !important; text-align: center; }

/* ---------- Search card (hero form) ---------- */
html body .datebook-search-panel { background: var(--surface-white) !important; border: 0 !important; border-radius: 12px !important; box-shadow: 0 8px 28px rgba(26,32,44,.14) !important; padding: 24px !important; max-width: 860px; margin: 0 auto; color: var(--text-dark) !important; }
html body .datebook-search-panel :is(label,.datebook-label-title,h4,h5,.form-check-label) { color: var(--text-dark) !important; font-weight: 600; }
html body .datebook-search-panel .datebook-search-btn-genders { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
html body .datebook-search-panel .datebook-search-gender { background: var(--bg-color); border-radius: 8px; padding: 10px 18px; cursor: pointer; transition: background-color .2s ease; }
html body .datebook-search-panel .datebook-search-gender br { display: none; }
html body .datebook-search-panel .datebook-search-gender:hover { background: var(--purple-soft); }
html body .datebook-search-panel .datebook-search-gender.active { background: var(--primary-purple); color: #fff !important; }
html body #datebook-preferredage-box { display: flex; flex-wrap: wrap; gap: 8px; }
html body #datebook-preferredage-box .form-check { padding: 0; margin: 0; position: relative; }
html body #datebook-preferredage-box .form-check-input { position: absolute; opacity: 0; pointer-events: none; }
html body #datebook-preferredage-box .form-check-label { display: inline-block; background: var(--bg-color); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 500; transition: background-color .2s ease; }
html body #datebook-preferredage-box .form-check-input:checked + .form-check-label { background: var(--primary-purple); color: #fff !important; }
html body .datebook-advanced-links a, html body .datebook-reset-search { color: var(--primary-purple) !important; font-size: .9rem; }
html body .nikah-quick-country { background: var(--purple-soft) !important; color: var(--primary-purple) !important; padding: 6px 14px !important; margin: 3px; }
html body .nikah-quick-country:hover { background: #E6DCF8 !important; }

/* ---------- Register / login / inner pages ---------- */
html body.datebook-other-container main { padding-top: 1.5rem; }
html body .datebook-registerpage { background: var(--surface-white) !important; border-radius: 12px; box-shadow: var(--shadow-card); padding: 32px !important; max-width: 560px; margin-left: auto; margin-right: auto; }
html body .datebook-registerpage :is(label,.form-label) { font-weight: 600; color: var(--text-dark) !important; }

/* ---------- Member cards (search results) ---------- */
html body .datebook-profiles-style-search-1 { overflow: hidden; transition: transform .2s ease; height: 100%; }
html body .datebook-profiles-style-search-1:hover { transform: translateY(-2px); }
html body .datebook-search-profile-body { padding: 20px 24px !important; }
html body .datebook-profile-heading, html body .datebook-profile-heading a { color: var(--text-dark) !important; font-weight: 700; }
html body .datebook-online-caption .badge, html body .datebook-badge-online { background: var(--primary-purple) !important; color: #fff !important; }

/* ---------- Footer ---------- */
html body .datebook-footer.bg-dark, html body .datebook-footer-container .bg-dark { background: var(--text-dark) !important; color: #CBD5E0 !important; }
html body .datebook-footer a { color: #CBD5E0 !important; }
html body .datebook-footer a:hover { color: #fff !important; }
html body #datebook-footer, html body .datebook-footer-container { background: transparent !important; }

/* ---------- Back to top ---------- */
#nikah-back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; padding: 0 !important; background: var(--primary-purple) !important; color: #fff !important; border: 0; box-shadow: none !important; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .2s ease, background-color .2s ease; }
#nikah-back-to-top.visible { opacity: 1; visibility: visible; }
#nikah-back-to-top:hover { background: var(--primary-hover) !important; }

/* ---------- Homepage sections (Nikah Ethiopia) ---------- */
.nk-home { max-width: 1080px; margin: 0 auto; padding: 0 4px; }
.nk-bism { text-align: center; color: var(--primary-purple); font-size: 1.4rem; margin: 0 0 .5rem; }
.nk-kicker { text-align: center; color: var(--text-muted); margin: 0 0 2.5rem; }
.nk-section { margin: 0 0 3.5rem; }
.nk-head { text-align: center; max-width: 680px; margin: 0 auto 2rem; }
.nk-head h2 { font-size: 1.9rem; font-weight: 700; margin: 0 0 .5rem; }
.nk-head p { color: var(--text-muted); margin: 0; }
.nk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nk-card { background: var(--surface-white); border-radius: 12px; box-shadow: var(--shadow-card); padding: 28px; }
.nk-card h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .5rem; }
.nk-card p { color: var(--text-muted); margin: 0; font-size: .97rem; }
.nk-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--purple-soft); color: var(--primary-purple); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 16px; }
.nk-step-no { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-purple); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px; }
.nk-band { background: var(--primary-purple); border-radius: 12px; padding: 52px 24px; text-align: center; margin: 0 0 3.5rem; }
.nk-band h2 { color: #fff; font-size: 1.9rem; margin: 0 0 .5rem; }
.nk-band p { color: #E9E1FA; margin: 0 0 1.5rem; }
.nk-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
html body .nk-band .btn:not(.btn-close) { background: #fff !important; color: var(--primary-purple) !important; }
html body .nk-band .btn:not(.btn-close):hover { background: var(--purple-soft) !important; color: var(--primary-hover) !important; }
html body .nk-band .btn.nk-ghost { background: rgba(255,255,255,.16) !important; color: #fff !important; }
html body .nk-band .btn.nk-ghost:hover { background: rgba(255,255,255,.28) !important; color: #fff !important; }
.nk-faq { max-width: 780px; margin: 0 auto 3.5rem; }
.nk-faq details { background: var(--surface-white); border-radius: 12px; box-shadow: var(--shadow-card); padding: 18px 24px; margin-bottom: 12px; }
.nk-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.nk-faq summary::-webkit-details-marker { display: none; }
.nk-faq summary::after { content: '+'; color: var(--primary-purple); font-size: 1.3rem; line-height: 1; }
.nk-faq details[open] summary::after { content: '\2212'; }
.nk-faq details p { margin: .75rem 0 0; color: var(--text-muted); }

@media (max-width: 768px) {
  .nk-grid { grid-template-columns: 1fr; gap: 16px; }
  .nk-head h2, .nk-band h2 { font-size: 1.5rem; }
  html body .datebook-search-panel { padding: 18px !important; }
  html body .datebook-registerpage { padding: 22px !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* ---------- Overrides for DateBook's generated inline colours ---------- */
html body :is(.form-label,.form-check-label,.datebook-label-title,.datebook-form-row-title) { color: var(--text-dark) !important; }
html body .datebook-submit-btn { background: var(--primary-purple) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; padding: 12px 24px !important; box-shadow: none !important; }
html body .datebook-submit-btn:hover { background: var(--primary-hover) !important; color: #fff !important; }
html body .datebook-search-panel.datebook-search-panel .datebook-search-gender.datebook-search-gender { background-color: var(--bg-color) !important; color: var(--text-dark) !important; border: 0 !important; box-shadow: none !important; }
html body .datebook-search-panel.datebook-search-panel .datebook-search-gender.datebook-search-gender:hover { background-color: var(--purple-soft) !important; color: var(--text-dark) !important; }
html body .datebook-search-panel.datebook-search-panel .datebook-search-gender.datebook-search-gender.active,
html body .datebook-search-panel.datebook-search-panel .btn-check:checked + .datebook-search-gender.datebook-search-gender,
html body .datebook-search-panel.datebook-search-panel .datebook-search-gender.datebook-search-gender:active { background-color: var(--primary-purple) !important; color: #fff !important; }
html body .datebook-search-panel.datebook-search-panel .btn-check:checked + .btn { background-color: var(--primary-purple) !important; color: #fff !important; }
/* ---------- Header background image, shown as is (no overlay) ---------- */
html body.datebook-front-container #datebook-header.datebook-header-panel {
  background: var(--purple-soft) url('https://www.nikahethiopia.com/wp-content/uploads/2026/08/advertismentnikah.png') center top / cover no-repeat !important;
  min-height: 520px; padding-bottom: 3rem;
}
html body.datebook-other-container #datebook-header.datebook-header-panel {
  background: var(--purple-soft) url('https://www.nikahethiopia.com/wp-content/uploads/2025/07/knot-8083046_1280.jpg') center center / cover no-repeat !important;
  min-height: 220px; padding-bottom: 1.25rem;
}
html body #datebook-header .datebook-front-view,
html body #datebook-header .datebook-welcome-image { background: transparent !important; background-image: none !important; }
/* readable text over the photo without changing the photo: solid tags */
html body .datebook-welcome-panel, html body .datebook-inner-hero { text-align: center; }
html body :is(.datebook-welcome-slogan,.datebook-welcome-image h1,.datebook-welcome-panel h1,.datebook-inner-hero h1) {
  display: inline-block; background: var(--primary-purple); border-radius: 12px; padding: 14px 28px; margin: 1.75rem 0 1.5rem !important; max-width: 860px;
}
html body .datebook-inner-hero p { display: inline-block; background: var(--surface-white); color: var(--text-dark) !important; border-radius: 8px; padding: 6px 16px; }
html body .datebook-register-links .nav-link { background: var(--primary-purple); }
html body .datebook-register-links .nav-link:hover { background: var(--primary-hover); }
html body .datebook-register-links .nav-item:first-child .nav-link { background: #fff; color: var(--primary-purple) !important; }
html body .datebook-register-links .nav-item:first-child .nav-link:hover { background: var(--purple-soft); }
@media (max-width: 768px) { html body.datebook-front-container #datebook-header.datebook-header-panel { min-height: 0; } }
/* ---------- Header fix v3.1: readable search card + mobile background ---------- */
html body #datebook-header .datebook-search-front.datebook-search-panel {
  background: #fff !important; border: 1px solid var(--border-light) !important; border-radius: 12px !important;
  box-shadow: var(--shadow-card) !important; padding: 20px !important; max-width: 380px !important;
}
html body #datebook-header .datebook-search-panel :is(label,.form-label,.form-check-label,.datebook-label-title,.datebook-form-row-title,h4,h5,.small,span,p,legend) { color: var(--text-dark) !important; }
html body #datebook-header .datebook-search-panel :is(input,select,textarea,.form-control) { background: #fff !important; color: var(--text-dark) !important; border: 1px solid var(--border-light) !important; }
html body #datebook-header .datebook-search-panel :is(input,textarea)::placeholder { color: var(--text-muted) !important; }
html body #datebook-header .datebook-search-panel .btn-check:checked + .btn, html body #datebook-header .datebook-search-panel .btn.active { background: var(--primary-purple) !important; color: #fff !important; }
html body #datebook-header .datebook-search-panel .datebook-search-gender { background: var(--purple-soft) !important; color: var(--purple-deep) !important; }
html body #datebook-header .datebook-search-panel .datebook-submit-btn, html body #datebook-header .datebook-search-panel button[type=submit] { background: var(--primary-purple) !important; color: #fff !important; }
@media (max-width: 991.98px) {
  html body #datebook-header.datebook-header-panel { background-color: var(--purple-soft) !important; background-position: center top !important; background-size: cover !important; background-attachment: scroll !important; }
  html body #datebook-header .navbar-collapse, html body #datebook-header .datebook-primary-menu-class { background: var(--primary-purple) !important; }
  html body #datebook-header .navbar-toggler { color: #fff !important; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; background: transparent !important; }
  html body #datebook-header .datebook-welcome-image, html body #datebook-header .datebook-front-view { background: transparent !important; }
  html body #datebook-header .datebook-search-front.datebook-search-panel { margin-left: 16px !important; margin-right: 16px !important; max-width: none !important; }
}
/* ---------- Logo bar fix: white logo must sit on purple ---------- */
html body #datebook-header .datebook-primary-menu-container, html body #datebook-header .datebook-primary-menu-subcontainer,
html body #datebook-header .datebook-primary-menu-container .container { background: var(--primary-purple) !important; }
html body #datebook-header :is(.navbar-brand,.datebook-logo,.datebook-logo-block) { background: var(--primary-purple) !important; box-shadow: none !important; border: 0 !important; padding: 8px 12px !important; border-radius: 8px; }
html body #datebook-header .navbar-brand img { background: transparent !important; filter: none !important; max-height: 40px !important; width: auto !important; }
/* ---------- Site width: 1120px everywhere (header, content, footer) ---------- */
html body .container, html body .container-lg, html body .container-xl, html body .container-xxl { max-width: 1120px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; }
html body #datebook-header.datebook-header-panel, html body > footer, html body footer, html body .datebook-footer-panel, html body #datebook-footer { max-width: 1120px; margin-left: auto !important; margin-right: auto !important; }
html body #datebook-header .datebook-front-view, html body #datebook-header .datebook-welcome-image, html body #datebook-header .datebook-primary-menu-container, html body #datebook-language-menu-header { max-width: 1120px; margin-left: auto; margin-right: auto; }
html body .nk-home, html body .nk-home > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
html body, html body #page, html body #wrapper { background-color: var(--bg-color); }
/* ---------- Privacy/Terms: no sidebar, full width ---------- */
html body.page-id-1062 main .row > .col-lg-3, html body.page-id-12 main .row > .col-lg-3,
html body.page-id-1062 .datebook-leftsidebar, html body.page-id-12 .datebook-leftsidebar { display: none !important; }
html body.page-id-1062 main .row > .col-lg-9, html body.page-id-12 main .row > .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }

/* ---------- Login: wider form ---------- */
html body .datebook-registerpage .datebook-login-form-container > .col-md-4 { flex: 0 0 auto !important; width: 100% !important; max-width: 520px !important; }
html body .datebook-registerpage .form-signin :is(input,.form-control) { width: 100% !important; }
html body .datebook-registerpage .form-signin .g-recaptcha { display: flex; justify-content: center; }

/* ---------- Registration (create profile): wider form ---------- */
html body .datebook-registerpage #datebook-registration-form { width: 100% !important; max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; }
html body .datebook-registerpage .datebook-column-css[class*="datebook-clm-"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
html body .datebook-registerpage #datebook-registration-form :is(input:not([type=checkbox]):not([type=radio]),select,.form-control,.form-select) { width: 100% !important; }
html body .datebook-registerpage .datebook-login-form-container { max-width: 100% !important; }
html body .datebook-registerpage > section > .datebook-custom-card > .card-body { padding: 32px 40px; }
@media (max-width: 575.98px) { html body .datebook-registerpage > section > .datebook-custom-card > .card-body { padding: 20px 16px; } }
/* ---------- Transparent: top bar, header, hero title, search block ---------- */
html body #datebook-language-menu-header,
html body #datebook-header .datebook-primary-menu-container,
html body #datebook-header .datebook-primary-menu-subcontainer,
html body #datebook-header .datebook-primary-menu-container .container,
html body #datebook-header .datebook-primary-menu-sub,
html body #datebook-header :is(.navbar-brand,.datebook-logo,.datebook-logo-block) { background: transparent !important; background-color: transparent !important; box-shadow: none !important; border-color: transparent !important; }
html body #datebook-header .datebook-primary-menu-container { border-bottom: 0 !important; }
html body :is(.datebook-welcome-slogan,.datebook-welcome-image h1,.datebook-welcome-panel h1,.datebook-inner-hero h1) { background: transparent !important; box-shadow: none !important; text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.6); }
html body #datebook-header .datebook-search-front.datebook-search-panel { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body #datebook-header .datebook-search-panel :is(label,.form-label,.form-check-label,.datebook-label-title,.datebook-form-row-title,h4,h5,legend,.small) { color: #fff !important; text-shadow: 0 1px 6px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.6); }
/* readable nav text over the photo */
html body #datebook-language-menu-header a, html body .datebook-primary-menu-sub .nav-link { color: #fff !important; text-shadow: 0 1px 6px rgba(0,0,0,.75); }
html body #datebook-header .navbar-toggler { background: rgba(0,0,0,.25) !important; }
@media (max-width: 991.98px) { html body #datebook-header .navbar-collapse, html body #datebook-header .datebook-primary-menu-class { background: rgba(0,0,0,.45) !important; } }
/* ---------- 70% transparent (30% colour) for the 4 hero blocks ---------- */
html body #datebook-language-menu-header { background: rgba(68,51,122,.30) !important; }
html body #datebook-header .datebook-primary-menu-container { background: rgba(107,70,193,.30) !important; }
html body :is(.datebook-welcome-slogan,.datebook-welcome-image h1,.datebook-welcome-panel h1,.datebook-inner-hero h1) { background: rgba(107,70,193,.30) !important; }
html body #datebook-header .datebook-search-front.datebook-search-panel { background: rgba(255,255,255,.30) !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: 12px !important; }
html body #datebook-header .datebook-search-panel :is(label,.form-label,.form-check-label,.datebook-label-title,.datebook-form-row-title,h4,h5,legend,.small) { color: var(--text-dark) !important; text-shadow: 0 0 6px rgba(255,255,255,.7); }
/* ---------- Header photo fixed in place while scrolling (all pages, desktop/tablet) ---------- */
@media (min-width: 992px) {
  html body #datebook-header.datebook-header-panel { background-attachment: fixed !important; background-position: center center !important; background-size: cover !important; }
}
/* phones: fixed backgrounds are unreliable on mobile browsers, keep it scrolling */
@media (max-width: 991.98px) {
  html body #datebook-header.datebook-header-panel { background-attachment: scroll !important; }
}
/* ---------- Photo behind the whole page (fixed, all devices) ---------- */
html { background: var(--bg-color); }
html body { background: transparent !important; background-color: transparent !important; }
html body::before { content: ""; position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center center; background-repeat: no-repeat; pointer-events: none; }
html body.datebook-front-container::before { background-image: url('https://www.nikahethiopia.com/wp-content/uploads/2026/08/advertismentnikah.png'); }
html body.datebook-other-container::before { background-image: url('https://www.nikahethiopia.com/wp-content/uploads/2025/07/knot-8083046_1280.jpg'); }
html body :is(#page,#wrapper,#content,#primary,.site,.site-content,.datebook-wrapper,.datebook-content,.datebook-main,header,.datebook-footer-above) { background: transparent !important; background-color: transparent !important; }
/* header shows the page photo through it */
html body #datebook-header.datebook-header-panel, html body.datebook-front-container #datebook-header.datebook-header-panel, html body.datebook-other-container #datebook-header.datebook-header-panel { background: transparent !important; background-image: none !important; background-attachment: scroll !important; }
/* readable content panel over the photo */
html body main.container { background: rgba(255,255,255,.92); border-radius: 16px; padding: 24px; margin-top: 1.5rem; margin-bottom: 2rem; box-shadow: var(--shadow-card); }
@media (max-width: 575.98px) { html body main.container { padding: 16px 12px; border-radius: 12px; } }

/* ---------- Payment, family and photo-request pages: no sidebar ---------- */
html body:is(.page-id-1105,.page-id-1122,.page-id-1123) main .row > .col-lg-3, html body:is(.page-id-1105,.page-id-1122,.page-id-1123) .datebook-leftsidebar { display: none !important; }
html body:is(.page-id-1105,.page-id-1122,.page-id-1123) main .row > .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }


/* ---------- Guide pages: no sidebar ---------- */
html body:is(.page-id-1136,.page-id-1137,.page-id-1138,.page-id-1139,.page-id-1140,.page-id-1134) main .row > .col-lg-3, html body:is(.page-id-1136,.page-id-1137,.page-id-1138,.page-id-1139,.page-id-1140,.page-id-1134) .datebook-leftsidebar { display: none !important; }
html body:is(.page-id-1136,.page-id-1137,.page-id-1138,.page-id-1139,.page-id-1140,.page-id-1134) main .row > .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
html body:is(.page-id-1136,.page-id-1137,.page-id-1138,.page-id-1139,.page-id-1140,.page-id-1134) .datebook-entry-header { display: none !important; }


/* Verified badge: green tick everywhere, with the word beside the name on the profile page */
i.fa-circle-check[data-bs-title]{color:#2F855A !important;}
sup > i.fa-circle-check[data-bs-title]::after{content:" " attr(data-bs-title);font-family:Inter,system-ui,sans-serif;font-weight:600;font-size:.8em;letter-spacing:0;}


/* New member and city pages (Nov 2026): no sidebar, the page prints its own heading */
html body:is(.page-id-1151,.page-id-1163,.page-id-1164,.page-id-1165,.page-id-1166,.page-id-1167,.page-id-1168,.page-id-1169,.page-id-1170,.page-id-1171,.page-id-1172) main .row > .col-lg-3, html body:is(.page-id-1151,.page-id-1163,.page-id-1164,.page-id-1165,.page-id-1166,.page-id-1167,.page-id-1168,.page-id-1169,.page-id-1170,.page-id-1171,.page-id-1172) .datebook-leftsidebar { display: none !important; }
html body:is(.page-id-1151,.page-id-1163,.page-id-1164,.page-id-1165,.page-id-1166,.page-id-1167,.page-id-1168,.page-id-1169,.page-id-1170,.page-id-1171,.page-id-1172) main .row > .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
html body:is(.page-id-1151,.page-id-1163,.page-id-1164,.page-id-1165,.page-id-1166,.page-id-1167,.page-id-1168,.page-id-1169,.page-id-1170,.page-id-1171,.page-id-1172) .datebook-entry-header { display: none !important; }


/* Language switcher: one line, equal-width pills */
html body .datebook-language-menu { display:flex !important; justify-content:center; align-items:center; gap:10px; flex-wrap:nowrap; margin:0 !important; padding:4px 0 !important; }
html body .datebook-language-menu .list-inline-item { margin:0 !important; flex:0 0 auto; }
html body .datebook-language-menu .datebook-language { display:inline-block; white-space:nowrap !important; min-width:84px; text-align:center; padding:3px 14px; border-radius:999px; line-height:1.4; border-bottom:0 !important; text-decoration:none !important; }
html body .datebook-language-menu .datebook-language-item-selected { background:rgba(255,255,255,.22); font-weight:700; }
