:root {
    --article-coral: #ff6a4d;
    --article-coral-deep: #ec4f31;
    --article-ink: #211d18;
}

/* on-brand CTA buttons (article page only loads bootstrap + this file) */
.article-header .btn-primary,
.article-cta .btn-primary {
    background: var(--article-coral);
    border-color: var(--article-coral);
    color: var(--article-ink);
    font-weight: 700;
}

.article-header .btn-primary:hover,
.article-cta .btn-primary:hover {
    background: var(--article-coral-deep);
    border-color: var(--article-coral-deep);
    color: var(--article-ink);
}

/* --- sticky, unobtrusive header --- */
.article-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(6px);
    border-bottom: 1px solid #ececec;
}

.article-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.article-logo {
    font-weight: 800;
    font-size: 18px;
    color: var(--article-ink);
    text-decoration: none;
    letter-spacing: .2px;
}

.article {
    background: #fff;
    color: #17202a;
    font-family: Arial, sans-serif;
    line-height: 1.65;
    padding: 24px 0 48px;
}

.article-container {
    width: min(820px, calc(100% - 32px));
    margin: 0 auto;
}

.article-title {
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.2;
    margin: 0 0 24px;
}

.article-block {
    margin-top: 28px;
}

.article-block-heading {
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.25;
    margin: 0 0 12px;
    padding-top: 20px;
    border-top: 1px solid #e6e9ee;
}

.article-block--quick_answer {
    background: #f2f8f7;
    border: 1px solid #cfe6e2;
    border-radius: 10px;
    padding: 16px 18px;
}

.article-block--quick_answer .article-block-heading {
    border-top: 0;
    padding-top: 0;
}

.article-block-body p {
    margin: 10px 0 0;
}

.article-list,
.article-checklist {
    margin: 12px 0 0;
    padding-left: 20px;
}

.article-list li,
.article-checklist li {
    margin-top: 6px;
}

.article-checklist {
    list-style: none;
    padding-left: 0;
}

.article-checklist li {
    position: relative;
    padding-left: 26px;
}

.article-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #256f6c;
    font-weight: 700;
}

.article-note {
    color: #64748b;
    font-size: 13.5px;
    margin-top: 12px;
}

.article-table-wrap {
    margin-top: 14px;
    overflow-x: auto;
}

.article-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 480px;
}

.article-table th,
.article-table td {
    border: 1px solid #d6dee8;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.article-table th {
    background: #eef4f8;
}

.article-proscons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.article-pros,
.article-cons {
    border: 1px solid #d6dee8;
    border-radius: 10px;
    padding: 12px 14px;
}

.article-pros h3,
.article-cons h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.article-pros { background: #f3faf5; }
.article-cons { background: #fdf4f4; }

.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.article-card {
    border: 1px solid #d6dee8;
    border-radius: 10px;
    padding: 14px;
}

.article-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.article-card-role {
    color: #64748b;
    font-size: 13.5px;
    margin: 0 0 8px;
}

.article-card ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.article-card-watch {
    color: #8a5a12;
    font-size: 13.5px;
    margin-top: 10px;
}

.article-card-rec {
    margin-top: 10px;
}

.article-figure {
    margin: 16px 0 0;
}

.article-figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    background: #f3f4f6;
}

.article-figure figcaption {
    color: #64748b;
    font-size: 13px;
    margin-top: 6px;
}

.article-faq-item + .article-faq-item {
    margin-top: 14px;
}

.article-faq-q {
    font-size: 16px;
    margin: 0 0 4px;
}

/* --- end-of-article CTA to the try/landing flow --- */
.article-cta {
    background: #f4efe6;
    border-top: 1px solid #e6ddcd;
    padding: 40px 0 44px;
}

.article-cta-inner {
    text-align: center;
}

.article-cta h2 {
    font-size: clamp(20px, 3vw, 26px);
    margin: 0 0 8px;
    color: var(--article-ink);
}

.article-cta p {
    color: #5c554b;
    max-width: 46ch;
    margin: 0 auto 18px;
}

/* dropzone + button share one column so widths match */
.article-cta-actions {
    width: min(420px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-cta-actions .btn {
    width: 100%;
}

.article-dropzone {
    width: 100%;
    padding: 26px 18px;
    background: #fff;
    border: 2px dashed #d8ccb4;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.article-dropzone:hover {
    border-color: var(--article-coral);
    background: #fffdfb;
}

.article-dropzone:focus-visible {
    outline: none;
    border-color: var(--article-coral);
    box-shadow: 0 0 0 4px rgba(255, 106, 77, .18);
}

.article-dropzone.is-drag {
    border-color: var(--article-coral);
    border-style: solid;
    background: #fff5f2;
    box-shadow: 0 0 0 4px rgba(255, 106, 77, .14);
}

.article-dz-ico {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    color: var(--article-coral);
}

.article-dz-ico svg {
    width: 40px;
    height: 40px;
}

.article-dz-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--article-ink);
}

.article-dz-hint {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #8a8175;
}

.article-dz-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.article-dz-preview img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    background: #f3f4f6;
}

.article-dz-name {
    font-size: 14px;
    color: var(--article-ink);
    word-break: break-all;
    text-align: left;
}

.article-cta-sub {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #8a8175;
}

/* full-height column so the footer sits at the bottom on short pages */
body.article-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.article-footer {
    margin-top: auto;
    border-top: 1px solid #ececec;
    padding: 20px 0 36px;
}

.article-footer .article-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.article-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.article-footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}

.article-footer-links a:hover {
    color: var(--article-ink);
}

@media (max-width: 640px) {
    .article-proscons {
        grid-template-columns: 1fr;
    }
}

/* --- article list / index page --- */
.article-list {
    background: #fff;
    color: #17202a;
    font-family: Arial, sans-serif;
    padding: 28px 0 56px;
}

.article-list-title {
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.2;
    margin: 0 0 24px;
}

.article-list-empty {
    color: #64748b;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.acard {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.acard:hover {
    border-color: #d8ccb4;
    box-shadow: 0 8px 24px rgba(33, 29, 24, .08);
    transform: translateY(-2px);
}

.acard-media {
    aspect-ratio: 16 / 10;
    background: #f4efe6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.acard-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acard-media-empty {
    font-weight: 800;
    font-size: 18px;
    color: #cdbfa6;
    letter-spacing: .2px;
}

.acard-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 16px;
    flex: 1;
}

.acard-title {
    font-size: 17px;
    line-height: 1.3;
    margin: 0;
}

.acard-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.acard-meta time {
    color: #8a8175;
    font-size: 13px;
}

.acard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.acard-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--article-coral-deep);
    background: #fdeee9;
    border-radius: 999px;
    padding: 3px 10px;
    line-height: 1.4;
}

.article-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.article-pager-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--article-ink);
    text-decoration: none;
    border: 1px solid #e6e9ee;
    border-radius: 999px;
    padding: 8px 16px;
    transition: border-color .2s ease, background .2s ease;
}

.article-pager-btn:hover {
    border-color: var(--article-coral);
    background: #fff5f2;
}

.article-pager-btn.is-disabled {
    color: #c3bcb0;
    pointer-events: none;
    background: #f6f4f0;
}

.article-pager-status {
    font-size: 13px;
    color: #8a8175;
}
