/* =====================================================
   BLOGS PAGE – blogs.css
   Matches EZ Gatherr Figma design (node 3715-6706)
   ===================================================== */

/* ── Page wrapper ────────────────────────────────── */
.blogs-page-wrapper {
    background-color: #f9f5fc;
    width: 100%;
    overflow-x: hidden;
}

/* =====================================================
   HERO BANNER SLIDER
   ===================================================== */
.blogs-hero-section {
    position: relative;
    padding: 24px 82px 0 82px;
}

.blogs-hero-carousel {
    width: 100%;
}

.blogs-hero-carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.blog-hero-gradient {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background: linear-gradient(240deg, rgba(0, 0, 0, 0) 11.4%, rgba(0, 0, 0, 0.7) 58.3%, rgb(0, 0, 0) 100%);
}

/* Hero badge – MudChip */
.blog-hero-badge.mud-chip {
    position: absolute !important;
    top: 72px;
    left: 72px;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px !important;
    font-weight: 500;
    border-radius: 40px !important;
    z-index: 2;
    white-space: nowrap;
    box-shadow: none !important;
}

.blog-hero-badge.mud-chip .mud-chip-label {
    color: #fff !important;
}

.blog-hero-content {
    position: absolute;
    bottom: 52px;
    left: 72px;
    right: 72px;
    color: #fff;
}

.blog-hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
    max-width: 520px;
}

.blog-hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #eeeeee;
    margin-bottom: 20px;
    max-width: 520px;
}

