/* NASA Picture of the Day — Split Zone (horizontal half), white bg, circular photo.
 * Mirrors the sidebar layout: wordmark → header → photo → credit → title → body. */

.apod-split-wrap {
    width: 80cqw;
    height: 90cqh;
    margin: auto;
    container-type: size;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5cqmin;
    background: #ffffff;
    color: #0b1220;
    padding: 3cqmin 2.5cqmin;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.apod-split-wrap .apod-split-wordmark {
    font-family: 'Nasalization', 'Montserrat', sans-serif;
    font-size: 11cqmin;
    text-transform: none;
    letter-spacing: 0.16em;
    color: #e4002b;
    line-height: 1;
    margin-bottom: 0.4cqmin;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
}
.apod-split-wrap .apod-split-wordmark-logo {
    height: 1.4em;
    width: auto;
    display: block;
    margin: 0;
}
.apod-split-wrap .apod-split-wordmark-text {
    display: inline-block;
}

.apod-split-wrap .apod-split-header {
    font-size: 4.4cqmin;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #0ea5e9;
    line-height: 1;
}

.apod-split-wrap .apod-split-title {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 4.4cqmin;
    font-weight: 700;
    line-height: 1.18;
    color: #ffffff;
    background-color: #0b3d91;
    padding: 0.6cqmin 1.2cqmin;
    margin: 0;
    text-align: start;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.apod-split-wrap .apod-split-circle {
    width: min(80cqw, 50cqh);
    height: min(80cqw, 50cqh);
    border-radius: 50%;
    background-color: #f3f4f6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border: 1.3cqmin solid #e4002b;
    box-shadow:
        inset 0 0 0 1.3cqmin #ffffff,
        0 0 0 1.3cqmin #0ea5e9,
        0 0.6cqmin 2cqmin rgba(11, 18, 32, 0.22);
    box-sizing: border-box;
    margin: 5cqmin 0 0;
}

.apod-split-wrap .apod-split-body {
    font-family: 'Roboto', sans-serif;
    font-size: 2cqmin;
    font-weight: 400;
    line-height: 1.5;
    color: #0b3d91;
    margin: 0;
    text-align: start;
    align-self: stretch;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.apod-split-wrap .apod-split-credit {
    font-size: 2.2cqmin;
    color: #9ca3af;
    font-style: italic;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 100%;
    margin-bottom: 5cqmin;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
