@font-face {
  font-family: 'Cygre';
  src: url('../fonts/Cygre.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #0ABAB5;
  --dark: #16262e;
  --text: #222;
  --muted: #6b7280;
  --bg: #f4f7f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cygre', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  max-width: 1080px;
  margin: 12px auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(120deg, #eef9f8 0%, #dceff0 100%);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10, 60, 60, 0.08);
}

.site-header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo img {
  height: 40px;
  width: auto;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.site-header nav a:hover {
  color: var(--accent);
}

.header-cta {
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent);
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-social:hover {
  transform: translateY(-1px);
}

.header-social img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0ABAB5 0%, #1b8ec4 100%);
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs-sep {
  color: #b8c6c6;
}

.breadcrumbs [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--dark);
  font-weight: 500;
}

.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 24px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.share-btn:hover {
  background: var(--accent);
}

.share-btn:active {
  transform: translateY(1px);
}

.share-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.share-status {
  font-size: 13px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}

.share-status.visible {
  opacity: 1;
}

.article {
  max-width: 820px;
  margin: 28px auto 48px;
  padding: 48px 56px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(10, 60, 60, 0.06);
}

.back {
  display: block;
  width: fit-content;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--accent);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}

.meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.article-author {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 24px;
  row-gap: 10px;
  margin: 0 0 28px;
  padding: 22px 24px 0 26px;
  border-radius: 20px;
  background: linear-gradient(120deg, #eef9f8 0%, #dceff0 100%);
  box-shadow: 0 10px 30px rgba(10, 60, 60, 0.08);
  overflow: hidden;
}

.article-author-text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}

.article-author-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.article .article-author-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 3px;
}

.article .article-author-roles {
  font-size: 14px;
  line-height: 1.45;
  color: #24383c;
  margin: 0 0 6px;
}

.article-author-logos {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
}

.article-author-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: 30px;
}

.article-author-logos img {
  display: block;
  width: auto;
  height: 30px;
  max-width: none;
  mix-blend-mode: multiply;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
}

.article-author-logos a:last-child img {
  height: 24px;
}

.article-author-logos a:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.article-author-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  width: 134px;
  height: auto;
  display: block;
}

.hero {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 28px;
}

.hero-portrait {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.article p {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.article p,
.article li,
.article figcaption {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.article p,
.article li {
  font-weight: 500;
}

.article .meta,
.article .disclaimer,
.article figcaption {
  font-weight: 400;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
}

ul,
ol {
  margin: 0 0 20px 22px;
}

li {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 8px;
}

figure {
  margin: 26px 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

.cta-block {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  margin: 40px 0 24px;
  padding: 28px 32px;
  border-radius: 22px;
  background: linear-gradient(120deg, #eef9f8 0%, #dceff0 100%);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(10, 60, 60, 0.08);
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -2%;
  z-index: 0;
  width: 48%;
  height: 118%;
  background: radial-gradient(ellipse at 55% 48%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.72) 34%, rgba(10, 186, 181, 0.12) 60%, rgba(10, 186, 181, 0) 76%);
  pointer-events: none;
}

.cta-block::after {
  content: '';
  position: absolute;
  right: 4%;
  bottom: -10px;
  z-index: 0;
  width: 35%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10, 60, 60, 0.18) 0%, rgba(10, 60, 60, 0) 72%);
  filter: blur(5px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}

.cta-image {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 170px;
  height: auto;
  display: block;
  align-self: flex-end;
  margin-bottom: -28px;
  border-radius: 0;
  padding: 0;
  background: none;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.9)) drop-shadow(0 18px 26px rgba(10, 60, 60, 0.2));
}

.cta-block h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-block p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5a5a;
  margin-bottom: 18px;
}

.cta-block a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1b8ec4;
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

.cta-block a::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: ctaSheen 3.6s ease-in-out infinite;
  pointer-events: none;
}

