/*----------------------------------------------
   SPACE FACT CARD
----------------------------------------------*/

.pih-dsf-container {
    background: linear-gradient(145deg,#0b1b2e,#172a45);
    border-radius:22px;
    padding:40px 36px;
    color:#ffffff;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35),
        0 0 80px rgba(56,189,248,0.06);

    margin:0 0 40px 0;
    width:100%;

    font-family:'Segoe UI', sans-serif;
    background:
        url("https://thecyprusplanetarium.com/wp-content/plugins/planetarium-interactive-hub/assets/img/stardust.png"),
        linear-gradient(145deg,#0b1b2e,#172a45);
}

/* Subtle glow accent */
.pih-dsf-container::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(56,189,248,0.15),
        transparent 70%
    );
    pointer-events: none;
}

/*----------------------------------------------
   HEADER
----------------------------------------------*/

.pih-dsf-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.pih-dsf-icon {
    font-size: 24px;
}

.pih-dsf-title {
    font-size:20pt !important;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0;
    color: #f8fafc !important;
}

/*----------------------------------------------
   FACT CONTENT
----------------------------------------------*/

.pih-dsf-content {
    font-size: 1.15rem;
    line-height: 1.75;
    font-weight: 400;
    color: #f1f5f9;
}

/*----------------------------------------------
   FADE IN ANIMATION
----------------------------------------------*/

#pih-dsf-text {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#pih-dsf-text.pih-dsf-visible {
    opacity: 1;
    transform: translateY(0);
}

/*----------------------------------------------
   MOBILE OPTIMIZATION
----------------------------------------------*/

@media (max-width: 480px) {

    .pih-dsf-container {
        width: calc(100% - 30px);
        margin: 50px auto;
        padding: 28px 22px;
        border-radius: 18px;
        box-sizing: border-box;
    }

    .pih-dsf-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }

    .pih-dsf-content {
        font-size: 1rem;
        line-height: 1.6;
    }

}

/*----------------------------------------------
   MOBILE HEADER FIX
----------------------------------------------*/

@media (max-width: 480px) {

    .pih-dsf-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }

}