/* ============================================================
   WIIZE FOCUS — FEATURED CONTENT STYLES
   Shortcode: [wiize_focus_featured_content]
   Bricks → Settings → Custom Code → Custom CSS
   ============================================================ */

/* ============================================================
   Featured content section
   ============================================================ */
.np-featured-content {
    margin: 48px 0;
}

.np-featured-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.np-featured-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 32px;
    color: #1a1a1a;
    margin: 0;
}

.np-featured-showall {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    color: #A6032F;
    text-decoration: underline;
}

.np-featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: stretch;
}

/* ---- общий стиль карточки ---- */
.np-featured-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #2a2a2a;
    color: #FFFFFF;
    text-decoration: none;
    min-height: 100%;
    transition: transform 0.2s ease;
}

.np-featured-card:hover {
    transform: translateY(-2px);
}

.np-featured-card-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}

.np-featured-card-eyebrow {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFFFFF;

}

.np-featured-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #FFFFFF;
}

.np-featured-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;                /* ← не даём сжимать */
    background: var(--np-arrow-bg, #F87060);
    border-radius: 4px;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.np-featured-side .np-featured-card-arrow {
    width: 30px;
    height: 30px;
}
.np-featured-card:hover .np-featured-card-arrow {
    background: var(--np-arrow-bg-hover, #E25A4A);
}


/* ---- Цветовые схемы кнопок ---- */
.np-featured--coral { --np-arrow-bg: #B3702D; --np-arrow-bg-hover: #B3702D; }
.np-featured--blue  { --np-arrow-bg: #336686; --np-arrow-bg-hover: #336686; }
.np-featured--green { --np-arrow-bg: #08A900; --np-arrow-bg-hover: #08A900; }
.np-featured--red   { --np-arrow-bg: #BF311A; --np-arrow-bg-hover: #BF311A; }



/* ---- Canton (большая карточка слева) ---- */
.np-featured-card--canton {
    min-height: 400px;
}

.np-featured-card--canton .np-featured-card-title {
    font-size: 38px;
}

/* ---- Side (Almanac + Story) ---- */
.np-featured-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.np-featured-side .np-featured-card {
    flex: 1;
    min-height: 192px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .np-featured-grid {
        grid-template-columns: 1fr;
    }
    .np-featured-card--canton {
        min-height: 280px;
    }
    .np-featured-card--canton .np-featured-card-title {
        font-size: 28px;
    }
}

body .np-featured-content {
    max-width: 1240px ;
    margin: 20px auto !important;
    padding: 0px ;
    width: 100% ;
    box-sizing: border-box ;
}


.np-featured-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}
.np-featured-head-icon { display: block; color: #2FA85A; margin-bottom: 6px; }
.np-featured-head-icon svg { display: block; }
.np-featured-head-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 52px;
    color: #1a1a1a;
    margin: 0;
    font-style: italic;
}
.np-featured-head-showall {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    color: #A6032F;
    text-decoration: underline;
}


body .np-featured-head {
    max-width: 1240px;
    margin: 0px auto !important;
    padding: 0px;
    width: 100%;
    box-sizing: border-box;
}


/* ============================================================
   GAZETTE — иконка сверху / текст / стрелка
   ============================================================ */

/* Иконка-петух */
.np-featured-card-icon { display: block; color: #FFFFFF; }
.np-featured-card-icon svg { display: block; width: 34px; height: 34px; }
.np-featured-side .np-featured-card-icon svg { width: 26px; height: 26px; }

/* Группа: дата + заголовок */
.np-featured-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Большая карточка: иконка вверху, текст посередине, стрелка внизу */
.np-featured--gazette .np-featured-card-content {
    justify-content: space-between;
}
.np-featured--gazette .np-featured-card-title {
    margin-bottom: 0;
}

/* Маленькие карточки: всё (иконка + текст + стрелка) по центру по вертикали */
.np-featured--gazette .np-featured-side .np-featured-card-content {
    justify-content: center;
    gap: 12px;
}