/* ===== aidaoman: seo-audit 09.11.2026 =====
   Loaded after nstyle + aida-pages (handle "aida-seo"). Small additive rules only; the minified builds stay untouched. */

/* --- project card hero: a real <img> instead of a CSS background (LCP + CLS) --- */
.project-redesign .hero .ph img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; object-position: center; display: block; }

/* --- key facts as <dl>: strip the UA margins so nstyle's .specs grid is unchanged --- */
dl.specs { margin: 0; }
.specs dt, .specs dd { margin: 0; padding: 0; }
.specs dt.k { font-weight: inherit; }

/* --- visually hidden labels --- */
.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; }

/* --- hero "Request price list" is now a link: keep the button look --- */
.hero-cta a.btn-primary { text-decoration: none; }

/* --- agent / trust card in the lead block (prints only when the Customizer mods are set) --- */
.trust-card { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line, rgba(0, 0, 0, 0.12)); border-radius: 14px; background: #fff; font-size: 14.5px; line-height: 1.5; }
.trust-card-title { font-family: var(--serif, Georgia, serif); font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.trust-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.trust-card-list li { display: flex; gap: 8px; align-items: baseline; }
.trust-card-list i { color: var(--teal, #0d7272); flex: 0 0 auto; }
.trust-card-list a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* --- contextual CTA after an article --- */
.guide-cta { margin: 40px 0 10px; padding: 28px 28px 26px; border-radius: 18px; background: var(--teal-deep, #085041); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: center; }
.guide-cta .guide-cta-h { font-family: var(--serif, Georgia, serif); font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.15; margin: 0 0 10px; color: #fff; }
.guide-cta .guide-cta-p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.guide-cta-btns { display: flex; flex-direction: column; gap: 10px; }
.guide-cta-btns a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.guide-cta-btns a:hover { transform: translateY(-1px); }
.guide-cta-wa { background: #25D366; color: #fff; }
.guide-cta-wa:hover { background: #1fbd5a; color: #fff; }
.guide-cta-link { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.guide-cta-link:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.guide-cta--education { background: var(--teal-dark, #0a5a5a); }
.guide-cta--residency { background: #0f3d4a; }
@media (max-width: 767px) {
  .guide-cta { grid-template-columns: 1fr; padding: 22px 18px 20px; gap: 16px; }
}

/* --- sticky mobile CTA on project cards --- */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line, #dde7e6); box-shadow: 0 -6px 20px rgba(15, 60, 60, 0.08); }
  .sticky-cta a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
  .sticky-cta .sticky-wa { background: #25D366; color: #fff; }
  .sticky-cta .sticky-price { background: var(--orange, #e07818); color: #fff; }
  body.single-projects { padding-bottom: 72px; }
  body.single-projects .btn-up { bottom: 84px; }
}

/* --- relocation budget calculator ([aida_relocation_calc]) --- */
.aida-calc { margin: 40px 0; padding: 28px; border: 1px solid var(--line, rgba(0, 0, 0, 0.12)); border-radius: 18px; background: #f6f9f8; }
.aida-calc-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal, #0d7272); font-weight: 600; }
.aida-calc-h { font-family: var(--serif, Georgia, serif); font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.15; margin: 0 0 8px; }
.aida-calc-sub { margin: 0 0 22px; color: rgba(0, 0, 0, 0.65); font-size: 15.5px; }
.aida-calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.aida-calc-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.aida-calc-field output { font-weight: 500; color: var(--teal-dark, #0a5a5a); white-space: nowrap; }
.aida-calc-field input[type="range"] { width: 100%; accent-color: var(--orange, #e07818); margin: 4px 0; }
.aida-calc-ticks { display: flex; justify-content: space-between; font-size: 12px; color: rgba(0, 0, 0, 0.55); }
.aida-calc-ticks span { flex: 1 1 0; text-align: center; }
.aida-calc-ticks span:first-child { text-align: left; }
.aida-calc-ticks span:last-child { text-align: right; }
.aida-calc-field small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: rgba(0, 0, 0, 0.6); }
.aida-calc-field small:empty { display: none; }
.aida-calc-min { color: var(--teal-dark, #0a5a5a) !important; font-weight: 600; }
.aida-calc-result { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line, rgba(0, 0, 0, 0.12)); }
.aida-calc-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 0 0 18px; }
.aida-calc-lines > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.aida-calc-lines dt { margin: 0; color: rgba(0, 0, 0, 0.6); }
.aida-calc-lines dd { margin: 0; font-weight: 600; text-align: right; }
.aida-calc-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 18px; border-radius: 14px; background: var(--teal-deep, #085041); color: #fff; }
.aida-calc-total-label { flex: 1 1 100%; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.aida-calc-total-omr { font-family: var(--serif, Georgia, serif); font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; line-height: 1; }
.aida-calc-total-usd { font-size: 16px; opacity: .9; }
.aida-calc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.aida-calc-btns a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 12px; font-weight: 600; font-size: 15.5px; text-decoration: none; flex: 1 1 240px; }
.aida-calc-wa { background: #25D366; color: #fff; }
.aida-calc-wa:hover { background: #1fbd5a; color: #fff; }
.aida-calc-homes { background: #fff; color: var(--teal-dark, #0a5a5a); border: 1px solid var(--teal, #0d7272); }
.aida-calc-homes:hover { background: var(--teal, #0d7272); color: #fff; }
.aida-calc-disclaimer { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(0, 0, 0, 0.55); }
@media (max-width: 767px) {
  .aida-calc { padding: 20px 16px; }
  .aida-calc-grid, .aida-calc-lines { grid-template-columns: 1fr; }
}