.blog-hero-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-hero-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-author {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.meta-separator {
    display: inline-block;
    width: 1px;
    height: 18px;
    background-color: #d9d9d9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* Hero read more – MudButton */
.blog-hero-read-more.mud-button-text {
    color: #fff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    white-space: nowrap;
    padding: 0 4px !important;
    min-width: unset !important;
}

.blog-hero-read-more.mud-button-text:hover {
    color: #e5d5f5 !important;
    background: transparent !important;
}

/* MudCarousel bullet overrides */
.blogs-hero-carousel .mud-carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 999px !important;
    width: 10px !important;
    height: 10px !important;
}

.blogs-hero-carousel .mud-carousel-indicators button.mud-carousel-indicator-selected {
    background-color: #fff !important;
    width: 22px !important;
}

/* =====================================================
   RECENT BLOG POSTS SECTION
   ===================================================== */
.blogs-recent-section.mud-container {
    padding-top: 48px !important;
    padding-bottom: 64px !important;
}

.blogs-recent-heading.mud-typography {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 32px !important;
}

/* ── Blog Card (MudCard overrides) ───────────────── */
.blog-card.mud-card {
    border-radius: 20px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 100%;
}

.blog-card.mud-card:hover {
    box-shadow: 0 8px 28px rgba(62, 18, 104, 0.16) !important;
    transform: translateY(-3px);
}

.blog-card-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.blog-card-image-wrap .mud-card-media {
    transition: transform 0.35s ease;
    display: block;
}

.blog-card.mud-card:hover .blog-card-image-wrap .mud-card-media {
    transform: scale(1.04);
}

/* Badge on card image */
.blog-card-badge.mud-chip {
    position: absolute !important;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px !important;
    font-weight: 500;
    border-radius: 40px !important;
    height: 28px !important;
    z-index: 2;
}

.blog-card-badge.mud-chip .mud-chip-label {
    color: #fff !important;
}

.blog-card-body.mud-card-content {
    padding: 16px 16px 8px 16px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta .mud-typography,
.blog-card-meta .mud-icon-root {
    color: #666 !important;
}

.blog-card-title.mud-typography {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    color: #111 !important;
    line-height: 1.35 !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
}

.blog-card-excerpt.mud-typography {
    font-family: 'DM Sans', sans-serif !important;
    color: #666 !important;
    line-height: 1.5 !important;
    flex: 1;
}

.blog-card-footer.mud-card-actions {
    padding: 8px 16px 14px 16px !important;
    display: flex;
    align-items: center;
}

.blog-card-author.mud-typography {
    color: #666 !important;
    font-family: 'DM Sans', sans-serif !important;
}

.blog-card-read-more.mud-button-text {
    color: #111 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    min-width: unset !important;
    padding: 0 4px !important;
}

.blog-card-read-more.mud-button-text:hover {
    color: #3e1268 !important;
    background: transparent !important;
}

/* Load More – MudButton */
.btn-load-more.mud-button-filled {
    background-color: #e8462a !important;
    color: #fff !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 12px 52px !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
    box-shadow: none !important;
}

.btn-load-more.mud-button-filled:hover {
    background-color: #c73520 !important;
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(232,70,42,0.35) !important;
}

/* =====================================================
   NEED A LITTLE GUIDANCE – CTA SECTION
   ===================================================== */
.blogs-cta-wrapper {
    padding: 0 0 64px 0;
}

.blogs-cta-section.mud-paper {
    position: relative;
    border-radius: 32px !important;
    overflow: hidden;
    min-height: 389px;
    display: flex;
    align-items: center;
}

.blogs-cta-bg {
    position: absolute;
    inset: 0;
}

.blogs-cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.blogs-cta-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 64px 80px;
}

.blogs-cta-text {
    max-width: 560px;
}

.blogs-cta-heading {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.blogs-cta-sub {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #d9c3ef;
    letter-spacing: -0.02em;
    line-height: 1.5;
    margin-bottom: 32px;
}

.btn-plan-event.mud-button-filled {
    background: linear-gradient(135deg, #e8462a 0%, #c94022 100%) !important;
    color: #fff !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 12px 36px !important;
    border-radius: 8px !important;
    text-transform: none !important;
    white-space: nowrap;
    box-shadow: none !important;
    transition: opacity 0.25s ease, transform 0.2s ease !important;
}

.btn-plan-event.mud-button-filled:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(232,70,42,0.35) !important;
}

.blogs-cta-chef {
    flex-shrink: 0;
    max-width: 340px;
    position: relative;
    bottom: -24px;
}

.blogs-cta-chef-img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    object-position: bottom;
}

/* =====================================================
   POPULAR SEARCH SECTION
   ===================================================== */
.blogs-popular-search-section.mud-container {
    padding-bottom: 80px !important;
}

.blogs-popular-search-card.mud-paper {
    background: linear-gradient(180deg, #f0e5f9 0%, #faf7fd 105.88%) !important;
    border-radius: 32px !important;
    padding: 64px !important;
    box-shadow: none !important;
}

.blogs-popular-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin-bottom: 32px;
}

.popular-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-chip.mud-chip {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.search-chip.mud-chip:hover {
    background-color: #3e1268 !important;
    color: #fff !important;
    border-color: #3e1268 !important;
    text-decoration: underline;
}

.kw-sep {
    display: inline-block;
    width: 1px;
    height: 13px;
    background-color: #d9d9d9;
    margin: 0 12px;
    flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 1200px) {
    .blogs-hero-section {
        padding: 24px 40px 0 40px;
    }

    .blogs-recent-inner {
        padding: 0 40px;
    }

    .blogs-cta-section {
        margin: 0 40px 64px 40px;
    }

    .blogs-popular-search-section {
        padding: 0 40px 64px 40px;
    }

    .blog-hero-title {
        font-size: 36px;
    }

    .blog-hero-badge {
        top: 48px;
        left: 48px;
    }

    .blog-hero-content {
        left: 48px;
        right: 48px;
    }
}

@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-hero-card {
        min-width: 100%;
    }

    .blog-hero-card:last-child {
        display: none;
    }

    .blogs-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }

    .blogs-cta-chef {
        bottom: 0;
    }

    .blogs-cta-heading {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .blogs-hero-section {
        padding: 16px 16px 0 16px;
    }

    .blog-hero-card {
        height: 400px;
    }

    .blog-hero-title {
        font-size: 28px;
    }

    .blog-hero-subtitle {
        font-size: 16px;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .blogs-recent-inner {
        padding: 0 16px;
    }

    .blogs-cta-section {
        margin: 0 16px 48px 16px;
    }

    .blogs-popular-search-section {
        padding: 0 16px 48px 16px;
    }

    .blogs-cta-heading {
        font-size: 32px;
    }

    .blogs-cta-inner {
        padding: 32px 24px;
    }

    .blogs-popular-search-card {
        padding: 40px 24px;
    }

    .search-keyword-row {
        gap: 4px 0;
    }
}
