/* Seestar Hub - Introduction Strip */
.seestar-hub .seestar-intro {
    border-top: 1px solid #30405A;
    border-bottom: 1px solid #30405A;
}

.seestar-hub .seestar-intro p {
    margin: 0;
    line-height: 1.6;
}

.seestar-hub .seestar-intro .wp-block-column:last-child {
    border-left: 1px solid #30405A;
    padding-left: 25px;
}

@media (max-width: 781px) {
    .seestar-hub .seestar-intro {
        padding: 25px 20px !important;
    }

    .seestar-hub .seestar-intro .wp-block-column:last-child {
        border-left: none;
        padding-left: 0;
        padding-top: 15px;
    }
}
/* Seestar Hub - Explore Cards */

.seestar-hub .seestar-card {
    position: relative;
    background: #111B2B;
    border: 1px solid #30405A;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.seestar-hub .seestar-card:hover {
    transform: translateY(-5px);
    border-color: #795CF5;
    box-shadow: 0 8px 25px rgba(121, 92, 245, 0.18);
}

.seestar-hub .seestar-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.seestar-hub .seestar-card h3 {
    color: #F5F7FA;
    font-size: 20px;
    margin-bottom: 8px;
}

.seestar-hub .seestar-card p {
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.6;
}

.seestar-hub .seestar-card a {
    color: #A99AFF;
    text-decoration: none;
}

.seestar-hub .seestar-card a:hover {
    color: #FFFFFF;
}

.seestar-hub .seestar-card a:focus-visible {
    outline: 2px solid #A99AFF;
    outline-offset: 4px;
}

.seestar-hub .seestar-card .seestar-card-link a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.seestar-hub .seestar-card:focus-within {
    border-color: #795CF5;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 781px) {
    .seestar-hub .seestar-explore {
        padding: 30px 20px !important;
    }

    .seestar-hub .seestar-card {
        margin-bottom: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .seestar-hub .seestar-card {
        transition: none;
    }

    .seestar-hub .seestar-card:hover {
        transform: none;
    }
}
.seestar-hub .seestar-card .seestar-card-link a {
    font-size: 14px;
    font-weight: 500;
    color: #A99AFF;
}
/* Seestar Hub - Full Card Clickable Fix */

.seestar-hub .seestar-card {
    position: relative !important;
    isolation: isolate;
    cursor: pointer;
}

.seestar-hub .seestar-card .wp-block-group,
.seestar-hub .seestar-card .seestar-card-link,
.seestar-hub .seestar-card .seestar-card-link a {
    position: static !important;
}

.seestar-hub .seestar-card .seestar-card-link a::after {
    content: "";
    position: absolute !important;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

.seestar-hub .seestar-card:focus-within {
    outline: 2px solid #795CF5;
    outline-offset: 3px;
}
/* Seestar latest article cards */

#latest-seestar .wp-block-post-template > li {
    background: #111B2B;
    border: 1px solid #30405A;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

#latest-seestar .wp-block-post-template > li:hover {
    transform: translateY(-5px);
    border-color: #795CF5;
    box-shadow: 0 8px 25px rgba(121,92,245,0.18);
}

#latest-seestar .wp-block-post-title a {
    color: #F5F7FA !important;
    text-decoration: none;
}

#latest-seestar .wp-block-post-title a:hover {
    color: #A99AFF !important;
}

#latest-seestar .wp-block-post-terms a,
#latest-seestar .wp-block-post-excerpt__more-link {
    color: #A99AFF !important;
    text-decoration: none;
}

#latest-seestar .wp-block-post-featured-image {
    margin: 0;
}

#latest-seestar .seestar-post-content {
    padding: 20px;
}
/* Seestar community call-to-action */

.seestar-community-cta {
    background: linear-gradient(
        135deg,
        #111B2B 0%,
        #1B1938 100%
    ) !important;
    border-top: 1px solid #30405A;
}

.seestar-community-cta .wp-block-button__link {
    transition: background 0.25s ease,
                transform 0.25s ease;
}

.seestar-community-cta .wp-block-button__link:hover {
    background: #6747E8 !important;
    transform: translateY(-2px);
}

@media (max-width: 781px) {
    .seestar-community-cta {
        padding: 35px 20px !important;
    }
}
/* Seestar Hub mobile optimisation */

@media (max-width: 767px) {

    .seestar-hub .wp-block-cover {
        min-height: 420px !important;
        padding: 35px 20px !important;
    }

    .seestar-hub h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .seestar-hub h2,
    #latest-seestar h2,
    .seestar-community-cta h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .seestar-intro,
    .seestar-explore,
    #latest-seestar {
        padding: 30px 20px !important;
    }

    .seestar-explore .wp-block-columns {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .seestar-card {
        width: 100%;
        box-sizing: border-box;
    }

    #latest-seestar .wp-block-post-template {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    .seestar-hub .wp-block-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }

    .seestar-community-cta {
        padding: 35px 20px !important;
    }
}