/* Основной стиль для всех статей */
.main_type_articles {
    min-height: 80vh;
    padding: 15px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    background: transparent;
}

/*.article {*/
/*    width: 100%;*/
/*    padding: 40px 0;*/
/*    color: white;*/
/*}*/

/* ЗАГОЛОВОК С АНИМАЦИЕЙ - ДЛЯ ВСЕХ СТАТЕЙ */
.article__title {
    font-size: 44px;
    text-align: center;
    margin-bottom: 50px;
    color: white;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    padding: 20px 0;
}

.article__title-main {
    font-size: 46px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;
    padding: 0 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Медленно мерцающая подсветка - ДЛЯ ВСЕХ СТАТЕЙ */
.article__title-glow {
    color: #ffe066;
    font-weight: 500;
    position: relative;
    padding: 0 8px;
    /*animation: glow-pulse 3s ease-in-out infinite;*/
    /*text-shadow: 0 0 8px rgba(255, 224, 102, 0.7);*/
}

/* Разные фазы мерцания для создания эффекта волны */
.article__title-glow:nth-child(2) {
    animation-delay: 0.5s;
}

.article__title-glow:nth-child(3) {
    animation-delay: 1s;
}

.article__title-glow:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 224, 102, 0.8),
    transparent);
    border-radius: 2px;
    opacity: 0.8;
    animation: line-glow 3s ease-in-out infinite;
}

.article__title-glow:nth-child(2):after {
    animation-delay: 0.5s;
}

.article__title-glow:nth-child(3):after {
    animation-delay: 1s;
}

/* Анимация мерцания - ДЛЯ ВСЕХ СТАТЕЙ */
@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 8px rgba(255, 224, 102, 0.5),
        0 0 12px rgba(255, 224, 102, 0.2);
    }
    50% {
        text-shadow: 0 0 12px rgba(255, 224, 102, 0.6),
        0 0 18px rgba(255, 224, 102, 0.4),
        0 0 25px rgba(255, 224, 102, 0.2);
    }
}

/* Анимация свечения линии - ДЛЯ ВСЕХ СТАТЕЙ */
@keyframes line-glow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 4px rgba(255, 224, 102, 0.3);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 8px rgba(255, 224, 102, 0.6),
        0 0 12px rgba(255, 224, 102, 0.3);
    }
}

/* Фон для заголовка - ДЛЯ ВСЕХ СТАТЕЙ */
.article__title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(
            ellipse at center,
            rgba(255, 224, 102, 0.05) 0%,
            transparent 70%
    );
    z-index: -1;
    animation: title-bg-glow 6s ease-in-out infinite;
}

@keyframes title-bg-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Верхний блок */
.article__intro {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
    height: auto;
}

.article__image {
    width: 34%;
    flex-shrink: 0;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    height: 469px;
}

/* Карточки типов красок - УНИКАЛЬНЫЙ КЛАСС */
.article__paint-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    grid-template-rows: repeat(2, 1fr); /* 2 строки равной высоты */
    gap: 16px;
}

/* Остальные стили остаются такими же как у вас... */
.article__advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.article__master-class-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.article__room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}


/* Остальные ваши стили остаются без изменений... */
.main_type_articles{
    min-height: 80vh;
    padding: 15px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    background: transparent;
}

.article {
    width: 100%;
    /*padding: 40px 0;*/
    color: white;
}

.article__title {
    font-size: 47px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Верхний блок */
.article__intro {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
    height: auto;
}

.article__image {
    width: 34%;
    flex-shrink: 0;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    height: 469px;
}

/* Карточки типов красок - УНИКАЛЬНЫЙ КЛАСС */
.article__paint-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    grid-template-rows: repeat(2, 1fr); /* 2 строки равной высоты */
    gap: 16px;
}
/* Вариант без маркеров */
.article__title-main {
    font-size: 46px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;
    padding: 0 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Убираем маркеры */
.article__title-main:before,
.article__title-main:after {
    display: none;
}

/* Эффект свечения при наведении */
.article__lead:hover .article__lead-promise {
    text-shadow: 0 0 8px rgba(255, 224, 102, 0.5);
    transition: all 0.3s ease;
}

/* Карточки преимуществ - УНИКАЛЬНЫЙ КЛАСС */
.article__advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Карточки мастер-класса - УНИКАЛЬНЫЙ КЛАСС */
.article__master-class-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Карточки помещений - УНИКАЛЬНЫЙ КЛАСС */
.article__room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Карточки типов красок */
.paint-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 224, 102, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(5px);
    height: 100%; /* Занимает всю высоту ячейки сетки */
}

