

/* Start:/bitrix/templates/Romatti_NEW/components/bitrix/news/blog/bitrix/news.list/.default/style.css?17808463985485*/
/* ========================================
   Блог Romatti — список статей.
   Дизайн: cream-карточки в стиле hero мини-лендинга.
   Брендовые токены: #facc15 (yellow), #f5efe6 (cream), #1a1a1a (text)
   ======================================== */

.romatti-blog {
    padding: 24px 0 64px;
}

.romatti-blog__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.romatti-blog__pager {
    margin-top: 40px;
    text-align: center;
}

/* ===== CARD ===== */
.romatti-blog-card,
a.romatti-blog-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f5efe6;
    border: none !important;
    border-bottom: none !important;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    min-height: 280px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
    position: relative;
}

.romatti-blog-card:hover,
.romatti-blog-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(26, 26, 26, 0.08);
}

.romatti-blog-card:focus-visible {
    outline: 2px solid #facc15;
    outline-offset: 4px;
}

/* ===== BODY ===== */
.romatti-blog-card__body {
    padding: 28px 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.romatti-blog-card__date {
    display: inline-block;
    align-self: flex-start;
    background: rgba(26, 26, 26, 0.08);
    color: #4a4a4a;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.romatti-blog-card__content {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 24px;
}

.romatti-blog-card__title {
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    word-break: break-word;
}

.romatti-blog-card__text {
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CTA ===== */
.romatti-blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    color: #1a1a1a;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

.romatti-blog-card__cta-label {
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.romatti-blog-card__cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #facc15;
    color: #1a1a1a;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.romatti-blog-card:hover .romatti-blog-card__cta-arrow {
    transform: translateX(4px);
}

/* ===== MEDIA ===== */
.romatti-blog-card__media {
    overflow: hidden;
    background: #e5e0d6;
    position: relative;
    min-height: 100%;
}

.romatti-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.romatti-blog-card:hover .romatti-blog-card__media img {
    transform: scale(1.03);
}

.romatti-blog-card__media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e0d6 0%, #f5efe6 100%);
}

/* ===== Бейдж для мини-лендинговых статей ===== */
.romatti-blog-card--landing .romatti-blog-card__date::before {
    content: '✨ ';
}

/* ===== RESPONSIVE =====
   Используем те же селекторы `.romatti-blog-card, a.romatti-blog-card`,
   что и в базовом блоке, чтобы специфичность совпадала и mobile-правила
   перекрывали desktop-значения. */
@media (max-width: 1023px) {
    .romatti-blog__grid {
        gap: 20px;
    }
    .romatti-blog-card,
    a.romatti-blog-card {
        border-radius: 24px;
        min-height: 240px;
    }
    .romatti-blog-card__body {
        padding: 24px;
    }
    .romatti-blog-card__title {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .romatti-blog {
        padding: 16px 0 48px;
    }
    .romatti-blog__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .romatti-blog-card,
    a.romatti-blog-card {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        border-radius: 20px;
        min-height: 0;
    }
    .romatti-blog-card__media {
        grid-row: 1;
        grid-column: 1;
        min-height: 200px;
    }
    .romatti-blog-card__body {
        grid-row: 2;
        grid-column: 1;
        padding: 20px 22px 24px;
    }
    .romatti-blog-card__date {
        margin-bottom: 14px;
    }
    .romatti-blog-card__content {
        margin-bottom: 18px;
    }
    .romatti-blog-card__title {
        font-size: 18px;
    }
    .romatti-blog-card__text {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
}

.romatti-blog * {
    box-sizing: border-box;
}

/* End */


/* Start:/bitrix/templates/Romatti_NEW/components/bitrix/system.pagenavigation/.default/style.css?15861216221060*/
div.modern-page-navigation {margin: 2em 0 1em; border-bottom:solid .5em #F6F5F2; text-align: left}

div.modern-page-navigation span.count {float:left; color:#DDD; line-height: 2.5em;}
div.modern-page-navigation span.count strong {font-weight: 900;}

div.modern-page-navigation a, 
span.modern-page-current, 
span.modern-page-dots
{
    font-size: 1.2em;
    display:inline-block;
    width: 3em;
    line-height: 3em;
    height: 3em;
    text-align: center;
	text-decoration: none;
    border:none;
    color:#AAA;
    font-weight: 400;
    position: relative;
    border-bottom:solid .2em transparent;
    margin-bottom:-.5em;
    font-family: "Gilroy", "Open Sans", "Verdana", sans-serif;
}

div.modern-page-navigation a:hover {color:#333; border-color:#BAB7A1;}


div.modern-page-navigation a.modern-page-previous, div.modern-page-navigation a.modern-page-next {width:auto;}
div.modern-page-navigation a.modern-page-first, 
div.modern-page-navigation span.modern-page-first {}

span.modern-page-current {color:#333; font-weight: 900; border-color:#ffdd2d;}
/* End */
/* /bitrix/templates/Romatti_NEW/components/bitrix/news/blog/bitrix/news.list/.default/style.css?17808463985485 */
/* /bitrix/templates/Romatti_NEW/components/bitrix/system.pagenavigation/.default/style.css?15861216221060 */
