/* BizHawkPro modern article theme */
:root {
    --brand: #2563eb;
    --brand-dark: #1747b8;
    --ink: #14213d;
    --muted: #667085;
    --line: #e7ebf2;
    --surface: #ffffff;
    --page: #f7f9fc;
    --soft-blue: #eef4ff;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(20, 33, 61, .07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

.site-header {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(231, 235, 242, .9);
}

.header-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 76px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    flex-shrink: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 850;
    font-size: 20px;
    background: linear-gradient(135deg, #3478ff, #1747b8);
    box-shadow: 0 7px 18px rgba(37, 99, 235, .23);
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.brand-name span {
    color: var(--brand);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: #526078;
    font-size: 14px;
    font-weight: 650;
    transition: color .2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brand);
}

.header-cta {
    padding: 11px 17px;
    border-radius: 10px;
    color: #fff;
    background: var(--brand);
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 7px 18px rgba(37, 99, 235, .18);
    transition: transform .2s, background .2s;
}

.header-cta:hover {
    color: #fff;
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.header-cta span {
    margin-left: 7px;
}

.article-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 24px 58px;
    background: radial-gradient(ellipse at 85% 0%, rgba(91, 145, 255, .16), transparent 38%),
        linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
    border-bottom: 1px solid var(--line);
}

.article-hero::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -160px;
    bottom: -210px;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(37, 99, 235, .025), 0 0 0 76px rgba(37, 99, 235, .02);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    margin: auto;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    color: #98a2b3;
    font-size: 12px;
}

.breadcrumbs a {
    color: #667085;
}

.breadcrumbs a:hover {
    color: var(--brand);
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid #dce7ff;
    border-radius: 99px;
    background: #f1f6ff;
    color: #2859b5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.05px;
}

.category-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3478ff;
}

.article-hero h1 {
    max-width: 850px;
    margin: 20px 0 16px;
    color: #12213e;
    font-size: clamp(36px, 5.1vw, 58px);
    line-height: 1.12;
    letter-spacing: -2.1px;
    font-weight: 820;
}

.article-hero h1 span {
    color: #5274ad;
}

.hero-description {
    max-width: 730px;
    margin: 0;
    color: #66738a;
    font-size: 17px;
    line-height: 1.75;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    background: linear-gradient(135deg, #3478ff, #1747b8);
}

.author-details {
    display: grid;
    gap: 1px;
}

.author-details strong {
    color: #26344d;
    font-size: 13px;
}

.author-details span,
.read-time {
    color: #8993a5;
    font-size: 12px;
}

.meta-divider {
    height: 28px;
    width: 1px;
    margin: 0 5px;
    background: #dfe4ec;
}

.article-layout {
    width: min(1180px, calc(100% - 48px));
    margin: 48px auto 90px;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: 24px;
}

.toc-card {
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 33, 61, .035);
}

.toc-eyebrow {
    margin: 0 0 5px !important;
    color: #8b96a8 !important;
    font-size: 9px !important;
    font-weight: 850;
    letter-spacing: 1.3px;
}

.toc-card h2 {
    margin: 0 0 15px;
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: -.3px;
}

.toc-links {
    display: grid;
    gap: 3px;
}

.toc-links a {
    display: block;
    padding: 7px 9px;
    border-left: 2px solid transparent;
    border-radius: 0 7px 7px 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
    transition: .2s;
}

.toc-links a:hover {
    color: var(--brand);
    border-left-color: var(--brand);
    background: #f4f7ff;
}

.sidebar-promo {
    margin-top: 22px;
    padding: 17px;
    border-radius: 13px;
    background: #f0f5ff;
}

.promo-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
    border-radius: 9px;
    color: var(--brand);
    background: #fff;
}

.sidebar-promo strong {
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.sidebar-promo p {
    margin: 7px 0 12px;
    color: #687791;
    font-size: 11px;
    line-height: 1.6;
}

.sidebar-promo a {
    font-size: 11px;
    font-weight: 800;
}

.article-content {
    min-width: 0;
}

.article-content-inner {
    padding: 42px clamp(24px, 5vw, 64px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.article-content-inner>h2 {
    margin: 48px 0 16px;
    padding-top: 8px;
    color: #152442;
    font-size: clamp(23px, 2.5vw, 29px);
    line-height: 1.3;
    letter-spacing: -.8px;
    scroll-margin-top: 24px;
}

.article-content-inner>h2:first-of-type {
    margin-top: 34px;
}

.article-content-inner h3 {
    margin: 30px 0 12px;
    color: #1e3154;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -.35px;
    scroll-margin-top: 24px;
}

.article-content-inner p {
    margin: 0 0 19px;
    color: #56647a;
    font-size: 15px;
    line-height: 1.9;
}

.article-content-inner strong {
    color: #263b60;
    font-weight: 750;
}

.article-content-inner ul {
    margin: 14px 0 26px;
    padding-left: 22px;
}

.article-content-inner li {
    margin: 0 0 12px;
    padding-left: 5px;
    color: #56647a;
    font-size: 14px;
    line-height: 1.85;
}

.article-content-inner li::marker {
    color: #4b83ee;
}

.article-hero-image {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: 15px;
    background: #eef3fb;
}

.article-hero-image img {
    display: block;
    width: 100%;
    max-height: 470px;
    object-fit: cover;
}

.image-caption {
    margin: 0 !important;
    padding: 10px 14px 12px;
    color: #8792a4 !important;
    text-align: center;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

.feature-spotlight {
    margin: 34px 0;
    overflow: hidden;
    border-radius: 15px;
    background: #f5f8fd;
}

.feature-spotlight img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.cta-banner {
    margin: 42px 0 !important;
    padding: clamp(24px, 4vw, 38px) !important;
    border: 1px solid #d9e6ff !important;
    border-left: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(120deg, #eff5ff, #f8faff) !important;
}

.article-content-inner .cta-banner h3 {
    margin: 0 0 10px;
    color: #173b79;
    font-size: 23px;
}

.article-content-inner .cta-banner p {
    margin-bottom: 8px;
    color: #5c6e8c;
}

.btn-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px !important;
    padding: 12px 19px !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--brand) !important;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .2);
    transition: .2s;
}

.btn-cta:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px);
}

