/* ============================================================
   SINGLE BLOG POST STYLES — Sky Planet Holidays
   ============================================================ */

/* ---- HERO ---- */
.bs-hero {
    position: relative;
    width: 100%;
    height: 460px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.bs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.bs-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
    color: #fff;
}

.bs-category-badge {
    display: inline-block;
    background: #f44336;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.bs-hero-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    max-width: 820px;
}

.bs-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.bs-hero-meta img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}

.bs-hero-meta i {
    color: #f5c400;
}

.bs-sep {
    opacity: 0.4;
}

/* ---- BREADCRUMB BAR ---- */
.bs-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 30px 0 14px;
}

.bs-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #888;
    flex-wrap: wrap;
}

.bs-breadcrumb-nav a {
    color: #f44336;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.bs-breadcrumb-nav a:hover {
    color: #c62828;
}

.bs-breadcrumb-nav i {
    font-size: 0.72rem;
    opacity: 0.5;
}

.bs-breadcrumb-nav span {
    color: #444;
}

/* ---- MAIN LAYOUT ---- */
.bs-main {
    padding: 50px 0 80px;
    background: #f8f9fa;
}

/* ---- ARTICLE ---- */
.bs-article {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.bs-article-body {
    padding: 44px 48px;
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
}

/* Post Title Styling */
.bs-post-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
}

/* Article typography */
.bs-article-body h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 36px 0 14px;
    padding-left: 16px;
    border-left: 4px solid #f44336;
}

.bs-article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 10px;
}

.bs-article-body p {
    margin-bottom: 20px;
    color: #444;
}

.bs-article-body ul,
.bs-article-body ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.bs-article-body li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.75;
}

.bs-article-body strong {
    color: #1a1a2e;
}

.bs-article-body blockquote {
    background: linear-gradient(135deg, #fff8f8, #fff3f3);
    border-left: 5px solid #f44336;
    border-radius: 0 12px 12px 0;
    padding: 20px 28px;
    margin: 28px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

/* ---- TAGS ROW ---- */
.bs-tags-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 22px 48px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.bs-tags-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #555;
    margin-right: 4px;
}

.bs-tags-label i {
    color: #f44336;
}

.bs-tag {
    background: #f8f9fa;
    border: 1.5px solid #e0e0e0;
    color: #555;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s;
    font-weight: 500;
}

.bs-tag:hover {
    background: #f44336;
    border-color: #f44336;
    color: #fff;
    text-decoration: none;
}

/* ---- SHARE BAR ---- */
.bs-share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 48px;
    border-top: 1px solid #f0f0f0;
}

.bs-share-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #555;
}

.bs-share-label i {
    color: #f44336;
}

.bs-share-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bs-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}

.bs-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

.bs-share-fb {
    background: #1877F2;
}

.bs-share-tw {
    background: #222;
}

.bs-share-wa {
    background: #25D366;
}

/* ---- AUTHOR BOX ---- */
.bs-author-box {
    display: flex;
    gap: 20px;
    padding: 32px 48px;
    background: linear-gradient(135deg, #fafafa, #fff8f8);
    border-top: 1px solid #f0f0f0;
    align-items: flex-start;
}

.bs-author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f44336;
    flex-shrink: 0;
}

.bs-author-info h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.bs-author-info p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 12px;
}

.bs-author-social {
    display: flex;
    gap: 10px;
}

.bs-author-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.85rem;
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
}

.bs-author-social a:hover {
    background: #f44336;
    color: #fff;
}

/* ---- BACK ROW ---- */
.bs-back-row {
    padding: 24px 48px 32px;
    border-top: 1px solid #f0f0f0;
}

.bs-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f44336;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

.bs-back-btn:hover {
    color: #c62828;
    gap: 12px;
    text-decoration: none;
}

/* ---- SIDEBAR INFO CARD ---- */
.bs-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.86rem;
    color: #555;
}

.bs-info-list li:last-child {
    border-bottom: none;
}

.bs-info-list li i {
    color: #f44336;
    margin-top: 2px;
    flex-shrink: 0;
}

.bs-info-list li strong {
    color: #1a1a2e;
}

/* ---- CTA BOX ---- */
.bs-cta-box {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 28px;
    text-align: center;
}

.bs-cta-box i {
    font-size: 2.2rem;
    color: #f5c400;
    display: block;
    margin-bottom: 12px;
}

.bs-cta-box h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.bs-cta-box p {
    font-size: 0.83rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ---- RELATED POSTS ---- */
.bs-related-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.2s, padding-left 0.2s;
    border-radius: 8px;
}

.bs-related-item:last-child {
    border-bottom: none;
}

.bs-related-item:hover {
    background: #fff8f8;
    padding-left: 8px;
    text-decoration: none;
}

.bs-related-item img {
    width: 72px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.bs-related-info {
    flex: 1;
}

.bs-related-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f44336;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bs-related-info h6 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-related-date {
    font-size: 0.72rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .bs-hero {
        height: 340px;
    }

    .bs-article-body {
        padding: 28px 26px;
    }

    .bs-post-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .bs-tags-row,
    .bs-share-bar,
    .bs-author-box,
    .bs-back-row {
        padding-left: 26px;
        padding-right: 26px;
    }
}

@media (max-width: 576px) {
    .bs-hero {
        height: 280px;
    }

    .bs-hero-content h1 {
        font-size: 1.3rem;
    }

    .bs-article-body {
        padding: 20px 18px;
    }

    .bs-post-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .bs-tags-row,
    .bs-share-bar,
    .bs-author-box,
    .bs-back-row {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bs-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bs-author-social {
        justify-content: center;
    }
}