/* عقارك بكام — theme chrome */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ab-font, "IBM Plex Sans Arabic", sans-serif); font-size: 16px; line-height: 1.7; color: var(--ab-ink, #1c2421); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--ab-leaf, #2e6b4f); }
body.abt-lock { overflow: hidden; }
.abt-skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ab-pine); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.abt-skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.abt-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--ab-line, #d5ddd7); }
.admin-bar .abt-header { top: 32px; }
.abt-header__in { width: min(1320px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 20px; min-height: 76px; }
.abt-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ab-pine, #17382c); flex: none; }
.abt-mark__word { font-family: var(--ab-display, "Reem Kufi", sans-serif); font-weight: 700; font-size: 24px; line-height: 1; }
/* Glyph: three rising bars — a price scale */
.abt-mark__glyph { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; }
.abt-mark__glyph i { display: block; width: 6px; border-radius: 2px; background: var(--ab-leaf, #2e6b4f); }
.abt-mark__glyph i:nth-child(1) { height: 40%; }
.abt-mark__glyph i:nth-child(2) { height: 70%; }
.abt-mark__glyph i:nth-child(3) { height: 100%; background: var(--ab-brass, #b8862b); }
.custom-logo-link img { max-height: 52px; width: auto; }

.abt-nav { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: space-between; }
.abt-nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.abt-nav__list a { display: block; padding: 10px 8px; border-radius: 8px; color: var(--ab-ink, #1c2421); text-decoration: none; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.abt-nav__list a:hover { background: var(--ab-stone, #eef1ec); }
.abt-nav__list .current-menu-item > a { color: var(--ab-leaf, #2e6b4f); font-weight: 700; }
.abt-nav__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.abt-lang { color: var(--ab-pine, #17382c); font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 10px; border: 1px solid var(--ab-line, #d5ddd7); border-radius: 8px; }
.abt-lang:hover { border-color: var(--ab-pine, #17382c); }
.abt-cta { min-height: 44px; font-size: 15px; }
.abt-account { color: var(--ab-pine, #17382c); font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 6px; white-space: nowrap; }
.abt-account:hover { text-decoration: underline; }
.abt-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ab-line, #d5ddd7); background: #fff; border-radius: 8px; margin-inline-start: auto; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.abt-burger i { display: block; width: 20px; height: 2px; background: var(--ab-pine, #17382c); transition: transform .2s, opacity .2s; }
.abt-burger[aria-expanded=true] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.abt-burger[aria-expanded=true] i:nth-child(3) { opacity: 0; }
.abt-burger[aria-expanded=true] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* Content */
.abt-main { min-height: 50vh; }
.abt-archive__head { margin-bottom: 32px; }
.abt-post-title { font-size: 19px; line-height: 1.5; margin: 6px 0 8px; }
.abt-post-title a { color: var(--ab-pine, #17382c); text-decoration: none; }
.abt-post-title a:hover { text-decoration: underline; }
.abt-pagination { margin-top: 40px; }
.abt-pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.abt-pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ab-line, #d5ddd7); border-radius: 8px; text-decoration: none; color: var(--ab-ink); }
.abt-pagination .current { background: var(--ab-pine, #17382c); color: #fff; }
.abt-article__meta { color: var(--ab-muted, #5d6b65); font-size: 14px; margin: 0 0 8px; }
.abt-article__img { margin: 8px 0 32px; border-radius: 14px; overflow: hidden; }
.abt-article__img img { width: 100%; display: block; }
.abt-article .ab-prose a { color: var(--ab-leaf); }
.abt-article .ab-sources { font-size: 14px; }
.abt-article__cta { margin-top: 48px; padding: 24px; border-radius: 12px; background: var(--ab-stone, #eef1ec); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.abt-article__cta p { margin: 0; font-weight: 600; color: var(--ab-pine); }

/* Footer */
.abt-footer { background: #10261e; color: #c4d1c9; margin-top: 0; }
.abt-footer__in { width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.abt-footer .abt-mark { color: #fff; }
.abt-footer .abt-mark__glyph i { background: #6fa58a; }
.abt-footer .abt-mark__glyph i:nth-child(3) { background: var(--ab-brass, #b8862b); }
.abt-footer__brand p { line-height: 1.8; max-width: 40ch; margin: 18px 0 0; }
.abt-footer h2 { font-size: 15px; color: #fff; margin: 0 0 14px; }
.abt-footer ul { list-style: none; margin: 0; padding: 0; }
.abt-footer li { margin-bottom: 8px; }
.abt-footer a { color: #c4d1c9; text-decoration: none; }
.abt-footer a:hover { color: #fff; text-decoration: underline; }
.abt-footer__bottom { width: min(1180px, 100% - 40px); margin-inline: auto; border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.abt-footer__bottom p { margin: 0; }
.abt-footer .abt-lang { color: #fff; border-color: rgba(255,255,255,.25); }
.abt-wa { position: fixed; bottom: 20px; inset-inline-end: 20px; width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 90; box-shadow: 0 6px 18px rgba(16,38,30,.28); }
.abt-wa:hover { background: #18773f; color: #fff; }
.abt-wa:focus-visible, .abt-nav a:focus-visible, .abt-lang:focus-visible, .abt-burger:focus-visible { outline: 3px solid var(--ab-brass, #b8862b); outline-offset: 2px; }

/* Elementor full-width pages: no extra gaps */
.elementor-page .abt-main > .elementor { margin: 0; }
.elementor-widget-shortcode .elementor-shortcode > section:first-child { margin-top: 0; }

@media (max-width: 1360px) {
	.abt-burger { display: flex; }
	.abt-header__in { flex-wrap: nowrap; }
	.abt-nav { position: fixed; top: var(--abt-h, 76px); left: 0; right: 0; height: calc(100dvh - var(--abt-h, 76px)); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px 20px 24px; gap: 14px; overflow-y: auto; overscroll-behavior: contain; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 99; border-top: 1px solid var(--ab-line, #d5ddd7); }
	.admin-bar .abt-nav { top: calc(var(--abt-h, 76px) + 32px); height: calc(100dvh - var(--abt-h, 76px) - 32px); }
	.abt-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.abt-nav__list { flex-direction: column; order: 2; }
	.abt-nav__list a { padding: 11px 6px; font-size: 16px; border-bottom: 1px solid var(--ab-line, #d5ddd7); border-radius: 0; white-space: normal; }
	.abt-nav__tools { order: 1; justify-content: space-between; padding-bottom: 4px; }
	.abt-nav__tools .abt-cta { flex: 1; }
	.abt-footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { .admin-bar .abt-header { top: 46px; } .admin-bar .abt-nav { top: calc(var(--abt-h, 64px) + 46px); height: calc(100dvh - var(--abt-h, 64px) - 46px); } }
@media (max-width: 600px) {
	.abt-header__in { min-height: 64px; width: calc(100% - 28px); }
	.abt-header { --abt-h: 64px; }
	.abt-nav { --abt-h: 64px; }
	.abt-mark__word { font-size: 21px; }
	.abt-footer__in { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .abt-nav, .abt-burger i { transition: none; } }
