/* ==========================================================================
   Blog Main Page & Archive Styles - Liverpool Hen & Stag Parties
   ========================================================================== */

.blog-page {
    position: relative;
    min-height: 100vh;
    padding: 230px 24px 96px;
    background: #0a0a0a;
    color: #fff;
}

body.admin-bar .blog-page {
    padding-top: 265px;
}

.blog-page__glow {
    position: absolute;
    width: 45%;
    height: 45%;
    border-radius: 999px;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
}

.blog-page__glow--top {
    top: -10%;
    right: -10%;
    background: rgba(255, 45, 133, 0.08);
}

.blog-page__glow--bottom {
    bottom: -10%;
    left: -10%;
    background: rgba(255, 215, 0, 0.08);
}

.blog-page__shell {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header / Hero
   -------------------------------------------------------------------------- */

.blog-page__header {
    margin-bottom: 56px;
    text-align: center;
}

.blog-page__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.blog-page__badge-icon {
    width: 13px;
    height: 13px;
}

.blog-page__header h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.blog-page__header h1 span {
    background: linear-gradient(90deg, #ff2d85 0%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-page__intro {
    width: min(720px, 100%);
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Search & Filter Controls
   -------------------------------------------------------------------------- */

.blog-page__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
}

.blog-categories-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-categories-wrap::-webkit-scrollbar {
    display: none;
}

.blog-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    white-space: nowrap;
}

.blog-categories__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}

.blog-categories__pill:hover {
    border-color: rgba(255, 45, 133, 0.5);
    color: #fff;
    background: rgba(255, 45, 133, 0.1);
}

.blog-categories__pill.is-active {
    border-color: #ff2d85;
    background: linear-gradient(135deg, #ff2d85 0%, #d81b60 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 45, 133, 0.35);
}

.blog-categories__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-size: 10px;
    font-weight: 700;
}

.blog-categories__pill.is-active .blog-categories__count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Search Input */
.blog-search {
    flex: 1 1 260px;
    max-width: 320px;
}

.blog-search__inner {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search__icon {
    position: absolute;
    left: 14px;
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.blog-search__input {
    width: 100%;
    padding: 10px 36px 10px 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: all 0.25s ease;
}

.blog-search__input:focus {
    border-color: #ff2d85;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 45, 133, 0.18);
}

.blog-search__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.blog-search__clear {
    position: absolute;
    right: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}

.blog-search__clear:hover {
    color: #fff;
}

/* Active filter state message */
.blog-filter-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 45, 133, 0.08);
    border: 1px solid rgba(255, 45, 133, 0.2);
    font-size: 13px;
}

.blog-filter-status__text strong {
    color: #ffd700;
}

.blog-filter-status__reset {
    color: #ff2d85;
    text-decoration: underline;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-filter-status__reset:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Blog Cards Grid
   -------------------------------------------------------------------------- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 56px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 45, 133, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 45, 133, 0.12);
}

.blog-card__media-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #141414;
}

.blog-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.06);
}

.blog-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.blog-card__category {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #ffd700;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.blog-card__custom-badge,
.blog-card__featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ff2d85;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 45, 133, 0.4);
}

.blog-card__badge-icon {
    width: 11px;
    height: 11px;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 600;
}

.blog-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card__meta-icon {
    width: 13px;
    height: 13px;
    color: #ffd700;
}

.blog-card__meta-dot {
    color: rgba(255, 255, 255, 0.25);
}

.blog-card__title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
}

.blog-card__title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card__title a:hover {
    color: #ff2d85;
}

.blog-card__excerpt {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-card__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card__author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.blog-card__author-crown {
    width: 12px;
    height: 12px;
}

.blog-card__author-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff2d85;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card__link:hover {
    color: #ff60a1;
    gap: 10px;
}

.blog-card__link-arrow {
    width: 14px;
    height: 14px;
}

/* --------------------------------------------------------------------------
   Spotlight Card Layout (First Post on Page 1)
   -------------------------------------------------------------------------- */

@media (min-width: 960px) {
    .blog-card--spotlight {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        border-color: rgba(255, 215, 0, 0.18);
        background: linear-gradient(135deg, rgba(255, 45, 133, 0.04) 0%, rgba(255, 215, 0, 0.03) 100%);
    }

    .blog-card--spotlight .blog-card__media-wrap {
        aspect-ratio: auto;
        height: 100%;
        min-height: 380px;
    }

    .blog-card--spotlight .blog-card__body {
        padding: 40px 36px;
        justify-content: center;
    }

    .blog-card--spotlight .blog-card__title {
        font-size: clamp(1.75rem, 2.5vw, 2.3rem);
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .blog-card--spotlight .blog-card__excerpt {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 28px;
    }
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */

.blog-empty {
    padding: 64px 24px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    margin-bottom: 56px;
}

.blog-empty__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(255, 45, 133, 0.12);
    color: #ff2d85;
}

.blog-empty__icon {
    width: 28px;
    height: 28px;
}

.blog-empty h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 700;
}

.blog-empty p {
    max-width: 520px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.7;
}

.blog-empty__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.blog-pagination {
    margin-bottom: 64px;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers li {
    margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.blog-pagination .page-numbers a:hover {
    border-color: #ff2d85;
    color: #fff;
    background: rgba(255, 45, 133, 0.12);
}

.blog-pagination .page-numbers .current {
    border-color: #ff2d85;
    background: linear-gradient(135deg, #ff2d85 0%, #d81b60 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 45, 133, 0.35);
}

/* --------------------------------------------------------------------------
   Lead Capture CTA Banner
   -------------------------------------------------------------------------- */

.blog-cta {
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 32px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 45, 133, 0.12) 0%, rgba(10, 10, 10, 0.98) 70%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.blog-cta__inner {
    padding: 56px 32px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.blog-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.blog-cta__badge-icon {
    width: 13px;
    height: 13px;
}

.blog-cta__title {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-weight: 900;
    color: #fff;
}

.blog-cta__description {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.8;
}

.blog-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Shared Buttons
   -------------------------------------------------------------------------- */

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.blog-btn--primary {
    background: #ff2d85;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 45, 133, 0.35);
}

.blog-btn--primary:hover {
    background: #e62577;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 45, 133, 0.5);
    color: #fff;
}

.blog-btn--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.blog-btn--whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.blog-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.blog-btn--ghost:hover {
    border-color: #ff2d85;
    background: rgba(255, 45, 133, 0.12);
    color: #fff;
}

.blog-btn--lg {
    padding: 16px 30px;
    font-size: 13px;
}

.blog-btn--full {
    width: 100%;
}

.blog-btn__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .blog-page {
        padding: 175px 20px 72px;
    }

    body.admin-bar .blog-page {
        padding-top: 205px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-page {
        padding: 145px 16px 64px;
    }

    body.admin-bar .blog-page {
        padding-top: 190px;
    }

    .blog-page__controls {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search {
        max-width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-cta__inner {
        padding: 40px 20px;
    }

    .blog-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .blog-btn--lg {
        width: 100%;
    }
}
