/* SmartAlixPublishing/wwwroot/css/HomePage/novela-band.css
   The Novela band on the Home page (Views/HomePage/_NovelaBand.cshtml).
   Colors from the tour book's own cover: leather brown, cream text, gold button. */

.novela-band {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 24px 48px 0;
    padding: 12px 10px 12px 22px;
    min-height: 92px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #a7845c;
    background: linear-gradient(135deg, #7a5638 0%, #5b3f2a 100%);
}

    .novela-band[hidden] {
        display: none;
    }

.novela-band-cover {
    width: 44px;
    height: 66px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
    flex-shrink: 0;
}

.novela-band-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}

.novela-band-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fbf3e4;
    line-height: 1.3;
}

.novela-band-sub {
    font-size: 1rem;
    color: #e6d6bc;
}

.novela-band-tour {
    flex-shrink: 0;
    padding: 11px 24px;
    border-radius: 6px;
    background: #f0c35a;
    color: #3d2a17;
    font-weight: 700;
    text-decoration: none;
}

    .novela-band-tour:hover {
        background: #f6d27a;
        color: #3d2a17;
    }

.novela-band-windows {
    flex-shrink: 0;
    color: #f3d58a;
}

    .novela-band-windows:hover {
        color: #ffe7a8;
    }

.novela-band-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #e6d6bc;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

    .novela-band-close:hover {
        color: #fff;
    }

/* Phones: a small cover, one sentence and the button; the details and the Windows link make room */
@media (max-width: 767.98px) {
    .novela-band {
        margin: 16px 12px 0;
        gap: 12px;
        padding: 10px 4px 10px 12px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .novela-band-cover {
        width: 36px;
        height: 54px;
    }

    .novela-band-text {
        flex-basis: calc(100% - 36px - 44px - 24px);
    }

    .novela-band-title {
        font-size: 1.05rem;
    }

    .novela-band-sub,
    .novela-band-windows {
        display: none;
    }

    .novela-band-tour {
        order: 5;
        margin-left: 48px;
        padding: 8px 16px;
    }

    .novela-band-close {
        order: 3;
    }
}
