/* ==========================================================================
   Promo Box pro článek – frontend styly (v11.0)
   ========================================================================== */

/* --------------------------------------------------------------------------
   MULTI BOX (více článků)
   -------------------------------------------------------------------------- */

.in-content-multi-promo-box {
    background-color: #616161;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 15px 20px 10px;
    margin: 40px 0;
    clear: both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.multi-promo-main-title {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    letter-spacing: 0.05em;
}

.multi-promo-list {
    display: flex;
    flex-direction: column;
}

.multi-promo-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.multi-promo-item a {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 10px 0;
    transition: opacity 0.2s ease;
}

.multi-promo-item a:hover {
    opacity: 0.8;
}

.multi-promo-item a:hover .multi-promo-item-title {
    text-decoration: underline !important;
}

.multi-promo-item-thumb {
    width: 90px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 18px;
}

.multi-promo-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    background-color: #fff;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Bez layout shiftu díky width/height atributům v HTML */
}

.multi-promo-item-text {
    flex-grow: 1;
}

.multi-promo-item-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    font-size: 16px;
    text-decoration: none !important;
}


/* --------------------------------------------------------------------------
   SINGLE BOX (jeden článek)
   -------------------------------------------------------------------------- */

.in-content-single-promo-box {
    background-color: #616161;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 15px;
    margin: 40px 0;
    clear: both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.in-content-single-promo-box a {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.in-content-single-promo-box a:hover {
    opacity: 0.85;
}

.in-content-single-promo-box a:hover .single-promo-item-title {
    text-decoration: underline !important;
}

.single-promo-item-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 18px;
}

.single-promo-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    background-color: #fff;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.single-promo-item-text {
    flex-grow: 1;
}

.single-promo-item-pretitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
    display: block;
    text-decoration: none !important;
}

.single-promo-item-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    font-size: 16px;
    text-decoration: none !important;
}


/* --------------------------------------------------------------------------
   RESPONZIVITA
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
    .multi-promo-item-thumb {
        width: 80px;
        height: 53px;
    }

    .single-promo-item-thumb {
        width: 80px;
        height: 80px;
    }

    .multi-promo-item-title,
    .single-promo-item-title {
        font-size: 15px;
    }
}
