.is-hidden { display: none !important; }

.page-note .read-progress {
    position: fixed;
    top: 76px;
    left: 0;
    height: 2px;
    background: var(--gradient-main);
    z-index: 9998;
    width: 0;
    transition: width 0.1s ease;
}

.reading-progress-indicator {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #E2E8F0;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}
.reading-progress-indicator.show { display: flex; }
.reading-progress-indicator i { color: #67E8F9; }
.reading-progress-indicator .rpi-percent { color: #67E8F9; font-family: var(--font-code); }

/* ========== TWO-COLUMN SAAS LAYOUT ========== */
.page-note #main {
    position: relative;
    padding-bottom: 80px;
}
.page-note #main::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: -180px;
    left: -140px;
    background: rgba(37, 99, 235, 0.18);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}
.page-note #main::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: 80px;
    background: rgba(6, 182, 212, 0.12);
    filter: blur(42px);
    pointer-events: none;
    z-index: 0;
}

.note-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.86fr) minmax(300px, 1fr);
    grid-template-areas:
        "crumbs sidebar"
        "intro sidebar"
        "article sidebar"
        "lead sidebar"
        "body sidebar";
    column-gap: 36px;
    row-gap: 0;
    padding-top: 36px;
    align-items: start;
}
.breadcrumb-bar { grid-area: crumbs; }
.note-intro { grid-area: intro; }
.note-article { grid-area: article; }
.note-lead { grid-area: lead; }
.note-sidebar { grid-area: sidebar; position: sticky; top: 100px; }
.note-body { grid-area: body; min-width: 0; }

/* Breadcrumbs as pill cluster */
.breadcrumb-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 6px 8px 6px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    width: fit-content;
    max-width: 100%;
}
.breadcrumb-bar a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    color: #E2E8F0;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.breadcrumb-bar a:hover {
    color: #fff;
    background: rgba(6, 182, 212, 0.14);
}
.crumb-sep {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
    flex-shrink: 0;
}

.note-intro {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.note-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.note-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #67E8F9;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.28);
}
.note-badge.ghost {
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    letter-spacing: 0.04em;
}

.article-title {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin: 0;
    color: #fff;
}

.note-article {
    padding: 8px 0 32px;
    max-width: 46rem;
}
.note-article p,
.note-article li {
    font-size: 16.5px;
    line-height: 1.75;
    color: #CBD5E1;
}
.note-article p { margin: 0 0 16px; }
.note-article h2 {
    margin: 28px 0 12px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}
.note-article h3 {
    margin: 22px 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #E2E8F0;
}
.note-article ul,
.note-article ol {
    margin: 0 0 18px;
    padding-left: 1.25rem;
}
.note-article li { margin: 0 0 10px; }
.note-article li::marker { color: #22D3EE; }
.note-article a {
    color: #67E8F9;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.note-article a:hover { color: #fff; }
.note-article strong { color: #F8FAFC; font-weight: 700; }
.note-article code,
.note-article pre {
    font-family: var(--font-code), ui-monospace, monospace;
    font-size: 0.92em;
}
.note-article pre {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #E2E8F0;
}
.note-article .note-author {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: #94A3B8;
}

.note-lead { padding-bottom: 28px; }
.article-lead {
    font-size: 17.5px;
    line-height: 1.7;
    color: #94A3B8;
    margin: 0 0 20px;
}
.note-intro-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    font-family: var(--font-family);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #E2E8F0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.btn:hover {
    color: #fff;
    border-color: rgba(6, 182, 212, 0.45);
    transform: translateY(-2px);
}
.btn.liked { background: rgba(255, 77, 109, 0.1); border-color: rgba(255, 77, 109, 0.28); color: #fb7185; }

/* Sticky glass download card */
.download-card {
    position: relative;
    overflow: hidden;
    padding: 24px 22px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
}
.download-card::before {
    content: "";
    position: absolute;
    inset: auto -20% 40% -20%;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 68%);
    pointer-events: none;
}
.download-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 148px;
    margin-bottom: 18px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.06)),
        rgba(11, 15, 25, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.download-preview-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 5 / 2;
    object-fit: cover;
}
.download-preview-mark {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #67E8F9;
}
.download-preview i {
    font-size: 54px;
    color: #67E8F9;
    filter: drop-shadow(0 10px 22px rgba(6, 182, 212, 0.45));
}
.download-card-title {
    position: relative;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}
