/* ============================================================
   pinned-suggestions.css  →  /om/css/pinned-suggestions.css
   قسم «اقتراحات مثبتة»: بطاقة عرضية بنفس تصميم بانر بدية
   ============================================================ */

#pinned-section { display: block; }
#pinned-section[hidden] { display: none; }

.vps-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 8px 16px 8px;
}
@media (min-width: 640px) { .vps-wrap { padding: 12px 24px 8px; } }
@media (min-width: 1024px) { .vps-wrap { padding-inline: 32px; } }

.vps-head { margin-bottom: 14px; }
.vps-kicker {
    display: inline-block;
    margin-bottom: 4px;
    color: #AD1F24;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}
html.dark .vps-kicker { color: #F87171; }
.vps-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #1c1917;
}
html.dark .vps-head h2 { color: #fff; }
@media (min-width: 640px) { .vps-head h2 { font-size: 26px; } }

.vps-list { display: grid; gap: 14px; }

/* ---------- البطاقة ---------- */
.vps-card {
    --vps-fg: #1c1917;
    --vps-mut: rgba(28, 25, 23, .62);
    --vps-accent: #2F7AAE;
    --vps-glass: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
    --vps-glass-bd: rgba(255, 255, 255, .82);
    --vps-glass-hi: rgba(255, 255, 255, .95);
    --vps-shadow: 0 20px 55px rgba(9, 32, 52, .2);
    --vps-sky1: #7fc4ea; --vps-sky2: #ffe3b8; --vps-sun: #fff4d6; --vps-sunglow: rgba(255, 214, 140, .65);
    --vps-d1: #f0c48e; --vps-d2: #dba46c; --vps-d3: #b9804f; --vps-tent: #5b3a29;
    --vps-star: 0; --vps-fire: 0;

    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
    border-radius: 34px;
    background: var(--vps-glass);
    border: 1px solid var(--vps-glass-bd);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    backdrop-filter: blur(22px) saturate(1.25);
    box-shadow: var(--vps-shadow), inset 0 1px 0 var(--vps-glass-hi);
    color: var(--vps-fg);
    overflow: hidden;
}
html.dark .vps-card {
    --vps-fg: #f5f5f4;
    --vps-mut: rgba(245, 245, 244, .62);
    --vps-accent: #8CC7EA;
    --vps-glass: linear-gradient(180deg, rgba(20, 30, 42, .86), rgba(12, 18, 27, .74));
    --vps-glass-bd: rgba(255, 255, 255, .13);
    --vps-glass-hi: rgba(255, 255, 255, .12);
    --vps-shadow: 0 20px 55px rgba(0, 0, 0, .6);
    --vps-sky1: #0a1530; --vps-sky2: #2b3f6e; --vps-sun: #eef3ff; --vps-sunglow: rgba(150, 180, 255, .4);
    --vps-d1: #2a3552; --vps-d2: #1d2641; --vps-d3: #121930; --vps-tent: #0a0f1f;
    --vps-star: 1; --vps-fire: 1;
}

/* ---------- المشهد (يسار/يمين حسب اللغة) ---------- */
.vps-scene {
    position: relative;
    flex: 1.35;
    min-height: 210px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--vps-sky1), var(--vps-sky2) 78%);
}
.vps-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vps-stars circle { fill: #fff; opacity: calc(var(--vps-star) * .9); animation: vpsTw 3.2s ease-in-out infinite alternate; }
.vps-stars circle:nth-child(2n) { animation-delay: -1.1s; }
.vps-stars circle:nth-child(3n) { animation-delay: -2.2s; }
@keyframes vpsTw { from { opacity: calc(var(--vps-star) * .25); } to { opacity: var(--vps-star); } }

.vps-sun { transform: translateY(120px); transition: transform .5s ease; }
.vps-card.in .vps-sun { transform: none; transition: transform 1.8s .2s cubic-bezier(.2, .8, .2, 1); }
.vps-sunglow { fill: var(--vps-sunglow); }
.vps-sundisc { fill: var(--vps-sun); }
.vps-d1 { fill: var(--vps-d1); } .vps-d2 { fill: var(--vps-d2); } .vps-d3 { fill: var(--vps-d3); }
.vps-tent { fill: var(--vps-tent); }
.vps-fire { fill: #ffb347; opacity: var(--vps-fire); animation: vpsFl .9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes vpsFl { from { opacity: calc(var(--vps-fire) * .55); transform: scale(.8); } to { opacity: var(--vps-fire); transform: scale(1.15); } }

.vps-art {
    position: absolute;
    inset-inline: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.vps-img {
    width: 62%;
    max-width: 330px;
    height: auto;
    max-height: 48%;
    object-fit: contain;
    background: none;
}

/* ---------- النص + الزر ---------- */
.vps-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 12px 18px;
    min-width: 0;
}
.vps-tag {
    align-self: flex-start;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(62, 146, 204, .14);
    color: var(--vps-accent);
    font-size: 11px;
    font-weight: 800;
}
.vps-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--vps-fg); }
.vps-sub { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.6; color: var(--vps-mut); }

.vps-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    padding: 13px 18px 12px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #5AA9DD 0%, #3E92CC 52%, #2F7AAE 100%);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(62, 146, 204, .38), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .15s, box-shadow .2s, filter .2s;
}
.vps-cta:hover { filter: brightness(1.04); box-shadow: 0 16px 32px rgba(62, 146, 204, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.vps-cta:active { transform: scale(.985); }
.vps-cta small { font-size: 10.5px; font-weight: 700; letter-spacing: .9px; opacity: .88; }

/* ---------- جوال: المشهد فوق والنص تحته ---------- */
@media (max-width: 719px) {
    .vps-card { flex-direction: column; border-radius: 28px; padding: 7px; gap: 4px; }
    .vps-scene { flex: none; min-height: 0; aspect-ratio: 16 / 8; border-radius: 22px; }
    .vps-img { width: 50%; max-height: 52%; }
    .vps-body { padding: 8px 8px 6px; gap: 10px; }
    .vps-title { font-size: 19px; }
    .vps-cta { padding: 11px 14px 10px; font-size: 15px; border-radius: 15px; }
    .vps-cta small { font-size: 9.5px; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .vps-card { background: rgba(255, 255, 255, .98); }
    html.dark .vps-card { background: rgba(18, 24, 33, .98); }
}

@media (prefers-reduced-motion: reduce) {
    .vps-sun, .vps-card.in .vps-sun { transition: none; transform: none; }
    .vps-stars circle, .vps-fire { animation: none; }
}