/* Promo Content Block Styles */

.promo-content-block {
    padding: 60px 0;
}

.promo-content-container {
    max-width: 1520px;
    padding: 0 40px;
    margin: 0 auto;
    width: 100%;
}

/* Title Styles */
.promo-content-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 28px;
    text-align: left;
}

.promo-content-title__normal {
    color: var(--tcm-table-even-text, var(--tcm-table-even-text, #212121));
}

.promo-content-title__highlight {
    color: var(--tcm-accent);
}

/* Promo List */
.promo-content-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Promo Item */
.promo-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--tcm-custom-blocks-bg, var(--tcm-custom-blocks-bg, #FFFFFF));
    border-radius: 20px;
}

/* Image Left Layout (default) */
.promo-item--image-left {
    grid-template-areas: "image content";
}

.promo-item--image-left .promo-item__image {
    grid-area: image;
}

.promo-item--image-left .promo-item__content {
    grid-area: content;
}

/* Image Right Layout */
.promo-item--image-right {
    grid-template-areas: "content image";
}

.promo-item--image-right .promo-item__image {
    grid-area: image;
}

.promo-item--image-right .promo-item__content {
    grid-area: content;
}

/* No Image Layout - Full Width Content */
.promo-item--no-image {
    grid-template-columns: 1fr;
    grid-template-areas: "content";
}

.promo-item--no-image .promo-item__content {
    grid-area: content;
    max-width: 100%;
}

/* Item Image */
.promo-item__image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
}

.promo-item__image img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    border-radius: 20px;
    object-fit: contain;
    object-position: center;
}

/* Item Content */
.promo-item__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.promo-item__title {
    font-size: 40px;
    font-weight: 500;
    color: var(--tcm-table-even-text, var(--tcm-table-even-text, #212121));
    line-height: 100%;
    margin: 0;
}

.promo-item__description {
    font-size: 16px;
    color: var(--tcm-table-even-text, var(--tcm-table-even-text, #212121));
    line-height: 1.6;
    margin: 0 0 16px 0;
}
.promo-item__description h3 {
    margin-bottom: 16px;
}

.promo-item__description p {
    max-width: none;
    padding: 0;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.promo-item__description p:last-child {
    margin-bottom: 0;
}

.promo-item__description ul,
.promo-item__description ol {
    max-width: none;
    padding: 0;
    padding-left: 24px;
    margin: 0 0 12px 0;
    list-style-position: outside;
}

.promo-item__description ul li,
.promo-item__description ol li {
    padding: 0;
    margin: 0;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: left;
}

.promo-item__description ul li:last-child,
.promo-item__description ol li:last-child {
    margin-bottom: 0;
}

.promo-item__description strong {
    font-weight: 600;
    color: #374151;
}

.promo-item__description em {
    font-style: italic;
}

/* Item Button */
.promo-item__button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 20px;
    background: var(--tcm-accent);
    color: var(--tcm-custom-blocks-bg, var(--tcm-custom-blocks-bg, #FFFFFF)) !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: center;
}

.promo-item__button:hover {
    background: var(--tcm-accent-hover);
    gap: 12px;
    transform: translateX(4px);
}

.promo-item__button svg {
    transition: transform 0.3s ease;
}

.promo-item__button:hover svg {
    transform: translateX(4px);
}

/* Empty State */
.promo-content-empty {
    text-align: center;
    color: #9CA3AF;
    font-size: 16px;
    padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .promo-content-container {
        padding: 0 30px;
    }

    .promo-item {
        gap: 30px;
        padding: 30px;
        align-items: start;
    }

    .promo-item__title {
        font-size: 28px;
    }
}

@media (max-width: 899px) {
    .promo-content-block {
        padding: 40px 0;
    }

    .promo-content-container {
        padding: 0 20px;
    }

    .promo-content-title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .promo-content-list {
        gap: 32px;
    }

    .promo-item {
        padding: 24px;
        gap: 24px;
        grid-template-columns: 1fr;
        grid-template-areas: "image" "content" !important;
    }
    
    .promo-item--no-image {
        grid-template-areas: "content" !important;
    }

    .promo-item__title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .promo-item__content {
        gap: 0;
    }
    .promo-content-title {
        font-size: 28px;
    }

    .promo-content-list {
        gap: 24px;
    }

    .promo-item {
        padding: 0;
        gap: 20px;
    }

    .promo-item__title {
        font-size: 22px;
    }

    .promo-item__button {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
}
