@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #201b2c;
  --muted: #665f73;
  --brand: #7258e8;
  --brand-dark: #563dcc;
  --brand-soft: #eeeafd;
  --line: #e4dfec;
  --surface: #ffffff;
  --canvas: #f8f7fb;
  --shadow: 0 20px 55px rgba(56, 43, 90, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: 'Mulish', system-ui, sans-serif; line-height: 1.7; }
a { color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.content-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(228, 223, 236, .85); background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); }
.reading-progress { position: fixed; z-index: 25; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--brand); transition: width .1s linear; }
.content-header-inner { width: min(1180px, calc(100% - 40px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 34px; }
.content-brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.08rem/1 'Poppins', sans-serif; }
.content-brand img { width: 44px; height: 44px; object-fit: contain; }
.content-header nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.content-header nav a { padding: 9px 12px; border-radius: 9px; color: #4d4659; text-decoration: none; font-weight: 700; font-size: .9rem; }
.content-header nav a:hover, .content-header nav a[aria-current='page'] { color: var(--brand-dark); background: var(--brand-soft); }
.header-action { padding: 10px 17px; border-radius: 10px; color: white; background: var(--brand); text-decoration: none; font-weight: 800; font-size: .88rem; box-shadow: 0 8px 20px rgba(114, 88, 232, .24); }
.header-action:hover { background: var(--brand-dark); }

.editorial-main { width: min(1520px, calc(100% - 40px)); margin: auto; }
.editorial-index { width: min(1180px, calc(100% - 40px)); margin: auto; }
.editorial-main { padding: 34px 0 80px; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; }
.editorial-main:has(.article-layout-with-offer) > .breadcrumbs { padding-left: calc(220px + clamp(20px, 2.4vw, 38px)); }
.breadcrumbs a { color: var(--brand-dark); text-decoration: none; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 240px); gap: clamp(20px, 2.4vw, 38px); align-items: start; }
.article-layout-with-offer { grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(210px, 240px); }
.article-content-column { display: grid; min-width: 0; gap: 0; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.article-hero { padding: clamp(30px, 4vw, 56px) clamp(24px, 4.5vw, 64px) 40px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 92% 5%, rgba(114, 88, 232, .16), transparent 35%), linear-gradient(145deg, #fff 40%, #faf8ff); }
.eyebrow { display: inline-flex; padding: 6px 11px; border-radius: 999px; color: var(--brand-dark); background: var(--brand-soft); font-weight: 800; font-size: .76rem; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; }
.article-hero h1, .index-hero h1 { margin: 18px 0 16px; font: 700 clamp(2rem, 5vw, 3.35rem)/1.12 'Poppins', sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.article-description { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1.03rem, 2vw, 1.2rem); line-height: 1.65; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 25px; color: #716a7c; font-size: .84rem; }
.article-meta span + span { position: relative; }
.article-meta span + span::before { position: absolute; left: -13px; content: '•'; color: #b3acbd; }
.article-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; border: 1px solid var(--brand); border-radius: 10px; text-decoration: none; font-weight: 800; line-height: 1.2; transition: transform .18s ease, color .18s ease, background .18s ease; }
.hero-action:hover { transform: translateY(-1px); }
.hero-action-primary { color: white; background: var(--brand); box-shadow: 0 8px 20px rgba(114, 88, 232, .22); }
.hero-action-primary:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
.hero-action-secondary { color: var(--brand-dark); background: rgba(255, 255, 255, .78); }
.hero-action-secondary:hover { background: var(--brand-soft); }
.blog-search svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prose { padding: 44px clamp(24px, 5vw, 76px) 55px; font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { color: #352f40; font-size: 1.12em; line-height: 1.75; }
.prose h2, .prose h3, .prose h4 { color: #2d2538; font-family: 'Poppins', sans-serif; line-height: 1.3; letter-spacing: -.025em; }
.prose h2 { margin: 2.5em 0 .7em; padding-top: .15em; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.prose h3 { margin: 2em 0 .6em; font-size: 1.25rem; }
.prose h4 { margin: 1.7em 0 .55em; font-size: 1.05rem; }
.prose p { margin: 0 0 1.25em; color: #4e4759; }
.prose ul, .prose ol { margin: 0 0 1.45em; padding-left: 1.45em; color: #4e4759; }
.prose li { margin: .52em 0; padding-left: .25em; }
.prose a { color: var(--brand-dark); font-weight: 700; text-underline-offset: 3px; }
.prose > p > a:only-child {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 10px;
  color: white;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(114, 88, 232, .2);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.prose > p > a:only-child::after { content: '→'; margin-left: 9px; }
.prose > p > a:only-child:hover { transform: translateY(-1px); background: var(--brand-dark); }
.prose strong { color: #30273b; }
.table-scroll { max-width: 100%; margin: 28px 0 34px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; min-width: 720px; border-collapse: collapse; background: white; font-size: .9rem; line-height: 1.5; }
.prose th, .prose td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: #352853; background: var(--brand-soft); font: 700 .8rem/1.4 'Poppins', sans-serif; letter-spacing: .01em; }
.prose td { color: #554d61; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: #fbfaff; }
.prose code { padding: .12em .38em; border: 1px solid #ddd6f1; border-radius: 5px; background: #f4f1fc; font-size: .9em; }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.prose figure { margin: 30px 0; }
.prose figure img { display: block; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 35px rgba(55, 42, 82, .11); }
.admonition { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin: 26px 0; padding: 20px; border: 1px solid #d9d1f6; border-left: 4px solid var(--brand); border-radius: 12px; background: #f7f4ff; }
.admonition > strong { color: var(--brand-dark); }
.admonition p:last-child { margin-bottom: 0; }
.admonition a { display: inline-flex; margin-top: 3px; }
.admonition-key { border-left-color: #7258e8; background: #f7f4ff; }
.admonition-checklist { border-color: #cbe5d8; border-left-color: #27825a; background: #f2faf6; }
.admonition-checklist > strong { color: #196a47; }
.admonition-recommendation { border-color: #cddff4; border-left-color: #3579bd; background: #f4f8fd; }
.admonition-recommendation > strong { color: #245f99; }
.admonition-example { border-color: #eadbbd; border-left-color: #a77324; background: #fffaf0; }
.admonition-example > strong { color: #805614; }
.admonition-warning { border-color: #f1d0d0; border-left-color: #b84a4a; background: #fff6f6; }
.admonition-warning > strong { color: #963838; }
.admonition-resource, .admonition-cta { align-items: start; border: 0; border-left: 0; padding: 22px; background: #f2efff; box-shadow: inset 0 0 0 1px #dcd4f5; }
.admonition-resource > strong, .admonition-cta > strong { min-width: 110px; }
.admonition-cta a { min-height: 44px; align-items: center; padding: 9px 14px; border-radius: 9px; color: white; background: var(--brand); text-decoration: none; }
.admonition-cta a:hover { background: var(--brand-dark); }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 clamp(24px, 7vw, 72px) clamp(26px, 6vw, 60px); padding: 24px; border-radius: 16px; color: white; background: linear-gradient(135deg, #332457, #7358e8); }
.article-cta strong { font: 700 1.08rem/1.3 'Poppins', sans-serif; }
.article-cta p { margin: 5px 0 0; color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.5; }
.article-cta a { flex: none; padding: 10px 14px; border-radius: 9px; color: var(--brand-dark); background: white; text-decoration: none; font-weight: 800; font-size: .85rem; }
.article-sidebar { position: sticky; top: 96px; display: grid; gap: 22px; }
.article-offer-column { position: sticky; top: 96px; }
.trial-offer { padding: 20px; border: 1px solid #d9d0f6; border-radius: 17px; background: linear-gradient(155deg, #fff 25%, #f1edff); box-shadow: 0 14px 38px rgba(56,43,90,.09); }
.trial-offer-icon { display: grid; width: 38px; height: 38px; margin-bottom: 15px; place-items: center; border-radius: 11px; color: white; background: var(--brand); font-weight: 900; box-shadow: 0 7px 17px rgba(114,88,232,.25); }
.trial-offer-copy > span { display: block; margin-bottom: 5px; color: var(--brand-dark); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.trial-offer-copy strong { display: block; color: #302642; font: 700 .98rem/1.38 'Poppins', sans-serif; }
.trial-offer-copy p { margin: 9px 0 16px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.trial-offer > a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 9px; color: white; background: var(--brand); text-decoration: none; font-size: .8rem; font-weight: 900; }
.trial-offer > a:hover { background: var(--brand-dark); }
.trial-offer > small { display: block; margin-top: 10px; color: #81798c; font-size: .66rem; line-height: 1.4; }
.share-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 10px 30px rgba(56,43,90,.06); }
.share-panel > strong { display: block; margin-bottom: 11px; font: 700 .82rem/1.3 'Poppins', sans-serif; }
.share-panel .share-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.share-panel .share-link { display: flex; width: 100%; min-width: 0; min-height: 42px; align-items: center; gap: 8px; padding: 5px 9px 5px 6px; overflow: hidden; border: 1px solid #ded7ef; border-radius: 10px; appearance: none; color: #44365f; background: #faf9ff; text-align: left; text-decoration: none; font: 700 clamp(.64rem, .7vw, .7rem)/1.2 'Poppins', sans-serif; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease; }
.share-panel .share-icon { display: grid; width: 29px; height: 29px; flex: none; place-items: center; border-radius: 8px; color: white; background: var(--brand); }
.share-panel .share-link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.share-panel svg { width: 16px; height: 16px; fill: currentColor; }
.share-panel button svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.share-panel .share-link-linkedin .share-icon { background: #0a66c2; }
.share-panel .share-link-facebook .share-icon { background: #1877f2; }
.share-panel .share-link-whatsapp .share-icon { background: #168c45; }
.share-panel .share-link-copy .share-icon { background: #6546d7; }
.share-panel .share-link:hover { transform: translateY(-1px); border-color: #c9bdf0; color: var(--brand-dark); background: #f3efff; }
.share-panel .share-link:focus-visible { outline: 3px solid rgba(114,88,232,.28); outline-offset: 2px; }
.share-panel small { display: block; margin-top: 10px; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.toc { padding: 20px 0; border-top: 1px solid var(--line); }
.toc details > summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; list-style: none; font: 700 .88rem/1.3 'Poppins', sans-serif; cursor: pointer; }
.toc details > summary::-webkit-details-marker { display: none; }
.toc details[open] > summary span { transform: rotate(180deg); }
.toc nav { display: flex; flex-direction: column; gap: 2px; }
.toc a { padding: 6px 9px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .84rem; line-height: 1.35; }
.toc a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.toc-level-3 { margin-left: 10px; }
.related-panel { overflow: hidden; border: 1px solid #dcd4f2; border-radius: 15px; background: white; box-shadow: 0 10px 30px rgba(56,43,90,.06); }
.related-panel > .related-kicker { display: block; padding: 17px 18px 3px; color: var(--brand-dark); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.related-panel > strong { display: block; padding: 0 18px 13px; font: 700 .9rem/1.35 'Poppins', sans-serif; }
.related-panel nav { display: grid; border-top: 1px solid var(--line); }
.related-panel a { position: relative; display: grid; gap: 2px; padding: 13px 38px 13px 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.related-panel a:last-child { border-bottom: 0; }
.related-panel a:hover { background: var(--brand-soft); }
.related-panel small { color: #81788c; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.related-panel a span { color: #443a50; font-size: .82rem; font-weight: 800; line-height: 1.35; }
.related-panel b { position: absolute; top: 50%; right: 16px; color: var(--brand-dark); transform: translateY(-50%); }

.newsletter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; width: 100%; margin: 32px 0 0; padding: clamp(28px, 4vw, 46px); overflow: hidden; border-radius: 22px; color: white; background: radial-gradient(circle at 5% 10%, rgba(114,88,232,.55), transparent 32%), linear-gradient(135deg, #251a3d, #3b285e); box-shadow: var(--shadow); }
.newsletter-kicker { color: #cfc4ff; font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.newsletter h2 { max-width: 520px; margin: 10px 0 12px; font: 700 clamp(1.55rem, 3vw, 2.25rem)/1.2 'Poppins', sans-serif; letter-spacing: -.035em; }
.newsletter-copy p { max-width: 550px; margin: 0; color: rgba(255,255,255,.75); line-height: 1.65; }
.newsletter-form { min-width: 0; }
.newsletter-form > label:first-child { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 800; }
.newsletter-field { display: flex; min-width: 0; padding: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: white; }
.newsletter-field:focus-within { box-shadow: 0 0 0 4px rgba(174,157,255,.22); }
.newsletter-field input { min-width: 0; flex: 1; padding: 11px 12px; border: 0; outline: 0; color: var(--ink); background: transparent; font: 600 .92rem/1.4 'Mulish', sans-serif; }
.newsletter-field button { flex: none; min-height: 44px; padding: 10px 15px; border: 0; border-radius: 9px; color: white; background: var(--brand); font: 800 .82rem/1.2 'Mulish', sans-serif; cursor: pointer; }
.newsletter-field button:hover { background: var(--brand-dark); }
.newsletter-field button:disabled { cursor: wait; opacity: .7; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: rgba(255,255,255,.7); font-size: .72rem; line-height: 1.45; }
.newsletter-consent input { flex: none; margin-top: 3px; accent-color: #9d89ff; }
.newsletter-consent a { color: white; text-underline-offset: 2px; }
.newsletter-status { min-height: 1.4em; margin: 10px 0 0; font-size: .78rem; font-weight: 700; }
.newsletter-status-success { color: #9ee3bd; }
.newsletter-status-error { color: #ffb7b7; }
.newsletter-sidebar { display: block; margin: 0; padding: 20px; border-radius: 15px; }
.newsletter-sidebar h2 { margin: 8px 0; font-size: 1.14rem; letter-spacing: -.025em; }
.newsletter-sidebar .newsletter-copy p { font-size: .78rem; line-height: 1.5; }
.newsletter-sidebar .newsletter-form { margin-top: 16px; }
.newsletter-sidebar .newsletter-form > label:first-child { font-size: .73rem; }
.newsletter-sidebar .newsletter-field { display: grid; gap: 7px; padding: 0; border: 0; background: transparent; }
.newsletter-sidebar .newsletter-field input { min-height: 43px; border-radius: 9px; background: white; font-size: .8rem; }
.newsletter-sidebar .newsletter-field button { width: 100%; min-height: 42px; font-size: .76rem; }
.newsletter-sidebar .newsletter-consent { font-size: .66rem; }
.newsletter-sidebar .newsletter-status { font-size: .7rem; }

.editorial-index { padding: clamp(55px, 9vw, 105px) 0 95px; }
.index-hero { max-width: 800px; margin-bottom: 46px; }
.index-hero h1 { max-width: 760px; }
.index-hero > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.13rem; }
.blog-search { display: flex; width: min(650px, 100%); min-height: 56px; align-items: center; gap: 12px; margin-top: 30px; padding: 0 18px; border: 1px solid #dcd4f2; border-radius: 15px; color: var(--brand-dark); background: white; box-shadow: 0 12px 35px rgba(56,43,90,.08); }
.blog-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(114,88,232,.11); }
.blog-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: 600 .96rem/1.4 'Mulish', sans-serif; }
.blog-search input::placeholder { color: #8b8397; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.topic-chips span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.64); font-size: .76rem; font-weight: 700; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.resource-grid-featured { grid-template-columns: 1fr; }
.resource-grid-featured .resource-card { min-height: 360px; }
.search-empty { padding: 28px; border: 1px dashed #cfc5e8; border-radius: 15px; color: var(--muted); background: white; text-align: center; }
.resource-card { display: flex; flex-direction: column; min-height: 330px; padding: clamp(25px, 4vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(circle at 100% 100%, rgba(222, 214, 253, .42), transparent 38%), var(--surface); box-shadow: 0 12px 35px rgba(56, 43, 90, .055); transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:nth-child(even) { background: radial-gradient(circle at 100% 0, rgba(222, 214, 253, .38), transparent 36%), var(--surface); }
.resource-card:nth-child(3n) { background: radial-gradient(circle at 0 100%, rgba(231, 225, 252, .4), transparent 36%), var(--surface); }
.resource-card .card-category { align-self: flex-start; padding: 0; border-radius: 0; color: var(--brand-dark); background: transparent; font-size: .73rem; letter-spacing: .08em; }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.resource-card h2 { margin: 18px 0 12px; font: 700 clamp(1.25rem, 2vw, 1.55rem)/1.35 'Poppins', sans-serif; letter-spacing: -.025em; }
.resource-card h2 a { text-decoration: none; }
.resource-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.card-meta { display: flex; gap: 15px; margin-top: auto; color: #7d7588; font-size: .8rem; }
.card-link { margin-top: 20px; color: var(--brand-dark); text-decoration: none; font-weight: 800; }
.empty-state { max-width: 760px; padding: clamp(30px, 6vw, 60px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.empty-state h2 { margin: 18px 0 10px; font: 700 1.55rem/1.3 'Poppins', sans-serif; }
.empty-state p { color: var(--muted); }
.empty-state a { display: inline-flex; margin-top: 10px; padding: 11px 15px; border-radius: 9px; color: white; background: var(--brand); text-decoration: none; font-weight: 800; }

.content-footer { padding: 58px max(20px, calc((100% - 1180px) / 2)); color: rgba(255,255,255,.74); background: #211a31; }
.content-footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 40px; }
.content-footer .content-brand { color: white; }
.content-footer p { max-width: 350px; font-size: .9rem; }
.content-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.content-footer nav strong { margin-bottom: 5px; color: white; font-family: 'Poppins', sans-serif; }
.content-footer nav a { color: inherit; text-decoration: none; font-size: .9rem; }
.content-footer nav a:hover { color: white; }
.content-footer small { display: block; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 1199px) and (min-width: 901px) {
  .editorial-main { width: min(1100px, calc(100% - 32px)); }
  .editorial-main:has(.article-layout-with-offer) > .breadcrumbs { padding-left: calc(210px + clamp(20px, 2.4vw, 38px)); }
  .article-layout-with-offer { grid-template-columns: 210px minmax(0, 1fr); }
  .article-layout-with-offer .article-sidebar { position: static; grid-column: 2; }
  .article-layout-with-offer .article-sidebar .toc,
  .article-layout-with-offer .article-sidebar .related-panel { display: none; }
  .article-layout-with-offer .share-panel .share-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .editorial-main:has(.article-layout-with-offer) > .breadcrumbs { padding-right: 4px; padding-left: 4px; }
  .editorial-main:has(.trial-offer) { padding-bottom: 125px; }
  .content-header-inner { min-height: 70px; gap: 18px; }
  .content-header nav { order: 3; width: 100%; margin: 0; padding-bottom: 10px; overflow-x: auto; }
  .content-header-inner { flex-wrap: wrap; }
  .header-action { margin-left: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article-offer-column { position: static; height: 0; }
  .trial-offer { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px; border-radius: 14px; box-shadow: 0 16px 44px rgba(35,25,55,.25); }
  .trial-offer-icon, .trial-offer-copy > span, .trial-offer-copy p, .trial-offer > small { display: none; }
  .trial-offer-copy strong { font-size: .82rem; line-height: 1.3; }
  .trial-offer > a { min-height: 42px; white-space: nowrap; }
  .article-sidebar { display: contents; }
  .article-content-column { grid-row: 1; }
  .article-card { grid-row: 1; }
  .toc { display: none; }
  .share-panel { grid-row: 2; margin-top: -2px; }
  .share-panel .share-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-panel { grid-row: 3; }
  .toc { padding: 16px 18px; border: 1px solid var(--line); border-radius: 13px; background: white; }
  .toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-panel nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-panel a { border-right: 1px solid var(--line); border-bottom: 0; }
  .related-panel a:last-child { border-right: 0; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .content-header-inner, .editorial-main, .editorial-index { width: min(100% - 24px, 1180px); }
  .content-header-inner { padding-top: 9px; }
  .content-brand span { font-size: .96rem; }
  .content-header nav { gap: 3px; }
  .content-header nav a { padding: 7px 9px; font-size: .8rem; }
  .header-action { padding: 8px 10px; font-size: .77rem; }
  .article-card { border-radius: 17px; }
  .article-hero { padding: 30px 22px; }
  .article-hero h1 { font-size: clamp(1.75rem, 9vw, 2.4rem); }
  .article-meta { display: grid; gap: 5px; }
  .article-meta span + span::before { display: none; }
  .article-hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-action { width: 100%; }
  .prose { padding: 34px 22px 40px; font-size: .98rem; }
  .admonition { grid-template-columns: 1fr; gap: 8px; padding: 17px; }
  .article-cta { align-items: flex-start; flex-direction: column; margin: 0 16px 24px; }
  .toc nav { grid-template-columns: 1fr; }
  .related-panel nav { grid-template-columns: 1fr; }
  .related-panel a { border-right: 0; border-bottom: 1px solid var(--line); }
  .related-panel a:last-child { border-bottom: 0; }
  .newsletter { margin-top: 26px; padding: 25px 20px; border-radius: 17px; }
  .newsletter-field { align-items: stretch; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 0; }
  .newsletter-field input { min-height: 48px; border-radius: 9px; background: white; }
  .newsletter-field button { width: 100%; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: auto; }
  .resource-grid-featured .resource-card { min-height: 330px; }
  .content-footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .editorial-main:has(.trial-offer) { padding-bottom: 130px; }
  .trial-offer { grid-template-columns: minmax(0, 1fr) auto; }
  .trial-offer-copy strong { max-width: 175px; }
  .trial-offer > a { padding: 9px 11px; font-size: .74rem; }
}

@media (max-width: 420px) {
  .share-panel { padding: 15px; }
  .share-panel .share-actions { grid-template-columns: minmax(0, 1fr); }
  .share-panel .share-link { min-height: 44px; font-size: .72rem; }
}

@media print {
  .content-header, .content-footer, .toc, .related-panel, .newsletter, .trial-offer, .article-cta, .article-hero-actions, .breadcrumbs, .reading-progress { display: none; }
  body { background: white; }
  .editorial-main { width: 100%; padding: 0; }
  .article-layout { display: block; }
  .article-card { border: 0; box-shadow: none; }
}