.download-stats {
    position: relative;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.download-stats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.download-stats li:last-child { border-bottom: 0; }
.download-stats span {
    font-size: 12.5px;
    color: #94A3B8;
    font-weight: 600;
}
.download-stats strong {
    font-size: 13.5px;
    color: #fff;
    font-weight: 800;
    text-align: right;
}

.download-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--gradient-main);
    background-size: 180% 180%;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.38);
    transition: all 0.3s ease;
}
.download-cta:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px rgba(6, 182, 212, 0.16),
        0 14px 36px rgba(37, 99, 235, 0.45),
        0 0 40px rgba(6, 182, 212, 0.35);
}
.download-cta.ab-blue {
    background: var(--gradient-cta);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.38);
}
.download-cta.ab-green {
    background: linear-gradient(135deg, #15803D 0%, #0F766E 100%);
    box-shadow: 0 8px 24px rgba(21, 128, 61, 0.38);
}
.download-cta.ab-green:hover {
    box-shadow:
        0 0 0 4px rgba(134, 239, 172, 0.16),
        0 14px 36px rgba(21, 128, 61, 0.4);
}

.download-cta + .download-cta,
.download-cta + .download-secondary { margin-top: 10px; }
.download-secondary {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
}
.download-secondary:hover {
    color: #fff;
    border-color: rgba(6, 182, 212, 0.45);
    transform: translateY(-1px);
}
.download-secondary.bookmarked {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: #67E8F9;
}

.sidebar-share {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-share > span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 10px;
}
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.wa:hover { background: #25D366; border-color: #25D366; }
.share-btn.tw:hover { background: #1da1f2; border-color: #1da1f2; }
.share-btn.li:hover { background: #0a66c2; border-color: #0a66c2; }
.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.rd:hover { background: #ff4500; border-color: #ff4500; }
.share-btn.pin:hover { background: #e60023; border-color: #e60023; }
.share-btn.cp:hover { background: #06B6D4; border-color: #06B6D4; color: #0B0F19; }

.comments-section { margin: 48px 0 8px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.comments-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 8px; }
.comments-header h2 { font-size: 22px; font-weight: 800; }
.comments-count { font-size: 12.5px; color: #94A3B8; }
.comment-form-wrap,
.comment-item,
.comment-login-prompt {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.comment-form-wrap { display: flex; gap: 12px; margin-bottom: 28px; padding: 18px; }
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.comment-form { flex: 1; }
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 70px;
    outline: none;
    transition: all 0.3s ease;
}
.comment-form textarea:focus { border-color: #06B6D4; box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18); }
.comment-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 12px; flex-wrap: wrap; }
.comment-hint { font-size: 11px; color: #94A3B8; font-family: var(--font-code); }
.comment-submit-btn,
.comment-login-btn {
    padding: 10px 20px;
    background: var(--gradient-main);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}
.comment-submit-btn:hover:not(:disabled),
.comment-login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6, 182, 212, 0.5); }
.comment-login-prompt { text-align: center; padding: 36px 20px; margin-bottom: 28px; }
.comment-login-prompt i { font-size: 38px; color: #67E8F9; margin-bottom: 12px; display: block; }
.comment-login-prompt p { color: #94A3B8; font-size: 14px; margin-bottom: 16px; line-height: 1.7; }
.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { display: flex; gap: 12px; padding: 16px 18px; }
.comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.comment-author { font-size: 13.5px; font-weight: 800; color: #fff; }
.comment-you { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #67E8F9; background: rgba(6, 182, 212, 0.12); padding: 2px 8px; border-radius: 20px; }
.comment-date { font-size: 11.5px; color: #94A3B8; margin-left: auto; }
.comment-text { font-size: 14px; line-height: 1.7; color: #94A3B8; }
.comment-empty { text-align: center; padding: 40px 20px; color: #94A3B8; }

.related-section { padding: 40px 0 8px; }
.related-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; color: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 14px 32px rgba(6, 182, 212, 0.16);
}
.related-card-top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.related-chip {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #67E8F9;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: 999px;
    padding: 3px 8px;
}
.related-chip.ghost {
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}
.related-card h3 { font-size: 14.5px; font-weight: 800; margin: 0 0 12px; color: #fff; line-height: 1.35; }
.related-card .meta { font-size: 11.5px; color: #94A3B8; display: flex; flex-wrap: wrap; gap: 10px; }
.related-card .meta i { color: #67E8F9; }

.guest-modal,
.subscribe-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(16px);
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.guest-modal.active,
.subscribe-modal.active { display: flex; }
.guest-modal-box,
.subscribe-box {
    background: rgba(11, 15, 25, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 36px 32px 28px;
    max-width: 460px;
    width: 100%;
    position: relative;
    text-align: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.guest-modal-close,
.subscribe-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
    cursor: pointer;
}
.guest-modal-box h3,
.subscribe-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.guest-modal-box > p,
.subscribe-box > p { font-size: 14px; line-height: 1.7; color: #94A3B8; margin-bottom: 22px; }
.guest-modal-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.gmb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 12.5px;
    color: #E2E8F0;
    text-align: left;
}
.guest-modal-btn,
.sub-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.guest-modal-btn.primary,
.sub-submit {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}
.guest-modal-btn.secondary { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: #E2E8F0; }
.sub-field { text-align: left; margin-bottom: 14px; }
.sub-field label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #94A3B8; margin-bottom: 6px; }
.sub-field input,
.sub-field select,
.sub-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}
.sub-field input:focus,
.sub-field select:focus { border-color: #06B6D4; box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.16); }
.sub-whatsapp-box { background: rgba(37, 211, 102, 0.08); border: 1px solid rgba(37, 211, 102, 0.2); border-radius: 12px; padding: 14px; margin: 16px 0; }
.sub-whatsapp-btn { background: linear-gradient(135deg, #25D366, #128C7E); }

.pdf-viewer-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(11, 15, 25, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}
.pdf-toolbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.pdf-toolbar-left > i { color: #67E8F9; font-size: 22px; flex-shrink: 0; }
.pdf-title { min-width: 0; flex: 1; overflow: hidden; }
.pdf-title-main { display: block; font-size: 13.5px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pdf-title-meta { display: block; font-size: 11.5px; color: #94A3B8; font-family: var(--font-code); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-toolbar-right { display: flex; gap: 6px; flex-wrap: wrap; }
.pdf-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #E2E8F0;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pdf-tool-btn:hover { border-color: rgba(6, 182, 212, 0.45); color: #fff; transform: translateY(-1px); }
.pdf-frame-wrap { position: relative; width: 100%; background: #070A12; height: 720px; overflow: hidden; }
.pdf-frame { width: 100%; height: 100%; border: none; display: block; background: #070A12; }
.pdf-mobile-note { display: none; padding: 12px 18px; background: rgba(6, 182, 212, 0.06); font-size: 12.5px; color: #94A3B8; line-height: 1.6; }

@media (max-width: 1024px) {
    .note-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "crumbs"
            "intro"
            "article"
            "sidebar"
            "lead"
            "body";
        column-gap: 0;
        row-gap: 0;
        padding-top: 24px;
    }
    .note-sidebar {
        position: static;
        margin: 4px 0 28px;
    }
    .download-card { display: flex; flex-direction: column; }
    .download-preview { order: 0; height: 96px; margin-bottom: 14px; }
    .download-preview i { font-size: 36px; }
    .download-card-title { order: 1; }
    .download-cta { order: 2; }
    .download-secondary { order: 3; }
    .download-stats { order: 4; margin: 16px 0 0; }
    .sidebar-share { order: 5; }
    .note-intro { margin-bottom: 18px; padding-bottom: 18px; }
    .note-lead { padding-bottom: 24px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .article-title { font-size: 28px; line-height: 1.25; overflow-wrap: anywhere; }
    .article-lead { font-size: 16px; line-height: 1.6; }
    .related-grid { grid-template-columns: 1fr; }
    .note-intro-actions .btn { flex: 1 1 auto; justify-content: center; }
    .guest-modal-benefits { grid-template-columns: 1fr; }
    .pdf-frame-wrap { height: 480px; }
    .pdf-tool-label { display: none; }
    .pdf-mobile-note { display: block; }
    .reading-progress-indicator { bottom: 88px; left: 16px; }
    .breadcrumb-bar { border-radius: 16px; }
}

@media (max-width: 640px) {
    .pdf-frame-wrap { height: 400px; }
    .subscribe-box,
    .guest-modal-box { padding: 26px 20px 20px; }
    .download-cta,
    .download-secondary {
        width: calc(100% - 64px);
        margin-left: 0;
        margin-right: 64px;
        font-size: 15px;
        min-height: 52px;
    }
}
