@media (max-width: 768px) {
    .wp-block-domee-features-section {
        max-width: none;
        width: 100%;
        margin: 0;
        padding-left: 4px;
        padding-right: 4px;
    }

    .wp-block-domee-features-section .features-container,
    .wp-block-domee-features-section .features-grid {
        max-width: none;
        width: 100%;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        direction: ltr !important;
        text-align: center !important;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-media {
        order: 1 !important;
        min-height: 200px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .wp-block-domee-features-section .feature-text {
        order: 2 !important;
        text-align: center !important;
    }

    .wp-block-domee-features-section .feature-title {
        text-align: center !important;
    }

    .wp-block-domee-features-section .feature-description {
        text-align: center !important;
    }

}
.wp-block-domee-features-section {
    padding: 60px 0 30px 0;
    background: transparent;
    position: relative;
    /* bez overflow: hidden - ořezával stín karet/panelu uvnitř */
}

.wp-block-domee-features-section .features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

.wp-block-domee-features-section .section-header {
    text-align: center;
    margin-bottom: 24px;
}

.wp-block-domee-features-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.wp-block-domee-features-section .section-description {
    font-size: 16px;
    color: rgba(44, 54, 57, 0.8);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-domee-features-section .features-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 0;
}

.wp-block-domee-features-section .feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px;
    background: var(--karta-bg);
    border-radius: var(--radius-m);
    border: 1px solid transparent;
    box-shadow: var(--karta-stin);
    transition: all 0.3s ease;
}

.wp-block-domee-features-section .feature-item.feature-item--text-left .feature-content {
    direction: ltr;
}

.wp-block-domee-features-section .feature-item.feature-item--text-right .feature-content {
    direction: rtl;
}

.wp-block-domee-features-section .feature-item.feature-item--text-right .feature-text {
    direction: ltr;
}

.wp-block-domee-features-section .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--karta-stin-hover);
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-item--text-left .feature-content {
    grid-template-columns: 1fr 1fr;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-item--text-right .feature-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-item--text-right .feature-text {
    direction: ltr;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-description {
    font-size: 16px;
    color: rgba(44, 54, 57, 0.8);
    line-height: 1.6;
    margin: 0;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-description ul,
.wp-block-domee-features-section.wp-block-domee-features-section .feature-description ol {
    margin: 16px 0;
    padding-left: 24px;
}

.wp-block-domee-features-section .feature-description li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.wp-block-domee-features-section .feature-description strong {
    font-weight: 600;
    color: var(--color-dark);
}

.wp-block-domee-features-section .feature-description em {
    font-style: italic;
}

.wp-block-domee-features-section .feature-description a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.wp-block-domee-features-section .feature-description a:hover {
    border-bottom-color: var(--color-primary);
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-cta {
    margin-top: 10px;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(39, 174, 96, 0.3);
    color: #2C3639;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #27AE60;
    color: #27AE60;
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.15);
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: all 0.3s ease;
}

.wp-block-domee-features-section .feature-image:hover {
    transform: scale(1.02);
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-image-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-video {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: all 0.3s ease;
}

.wp-block-domee-features-section .feature-video:hover {
    transform: scale(1.02);
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-video-iframe {
    width: 100%;
    height: 225px;
    border: none;
    display: block;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(39, 174, 96, 0.1));
    border: 2px dashed rgba(44, 54, 57, 0.2);
    border-radius: var(--radius-m);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wp-block-domee-features-section.wp-block-domee-features-section .feature-image-placeholder:hover {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(39, 174, 96, 0.15));
    border-color: rgba(243, 156, 18, 0.5);
}

.wp-block-domee-features-section.wp-block-domee-features-section .placeholder-content {
    text-align: center;
    color: rgba(44, 54, 57, 0.6);
}

.wp-block-domee-features-section.wp-block-domee-features-section .placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.wp-block-domee-features-section.wp-block-domee-features-section .placeholder-text {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .wp-block-domee-features-section {
        padding: 40px 0 20px 0;
    }

    .wp-block-domee-features-section .features-container {
        padding: 0 20px;
    }

    .wp-block-domee-features-section .section-title {
        font-size: 28px;
    }

    .wp-block-domee-features-section .section-description {
        font-size: 16px;
    }

    .wp-block-domee-features-section .features-list {
        gap: 40px;
    }

    .wp-block-domee-features-section .feature-item {
        padding: 30px 20px;
        gap: 30px;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-item--text-right .feature-content {
        direction: ltr;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-title {
        font-size: 24px;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-image-placeholder {
        height: 200px;
    }

}
@media (min-width: 769px) and (max-width: 1024px) {
    .wp-block-domee-features-section .features-container {
        padding: 0 30px;
    }

    .wp-block-domee-features-section .section-title {
        font-size: 36px;
    }

    .wp-block-domee-features-section .feature-item {
        padding: 40px 30px;
        gap: 40px;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-content {
        gap: 40px;
    }

    .wp-block-domee-features-section.wp-block-domee-features-section .feature-title {
        font-size: 28px;
    }

}
