/* ===== إعلانات: معرض الإنجازات + الشريط المؤقت ===== */

.ads-gallery {
    padding: 46px 0 30px;
    background:
        radial-gradient(1000px 380px at 85% -10%, rgba(181, 141, 61, .16), transparent 60%),
        linear-gradient(180deg, rgba(20, 68, 42, .04), transparent 60%);
}

.ads-gallery-head {
    text-align: center;
    margin-bottom: 26px;
}

.ads-eyebrow {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(181, 141, 61, .14);
    border: 1px solid rgba(181, 141, 61, .35);
    color: #8A651E;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.ads-gallery-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--primary, #14442A);
    line-height: 1.35;
}

.ads-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ads-track::-webkit-scrollbar { display: none; }

.ads-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(12, 43, 27, .18);
    border: 1px solid rgba(181, 141, 61, .35);
    background: #0B2819;
}

.ads-slide-media {
    position: relative;
    height: clamp(260px, 40vw, 440px);
}

.ads-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.ads-slide.is-active .ads-slide-media img { transform: scale(1.08); }

.ads-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 26, 16, .05) 30%, rgba(7, 26, 16, .82) 100%);
}

.ads-slide-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 26px 30px 30px;
    color: #fff;
    text-align: right;
}

.ads-slide-caption h3 {
    font-family: 'Amiri', serif;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    margin-bottom: 8px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}

.ads-slide-caption p {
    font-size: .95rem;
    color: rgba(255, 255, 255, .88);
    max-width: 720px;
}

.ads-slide-link {
    position: absolute;
    inset: 0;
    border-radius: 26px;
}

.ads-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.ads-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(20, 68, 42, .22);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.ads-dot.is-active {
    width: 28px;
    background: var(--accent, #B58D3D);
}

/* ===== الشريط المؤقت ===== */

.ads-ribbon {
    padding: 26px 0 6px;
}

.ads-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.ads-ribbon-card {
    display: flex;
    gap: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #0F3521 0%, #14442A 55%, #0E2F1E 100%);
    border: 1px solid rgba(181, 141, 61, .45);
    box-shadow: 0 16px 38px rgba(12, 43, 27, .22);
}

.ads-ribbon-media {
    flex: 0 0 38%;
    min-height: 140px;
}

.ads-ribbon-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ads-ribbon-body {
    padding: 18px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.ads-ribbon-pill {
    align-self: flex-start;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(245, 226, 179, .16);
    border: 1px solid rgba(245, 226, 179, .4);
    color: #F5E2B3;
    font-size: .74rem;
    font-weight: 800;
}

.ads-ribbon-body h3 {
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.45;
}

.ads-ribbon-body p {
    font-size: .87rem;
    color: rgba(255, 255, 255, .82);
}

.ads-ribbon-cta {
    align-self: flex-start;
    margin-top: 6px;
    padding: 7px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #C69B43, #B58D3D);
    color: #142a1d;
    font-weight: 900;
    font-size: .84rem;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.ads-ribbon-cta:hover { transform: translateY(-2px); opacity: .95; }

@media (max-width: 640px) {
    .ads-slide-caption { padding: 18px 18px 20px; }
    .ads-ribbon-card { flex-direction: column; }
    .ads-ribbon-media { flex: none; height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
    .ads-track { scroll-behavior: auto; }
    .ads-slide-media img { transition: none; }
}

.ads-slide-placeholder {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 10%, rgba(181, 141, 61, .35), transparent 60%),
        linear-gradient(135deg, #0F3521 0%, #14442A 60%, #0B2819 100%);
}

.ads-slide-media { position: relative; }