/* CellTake blog — /blog and /blog/{slug} */

.blog-page {
    padding: 40px 0 64px;
    color: #1f2937;
}

/* ---------- Index ---------- */

.blog-index-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.blog-index-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
}

.blog-index-header p {
    font-size: 17px;
    color: #4b5563;
    margin: 0;
}

.blog-empty {
    text-align: center;
    color: #6b7280;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
    border-color: #34A853;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
    text-decoration: none;
    color: inherit;
}

.blog-card h2,
.blog-card h3 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 10px;
}

.blog-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 16px;
    flex: 1;
}

.blog-card-meta {
    font-size: 13px;
    color: #6b7280;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* ---------- Article ---------- */

.blog-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 48px;
    background: #fff;
    border-radius: 16px;
}

.blog-preview-banner {
    margin-bottom: 20px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 14px;
    font-weight: 600;
}

.blog-breadcrumb {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.blog-breadcrumb a {
    color: #6b7280;
}

.blog-breadcrumb span {
    margin: 0 6px;
}

.blog-article-header h1 {
    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px;
}

.blog-meta {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}

.blog-content {
    font-size: 17px;
    line-height: 1.75;
    color: #1f2937;
    overflow-wrap: break-word;
}

.blog-content > h2 {
    font-size: 27px;
    line-height: 1.3;
    font-weight: 800;
    color: #111827;
    margin: 44px 0 14px;
}

.blog-content > h3 {
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
    color: #111827;
    margin: 30px 0 10px;
}

.blog-content > h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 8px;
}

.blog-content > p {
    margin: 0 0 16px;
}

.blog-content > ul,
.blog-content > ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 6px;
}

.blog-content > p > a,
.blog-content li > a {
    color: #1a7f37;
    text-decoration: underline;
}

.blog-content .table-responsive {
    margin: 20px 0 24px;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.blog-content th,
.blog-content td {
    padding: 11px 14px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.blog-content th {
    background: #f3f4f6;
    font-weight: 700;
    color: #111827;
}

.blog-content tbody tr:nth-child(even) td {
    background: #fafafa;
}

.blog-related {
    max-width: 780px;
    margin: 40px auto 0;
}

.blog-related > h2 {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px;
}

@media (max-width: 767px) {
    .blog-page {
        padding: 20px 0 40px;
    }

    .blog-article {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .blog-article-header h1,
    .blog-index-header h1 {
        font-size: 28px;
    }

    .blog-content {
        font-size: 16px;
    }

    .blog-content > h2 {
        font-size: 23px;
        margin-top: 34px;
    }

    .blog-content > h3 {
        font-size: 19px;
    }
}

/* ---------- Content blocks provided by the SEO team ----------
   Styles from the HTML snippets, so articles only need the markup. */

/* Promotion box: <section class="celltake-box"> */
.celltake-box {
    width: 100%;
    margin: 35px 0;
    padding: 2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827, #2563eb);
    box-sizing: border-box;
}

.celltake-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.celltake-content::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.06);
    right: -45px;
    top: -45px;
}

.celltake-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.celltake-content h2 {
    margin: 0 0 15px;
    color: #111827;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
}

.celltake-content p {
    margin: 0 0 15px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}

.celltake-content a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.celltake-content a:hover {
    text-decoration: underline;
}

.celltake-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 22px 0;
    padding: 16px 18px;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    background: #f8fafc;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.celltake-note strong {
    color: #111827;
    white-space: nowrap;
}

.celltake-footer {
    font-size: 15px !important;
}

.celltake-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    padding: 12px 20px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.celltake-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.celltake-button span {
    font-size: 19px;
    line-height: 1;
}

@media (max-width: 600px) {
    .celltake-content {
        padding: 22px;
    }

    .celltake-content h2 {
        font-size: 22px;
    }

    .celltake-content p {
        font-size: 15px;
    }

    .celltake-note {
        display: block;
    }

    .celltake-note strong {
        display: block;
        margin-bottom: 4px;
    }

    .celltake-button {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Important note box: <div class="pta-note-box"> */
.pta-note-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 25px 0;
    padding: 18px 20px;
    background: #fff8e6;
    border: 1px solid #f4d58d;
    border-left: 5px solid #f59e0b;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.pta-note-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.pta-note-content strong {
    display: block;
    margin-bottom: 5px;
    color: #92400e;
    font-size: 17px;
    font-weight: 800;
}

.pta-note-content p {
    margin: 0;
    color: #5b4630;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .pta-note-box {
        padding: 15px;
        gap: 12px;
    }

    .pta-note-icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 16px;
    }

    .pta-note-content strong {
        font-size: 16px;
    }

    .pta-note-content p {
        font-size: 14px;
    }
}
