/* موقف الجبهة العربية السورية — هوية فاخرة متناسقة مع الموقع */
.sfs-wrapper {
    --sfs-primary: #b08a4a;
    --sfs-primary-light: #d4b06a;
    --sfs-gold-dark: #80622f;
    --sfs-text: #202020;
    --sfs-muted: #77736c;
    --sfs-border: rgba(40, 35, 25, .13);
    --sfs-bg: #ffffff;
    --sfs-soft: #f7f5f0;
    --sfs-dark: #1d1c19;
    width: 100%;
    max-width: 1100px;
    margin: 28px auto;
    box-sizing: border-box;
    font-family: inherit;
}

.sfs-wrapper *,
.sfs-wrapper *::before,
.sfs-wrapper *::after {
    box-sizing: border-box;
}

.sfs-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #fcfbf8 100%);
    border: 1px solid var(--sfs-border);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 34px);
    box-shadow: 0 12px 40px rgba(0,0,0,.075);
    transition: box-shadow .25s ease, transform .25s ease;
}

.sfs-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sfs-primary-light), var(--sfs-primary), var(--sfs-gold-dark));
}

.sfs-card:hover {
    box-shadow: 0 18px 50px rgba(0,0,0,.105);
}

.sfs-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.sfs-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--sfs-gold-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1px;
}

.sfs-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    color: var(--sfs-primary);
    background: rgba(176,138,74,.11);
    border: 1px solid rgba(176,138,74,.25);
    position: relative;
}

.sfs-badge__icon img {
    display: block;
    width: 29px;
    height: 29px;
    max-width: 29px;
    max-height: 29px;
    object-fit: contain;
    object-position: center;
    border: 0;
    margin: 0;
    padding: 0;
}

.sfs-date {
    color: var(--sfs-muted);
    font-size: 12px;
    white-space: nowrap;
}

.sfs-title {
    margin: 0 0 13px;
    color: var(--sfs-text);
    font-size: clamp(21px, 3vw, 31px);
    line-height: 1.45;
    font-weight: 850;
}

.sfs-summary {
    color: #55524d;
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.95;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 900px;
}

.sfs-full-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    color: #343331;
    font-size: 16px;
    line-height: 2;
    transition: max-height .5s ease, opacity .35s ease, margin-top .35s ease;
}

.sfs-full-content > :first-child {
    margin-top: 0;
}

.sfs-full-content > :last-child {
    margin-bottom: 0;
}

.sfs-full-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.sfs-card.is-open .sfs-full-content {
    max-height: 3000px;
    opacity: 1;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--sfs-border);
}

.sfs-card.is-open .sfs-summary {
    display: none;
}

.sfs-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 22px;
}

.sfs-toggle {
    appearance: none;
    border: 1px solid rgba(212,176,106,.55);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 21px;
    border-radius: 11px;
    background: linear-gradient(135deg, #80622f 0%, #b08a4a 48%, #8f6c36 100%);
    color: #ffffff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
    box-shadow:
        0 7px 18px rgba(77,59,28,.18),
        inset 0 1px 0 rgba(255,255,255,.22);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.sfs-toggle *,
.sfs-toggle__text {
    color: #ffffff !important;
}

.sfs-toggle:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        0 10px 24px rgba(77,59,28,.24),
        inset 0 1px 0 rgba(255,255,255,.25);
}

.sfs-toggle:active {
    transform: translateY(0);
}

.sfs-toggle:focus-visible {
    outline: 3px solid rgba(176,138,74,.28);
    outline-offset: 3px;
}

.sfs-toggle__arrow {
    width: 17px;
    height: 17px;
    color: #ffffff !important;
    transition: transform .3s ease;
}

.sfs-card.is-open .sfs-toggle__arrow {
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .sfs-wrapper {
        margin: 18px auto;
    }

    .sfs-card {
        border-radius: 15px;
        padding: 20px 17px 18px 20px;
    }

    .sfs-card::before {
        width: 3px;
    }

    .sfs-card__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 14px;
    }

    .sfs-title {
        font-size: 21px;
        line-height: 1.5;
    }

    .sfs-summary {
        font-size: 14px;
        line-height: 1.9;
    }

    .sfs-full-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .sfs-toggle {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sfs-card,
    .sfs-full-content,
    .sfs-toggle,
    .sfs-toggle__arrow {
        transition: none !important;
    }
}


.sfs-hashtag-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: color .2s ease, text-decoration .2s ease;
}

.sfs-hashtag-link:hover,
.sfs-hashtag-link:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}
