/* === Одиночная запись Афиша === */

.afisha-single-wrap {
    width: 100%;
}

/* Картинка float left ~35% */
.afisha-single-img-link {
    float: left;
    width: 35%;
    margin: 0 28px 16px 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    transition: opacity 0.25s ease;
}

.afisha-single-img-link:hover {
    opacity: 0.88;
}

.afisha-single-img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    display: block;
}

/* Текст обтекает float.
   Важно: НЕ ставить overflow:hidden / display:flow-root —
   это создаст BFC и превратит блок в колонку вместо обтекания. */
.afisha-single-content {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.afisha-single-content p:first-child { margin-top: 0; }
.afisha-single-content p:last-child  { margin-bottom: 0; }

/* Сброс float перед блоком деталей */
.afisha-single-clear {
    clear: both;
}

/* Блок деталей: дата, место, контакт */
.afisha-single-details {
    margin-top: 28px;
    padding: 20px 24px;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.afisha-single-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.afisha-single-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    min-width: 90px;
    flex-shrink: 0;
    padding-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.afisha-single-value {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.afisha-single-phone {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.afisha-single-phone:hover {
    color: #000;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .afisha-single-img-link {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    .afisha-single-details {
        padding: 16px;
    }

    .afisha-single-label {
        min-width: 76px;
    }
}

@media (max-width: 480px) {
    .afisha-single-detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .afisha-single-label {
        min-width: unset;
    }
}
