/* ========== B2B Marketing.Global - Blog Styles ========== */

/* ========== BLOG HERO (dark, shorter) ========== */
.blog-hero {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(165deg, #0D0D2B 0%, #1A1A3E 50%, #0D0D2B 100%);
    overflow: hidden;
}
.blog-hero .hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}
.blog-hero .orb1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #8020D0, transparent 70%);
    top: -80px; right: -80px;
    animation: float 8s ease-in-out infinite;
}
.blog-hero .orb2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #4080F0, transparent 70%);
    bottom: -40px; left: -60px;
    animation: floatSlow 10s ease-in-out infinite;
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.blog-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    max-width: 640px;
    line-height: 1.7;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    padding: 16px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.875rem;
    color: #777;
}
.breadcrumb-list a {
    color: #8020D0;
    transition: color 0.2s ease;
}
.breadcrumb-list a:hover { color: #F01060; }
.breadcrumb-list .separator { color: #ccc; }

/* ========== CATEGORY TAGS ========== */
.category-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.category-tag.aeo {
    background: rgba(128, 32, 208, 0.12);
    color: #8020D0;
}
.category-tag.linkedin {
    background: rgba(42, 170, 160, 0.12);
    color: #2AAAA0;
}
.category-tag.strategy {
    background: rgba(64, 128, 240, 0.12);
    color: #4080F0;
}
.category-tag.abm {
    background: rgba(232, 96, 32, 0.12);
    color: #E86020;
}
.category-tag.advocacy {
    background: rgba(233, 30, 123, 0.12);
    color: #E91E7B;
}

/* On dark backgrounds */
.blog-hero .category-tag.aeo { background: rgba(128, 32, 208, 0.25); color: #c680ff; }
.blog-hero .category-tag.linkedin { background: rgba(42, 170, 160, 0.25); color: #5ee0d0; }
.blog-hero .category-tag.strategy { background: rgba(64, 128, 240, 0.25); color: #80b0ff; }
.blog-hero .category-tag.abm { background: rgba(232, 96, 32, 0.25); color: #ffb080; }
.blog-hero .category-tag.advocacy { background: rgba(233, 30, 123, 0.25); color: #ff80b4; }

/* ========== READING TIME & META ========== */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.article-meta .reading-time,
.article-meta .article-date {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}
.article-meta .meta-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

/* ========== BLOG CARD GRID (index page) ========== */
.blog-grid-section {
    padding: 80px 0 100px;
    background: #fff;
}
.blog-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 48px rgba(13, 13, 43, 0.1);
    transform: translateY(-4px);
}
.blog-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.blog-card .card-reading-time {
    font-size: 0.8rem;
    color: #999;
}
.blog-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0D0D2B;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.blog-card .card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}
.blog-card .read-more {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #8020D0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
}
.blog-card .read-more:hover {
    color: #F01060;
    gap: 12px;
}
.blog-card .read-more::after {
    content: '\2192';
    font-size: 1.1rem;
}

/* ========== ARTICLE LAYOUT ========== */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ========== ARTICLE TYPOGRAPHY ========== */
.blog-article p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.85;
    margin-bottom: 24px;
}
.blog-article h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0D0D2B;
    margin-top: 56px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.blog-article h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0D0D2B;
    margin-top: 40px;
    margin-bottom: 16px;
}
.blog-article h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0D0D2B;
    margin-top: 32px;
    margin-bottom: 12px;
}
.blog-article ul,
.blog-article ol {
    margin-bottom: 24px;
    padding-left: 24px;
}
.blog-article li {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 8px;
}
.blog-article strong {
    font-weight: 600;
    color: #0D0D2B;
}
.blog-article a {
    color: #8020D0;
    text-decoration: underline;
    text-decoration-color: rgba(128, 32, 208, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}
.blog-article a:hover {
    text-decoration-color: #8020D0;
    color: #F01060;
}
.blog-article hr {
    border: none;
    height: 1px;
    background: #eee;
    margin: 48px 0;
}

/* ========== COMPARISON TABLE ========== */
.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-size: 0.95rem;
}
.blog-article thead th {
    background: #0D0D2B;
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-article thead th:first-child { border-radius: 8px 0 0 0; }
.blog-article thead th:last-child { border-radius: 0 8px 0 0; }
.blog-article tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    color: #444;
    line-height: 1.6;
}
.blog-article tbody tr:nth-child(even) { background: #f9f9fc; }
.blog-article tbody tr:last-child td:first-child { border-radius: 0 0 0 8px; }
.blog-article tbody tr:last-child td:last-child { border-radius: 0 0 8px 0; }

/* ========== PULL QUOTES / CALLOUT BOXES ========== */
.blog-article blockquote,
.blog-article .callout {
    border-left: 4px solid #8020D0;
    background: #f5f0ff;
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
}
.blog-article blockquote p,
.blog-article .callout p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2a1a4a;
    margin-bottom: 0;
    font-style: italic;
}
.blog-article .callout-stat {
    border-left-color: #F01060;
    background: #fff5f8;
}
.blog-article .callout-stat p {
    color: #4a1a2a;
    font-style: normal;
}
.blog-article .callout-tip {
    border-left-color: #2AAAA0;
    background: #f0faf8;
}
.blog-article .callout-tip p {
    color: #1a3a34;
    font-style: normal;
}

/* ========== FAQ IN ARTICLES ========== */
.blog-article .faq-section h3 {
    font-size: 1.15rem;
    margin-top: 24px;
}

/* ========== RELATED POSTS ========== */
.related-posts {
    padding: 80px 0;
    background: #f8f9fa;
}
.related-posts h2 {
    font-size: 1.85rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.related-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.related-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(13, 13, 43, 0.08);
    transform: translateY(-3px);
}
.related-card .category-tag { margin-bottom: 12px; }
.related-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D0D2B;
    line-height: 1.3;
    margin-bottom: 8px;
}
.related-card .related-reading-time {
    font-size: 0.8rem;
    color: #999;
}
.related-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ========== ARTICLE CTA ========== */
.article-cta {
    background: linear-gradient(165deg, #0D0D2B 0%, #1A1A3E 100%);
    padding: 64px 0;
    text-align: center;
}
.article-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.article-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ========== ARTICLE HERO (individual posts) ========== */
.article-hero {
    position: relative;
    padding: 140px 0 50px;
    background: linear-gradient(165deg, #0D0D2B 0%, #1A1A3E 50%, #0D0D2B 100%);
    overflow: hidden;
}
.article-hero .hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}
.article-hero .orb1 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #8020D0, transparent 70%);
    top: -60px; right: -60px;
}
.article-hero .orb2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #4080F0, transparent 70%);
    bottom: -30px; left: -50px;
}
.article-hero .container {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.article-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -1px;
    line-height: 1.15;
}

