/*********************************************
    BASE BOX
**********************************************/

.box {
    background: #ffffff;
    border-radius: 22px;
    margin-bottom: 24px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .15s ease;
}

    .box:hover {
        transform: translateY(-1px);
    }


/*********************************************
    INTERNAL STRUCTURE
**********************************************/

.box-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.box-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*********************************************
    CONTENT CATEGORIES
**********************************************/

.actual-box {
    background: #fcfcfc;
}

.discovery-box {
    border-left: 5px solid #1c8f6b;
}

.editorial-box {
    border-left: 5px solid #5d70c8;
}


/*********************************************
    MEDIA
**********************************************/

.box-media {
    flex-shrink: 0;
}

.box-media img {
    display: block;
    object-fit: cover;
    border-radius: 12px;
}


.box-media-left img {
    width: 100px;
    height: 100px;
}

.box-media-top img {
    width: 100%;
    height: auto;
}

.box-media-background img {
    width: 100%;
}


/*********************************************
    TEXT COMPONENTS
**********************************************/

box-head-title {
    text-align: center;
    padding: 12px 18px 8px 18px;
    font-size: 18px;
    font-weight: 600;
}

.box-title {
    margin: 0 0 6px 0;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 600;
}

.box-subtitle {
    font-size: 17px;
    color: #606060;
    margin-bottom: 8px;
}

.box-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #8a6b00;
    margin-bottom: 12px;
}


.box-meta {
    font-size: 14px;
    color: #888888;
}

.box-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #ececec;
    font-size: 14px;
    color: #505050;
    line-height: 1.5;
}


/*********************************************
    GENERIC LINKS INSIDE BOXES
**********************************************/

.box a {
    text-decoration: none;
}

.box a:hover {
    text-decoration: underline;
}


/*********************************************
    BOX SPECIALIZATIONS
**********************************************/



/* recent deaths */
.death-box {
    border-left: 4px solid #b0b0b0;
}

/* famous quotes (phrases) */
.phrase-box {
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}



/* awards */
.award-box {
    background: #fffef8;
}

/* anniversaries */
.birth-box {
    background: #fffdf4;
}

/* SERIE TV BOX */

.serietv-box {
    border-left: 4px solid #4f7ec8;
}

.series-logo-box {
    flex-shrink: 0;
}

.series-logo-box img {
    width: 150px;
    height: 80px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    background: #fafafa;
    padding: 4px;
}

/* MOVIE BOX */

.movie-box {
}

.movie-poster-box img {
    height: 150px;
    width: auto;
    border-radius: 10px;
}

.movie-cast-row {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    display: flex;
    gap: 24px;
}

.movie-cast-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.movie-cast-thumb img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.movie-cast-name {
    font-size: 14px;
}

/* AWARD BOX */

.award-box {
    background: #fffef8;
}

.award-box .box-row {
    align-items: center;
}

.award-logo-box {
    width: 50px;
    flex-shrink: 0;
}

.award-logo-box img {
    width: 40px;
    height: 40px;
}

.award-movie-section {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.movie-poster-mini img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.award-movie-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.award-movie-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.15;
}

.award-original-title {
    margin-top: 2px;
    font-size: 17px;
    font-weight: 400;
    color: #4d6fb3;
    opacity: .85;
    font-style: italic;
}

/* CHARACTER BOX */

    .character-box .box-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .character-top-row {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 18px;
    }

    .character-box .box-media-left img {
        width: 150px;
        height: 150px;
    }

    .character-box .movie-poster-box img {
        height: 150px;
        width: auto;
    }

    .character-box .box-title {
        font-size: 32px;
    }

/* DUBBERS */

.dubber-main {
    text-align: center;
    margin-bottom: 20px;
}

.dubber-photo-box img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.dubber-actors-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.dubber-actor-card {
    width: 110px;
    text-align: center;
}

.dubber-actor-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.dubber-actor-name {
    margin-top: 6px;
    font-size: 14px;
}

/* AUTHORS */

.author-box {
    background: #fffdf8;
}

.author-work-section {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.author-book-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #444;
}

.author-arrow {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    color: #888;
}

.author-movie-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #777;
}

/* HISTORICAL EPISODE */

.historical-box {
    background: #fffdf9;
}

.historical-work-section {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.historical-arrow {
    text-align: center;
    font-size: 24px;
    margin-bottom: 12px;
    color: #888;
}

/* BIRTHDAY BOX */

.birthday-box {
    background: #fffdf7;
}

.birthday-main {
    display: flex;
    gap: 18px;
    align-items: center;
}

.birthday-award-section {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.birthday-award-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #777;
}

.birthday-award-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.birthday-movie-row {
    margin-top: 14px;
    align-items: center;
}

/*********************************************
    MOBILE
**********************************************/

@media (max-width: 700px) {

    .box {
        padding: 14px;
    }

    .box-row {
        gap: 14px;
    }

    .box-media-left img {
        width: 80px;
        height: 80px;
    }

    .box-title {
        font-size: 24px;
    }

    .box-subtitle {
        font-size: 15px;
    }

    .box-footer {
        font-size: 13px;
    }
}