.article-content-inner>a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    border: 1px solid #dce5f4;
    border-radius: 9px;
    color: #355b9b;
    font-size: 13px;
    font-weight: 750;
}

.article-content-inner>a:last-child:hover {
    border-color: #a9c5ff;
    background: #f5f8ff;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 150px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.footer-brand .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
}

.footer-brand .brand-name {
    font-size: 17px;
}

.footer-inner>p {
    margin: 0;
    color: #8792a4;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #65728a;
    font-size: 12px;
    font-weight: 650;
}

.copyright {
    width: 100%;
    padding: 0 0 18px;
    color: #a0a8b6;
    font-size: 10px;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 28px;
    }

    .article-sidebar {
        position: static;
    }

    .toc-card {
        padding: 17px;
    }

    .toc-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-promo {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-inner {
        width: min(100% - 32px, 1180px);
        min-height: 66px;
        gap: 12px;
    }

    .main-nav {
        display: none;
    }

    .brand-name {
        font-size: 18px;
    }

    .header-cta {
        padding: 9px 11px;
        font-size: 11px;
    }

    .article-hero {
        padding: 28px 18px 38px;
    }

    .breadcrumbs {
        margin-bottom: 25px;
        font-size: 11px;
    }

    .article-hero h1 {
        font-size: clamp(34px, 10vw, 43px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .article-meta {
        gap: 9px;
    }

    .article-layout {
        width: calc(100% - 28px);
        margin: 18px auto 48px;
    }

    .toc-links {
        grid-template-columns: 1fr;
    }

    .article-content-inner {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .article-content-inner>h2 {
        margin-top: 38px;
    }

    .article-content-inner p {
        font-size: 14px;
    }

    .article-content-inner li {
        font-size: 13px;
    }

    .footer-inner {
        width: calc(100% - 32px);
        padding-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

.image-caption {
    margin: 0;
    padding: 10px 14px 12px;
    color: #8792a4;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================
   BIZHAWKPRO READERS COMMENTS
========================================= */

.comments-section {
    margin-top: 65px;
    padding-top: 45px;
    border-top: 1px solid var(--line);
}

.comments-header {
    max-width: 760px;
    margin-bottom: 30px;
}

.comments-eyebrow {
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.comments-header h2 {
    margin: 12px 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.35;
    letter-spacing: -.6px;
}

.comments-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Comment form */

.comment-form-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(20, 33, 61, .035);
}

.comment-form-card h3 {
    margin: 0 0 22px;
    color: var(--ink);
    font-size: 20px;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    min-width: 0;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d7dfeb;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.7;
}

.comment-form-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.comment-form-card button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.comment-form-card button:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.comment-privacy {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.comment-honeypot {
    position: absolute;
    left: -10000px;
}

#commentFormMessage {
    margin: 12px 0 0;
    font-size: 13px;
}

/* Published comments */

.published-comments {
    margin-top: 32px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 33, 61, .035);
}

.comments-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.comments-list-header h3 {
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.4;
}

#commentCount {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 30px;
    background: var(--soft-blue);
    color: var(--brand);
    font-size: 12px;
    font-weight: 750;
}

/* Individual comment */

.comment-item {
    padding: 19px;
    margin-bottom: 14px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fff;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-item-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 17px;
    font-weight: 800;
}

.comment-author-info {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comment-author {
    min-width: 0;
    color: #172b4d;
    font-size: 15px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.comment-date {
    flex-shrink: 0;
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
}

.comment-message,
.comment-text {
    margin: 0;
    padding: 13px 15px;
    border-radius: 9px;
    background: #f7f9fc;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Loading and empty states */

.comments-loading,
.no-comments,
.comments-empty {
    padding: 22px 10px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
}

/* Back to Blog navigation */

.comments-back-link {
    margin-top: 28px;
    display: flex;
    justify-content: flex-start;
}

.comments-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid #dce5f4;
    border-radius: 9px;
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.comments-back-link a:hover {
    border-color: #b7cdfb;
    background: var(--soft-blue);
    color: var(--brand-dark);
    transform: translateX(-2px);
}

/* Responsive comments */

@media (max-width: 600px) {
    .comments-section {
        margin-top: 42px;
        padding-top: 30px;
    }

    .comments-header h2 {
        font-size: 23px;
    }

    .comment-form-card,
    .published-comments {
        padding: 18px;
    }

    .comment-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .comments-list-header {
        align-items: flex-start;
    }

    .comments-list-header h3 {
        font-size: 18px;
    }

    .comment-item {
        padding: 14px;
    }

    .comment-item-header {
        gap: 10px;
    }

    .comment-author-info {
        gap: 8px;
    }

    .comment-date {
        font-size: 10px;
    }

    .comment-message,
    .comment-text {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .comment-author-info {
        flex-wrap: wrap;
    }

    .comment-date {
        white-space: normal;
    }
}