.paint-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 224, 102, 0.4);
    border-color: #ffe066;
    background: rgba(255, 255, 255, 0.25);
}

.paint-card__icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.paint-card__title {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.paint-card__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Основной контент */
.article__content {
    width: 100%;
    margin-top: 40px;
}

.article__subtitle {
    margin: 48px 0 24px;
    font-size: 26px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.article__subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffe066;
    border-radius: 2px;
}

/* Блок с особым преимуществом */
.article__highlight {
    background: linear-gradient(135deg, rgba(255, 224, 102, 0.18), rgba(255, 224, 102, 0.08));
    border-left: 4px solid #ffe066;
    padding: 24px;
    margin: 40px 0;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 224, 102, 0.3);
    color: white;
}

.article__highlight h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article__highlight p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.article__highlight strong {
    color: #ffe066;
}

/* Карточки преимуществ */
.advantage-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #ffe066;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(255, 224, 102, 0.3);
}

.advantage-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.advantage-card__icon {
    font-size: 24px;
}

.advantage-card__title {
    font-size: 16px;
    color: white;
    margin: 0;
}

.advantage-card__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Карточки мастер-класса */
.master-class-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 224, 102, 0.3);
    backdrop-filter: blur(5px);
}

.master-class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 224, 102, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.master-class-card__number {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #ffe066;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: #222;
}

.master-class-card__title {
    font-size: 17px;
    margin-bottom: 8px;
    color: white;
    padding-right: 40px;
}

.master-class-card__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Карточки помещений */
.room-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 224, 102, 0.3);
    backdrop-filter: blur(5px);
}

.room-card:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(255, 224, 102, 0.3);
    border-color: #ffe066;
}

.room-card__content {
    flex: 1;
}

.room-card__title {
    font-size: 18px;
    margin-bottom: 6px;
    color: white;
}

.room-card__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.room-card__icon {
    font-size: 40px;
    opacity: 0.9;
    flex-shrink: 0;
}

/* Призыв к действию */
.article__cta {
    margin-top: 60px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 224, 102, 0.15), rgba(255, 224, 102, 0.08));
    border-radius: 16px;
    border: 2px dashed #ffe066;
    color: white;
}

.article__cta strong {
    color: #ffe066;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
    .article__intro {
        flex-direction: column;
        align-items: center;
    }

    .article__image {
        width: 100%;
        max-width: 469px;
        height: auto;
        margin-bottom: 20px;
    }

    .article__paint-cards {
        width: 100%;
        height: auto;
        min-height: auto;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto;
    }

    .article__advantage-cards,
    .article__master-class-cards,
    .article__room-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .paint-card {
        height: auto;
    }
}

@media (max-width: 768px) {
    .main_type_articles {
        max-width: 100%;
    }

    .article__title {
        font-size: 1.4rem;
    }
    .article__title-main{
        font-size: 1.6rem;
    }
    .article__paint-cards,
    .article__advantage-cards,
    .article__master-class-cards,
    .article__room-cards {
        grid-template-columns: 1fr;
    }

    .room-card {
        flex-direction: column;
        text-align: center;
    }

    .room-card__icon {
        order: -1;
    }
}

/* Для очень высоких картинок */
@media (min-width: 993px) {
    .article__intro {
        align-items: stretch;
    }

    .article__image {
        height: auto;
        max-height: 600px;
        align-self: flex-start;
    }

    .article__paint-cards {
        align-self: stretch;
    }
}

/* Адаптивность для заголовка - ДЛЯ ВСЕХ СТАТЕЙ */
@media (max-width: 992px) {
    .article{
        padding: 0;
    }
    .article__title {
        font-size: 36px;
    }

    .article__title-main {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .main_type_articles {
        max-width: 100%;
    }

    .article__title {
        font-size: 28px;
        padding: 15px 10px;
    }

    .article__title-main {
        font-size: 30px;
        display: block;
        margin-bottom: 10px;
    }

    .article__title-glow {
        display: inline-block;
        margin: 0;

    }
}

@media (max-width: 480px) {
    .article__title {
        font-size: 24px;
    }

    .article__title-main {
        font-size: 26px;
    }
}