/* ============================================
   Blog Section — archive, single, sidebar, offers
   ============================================ */

.blog-hero {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 36px 0 28px;
    margin-bottom: 0;
}

.blog-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #222;
    margin: 0 0 8px;
    font-weight: 700;
}

.blog-hero-tagline {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 640px;
}

.blog-page-wrap {
    background: #f7f7f8;
    padding: 28px 0 48px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

/* Story list cards */
.blog-story-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-story-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-story-card:hover {
    border-color: #f0c4d4;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.08);
}

.story-card-thumb {
    flex: 0 0 220px;
    min-height: 160px;
    background: #eee;
}

.story-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 160px;
}

.story-card-body {
    padding: 20px 20px 20px 0;
    flex: 1;
    min-width: 0;
}

.blog-story-card:not(:has(.story-card-thumb)) .story-card-body {
    padding-left: 20px;
}

.story-cat-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e91e63;
    text-decoration: none;
    margin-bottom: 8px;
}

.story-cat-label:hover {
    color: #c2185b;
}

.story-card-title {
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 0 0 10px;
}

.story-card-title a {
    color: #222;
    text-decoration: none;
}

.story-card-title a:hover {
    color: #e91e63;
}

.story-card-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.story-card-meta a {
    color: #555;
    text-decoration: none;
}

.story-card-meta a:hover {
    color: #e91e63;
}

.meta-sep {
    color: #ccc;
}

.story-card-excerpt {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 14px;
}

.story-card-excerpt p {
    margin: 0;
}

.story-read-more {
    font-size: 14px;
    font-weight: 600;
    color: #e91e63;
    text-decoration: none;
}

.story-read-more:hover {
    color: #c2185b;
}

/* Sponsored offers */
.blog-sponsored-offer {
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border: 1px solid #f5c6d8;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 20px 0;
    position: relative;
}

.sponsored-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.sponsored-offer-inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sponsored-offer-image img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.sponsored-offer-title {
    font-size: 1rem;
    margin: 0 0 6px;
    color: #222;
    line-height: 1.35;
}

.sponsored-offer-desc {
    margin: 0 0 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.55;
}

.sponsored-offer-cta {
    display: inline-block;
    background: #e91e63;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.sponsored-offer-cta:hover {
    background: #c2185b;
    color: #fff !important;
}

.blog-sidebar .blog-sponsored-offer {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-widget {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 18px;
}

.blog-widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
}

.blog-search-form {
    display: flex;
    gap: 8px;
}

.blog-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
}

.blog-search-form button {
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.blog-search-form button:hover {
    background: #c2185b;
}

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

.blog-widget-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.45;
}

.blog-widget-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-widget-list a {
    color: #333;
    text-decoration: none;
}

.blog-widget-list a:hover {
    color: #e91e63;
}

.blog-widget-list .widget-meta {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.blog-cat-list .children {
    margin-left: 12px;
}

.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag-cloud a {
    display: inline-block;
    font-size: 12px !important;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #555 !important;
    text-decoration: none;
}

.blog-tag-cloud a:hover {
    background: #fce4ec;
    color: #e91e63 !important;
}

/* Pagination */
.blog-pagination {
    margin-top: 28px;
}

.blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.blog-no-posts {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #666;
}

/* Single post */
.blog-single-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 16px 0;
}

.blog-breadcrumbs {
    font-size: 13px;
    color: #777;
}

.blog-breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: #e91e63;
}

.blog-breadcrumbs .current {
    color: #222;
}

.blog-single-wrap {
    padding-top: 24px;
}

.blog-single-article {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 28px;
    min-width: 0;
}

.blog-single-categories a {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #fce4ec;
    color: #e91e63;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    margin: 0 6px 10px 0;
}

.blog-single-categories a:hover {
    background: #e91e63;
    color: #fff;
}

.blog-single-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.25;
    margin: 0 0 14px;
    color: #222;
}

.blog-single-meta {
    font-size: 14px;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    margin-bottom: 20px;
}

.blog-single-meta a {
    color: #555;
    text-decoration: none;
}

.blog-single-meta a:hover {
    color: #e91e63;
}

.blog-single-featured {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-single-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-toc-wrap {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.blog-toc-title {
    font-size: 15px;
    margin: 0 0 10px;
    color: #222;
}

.blog-toc-list {
    margin: 0;
    padding-left: 18px;
}

.blog-toc-list li {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.4;
}

.blog-toc-list .toc-h3 {
    margin-left: 14px;
    list-style-type: circle;
}

.blog-toc-list a {
    color: #444;
    text-decoration: none;
}

.blog-toc-list a:hover {
    color: #e91e63;
}

.blog-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-single-content h2,
.blog-single-content h3 {
    scroll-margin-top: 80px;
    color: #222;
}

.blog-single-content p {
    margin-bottom: 1.1em;
}

.blog-single-tags {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.blog-single-tags a {
    color: #e91e63;
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.blog-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.blog-share-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff !important;
}

.blog-share-whatsapp {
    background: #25d366;
}

.blog-share-facebook {
    background: #1877f2;
}

.blog-share-btn:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* Related stories */
.blog-related-stories {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}

.blog-related-title {
    font-size: 1.25rem;
    margin: 0 0 18px;
    color: #222;
}

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

.blog-related-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.blog-related-card .related-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ddd;
}

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

.blog-related-card h3 {
    font-size: 14px;
    margin: 10px 12px 4px;
    line-height: 1.35;
}

.blog-related-card h3 a {
    color: #222;
    text-decoration: none;
}

.blog-related-card h3 a:hover {
    color: #e91e63;
}

.blog-related-card .related-meta {
    display: block;
    font-size: 12px;
    color: #999;
    margin: 0 12px 12px;
}

/* Comments inside single article */
.blog-single-article .comments-area {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: 2;
    }

    .blog-main,
    .blog-single-article {
        order: 1;
    }
}

@media (max-width: 640px) {
    .blog-story-card {
        flex-direction: column;
    }

    .story-card-thumb {
        flex: none;
        width: 100%;
    }

    .story-card-body {
        padding: 16px;
    }

    .blog-single-article {
        padding: 18px;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }

    .sponsored-offer-inner {
        flex-direction: column;
    }
}
