/* Frontend styles for Series Meta Boxes */

.pps-series-meta-box {
    position: relative;
    display: block;
    /* Note: margin, padding, background, border, border-radius come from dynamic CSS based on settings */
    box-sizing: border-box;
}

.pps-series-meta-box .pps-series-meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.pps-series-meta-box a {
    color: inherit;
    text-decoration: none;
}

.pps-series-meta-text a {
    text-decoration: none;
}

.pps-series-meta-box a:hover,
.pps-series-meta-box a:focus {
    text-decoration: underline;
}

.pps-series-meta-box .pps-series-meta-postcontent {
    margin-top: 1em;
}

.pps-series-meta-variant-card {
    background-color: #1a5aff;
    color: #ffffff;
    border: none;
}

.pps-series-meta-variant-card a {
    color: #ffe08a;
}

.pps-series-meta-variant-minimal {
    background-color: #f7f7f7;
    border-color: #dfdfdf;
    color: #1d2327;
}

.pps-series-meta-variant-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.75em 1em;
}

.pps-series-meta-box .pps-series-meta-icon {
    font-size: 1.25em;
    margin-right: 0.5em;
    display: inline-block;
}

.pps-series-meta-box .pps-series-meta-title {
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.4;
}

.pps-series-meta-box .pps-series-meta-title a {
    font-weight: inherit;
}

.pps-series-meta-box .pps-series-meta-part {
    font-size: 0.95em;
    opacity: 0.85;
}

.pps-series-meta-box .pps-series-meta-description {
    font-size: 0.95em;
    line-height: 1.5;
    margin-top: 0.25em;
}

.pps-series-meta-box .pps-series-meta-navigation {
    margin-top: 0.5em;
    font-size: 0.95em;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.pps-series-meta-box .pps-series-meta-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

@media (max-width: 600px) {
    .pps-series-meta-variant-compact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pps-series-meta-box .pps-series-meta-navigation {
        flex-direction: column;
        gap: 0.5em;
    }
}
