/* ================================================================
   SISTER SITES SECTION
   Works on both dark and light themes
   ================================================================ */

.ss-wrap {
    margin-top: 2.5rem;
    padding: 2.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,32,96,0.02);
}

.ss-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Title row ── */
.ss-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.ss-line {
    flex: 1;
    max-width: 6rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,32,96,0.4));
}
.ss-line:last-child {
    background: linear-gradient(to left, transparent, rgba(255,32,96,0.4));
}

.ss-title-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.ss-label {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
}

.ss-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.ss-sub {
    font-size: 0.7rem;
    color: #6b7280;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ── Links row ── */
.ss-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}

.ss-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.ss-link:hover {
    background: rgba(255,32,96,0.09);
    border-color: rgba(255,32,96,0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,32,96,0.13);
}

.ss-icon {
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    background: rgba(255,32,96,0.08);
    border: 1px solid rgba(255,32,96,0.15);
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ss-link:hover .ss-icon {
    background: rgba(255,32,96,0.18);
}

.ss-lname {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #e2e2f0;
    line-height: 1.2;
    transition: color 0.2s;
}

.ss-ldesc {
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.2;
    transition: color 0.2s;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 0.5rem;
    display: none;
}

@media (min-width: 640px) {
    .ss-ldesc { display: inline; }
}

.ss-link:hover .ss-lname { color: #ff6b9d; }
.ss-link:hover .ss-ldesc { color: #9ca3af; }
.ss-link:hover .ss-ldesc { border-color: rgba(255,32,96,0.2); }

/* ================================================================
   LIGHT THEME OVERRIDES
   ================================================================ */
[data-theme="light"] .ss-wrap {
    border-top: 1px solid rgba(0,0,0,0.07);
    background: rgba(255,32,96,0.02);
}

[data-theme="light"] .ss-title { color: #0a0a14; }
[data-theme="light"] .ss-sub   { color: #9ca3af; }

[data-theme="light"] .ss-link {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

[data-theme="light"] .ss-link:hover {
    background: #fff5f7;
    border-color: rgba(255,32,96,0.3);
    box-shadow: 0 6px 20px rgba(255,32,96,0.1);
}

[data-theme="light"] .ss-icon {
    background: rgba(255,32,96,0.06);
    border-color: rgba(255,32,96,0.12);
}

[data-theme="light"] .ss-link:hover .ss-icon {
    background: rgba(255,32,96,0.12);
}

[data-theme="light"] .ss-lname        { color: #0a0a14; }
[data-theme="light"] .ss-ldesc        { color: #9ca3af; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .ss-link:hover .ss-lname { color: #ff2060; }
[data-theme="light"] .ss-link:hover .ss-ldesc { color: #6b7280; }