/* ========== SHARE BUTTONS PLACEHOLDER ========== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    margin: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.share-buttons span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.share-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #666;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.share-btn:hover {
    border-color: #8020D0;
    color: #8020D0;
    background: #f5f0ff;
}

/* ========== RESPONSIVE (blog) ========== */
@media (max-width: 1024px) {
    .related-posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .blog-hero { padding: 110px 0 48px; }
    .blog-hero h1 { font-size: 2.25rem; }
    .blog-cards-grid { grid-template-columns: 1fr; }
    .article-hero { padding: 110px 0 40px; }
    .article-hero h1 { font-size: 1.85rem; }
    .blog-article { padding: 40px 20px 60px; }
    .blog-article h2 { font-size: 1.5rem; margin-top: 40px; }
    .blog-article h3 { font-size: 1.2rem; }
    .blog-article p { font-size: 1.02rem; }
    .related-posts-grid { grid-template-columns: 1fr; max-width: 480px; }
    .article-cta h2 { font-size: 1.65rem; }
    .blog-article table { font-size: 0.85rem; }
    .blog-article thead th,
    .blog-article tbody td { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .blog-hero h1 { font-size: 1.75rem; }
    .article-hero h1 { font-size: 1.5rem; }
    .blog-card { padding: 28px 24px; }
    .blog-card h3 { font-size: 1.15rem; }
}
