/* ==========================================================================
   Antigravity Shop Blog & Video Magazine Stylesheet (blog.css)
   Brand Color: #0d2644 | Secondary Gold: #f8a203 | Container: 1450px
   ========================================================================== */

/* Blog Page Wrapper */
.blog-page-wrapper {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 45px;
}

/* 1. HERO HEADER SECTION */
.blog-hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 22px 0 18px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.blog-breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.blog-breadcrumb-custom a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumb-custom a:hover {
    color: #0d2644;
}

.blog-breadcrumb-custom span.separator {
    color: #cbd5e1;
    font-size: 9px;
}

.blog-breadcrumb-custom span.current {
    color: #0d2644;
    font-weight: 700;
}

.blog-hero-title {
    font-size: 23px;
    font-weight: 800;
    color: #0d2644;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.blog-hero-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
    max-width: 760px;
}

/* 2. CATEGORY CHIPS */
.blog-categories-wrapper {
    margin-bottom: 24px;
}

.blog-categories-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.blog-categories-scroll::-webkit-scrollbar {
    display: none;
}

.blog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.blog-cat-chip:hover {
    color: #0d2644;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.blog-cat-chip.active {
    background: #0d2644;
    color: #ffffff;
    border-color: #0d2644;
    box-shadow: 0 2px 8px rgba(13, 38, 68, 0.2);
}

.blog-cat-chip.chip-video {
    border-color: rgba(239, 68, 68, 0.35);
    background: #fef2f2;
    color: #b91c1c;
}

.blog-cat-chip.chip-video:hover {
    background: #fee2e2;
}

.blog-cat-chip.chip-free {
    border-color: rgba(16, 185, 129, 0.35);
    background: #f0fdf4;
    color: #065f46;
}

.blog-cat-chip.chip-free:hover {
    background: #dcfce7;
}

/* 3. FEATURED VIDEO SHOWCASE SECTION (NORMALIZED & BALANCED DESKTOP) */
.video-showcase-section {
    margin-bottom: 28px;
}

.video-showcase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 38, 68, 0.05);
    display: grid;
    grid-template-columns: 340px 1fr;
    max-width: 1050px;
    margin: 0 auto;
    transition: all 0.22s ease;
}

.video-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(13, 38, 68, 0.09);
    border-color: #cbd5e1;
}

/* Video Player Thumbnail */
.video-player-wrapper {
    position: relative;
    overflow: hidden;
    background: #0b1523;
    height: 100%;
    min-height: 195px;
    max-height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.video-showcase-card:hover .video-thumbnail-img {
    transform: scale(1.03);
    opacity: 0.98;
}

/* Play Button */
.video-play-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 38, 68, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(248, 162, 3, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.video-play-btn i {
    margin-right: 2px;
    color: #f8a203;
}

.video-showcase-card:hover .video-play-btn {
    transform: scale(1.1);
    background: #f8a203;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(248, 162, 3, 0.6);
}

.video-showcase-card:hover .video-play-btn i {
    color: #0d2644;
}

/* Video Badge Overlays */
.video-tag-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(13, 38, 68, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 6;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-tag-badge i {
    color: #ef4444;
    font-size: 12px;
}

.video-duration-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    z-index: 6;
}

/* Video Card Content */
.video-showcase-content {
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.video-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.video-meta-row .video-cat-label {
    background: #fef2f2;
    color: #b91c1c;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 10.5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.video-showcase-title {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 6px 0;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.video-showcase-title:hover {
    color: #0d2644;
}

.video-showcase-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.btn-watch-video {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 15px;
    border-radius: 8px;
    background: #0d2644;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(13, 38, 68, 0.18);
}

.btn-watch-video:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-video-gallery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-video-gallery:hover {
    background: #eef2f6;
    color: #0d2644;
    border-color: #cbd5e1;
}

/* 4. ARTICLES GRID */
.blog-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.blog-grid-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.blog-grid-title i {
    color: #f8a203;
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

/* 5. ARTICLE CARD COMPONENT */
.article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(13, 38, 68, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 38, 68, 0.09);
    border-color: #cbd5e1;
}

.article-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.article-card:hover .article-img {
    transform: scale(1.04);
}

.article-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: #0d2644;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Small Video Card Play Icon Overlay */
.card-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(13, 38, 68, 0.8);
    backdrop-filter: blur(6px);
    color: #f8a203;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    z-index: 3;
}

.article-card:hover .card-video-play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: #f8a203;
    color: #0d2644;
}

.card-duration-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

/* Special Free Design Badge */
.badge-free-design {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    z-index: 2;
}

.article-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.article-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card-title:hover {
    color: #0d2644;
}

.article-card-excerpt {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
    color: #94a3b8;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-meta-item i {
    font-size: 13.5px;
}

/* 6. PAGINATION */
.blog-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 26px 0 16px 0;
}

.blog-pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 5px 8px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.02);
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: #f1f5f9;
    color: #0d2644;
}

.page-btn.active {
    background: #0d2644;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(13, 38, 68, 0.2);
}

.page-btn.page-arrow {
    width: auto;
    padding: 0 10px;
    font-size: 12px;
    gap: 3px;
}

/* 7. NEWSLETTER BANNER */
.blog-newsletter-card {
    background: linear-gradient(135deg, #0d2644 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 28px 26px;
    color: #ffffff;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(13, 38, 68, 0.12);
}

.blog-newsletter-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(248, 162, 3, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-size: 17.5px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.newsletter-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
}

.newsletter-input {
    flex-grow: 1;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0 14px;
    font-size: 12.5px;
    outline: none;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: #f8a203;
}

.btn-newsletter-submit {
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #f8a203;
    color: #0d2644;
    font-size: 12.5px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(248, 162, 3, 0.22);
}

.btn-newsletter-submit:hover {
    background: #fbbf24;
    transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE & ANDROID RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .blog-page-wrapper {
        padding-bottom: 85px !important;
    }

    .video-showcase-card {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .video-player-wrapper {
        min-height: 200px;
        height: 200px;
    }

    .video-showcase-content {
        padding: 18px;
    }
}

@media (max-width: 767.98px) {
    .blog-hero-section {
        padding: 14px 0 12px 0;
        margin-bottom: 14px;
    }

    .blog-breadcrumb-custom {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .blog-hero-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .blog-hero-subtitle {
        font-size: 11.5px;
        line-height: 1.45;
    }

    .blog-categories-wrapper {
        margin-bottom: 16px;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .blog-cat-chip {
        padding: 5px 12px;
        font-size: 11.5px;
        border-radius: 20px;
    }

    .video-showcase-section {
        margin-bottom: 20px;
    }

    .video-player-wrapper {
        height: 170px;
        min-height: 170px;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .video-showcase-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .video-showcase-desc {
        font-size: 11.5px;
        margin-bottom: 12px;
    }

    .video-showcase-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 10px;
    }

    .btn-watch-video, .btn-video-gallery {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .article-img-wrapper {
        height: 160px;
    }

    .article-card-body {
        padding: 14px;
    }

    .article-card-title {
        font-size: 13.5px;
    }

    .article-card-excerpt {
        font-size: 11.5px;
        margin-bottom: 10px;
    }

    .blog-newsletter-card {
        padding: 20px 16px;
        border-radius: 16px;
        margin-top: 20px;
    }

    .newsletter-title {
        font-size: 15px;
    }

    .newsletter-desc {
        font-size: 11.5px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 8px;
    }

    .newsletter-input, .btn-newsletter-submit {
        width: 100%;
        height: 40px;
        justify-content: center;
        font-size: 12px;
    }
}
