/* Bing Image of the Day — Main Zone (~16:9), 90% container with
 * header on top + photo|text body row beneath. Mirrors the APOD-main
 * structure with Bing teal/amber accents. */

.bing-main-wrap {
    width: 90cqw;
    height: 90cqh;
    container-type: size;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #0b1220;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* ── Header block ── */

.bing-main-wrap .bing-main-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1cqmin 2cqmin;
    margin-bottom: 3cqmin;
    flex-shrink: 0;
    gap: 2.5cqmin;
}

.bing-main-wrap .bing-main-wordmark {
    font-family: 'Montserrat', sans-serif;
    font-size: 11cqmin;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.04em;
    color: #008373;
    line-height: 0;
    display: flex;
    align-self: center;
    align-items: center;
    gap: 0.2em;
}
.bing-main-wrap .bing-main-wordmark-logo {
    height: 0.85em;
    width: auto;
    display: block;
    margin: 0;
}
.bing-main-wrap .bing-main-wordmark-text {
    display: inline-block;
    line-height: 1;
}

.bing-main-wrap .bing-main-header {
    margin-top: 0;
    line-height: 1;
    font-size: 5cqmin;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #f59e0b;
}

/* ── Body row ── */

.bing-main-wrap .bing-main-body-row {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0 0 2cqmin;
    min-height: 0;
    container-type: size;
}

.bing-main-wrap .bing-main-photo-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2cqmin;
    min-width: 0;
    overflow: visible;
    padding: 0 1.6cqmin;
    margin-right: 2.5%;
}

.bing-main-wrap .bing-main-text-col {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 0 1.5cqmin 0 0;
}

.bing-main-wrap .bing-main-text-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: 1.4cqmin;
    min-height: 0;
}

.bing-main-wrap .bing-main-title {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 5cqmin;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    background-color: #008373;
    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;
}

.bing-main-wrap .bing-main-circle {
    width: min(96cqw, 88cqh);
    height: min(96cqw, 88cqh);
    flex-shrink: 0;
    align-self: center;
    border-radius: 50%;
    background-color: #f3f4f6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1.6cqmin solid #008373;
    box-shadow:
        inset 0 0 0 1.6cqmin #ffffff,
        0 0 0 1.6cqmin #f59e0b,
        0 0.6cqmin 2.4cqmin rgba(11, 18, 32, 0.25);
    box-sizing: border-box;
}

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

.bing-main-wrap .bing-main-body {
    font-family: 'Roboto', sans-serif;
    font-size: 2cqmin;
    font-weight: 400;
    line-height: 1.55;
    color: #0b1220;
    margin: 0;
    width: 100%;
    text-align: start;
    overflow: hidden;
    -webkit-text-stroke: 0;
    text-shadow: none;
}