.cta-block a:hover {
  filter: brightness(1.06);
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-block a.cta-secondary {
  background: linear-gradient(135deg, #3e6fe8 0%, #7a4be0 100%);
  border: none;
  color: #fff;
}

.cta-block a.cta-secondary::after {
  animation-delay: 0.5s;
}

.cta-block a.cta-secondary:hover {
  background: linear-gradient(135deg, #3e6fe8 0%, #7a4be0 100%);
  filter: brightness(1.06);
  color: #fff;
}

@keyframes ctaSheen {
  0% {
    left: -70%;
  }
  55%,
  100% {
    left: 140%;
  }
}

.article mark.hl {
  background: linear-gradient(180deg, transparent 52%, rgba(255, 224, 96, 0.75) 52%);
  color: inherit;
  padding: 0 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.dzen-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 18px;
  background: #f2f7f7;
  border: 1px solid #e3eeee;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dzen-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 60, 60, 0.08);
}

.dzen-icon {
  flex-shrink: 0;
}

.dzen-icon img {
  width: 44px;
  height: 44px;
  display: block;
}

.dzen-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dzen-text strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.dzen-text span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.signature {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.signature img {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid #ececec;
  padding-top: 16px;
}

.related {
  margin-top: 28px;
}

.related h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.related-card:hover {
  border-color: var(--accent);
  background: #f2fbfa;
}

.related-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}

.site-footer {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-sizing: border-box;
}

.modal h3 {
  margin-bottom: 24px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

.write-modal {
  max-width: 380px;
}

.write-modal-sub {
  margin: -12px 0 20px;
  font-size: 15px;
  color: #666;
}

.write-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.write-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #ececec;
  border-radius: 14px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.write-choice:hover {
  border-color: var(--accent);
  background: #f2fbfa;
  transform: translateY(-1px);
}

.write-choice img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.write-choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.write-choice-icon svg {
  width: 18px;
  height: 18px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #e0e0e0;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(10, 60, 60, 0.2);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.to-top.visible {
  display: flex;
}

.to-top.with-float {
  bottom: 96px;
}

.to-top:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 60, 60, 0.25);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.float-max {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  isolation: isolate;
  animation: maxPulse 2.4s ease-in-out infinite;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.float-max::before,
.float-max::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(107, 92, 255, 0.5);
  z-index: -1;
  pointer-events: none;
  animation: maxWave 3s ease-out infinite;
}

.float-max::after {
  animation-delay: 1.5s;
}

.float-max img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: block;
}

.float-max:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.float-max-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(10px);
  animation: maxTip 20s ease-in-out infinite;
}

@keyframes maxPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes maxWave {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes maxTip {
  0%,
  45% {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
  }
  50%,
  70% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  75%,
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-max,
  .float-max::before,
  .float-max::after,
  .float-max-tip,
  .cta-block a::after {
    animation: none;
  }
  .float-max-tip {
    display: none;
  }
}

/* Articles index */
.articles-page {
  max-width: 1080px;
  margin: 28px auto 48px;
  padding: 0 24px;
}

.articles-page .page-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.page-dzen {
  margin: 10px 0 0;
}

.page-dzen a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.page-dzen a:hover {
  text-decoration: underline;
}

.page-dzen img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.site-header-wide {
  max-width: 1600px;
}

.articles-page-wide {
  max-width: 1600px;
}

.articles-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 18px;
}

.articles-main {
  flex: 1 1 auto;
  min-width: 0;
}

.articles-main h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.articles-layout .articles-list {
  margin-top: 0;
  grid-template-columns: repeat(auto-fill, 243px);
  justify-content: space-between;
  gap: 16px;
}

.collections-sidebar {
  flex: 0 0 243px;
  position: sticky;
  top: 100px;
  min-width: 0;
}

.collections-sidebar h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.collections-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.collection-card {
  display: block;
  margin-bottom: 0;
  border: 1px solid #ececec;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 60, 60, 0.08);
}

.collection-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #eef6f6;
  display: block;
}

.collection-card-body {
  display: block;
  padding: 14px 16px 16px;
}

