/* ================= BLOG HEADER ================= */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.blog-header {
    padding: 90px 8% 50px 8%;
    background: #ffffff;
}

.blog-header-container {
    max-width: 1100px;
    margin: auto;
}

.blog-title {
    font-size: 58px;
    line-height: 1.1;
    font-family: Georgia, serif;
    font-weight: 500;
    margin-bottom: 25px;
    color: #111;
}

.blog-summary {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
    max-width: 850px;
    margin-bottom: 30px;
}

.blog-meta strong {
    color: #111;
}

.meta-separator {
    color: #ccc;
}


/* ================= FEATURE SECTION ================= */

.blog-feature {
    padding: 40px 8% 30px 8%;
    background: #fff;
}

.blog-feature-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

/* LEFT IMAGE */

.feature-left img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
}

/* RIGHT INFO CARD */

.info-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: 120px;
}

/* AUTHOR */

.author-box {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h4 {
    margin: 0;
    font-size: 16px;
}

.author-box p {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* DIVIDER */

.info-divider {
    height: 1px;
    background: #ddd;
    margin: 25px 0;
}

/* SHARE */

.share-box h5 {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid #ddd;
    color: #111;
}

.share-btn:hover {
    background: #000;
    color: #fff;
}

/* Optional platform hover colors */

.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.copy:hover {
    background: #444;
    border-color: #444;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    .blog-title {
        font-size: 40px;
    }

    .blog-summary {
        font-size: 18px;
    }

    .blog-feature-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-card {
        position: static;
    }
}

@media (max-width: 600px) {

    .blog-header {
        padding: 60px 6%;
    }

    .blog-title {
        font-size: 28px;
    }

    .blog-summary {
        font-size: 16px;
    }
}
/* ================= BLOG CONTENT SECTION ================= */

.blog-content-section {
    padding: 40px 8% 80px 8%;
    background: #ffffff;
}

.blog-content-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 70px;
    max-width: 1200px;
    margin: auto;
}

/* LEFT CONTENT */

.blog-content-left {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}

.blog-content-left h2 {
    font-size: 30px;
    margin: 40px 0 20px;
    font-family: Georgia, serif;
}

.blog-content-left h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.blog-content-left ul {
    margin: 20px 0 30px 20px;
}

.blog-content-left li {
    margin-bottom: 10px;
}

.blog-content-left blockquote {
    margin: 40px 0;
    padding: 25px 30px;
    background: #f7f7f7;
    border-left: 4px solid #000;
    font-style: italic;
}

/* ================= SIDEBAR PREMIUM DESIGN ================= */

.blog-content-right {
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* BASE CARD STYLE */

.sidebar-widget {
    background: #ffffff;
    padding: 28px;
    margin-bottom: 35px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 700;
}

/* ================= LATEST TOPICS ================= */

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget li {
    margin-bottom: 14px;
}

.sidebar-widget a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease;
}

.sidebar-widget a::after {
    content: "→";
    font-size: 12px;
    opacity: 0;
    transform: translateX(-5px);
    transition: 0.3s ease;
}

.sidebar-widget a:hover {
    color: #000;
    padding-left: 6px;
}

.sidebar-widget a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ================= KEY TAKEAWAYS ================= */

.key-takeaways {
    background: #f4f6f8;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #e5e5e5;
}

.key-takeaways h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.key-takeaways li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}
/* ================= PREMIUM SEPARATOR ================= */

.blog-separator {
    padding: 15px 8%;
    display: flex;
    justify-content: center;
}

.blog-separator span {
    width: 100px;   /* slightly smaller */
    height: 2px;
    background: linear-gradient(to right, transparent, #111, transparent);
    display: block;
    position: relative;
}

.blog-separator span::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}
.blog-meta {
    font-size: 14px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f1f3f5;
    padding: 6px 12px;
    border-radius: 20px;
    color: #111;
}

.meta-separator {
    color: #ccc;
}
/* ================= EXPLORE CATEGORIES WIDGET ================= */

.categories-widget {
    background: linear-gradient(135deg, #111, #222);
    color: #fff;
    border-radius: 14px;
    padding: 30px;
}

.categories-widget h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #fff;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-grid a {
    background: rgba(255,255,255,0.08);
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    color: #fff;
    transition: 0.3s ease;
}

.category-grid a:hover {
    background: #fff;
    color: #000;
}
/* ================= RELATED BLOGS ================= */

