/* ===================================================
   BLOG-DETAIL.CSS – Zen Interactive Technologies
   Blog article detail page styles
   =================================================== */

:root {
    --theme-yellow: #F5D547;
    --primary-blue: #1a2b6b;
    --cream-bg: #f8f6f0;
    --text-dark: #111;
    --text-muted: #666;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 6px 24px rgba(0,0,0,0.07);
    --shadow-md: 0 20px 50px rgba(0,0,0,0.10);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- HEADER FIX (match exact sky blue from style.css --primary-blue) ---------- */
.header {
    background: #B8E0FF !important;
}

/* ---------- ARTICLE HERO ---------- */
.article-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.blog-featured-title a {
    text-decoration: none;
    color: inherit;
}

.blog-featured-title a:hover {
    color: var(--zen-primary);
}
.article-hero-image {
    position: absolute;
    inset: 0;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.90) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(0,0,0,0.15) 100%
    );
}

.article-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 70px;
    padding-top: 160px;
}

/* Breadcrumb */
.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.3s;
}

.article-breadcrumb a:hover { color: var(--theme-yellow); }

.article-breadcrumb i {
    font-size: 10px;
    opacity: 0.6;
}

.article-breadcrumb span { color: var(--theme-yellow); }

/* Tags row */
.article-tags-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.art-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.art-tag.hospitality  { background: var(--theme-yellow); color: #000; }
.art-tag.partnership  { background: rgba(255,255,255,0.15); color: #fff; }
.art-tag.communication{ background: rgba(255,255,255,0.15); color: #fff; }
.art-tag.voip         { background: rgba(255,255,255,0.15); color: #fff; }
.art-tag.storage      { background: rgba(255,255,255,0.15); color: #fff; }

/* Title */
.article-hero-title {
    font-size: clamp(26px, 3.5vw, 50px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
    max-width: 820px;
}

/* Meta row */
.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.art-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.art-author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.art-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.art-author span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.art-meta-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.art-meta-items i {
    color: var(--theme-yellow);
    margin-right: 5px;
}

/* ---------- ARTICLE BODY ---------- */
.article-body-section {
    padding: 80px 0 80px;
    background: #fff;
}

/* Article content typography */
.article-content {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.article-lead {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    line-height: 1.85;
    margin-bottom: 24px;
    border-left: 4px solid var(--theme-yellow);
    padding-left: 22px;
}

.article-content p {
    font-size: 15.5px;
    color: #444;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    color: #000;
    margin: 42px 0 16px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--theme-yellow);
    border-radius: 2px;
}

.article-content strong { color: #000; font-weight: 700; }

.article-divider {
    border: none;
    height: 1px;
    background: #f0f0f0;
    margin: 36px 0;
}

/* Feature list */
.article-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.article-feature-item {
    display: flex;
    gap: 20px;
    padding: 26px 26px;
    background: var(--cream-bg);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: var(--transition);
}

.article-feature-item:hover {
    border-color: var(--theme-yellow);
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    transform: translateX(6px);
}

.afl-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--theme-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    flex-shrink: 0;
    transition: var(--transition);
}

.article-feature-item:hover .afl-icon {
    background: #000;
    color: var(--theme-yellow);
}

.afl-body { flex: 1; }

.afl-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.afl-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* Pull quote */
.article-quote {
    margin: 36px 0;
    padding: 32px 36px;
    background: #000;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.article-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 120px;
    color: var(--theme-yellow);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
}

.article-quote p {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.65;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.article-quote cite {
    font-size: 13px;
    color: var(--theme-yellow);
    font-style: normal;
    font-weight: 700;
}

/* Tags */
.article-bottom-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 36px 0 28px;
    font-size: 14px;
}

.article-bottom-tags span { color: #888; font-weight: 600; }

.article-bottom-tags a {
    padding: 6px 16px;
    background: var(--cream-bg);
    border: 1px solid #e8e8e8;
    border-radius: 50px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.article-bottom-tags a:hover {
    background: var(--theme-yellow);
    border-color: var(--theme-yellow);
    color: #000;
}

/* Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
    font-size: 14px;
    color: #888;
    font-weight: 600;
}

.article-share-btns {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.share-btn.linkedin  { background: #0077b5; }
.share-btn.twitter   { background: #000; }
.share-btn.whatsapp  { background: #25D366; }
.share-btn.copy      { background: #555; }

.share-btn:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

/* Back button */
.article-back-row { margin-top: 10px; }

.article-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: #000;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.article-back-btn:hover {
    background: var(--theme-yellow);
    color: #000;
}

/* ---------- SIDEBAR ---------- */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px;
    border: 2px solid #f0f0f0;
    transition: var(--transition);
}

.sidebar-card:hover { border-color: var(--theme-yellow); }

.sidebar-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--theme-yellow);
    display: inline-block;
}

/* Author in sidebar */
.sidebar-author {
    display: flex;
    gap: 14px;
}

.sidebar-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cream-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 20px;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.sidebar-author strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.sidebar-author > div > span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.sidebar-author p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* Related articles */
.sidebar-related-list { display: flex; flex-direction: column; gap: 18px; }

.sidebar-related-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    align-items: flex-start;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin: 0 -12px;
}

.sidebar-related-item:hover {
    background: var(--cream-bg);
}

.sri-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.sri-img img { width: 100%; height: 100%; object-fit: cover; }

.sri-body { flex: 1; min-width: 0; }

.sri-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--theme-yellow);
    color: #000;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 5px;
}

.sri-body h5 {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.sidebar-related-item:hover .sri-body h5 { color: var(--primary-blue); }

.sri-date { font-size: 11px; color: #aaa; }

/* Sidebar CTA */
.sidebar-cta-card {
    background: linear-gradient(135deg, #000 0%, #1a2b6b 100%) !important;
    text-align: center;
    border-color: transparent !important;
    position: relative;
    overflow: hidden;
}

.sidebar-cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--theme-yellow);
    border-radius: 50%;
    opacity: 0.08;
}

.sidebar-cta-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-yellow);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    margin: 0 auto 18px;
    position: relative;
    z-index: 1;
}