.collection-card-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.collection-card-title {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.collection-card-count {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.article-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1b1b;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-media img {
  transform: scale(1.04);
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.article-card-tag {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.article-card-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

@media (max-width: 768px) {
  .site-header {
    top: 8px;
    margin: 8px;
    padding: 8px 12px;
    gap: 12px;
    border-radius: 14px;
  }
  .site-header .logo img {
    height: 34px;
  }
  .site-header nav {
    gap: 8px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .site-header nav a.hide-mobile {
    display: none;
  }
  .header-cta {
    padding: 9px 13px;
    font-size: 13px;
  }
  .header-social,
  .header-social img {
    width: 30px;
    height: 30px;
  }
  .article {
    margin: 16px 8px 32px;
    padding: 28px 20px;
    border-radius: 20px;
  }
  .article-author {
    column-gap: 12px;
    row-gap: 8px;
    margin-bottom: 22px;
    padding: 16px 16px 0 18px;
    border-radius: 16px;
  }
  .article-author-text {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
  }
  .article-author-label {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .article .article-author-name {
    font-size: 17px;
  }
  .article .article-author-roles {
    font-size: 13px;
  }
  .article-author-logos {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 14px;
  }
  .article-author-logos a {
    width: auto;
    height: 22px;
  }
  .article-author-logos img {
    height: 22px;
    max-width: none;
  }
  .article-author-logos a:last-child img {
    height: 18px;
  }
  .article-author-photo {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    width: 100px;
  }
  .breadcrumbs {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .article-share {
    margin: 2px 0 20px;
  }
  .share-btn {
    width: 100%;
    padding: 12px 16px;
  }
  h1 {
    font-size: 30px;
  }
  .lead {
    font-size: 18px;
  }
  .article p,
  li {
    font-size: 16px;
  }
  h2 {
    font-size: 23px;
  }
  .cta-block {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 20px 16px 0;
  }
  .cta-content {
    flex: 1 1 auto;
    width: auto;
    align-self: center;
    min-width: 0;
  }
  .cta-image {
    width: 108px;
    align-self: flex-end;
    margin-bottom: 0;
  }
  .cta-block::before {
    top: -6%;
    right: -4%;
    width: 58%;
    height: 114%;
  }
  .cta-block::after {
    right: 1%;
    bottom: -8px;
    width: 46%;
  }
  .cta-block h3 {
    font-size: 20px;
  }
  .cta-block p {
    font-size: 14px;
  }
  .cta-actions {
    gap: 8px;
  }
  .cta-block a {
    padding: 11px 14px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .articles-page {
    margin: 16px 8px 32px;
    padding: 0 8px;
  }
  .articles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }
  .articles-layout {
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
  }
  .articles-main {
    flex: 0 0 auto;
    width: 100%;
  }
  .articles-layout .articles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .articles-main h1 {
    font-size: 28px;
  }
  .collections-sidebar {
    flex: 0 0 auto;
    width: 100%;
    position: static;
  }
  .collections-sidebar h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .collections-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .article-card-body {
    padding: 12px;
  }
  .article-card h3 {
    font-size: 15px;
  }
  .article-card-more {
    font-size: 12px;
  }
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
  .to-top.with-float {
    bottom: 82px;
  }
  .float-max {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
  .float-max img {
    width: 56px;
    height: 56px;
  }
  .float-max-tip {
    font-size: 12px;
    padding: 8px 12px;
  }
  .modal {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .write-modal {
    max-width: 100%;
  }
  .modal h3 {
    font-size: 22px;
  }
  .dzen-block {
    padding: 16px;
    gap: 12px;
  }
  .dzen-icon img {
    width: 38px;
    height: 38px;
  }
  .dzen-text strong {
    font-size: 15px;
  }
  .dzen-text span {
    font-size: 13px;
  }
  .related-list {
    grid-template-columns: 1fr;
  }
  .related-card img {
    width: 64px;
    height: 64px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-block,
  .back {
    display: none;
  }
  body {
    background: #fff;
  }
  .article {
    box-shadow: none;
    margin: 0;
    padding: 0;
    max-width: none;
  }
  h1 {
    font-size: 28pt;
  }
  .article p,
  li {
    font-size: 11pt;
  }
}
