/* ============================================================
   Bizinoo — ظاهر آگهی‌ها (در سایت و پیش‌نمایش پنل مدیریت)
   ============================================================ */
:root {
    --bz-ink: #0f1b3d; --bz-ink-soft: #3a4763; --bz-muted: #7b869c; --bz-line: #e7edf6; --bz-canvas: #f6f8fc;
    --bz-blue: #1463ff; --bz-blue-dark: #0a4ee0; --bz-blue-soft: #edf3ff; --bz-star: #f5b301; --bz-navy: #0b2170;
    --bz-shadow: 0 6px 24px rgba(15, 40, 110, .07); --bz-shadow-lg: 0 18px 44px rgba(15, 40, 110, .14);
}
.adx-slot { margin: 1.4rem 0; }
.bz-ad-slot, .bz-top-ad { margin-top: 1.6rem; }
.bz-top-ad { margin-top: 1rem; }
.adx {
    position: relative; display: flex; overflow: hidden; color: var(--bz-ink);
    background: #fff; border: 1px solid var(--bz-line); border-radius: 18px;
    box-shadow: var(--bz-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    text-decoration: none; isolation: isolate;
}
.adx:hover { color: var(--bz-ink); transform: translateY(-2px); box-shadow: var(--bz-shadow-lg); border-color: #cfdcf5; }
.adx:focus-visible { outline: 3px solid var(--bz-blue); outline-offset: 3px; }
.adx-media { display: block; overflow: hidden; background: var(--bz-blue-soft); flex-shrink: 0; }
.adx-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.adx:hover .adx-media img { transform: scale(1.04); }
.adx-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem; min-width: 0; flex: 1; }
.adx-brand { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.adx-logo {
    width: 34px; height: 34px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
    background: var(--bz-blue-soft); color: var(--bz-blue); display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.adx-logo img { width: 100%; height: 100%; object-fit: cover; }
.adx-brand-name { font-size: .8rem; font-weight: 700; color: var(--bz-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adx-verified { color: var(--bz-blue); font-size: .75rem; }
.adx-tag {
    margin-inline-start: auto; flex-shrink: 0; font-size: .66rem; font-weight: 800; letter-spacing: .02em;
    padding: .16rem .55rem; border-radius: 6px; background: #fff4d6; color: #8a5a00; border: 1px solid #f5dfa0;
}
.adx-title { font-size: 1rem; line-height: 1.75; font-weight: 800; color: var(--bz-ink); }
.adx-desc { font-size: .82rem; line-height: 1.9; color: var(--bz-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adx-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: .3rem; flex-wrap: wrap; }
.adx-meta { display: flex; align-items: center; gap: .8rem; font-size: .74rem; color: var(--bz-muted); flex-wrap: wrap; }
.adx-meta i { font-size: .7rem; }
.adx-rating { color: var(--bz-ink); font-weight: 700; }
.adx-rating i { color: var(--bz-star); }
.adx-cta {
    display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800;
    color: #fff; background: var(--bz-blue); padding: .55rem 1.05rem; border-radius: 10px;
    box-shadow: 0 6px 14px rgba(20, 99, 255, .25); transition: background .15s ease;
}
.adx-cta i { font-size: .65rem; transition: transform .15s ease; }
.adx:hover .adx-cta { background: var(--bz-blue-dark); }
.adx:hover .adx-cta i { transform: translateX(-3px); }

/* بنر عریض (بالای صفحه اصلی) */
.adx-banner { min-height: 170px; background:
    radial-gradient(420px 200px at 0% 100%, rgba(20, 99, 255, .08), transparent 70%), #fff; }
.adx-banner .adx-media { width: 34%; max-width: 360px; order: 2; }
.adx-banner .adx-body { padding: 1.4rem 1.6rem; justify-content: center; }
.adx-banner .adx-title { font-size: 1.2rem; }
.adx-banner.adx-noimg { background:
    radial-gradient(360px 220px at 8% 50%, rgba(20, 99, 255, .14), transparent 70%),
    linear-gradient(120deg, #fff 55%, #f1f6ff); }
@media (max-width: 700px) {
    .adx-banner { flex-direction: column; }
    .adx-banner .adx-media { width: 100%; max-width: none; aspect-ratio: 16 / 7; order: 0; }
    .adx-banner .adx-body { padding: 1.1rem 1.2rem; }
    .adx-banner .adx-title { font-size: 1.05rem; }
}

/* کارت بومی (بین نتایج جستجو و صفحه کسب‌وکار) */
.adx-native { border-color: #f1e2b3; background: linear-gradient(180deg, #fffdf6, #fff 60%); }
.adx-native .adx-media { width: 230px; order: 2; }
@media (max-width: 640px) {
    .adx-native { flex-direction: column; }
    .adx-native .adx-media { width: 100%; aspect-ratio: 16 / 8; order: 0; }
}

/* کارت فشرده (ستون کناری و مجله) */
.adx-compact { flex-direction: column; }
.adx-compact .adx-media { width: 100%; aspect-ratio: 16 / 8; }
.adx-compact .adx-body { padding: .95rem 1rem 1rem; }
.adx-compact .adx-title { font-size: .92rem; }
.adx-compact .adx-foot { flex-direction: column; align-items: stretch; }
.adx-compact .adx-cta { justify-content: center; background: var(--bz-blue-soft); color: var(--bz-blue); box-shadow: none; }
.adx-compact:hover .adx-cta { background: var(--bz-blue); color: #fff; }

/* حالت شب مجله */
html[data-theme="dark"] body.is-magazine .adx { background: #0e1938; border-color: var(--bz-line); }
html[data-theme="dark"] body.is-magazine .adx-title { color: var(--bz-ink); }
@media (prefers-reduced-motion: reduce) {
    .adx, .adx-media img, .adx-cta i { transition: none; }
    .adx:hover { transform: none; }
}


/* کارت درون‌فهرست (بین کارت‌های مقالات مجله) */
.adx-infeed { flex-direction: column; border-color: #f1e2b3; background: linear-gradient(180deg, #fffdf6, #fff 55%); }
.adx-infeed .adx-media { width: 100%; aspect-ratio: 16 / 11; }
.adx-infeed .adx-body { padding: 1rem 1.1rem 1.1rem; }
.adx-infeed .adx-title { font-size: .95rem; }
.adx-infeed .adx-foot { flex-direction: column; align-items: stretch; }
.adx-infeed .adx-cta { justify-content: center; }
/* آگهی داخل متن مقاله */
.post-content .adx-slot, .mza-body .adx-slot { margin: 2rem 0; }
.mza-body .adx { font-size: 1rem; line-height: normal; }
.mza-body .adx-title { margin: 0; }

/* ============================================================
   قاب تصویر بدون برش (fitImg): کل تصویر دیده می‌شود؛ فضای خالی قاب
   با نسخه محو همان تصویر پر می‌شود تا کارت‌ها یکدست و زیبا بمانند.
   ============================================================ */
.fit-frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; isolation: isolate; background: #eef2f8; }
.fit-frame::before {
    content: ''; position: absolute; inset: -14%; z-index: -1;
    background: var(--fit-bg) center / cover no-repeat;
    filter: blur(22px) saturate(1.15); opacity: .6; transform: translateZ(0);
}
.fit-frame picture { display: block; width: 100%; height: 100%; }
.fit-frame img.fit-img { display: block; width: 100% !important; height: 100% !important; object-fit: contain !important; }
/* لوگوها هم هرگز بریده نمی‌شوند */
.bz-top-thumb img, .bz-float-thumb img, .adx-logo img, .business-card .thumb, .biz-avatar, .am-camp-thumb img { object-fit: contain !important; background: #fff; }
/* کاور صفحه کسب‌وکار و صفحه مقاله */
.biz-cover-frame { height: 260px; }
.mza-cover .fit-frame { height: 100%; }
.mz-slide-visual .mz-slide-frame { width: 100%; height: 100%; border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); background: rgba(255, 255, 255, .06); }
.mz-slide-visual .mz-slide-frame::before { opacity: .35; }

/* ============================================================
   طراحی ۳ آگهی‌ها: جذاب‌تر و متمایز، ولی هم‌خانواده با سایت
   ============================================================ */
.adx { border-radius: 20px; }
/* حاشیه گرادیانی درخشان هنگام hover */
.adx::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none;
    background: linear-gradient(135deg, #52b6ff, #1463ff 45%, #f5b301);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity .25s ease;
}
.adx:hover::before, .adx:focus-visible::before { opacity: 1; }
/* نور گذرا روی کارت هنگام hover */
.adx-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.adx-shine::after {
    content: ''; position: absolute; top: -50%; bottom: -50%; width: 40%; left: -60%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg);
}
.adx:hover .adx-shine::after { left: 130%; transition: left .9s ease; }

/* برچسب «آگهی» */
.adx-tag { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: linear-gradient(135deg, #fff1c7, #ffe08a); color: #7a4d00; box-shadow: 0 2px 6px rgba(245, 179, 1, .25); }
.adx-tag i { font-size: .6rem; }

/* دکمه اقدام با پیکان متحرک */
.adx-cta { position: relative; overflow: hidden; border-radius: 12px; padding: .6rem 1.15rem; }
.adx-cta i { transition: transform .2s ease; }
.adx:hover .adx-cta i { transform: translateX(-4px); }

/* بخش تصویری آگهی بدون تصویر: کاشی برند روی زمینه رنگی */
.adx-visual { position: relative; display: grid !important; place-items: center; overflow: hidden;
    background:
        radial-gradient(circle at 30% 25%, hsl(var(--adx-h, 220) 90% 92%), transparent 55%),
        radial-gradient(circle at 75% 80%, hsl(calc(var(--adx-h, 220) + 40) 85% 88%), transparent 55%),
        hsl(var(--adx-h, 220) 60% 96%); }
.adx-visual::before, .adx-visual::after {
    content: ''; position: absolute; border-radius: 50%; border: 2px solid hsl(var(--adx-h, 220) 70% 80% / .6);
    width: 150px; height: 150px; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.adx-visual::after { width: 220px; height: 220px; border-style: dashed; opacity: .6; animation: adxSpin 40s linear infinite; }
@keyframes adxSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.adx-visual-tile {
    position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; overflow: hidden;
    background: #fff; color: hsl(var(--adx-h, 220) 70% 42%); font-size: 2rem;
    box-shadow: 0 12px 28px hsl(var(--adx-h, 220) 60% 40% / .25); transition: transform .3s ease;
}
.adx-visual-tile img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.adx:hover .adx-visual-tile { transform: translateY(-4px) scale(1.04); }

/* ---------- بنر بالای صفحه اصلی: سرمه‌ای ممتاز، هم‌خانواده هیروی سایت ---------- */
.adx-banner, .adx-banner.adx-noimg {
    color: #fff; border: 0; min-height: 200px;
    background:
        radial-gradient(420px 260px at 85% 0%, rgba(82, 182, 255, .35), transparent 70%),
        radial-gradient(360px 220px at 10% 100%, rgba(20, 99, 255, .45), transparent 70%),
        linear-gradient(120deg, #06164a, #0b2378 55%, #0c2e9a);
    box-shadow: 0 18px 40px -12px rgba(6, 22, 74, .5);
}
.adx-banner:hover { color: #fff; box-shadow: 0 24px 50px -12px rgba(6, 22, 74, .6); }
.adx-banner .adx-body { padding: 1.6rem 1.8rem; gap: .55rem; }
.adx-banner .adx-title { color: #fff; font-size: 1.35rem; line-height: 1.6; }
.adx-banner .adx-desc { color: rgba(255, 255, 255, .78); font-size: .88rem; }
.adx-banner .adx-brand-name { color: rgba(255, 255, 255, .9); }
.adx-banner .adx-logo { background: #fff; }
.adx-banner .adx-verified { color: #7cc8ff; }
.adx-banner .adx-meta, .adx-banner .adx-meta span { color: rgba(255, 255, 255, .7); }
.adx-banner .adx-rating { color: #fff; }
.adx-banner .adx-cta { background: #fff; color: var(--bz-blue); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .45); }
.adx-banner:hover .adx-cta { background: #eaf2ff; }
.adx-banner .adx-media { width: 36%; max-width: 380px; margin: 1rem; margin-inline-start: 0; border-radius: 16px; order: 2;
    box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .55); transform: rotate(-1.5deg); transition: transform .35s ease; }
.adx-banner:hover .adx-media { transform: rotate(0) scale(1.01); }
.adx-banner .adx-visual { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.adx-banner .adx-visual::before, .adx-banner .adx-visual::after { border-color: rgba(124, 200, 255, .3); }
.adx-banner .adx-visual-tile { box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 16px 34px rgba(0, 0, 0, .35); }
.adx-banner .adx-shine::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent); }

/* ---------- کارت بومی (نتایج جستجو، صفحه کسب‌وکار، مجله) ---------- */
.adx-native { background: #fff; border: 1px solid #efe3bd; padding: .7rem; gap: .2rem; align-items: stretch; }
.adx-native::after { content: ''; position: absolute; inset-block: 18px; inset-inline-start: 0; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #f5b301, #f59e0b); }
[dir="rtl"] .adx-native::after { border-radius: 4px 0 0 4px; }
.adx-native .adx-media { width: 240px; border-radius: 14px; order: 2; }
.adx-native .adx-body { padding: .6rem .9rem; }
.adx-native .adx-title { font-size: 1.05rem; }

/* ---------- کارت فشرده (ستون کناری) ---------- */
.adx-compact { padding: .55rem; }
.adx-compact .adx-media { border-radius: 14px; aspect-ratio: 16 / 9; }
.adx-compact .adx-visual-tile { width: 68px; height: 68px; border-radius: 18px; font-size: 1.6rem; }
.adx-compact .adx-visual::before { width: 120px; height: 120px; }
.adx-compact .adx-visual::after { width: 175px; height: 175px; }
.adx-compact .adx-body { padding: .8rem .5rem .4rem; }

/* ---------- کارت درون‌فهرست ---------- */
.adx-infeed { padding: .55rem; background: #fff; }
.adx-infeed .adx-media { border-radius: 14px; }

@media (max-width: 700px) {
    .adx-banner .adx-media { width: auto; max-width: none; margin: .8rem .8rem 0; aspect-ratio: 16 / 8; transform: none; order: 0; }
    .adx-banner .adx-body { padding: 1.1rem 1.2rem 1.3rem; }
    .adx-banner .adx-title { font-size: 1.12rem; }
    .adx-native { padding: .55rem; }
    .adx-native .adx-media { width: 100%; aspect-ratio: 16 / 8; order: 0; }
}
html[data-theme="dark"] body.is-magazine :is(.adx-native, .adx-compact, .adx-infeed) { background: #0e1938; border-color: #2a3866; }
@media (prefers-reduced-motion: reduce) {
    .adx-visual::after, .adx-shine::after { animation: none; transition: none; }
    .adx-banner .adx-media { transform: none; }
}

/* ورود نرم آگهی هنگام دیده شدن (فقط با جاوااسکریپت فعال؛ شبکه ایمنی ۲٫۵ ثانیه‌ای) */
.js-adx .adx { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .18s ease, border-color .18s ease; }
.js-adx .adx.is-in { opacity: 1; transform: none; }
.js-adx .adx.is-in:hover { transform: translateY(-2px); }
.adx-meta .smart-status { font-size: .7rem; padding: .15rem .55rem; }
@media print { .js-adx .adx { opacity: 1 !important; transform: none !important; } }

/* چرخان آگهی: اسلاید غیرفعال واقعا پنهان است (نمایش فقط وقتی ثبت می‌شود که دیده شود) */
.adx-carousel { position: relative; }
.adx-slide { display: none; }
.adx-slide.is-active { display: block; animation: adxSlideIn .5s ease; }
@keyframes adxSlideIn { from { opacity: 0; transform: translateX(-14px); } }
.adx-dots { display: flex; justify-content: center; gap: .4rem; margin-top: .7rem; }
.adx-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #c9d4ea; cursor: pointer; transition: width .25s ease, background .25s ease; }
.adx-dots button.on { width: 24px; background: linear-gradient(90deg, #52b6ff, #1463ff); }
@media (prefers-reduced-motion: reduce) { .adx-slide.is-active { animation: none; } }

/* نوار طلایی آگهی بومی کمی داخل‌تر از لبه کارت (روی خط حاشیه نیفتد و بیرون‌زده دیده نشود) */
.adx-native::after, [dir="rtl"] .adx-native::after { inset-inline-start: 6px; inset-block: 16px; border-radius: 4px; }

/* ---------- فرم کمپین: روش قیمت‌گذاری ---------- */
.am-bidmode { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.am-bm { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem .9rem; border: 1.5px solid var(--bz-line); border-radius: 12px; cursor: pointer; background: #fff; }
.am-bm:has(input:checked) { border-color: var(--bz-blue); background: var(--bz-blue-soft); }
.am-bm input { margin-top: .3rem; accent-color: var(--bz-blue); }
.am-bm b { display: block; font-size: .95rem; color: var(--bz-ink); }
.am-bm small { display: block; font-size: .78rem; line-height: 1.8; color: var(--bz-muted); }
.am-autobox { margin-bottom: 1rem; }

/* ---------- زیر هر آگهی: «Ads by Bizinoo» و «چرا این آگهی؟» ---------- */
.adx-unit { position: relative; }
.adx-attrib {
    display: flex; align-items: center; justify-content: flex-end; gap: .9rem;
    margin-top: .35rem; padding-inline: .2rem;
    font-size: .72rem; line-height: 1.6; color: var(--bz-muted, #7b869c);
}
.adx-by {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 600; letter-spacing: .01em;
    color: var(--bz-muted, #7b869c); text-decoration: none;
}
.adx-by:hover { color: var(--bz-blue, #1463ff); text-decoration: underline; }
.adx-why { position: relative; }
.adx-why summary { cursor: pointer; list-style: none; }
.adx-why summary::-webkit-details-marker { display: none; }
.adx-why summary::before { content: 'ⓘ'; margin-inline-end: .25rem; }
.adx-why summary:hover, .adx-why[open] summary { color: var(--bz-ink, #0f1b3d); }
.adx-why-pop {
    position: absolute; bottom: calc(100% + .45rem); inset-inline-end: 0; z-index: 20;
    width: min(300px, 82vw);
    padding: .85rem 1rem;
    border-radius: 12px; background: #fff;
    border: 1px solid var(--bz-line, #e7edf6);
    box-shadow: var(--bz-shadow-lg, 0 18px 44px rgba(15, 40, 110, .14));
    color: var(--bz-ink-soft, #3a4763); font-size: .8rem; line-height: 1.9;
}
.adx-why-pop strong { display: block; color: var(--bz-ink, #0f1b3d); margin-bottom: .2rem; }
.adx-why-pop ul { margin: 0 0 .4rem; padding-inline-start: 1.1rem; }
.adx-why-pop a { color: var(--bz-blue, #1463ff); font-weight: 700; }


/* ==========================================================================
   صفحه «تبلیغات در بیزینو» (advertise.php)
   ========================================================================== */
.adv { max-width: 1040px; margin: 0 auto; color: var(--bz-ink, #0f1b3d); }
.adv h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 1rem; }
.adv h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .35rem; }
.adv p { line-height: 2; color: var(--bz-ink-soft, #3a4763); margin: 0 0 .8rem; max-width: 72ch; }

.adv-hero {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
    gap: 2.4rem; align-items: center;
    padding: 2.2rem 0 2.6rem;
}
.adv-hero h1 { font-size: clamp(1.45rem, 3.2vw, 2.2rem); line-height: 1.6; font-weight: 800; margin: 0 0 .9rem; }
.adv-hero p { font-size: 1.02rem; }
.adv-cta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.3rem; }
.adv-link { font-weight: 700; color: var(--bz-blue, #1463ff); }

/* صورت‌حساب نمونه: عنصر شاخص صفحه */
.adv-ledger {
    margin: 0; padding: 1.3rem 1.4rem 1.1rem;
    background: #fff;
    border: 1px solid var(--bz-line, #e7edf6);
    border-radius: 18px;
    box-shadow: var(--bz-shadow-lg, 0 18px 44px rgba(15, 40, 110, .14));
}
.adv-ledger dl > div + div { border-top: 1px dashed var(--bz-line, #e7edf6); }
.adv-ledger figcaption { font-size: .82rem; font-weight: 700; color: var(--bz-muted, #7b869c); margin-bottom: .6rem; }
.adv-ledger dl { margin: 0; }
.adv-ledger dl > div { display: grid; grid-template-columns: 1fr auto 4.6rem; align-items: center; gap: .6rem; min-height: 2.55rem; }
.adv-ledger dt { font-size: .92rem; }
.adv-ledger dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.adv-ledger dd.is-free, .adv-ledger dd.is-paid { font-size: .74rem; font-weight: 700; text-align: center; padding: .2rem .4rem; border-radius: 999px; }
.adv-ledger dd.is-free { background: #ecfdf3; color: #11603a; }
.adv-ledger dd.is-paid { background: var(--bz-blue, #1463ff); color: #fff; }
.adv-ledger-sum {
    display: flex; justify-content: space-between; align-items: center;
    margin: .8rem 0 0 !important; padding-top: .8rem; max-width: none !important;
    border-top: 2px solid var(--bz-ink, #0f1b3d);
    font-size: .9rem;
}
.adv-ledger-sum b { font-size: 1.15rem; color: var(--bz-ink, #0f1b3d); }

.adv-sec { padding: 2.2rem 0; border-top: 1px solid var(--bz-line, #e7edf6); scroll-margin-top: 90px; }
.adv-lead { color: var(--bz-muted, #7b869c) !important; margin-top: -.6rem !important; }
.adv-note { font-size: .9rem; background: var(--bz-canvas, #f6f8fc); padding: .7rem 1rem; border-radius: 10px; }

.adv-steps { list-style: none; counter-reset: advs; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.adv-steps li { counter-increment: advs; position: relative; padding-top: 2.6rem; }
.adv-steps li::before {
    content: counter(advs, persian);
    position: absolute; top: 0; inset-inline-start: 0;
    width: 2rem; height: 2rem; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--bz-navy, #0b2170); color: #fff; font-weight: 800;
}
.adv-steps strong { display: block; margin-bottom: .3rem; }
.adv-steps p { font-size: .9rem; }

.adv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem 2rem; }
.adv-cols p { font-size: .92rem; }

.adv-table-wrap { overflow-x: auto; }
.adv-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.adv-table th, .adv-table td { text-align: start; padding: .8rem .7rem; border-bottom: 1px solid var(--bz-line, #e7edf6); vertical-align: top; line-height: 1.9; }
.adv-table thead th { font-size: .8rem; color: var(--bz-muted, #7b869c); font-weight: 700; }
.adv-table tbody th { font-weight: 800; white-space: nowrap; }
.adv-table td:last-child { color: var(--bz-ink-soft, #3a4763); white-space: nowrap; }

.adv-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem 2rem; }
.adv-features > div > i { color: var(--bz-blue, #1463ff); font-size: 1.15rem; margin-bottom: .5rem; display: block; }
.adv-features p { font-size: .9rem; }

.adv-visitors { background: var(--bz-canvas, #f6f8fc); border-radius: 18px; padding: 1.8rem 1.6rem; border-top: 0; margin-top: 1rem; }
.adv-faq details { border-bottom: 1px solid var(--bz-line, #e7edf6); padding: .9rem 0; }
.adv-faq summary { cursor: pointer; font-weight: 700; }
.adv-faq details p { margin: .6rem 0 0; font-size: .92rem; }

.adv-final { text-align: center; padding: 2.6rem 1rem 1rem; border-top: 1px solid var(--bz-line, #e7edf6); }
.adv-final p { margin-inline: auto; }

@media (max-width: 820px) {
    .adv-hero { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 1rem; }
}

/* ---------- ساخت سریع آگهی ---------- */
.am-quick { margin: 0 0 1.4rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--bz-blue-soft, #edf3ff); border: 1px solid #d6e3ff; }
.am-quick-head strong { display: block; font-size: 1.02rem; color: var(--bz-ink, #0f1b3d); }
.am-quick-head strong i { color: var(--bz-blue, #1463ff); }
.am-quick-head span { display: block; font-size: .85rem; line-height: 1.9; color: var(--bz-ink-soft, #3a4763); margin-top: .2rem; }
.am-quick-q { margin: 1rem 0 .5rem; font-weight: 800; font-size: .9rem; }
.am-quick-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem; }
.am-quick-goals button, .am-quick-budget button {
    font: inherit; text-align: start; cursor: pointer;
    border: 1.5px solid #d6e3ff; background: #fff; color: var(--bz-ink, #0f1b3d); border-radius: 12px;
}
.am-quick-goals button { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: start; padding: .75rem .85rem; }
.am-quick-goals button i { grid-row: span 2; color: var(--bz-blue, #1463ff); margin-top: .25rem; }
.am-quick-goals button b { font-size: .92rem; }
.am-quick-goals button small { font-size: .77rem; line-height: 1.8; color: var(--bz-muted, #7b869c); }
.am-quick-budget { display: flex; flex-wrap: wrap; gap: .5rem; }
.am-quick-budget button { padding: .55rem 1rem; font-weight: 700; font-size: .88rem; }
.am-quick button[aria-pressed="true"] { border-color: var(--bz-blue, #1463ff); box-shadow: inset 0 0 0 1px var(--bz-blue, #1463ff); }
.am-quick-done { margin: .9rem 0 0; font-weight: 700; color: #11603a; }
.am-autofilled { outline: 2px solid #22a861 !important; outline-offset: 2px; transition: outline-color 1s; }

/* ---------- پیشنهادهای هوشمند کمپین ---------- */
.am-tip { margin: .45rem 0 0; padding: .45rem .7rem; border-radius: 10px; font-size: .82rem; line-height: 1.85; }
.am-tip i { margin-inline-end: .25rem; }
.am-tip-warn { background: #fff4e5; color: #8a4b00; }
.am-tip-tip { background: var(--bz-canvas, #f6f8fc); color: var(--bz-ink-soft, #3a4763); }
.am-tip-tip i { color: #c48a00; }
.am-tip-ok { background: #ecfdf3; color: #11603a; }

