/* =============================================
   STORY CARD - Listing Pages
   ============================================= */

.story-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 18px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    border-color: #d0d0d0;
}

.story-card-meta-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.story-category-badge {
    display: inline-block;
    background: #e53935;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.story-category-badge:hover {
    background: #b71c1c;
}

.story-date {
    font-size: 12px;
    color: #888;
}

.story-date i {
    margin-right: 4px;
}

.story-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.story-title a {
    color: #1a1a1a;
    text-decoration: none;
}

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

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

.story-card-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.story-author {
    font-size: 13px;
    color: #444;
}

.story-author i {
    margin-right: 4px;
    color: #e53935;
}

.story-author a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
}

.story-author a:hover {
    color: #e53935;
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.story-tag-badge {
    display: inline-block;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #555 !important;
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.story-tag-badge:hover {
    background: #e53935;
    color: #fff !important;
    border-color: #e53935;
}

.story-card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.btn-read-story {
    display: inline-block;
    background: #e53935;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.btn-read-story:hover {
    background: #b71c1c;
}

.story-views,
.story-likes-count {
    font-size: 13px;
    color: #888;
}

.story-views i,
.story-likes-count i {
    margin-right: 4px;
    color: #e53935;
}

.no-posts-found {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
}

/* =============================================
   SINGLE POST PAGE
   ============================================= */

.story-category-line {
    margin-bottom: 12px;
}

.post-single-title h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.story-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.story-meta-item {
    font-size: 13px;
    color: #666;
}

.story-meta-item i {
    color: #e53935;
    margin-right: 5px;
}

.story-meta-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.story-meta-item a:hover {
    color: #e53935;
}

.story-body {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 32px;
}

/* Like Button */
.story-like-section {
    margin: 24px 0 16px;
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.like-btn i {
    font-size: 18px;
    color: #ccc;
    transition: color 0.2s;
}

.like-btn:hover {
    background: #fff0f0;
    border-color: #e53935;
    color: #e53935;
}

.like-btn:hover i {
    color: #e53935;
}

.like-btn.liked {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

.like-btn.liked i {
    color: #fff;
}

/* =============================================
   COMMENTS - text only, no avatars
   ============================================= */

.comment-body {
    padding: 12px 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-author-icon {
    font-size: 28px;
    color: #ccc;
    line-height: 1;
}

.comment-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin: 0;
    padding-left: 38px;
}

/* =============================================
   CATEGORY STRIP - text only
   ============================================= */

.categories .category-item {
    text-decoration: none;
}

.categories .category-item p {
    font-weight: 600;
    color: #333;
}

/* =============================================
   FEATURED POST - text only (no background image)
   ============================================= */

.blog-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
}

/* =============================================
   GOOGLE ADSENSE AD UNITS
   ============================================= */

/* Header banner — full-width strip below navbar */
.ad-banner-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    text-align: center;
}

/* Footer banner — full-width strip above footer */
.ad-banner-footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0;
    text-align: center;
}

/* Generic ad unit wrapper */
.ad-unit {
    margin: 18px 0;
    text-align: center;
    overflow: hidden;
}

/* Before / after content — centered rectangle */
.ad-unit-before-content,
.ad-unit-after-content {
    margin: 20px 0;
    padding: 8px 0;
    border-top: 1px dashed #e0e0e0;
    border-bottom: 1px dashed #e0e0e0;
}

/* In-article (mid-story) — no extra border */
.ad-unit-in-content {
    margin: 24px 0;
    padding: 0;
}

/* Sidebar ad — fits snugly in the widget column */
.ad-unit-sidebar .adsbygoogle {
    width: 100%;
    min-height: 250px;
}

/* In-feed ad — blends between cards */
.ad-unit-in-feed {
    margin: 4px 0 18px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

/* Header / footer responsive */
.ad-banner-header .adsbygoogle,
.ad-banner-footer .adsbygoogle {
    display: block;
    min-height: 90px;
}

/* =============================================
   FOOTER STATIC LINKS (About Us / Privacy Policy)
   ============================================= */

.footer-static-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-static-links a {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-static-links a:hover {
    color: #fff;
}

.footer-link-sep {
    color: #666;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-static-links {
        justify-content: center;
        margin-top: 8px;
    }
}

/* =============================================
   MULTI-PART SERIES BOX
   ============================================= */

.story-series-box {
    margin: 28px 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.story-series-header {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-series-header i {
    font-size: 16px;
    color: #e53935;
}

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

.story-series-list li {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
}

.story-series-list li:last-child {
    border-bottom: none;
}

.story-series-list li a,
.story-series-list li .series-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s;
}

.story-series-list li a:hover {
    background: #fff8f8;
    color: #e53935;
}

.story-series-list li a i,
.story-series-list li .series-current i {
    color: #aaa;
    font-size: 15px;
    flex-shrink: 0;
}

.story-series-list li.active .series-current {
    background: #fff3f3;
    color: #e53935;
    font-weight: 700;
    cursor: default;
}

.story-series-list li.active .series-current i {
    color: #e53935;
}
