/* Blog Page Theme matching medishipexpress.com */

.blog-hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 31, 69, 0.94) 0%, rgba(0, 86, 210, 0.90) 100%), url('/images/hero_banner.png') center/cover no-repeat;
    color: #ffffff;
    padding: 60px 0 45px 0;
    text-align: left;
}

.blog-breadcrumbs {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.blog-breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.blog-category-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.badge-tag {
    background-color: #0b2545;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.blog-hero-title {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    max-width: 980px;
}

/* Page Layout Container */
.blog-layout-container {
    padding: 40px 0 70px 0;
    background-color: #f8fafc;
}

.blog-layout-container .container {
    max-width: 1360px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 270px 1fr 300px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: 240px 1fr 270px;
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-left-sidebar, .blog-right-sidebar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .blog-hero-section {
        padding: 20px 16px;
        background-position: center;
        overflow: hidden;
    }
    .blog-hero-section .container {
        padding: 0;
    }
    .blog-breadcrumbs {
        font-size: 0.75rem;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .blog-category-badges {
        display: none !important;
    }
    .blog-hero-title {
        font-size: 1.25rem;
        line-height: 1.3;
        font-weight: 700;
    }
    .blog-layout-container {
        padding: 0 0 30px;
        background-color: #ffffff;
        overflow-x: hidden;
    }
    .blog-layout-container .container {
        padding: 0;
        max-width: 100%;
    }
    .blog-grid {
        width: 100%;
        gap: 0;
    }
    .blog-left-sidebar {
        display: none !important;
    }
    .blog-main-card {
        padding: 20px 16px !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        width: 100%;
        box-sizing: border-box;
        background: #ffffff;
    }
    .article-meta {
        font-size: 0.76rem;
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 12px;
        flex-wrap: wrap;
    }
    .article-body {
        font-size: 0.94rem;
        line-height: 1.65;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .article-body h2 {
        font-size: 1.2rem !important;
        text-align: left !important;
        margin: 20px 0 10px !important;
        line-height: 1.35 !important;
    }
    .article-body h3 {
        font-size: 1.05rem !important;
        text-align: left !important;
        margin: 16px 0 8px !important;
    }
    .article-body span {
        white-space: normal !important;
    }
    .article-body table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.82rem;
        -webkit-overflow-scrolling: touch;
    }
    .whatsapp-cta-banner {
        padding: 14px 16px;
        margin: 24px 0;
        border-radius: 10px;
    }
    .whatsapp-cta-left i {
        font-size: 1.6rem;
    }
    .whatsapp-cta-text h4 {
        font-size: 0.95rem;
    }
    .whatsapp-cta-text p {
        font-size: 0.75rem;
    }
    .blog-right-sidebar {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        margin-top: 10px;
    }
    .related-articles-section {
        padding: 30px 16px;
    }
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    padding: 20px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.9rem;
    color: #475569;
}

.category-item:last-child {
    border-bottom: none;
}

.category-count {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.recent-post-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-post-item {
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
}

.recent-post-item:hover, .recent-post-item.active {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.recent-post-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 4px;
    display: block;
}

.recent-post-item.active .recent-post-title {
    color: #0056D2;
}

.recent-post-date {
    font-size: 0.78rem;
    color: #64748b;
}

.btn-sidebar-nav {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sidebar-nav:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Center Main Content */
.blog-main-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 32px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.7;
}

/* HTML Table Styles in Article Body */
.article-body table {
    width: 100% !important;
    max-width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #cbd5e1;
}

.article-body th, .article-body td {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    text-align: left;
    vertical-align: middle;
}

.article-body th {
    background-color: #0b2545;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
}

.article-body tr:nth-child(even) {
    background-color: #f8fafc;
}

.article-body tr:hover {
    background-color: #f1f5f9;
}

.article-body h2 {
    color: #0b2545;
    font-size: 1.55rem;
    margin: 32px 0 16px 0;
    font-weight: 700;
}

.article-body h3 {
    color: #0056D2;
    font-size: 1.25rem;
    margin: 24px 0 12px 0;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

/* WhatsApp Banner */
.whatsapp-cta-banner {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 35px 0;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    transition: transform 0.2s ease;
}

.whatsapp-cta-banner:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.whatsapp-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.whatsapp-cta-left i {
    font-size: 2.4rem;
}

.whatsapp-cta-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.whatsapp-cta-text p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.95;
}

/* Videos Section */
.videos-section {
    margin: 40px 0;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    height: 125px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.video-card:hover img {
    opacity: 0.7;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ff0000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.video-title-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Customer Reviews */
.reviews-section {
    margin: 40px 0;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.review-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stars-rating {
    color: #f59e0b;
    font-size: 1.1rem;
}

.review-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
    border: 1px solid #f1f5f9;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1e293b;
}

.review-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

.review-body {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* Successfully Delivered Parcels */
.delivered-section {
    margin: 40px 0;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.delivered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.delivered-img-card {
    height: 135px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.delivered-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Sidebar */
.promo-sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.promo-sidebar-card img {
    width: 100%;
    height: auto;
    display: block;
}

.ship-worldwide-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.ship-worldwide-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 8px;
}

.ship-worldwide-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.btn-book-now {
    display: block;
    width: 100%;
    background: #0b2545;
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
}

.btn-book-now:hover {
    background: #0056D2;
    color: #ffffff;
}

.need-help-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.need-help-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.need-help-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.btn-contact-outline {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-contact-outline:hover {
    border-color: #0b2545;
    color: #0b2545;
    background: #f8fafc;
}

/* Related Articles Section */
.related-articles-section {
    background: #f1f5f9;
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.related-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.related-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.related-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
    text-decoration: none;
}

.related-card-title:hover {
    color: #0056D2;
}

.related-card-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 16px;
    flex-grow: 1;
}

.related-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0056D2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