.related-blogs {
    padding: 100px 8%;
    background: #f7f7f7;
}

.related-container {
    max-width: 1200px;
    margin: auto;
}

.related-title {
    font-size: 32px;
    font-family: Georgia, serif;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.related-card a {
    text-decoration: none;
    color: #111;
    display: block;
}

.related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: 0.3s ease;
}

.related-card img:hover {
    opacity: 0.9;
}

.related-card h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-card h3:hover {
    text-decoration: underline;
}

.related-card span {
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-title {
        font-size: 24px;
    }
}
/* ================= PREMIUM SPONSOR SPOTLIGHT ================= */

.sponsor-spotlight {
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Badge */

.sponsor-badge {
    display: inline-block;
    background: #3b5bfd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Logo Placeholder */

.sponsor-logo-box {
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 15px;
    padding: 40px 20px;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Headline */

.sponsor-spotlight h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-family: Georgia, serif;
}

/* Description */

.sponsor-spotlight p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* CTA Button */

.sponsor-cta {
    display: inline-block;
    background: #ffffff;
    color: #000;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.sponsor-cta:hover {
    background: #ddd;
}
/* ================= AI NEWS SIDEBAR WIDGET ================= */

.ai-news-widget {
    background: linear-gradient(135deg, #111, #1c1c1c);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.ai-news-widget::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
}

.ai-news-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #3b5bfd;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    font-weight: 600;
}

.ai-news-widget h4 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.ai-news-widget p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ai-news-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #ffffff;
    color: #000;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.ai-news-btn:hover {
    background: #3b5bfd;
    color: #fff;
}
/* ================= AI TOOLS SIDEBAR WIDGET ================= */

.ai-tools-widget {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* subtle glow */
.ai-tools-widget::before {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(59,91,253,0.15), transparent);
}

/* Label badge */
.ai-tools-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #3b5bfd;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    font-weight: 600;
}

/* Title */
.ai-tools-widget h4 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

/* Description */
.ai-tools-widget p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button */
.ai-tools-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #ffffff;
    color: #000;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.ai-tools-btn:hover {
    background: #3b5bfd;
    color: #fff;
}
/* ===================================== */
/* ===== FULL MOBILE RESPONSIVE FIX ==== */
/* ===================================== */

@media (max-width: 1024px) {

    /* Reduce large title */
    .blog-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .blog-summary {
        font-size: 18px;
    }

    /* Stack featured section */
    .blog-feature-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-card {
        position: static;
        width: 100%;
    }

    /* Stack content + sidebar */
    .blog-content-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .blog-content-right {
        position: static;
    }

    /* Related blogs */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===================================== */
/* ========== TABLET BREAKPOINT ======== */
/* ===================================== */

@media (max-width: 768px) {

    .blog-header {
        padding: 60px 5%;
    }

    .blog-feature {
        padding: 30px 5%;
    }

    .blog-content-section {
        padding: 30px 5% 60px 5%;
    }

    .related-blogs {
        padding: 60px 5%;
    }

    .blog-title {
        font-size: 32px;
    }

    .blog-summary {
        font-size: 16px;
    }

    .feature-left img {
        max-height: 350px;
    }

    .blog-content-left {
        font-size: 16px;
    }

    .blog-content-left h2 {
        font-size: 24px;
    }

    .blog-content-left h3 {
        font-size: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ===================================== */
/* ============ SMALL MOBILE =========== */
/* ===================================== */

@media (max-width: 480px) {

    .blog-title {
        font-size: 24px;
    }

    .blog-summary {
        font-size: 14px;
    }

    .blog-meta {
        font-size: 12px;
        gap: 6px;
    }

    .blog-category {
        padding: 4px 10px;
        font-size: 10px;
    }

    .feature-left img {
        border-radius: 8px;
    }

    .sidebar-widget,
    .ai-tools-widget,
    .ai-news-widget,
    .sponsor-spotlight {
        padding: 20px;
    }

    .key-takeaways {
        padding: 20px;
    }

    .related-title {
        font-size: 22px;
    }
}
/* ================= BREADCRUMB ================= */

.breadcrumb-section {
    padding: 25px 8% 0 8%;
    background: #ffffff;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: auto;
    font-size: 14px;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-container a {
    text-decoration: none;
    color: #777;
    transition: 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #000;
}

.breadcrumb-separator {
    color: #bbb;
}

.breadcrumb-current {
    color: #111;
    font-weight: 500;
}