.sidebar-cta-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.sidebar-cta-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--theme-yellow);
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.sidebar-cta-btn:hover {
    background: #fff;
    color: #000;
    gap: 12px;
    transform: translateY(-2px);
}

/* ---------- RELATED POSTS SECTION ---------- */
.related-posts-section {
    padding: 80px 0;
    background: var(--cream-bg);
}

.section-subtitle-detail {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--theme-yellow);
    margin-bottom: 8px;
}

.section-title-detail {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: #000;
}

.related-blog-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.related-blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--theme-yellow);
    box-shadow: var(--shadow-md);
}

.rbc-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.rbc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-blog-card:hover .rbc-image img { transform: scale(1.08); }

.rbc-cat {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--theme-yellow);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.rbc-body { padding: 24px; }

.rbc-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 12px;
}

.rbc-meta i { color: var(--theme-yellow); margin-right: 4px; }

.rbc-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.45;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.rbc-body h3 a { text-decoration: none; color: inherit; }

.related-blog-card:hover .rbc-body h3,
.related-blog-card:hover .rbc-body h3 a { color: var(--primary-blue); }

.rbc-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.rbc-read:hover { color: var(--theme-yellow); gap: 10px; }

/* ---------- DETAIL CONTACT SECTION ---------- */
.detail-contact-section {
    padding: 60px 0 80px;
    background: #fff;
}

.detail-contact-box {
    background: linear-gradient(135deg, #000 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.detail-contact-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--theme-yellow);
    border-radius: 50%;
    opacity: 0.07;
}

.detail-contact-box h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.detail-contact-box p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    position: relative;
    z-index: 1;
}

.dcta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--theme-yellow);
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.dcta-btn:hover {
    background: #fff;
    color: #000;
    gap: 14px;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .article-sidebar { position: static; margin-top: 50px; }
    .article-hero { min-height: 480px; }
    .article-hero-title { font-size: 28px; }
    .detail-contact-box { padding: 40px 30px; }
    .detail-contact-box .text-lg-end { text-align: left !important; margin-top: 20px; }
}

@media (max-width: 767px) {
    .article-hero { min-height: 400px; }
    .article-hero-content { padding-bottom: 50px; }
    .article-hero-title { font-size: 22px; }
    .article-meta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .article-body-section { padding: 50px 0 50px; }
    .article-lead { font-size: 16px; }
    .article-feature-item { flex-direction: column; gap: 14px; }
    .article-quote { padding: 24px 24px; }
    .article-quote p { font-size: 15px; }
    .related-posts-section { padding: 60px 0; }
    .detail-contact-box { padding: 36px 24px; }
}