:root{--rm-cream:#f5f0eb;--rm-near-black:#1a1a18;--rm-pink:#bb43f5;--rm-white:#fff}*{box-sizing:border-box}body{margin:0}a{color:inherit}h1,h2,h3,p{margin:0}button{font:inherit}
.page {
  background: var(--rm-cream);
  color: var(--rm-near-black);
  font-family: Cygre,sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* HEADER */
.header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 48px 24px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rm-pink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--rm-pink);
  border-radius: 50%;
  display: inline-block;
}

.h1 {
  font-family: Cygre,sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rm-near-black);
}
.h1 em {
  font-style: italic;
  color: var(--rm-pink);
  font-weight: 500;
}

.heroLede {
  font-family: Cygre,sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(28, 26, 24, 0.72);
  max-width: 620px;
  margin: 24px 0 0;
}

@media (min-width: 1440px) {
  .heroLede {
    font-size: 19px;
    max-width: 680px;
  }
}

.headerRow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.tagline {
  font-family: Literata,serif;
  color: var(--rm-pink);
  font-size: 30px;
  font-weight: 700;
  transform: rotate(-1deg);
  display: inline-block;
}
.metaLine {
  font-size: 14px;
  color: rgba(28, 26, 24, 0.6);
  font-weight: 500;
}
.metaLine b {
  color: var(--rm-near-black);
  font-weight: 700;
}

/* FEATURED */
.featured {
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 48px;
}
.featuredCard {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(28, 26, 24, 0.12);
  border-bottom: 1px solid rgba(28, 26, 24, 0.12);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.featuredMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(28, 26, 24, 0.6);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.featuredMeta .sep {
  color: rgba(28, 26, 24, 0.25);
}
.pill {
  border: 1px solid rgba(28, 26, 24, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rm-near-black);
  background: transparent;
}
.pillAccent {
  background: var(--rm-pink);
  color: #fff;
  border-color: var(--rm-pink);
}
.featuredCard h2 {
  font-family: Cygre,sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--rm-near-black);
  margin-bottom: 20px;
}
.featuredCard h2 em {
  font-style: italic;
  color: var(--rm-pink);
}
.excerpt {
  font-size: 17px;
  color: rgba(28, 26, 24, 0.6);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}
.readMore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--rm-near-black);
  border-bottom: 1.5px solid var(--rm-near-black);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.readMore:hover {
  color: var(--rm-pink);
  border-bottom-color: var(--rm-pink);
}
.featuredImg {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8dcc0;
  position: relative;
}
.featuredImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featuredImgPlaceholder {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 26, 24, 0.4);
  text-align: center;
  padding: 0 24px;
  line-height: 1.5;
}

/* POSTS HEADER */
.postsHeader {
  max-width: 1240px;
  margin: 64px auto 0;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.postsHeaderLeft {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dot {
  width: 10px;
  height: 10px;
  background: var(--rm-near-black);
  border-radius: 50%;
}
.label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rm-near-black);
}
.viewAll {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rm-near-black);
  border-bottom: 1.5px solid var(--rm-near-black);
  padding-bottom: 2px;
  text-decoration: none;
}
.viewAll:hover {
  color: var(--rm-pink);
  border-bottom-color: var(--rm-pink);
}

/* FILTERS */
.filterRow {
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.filterBank {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filterLabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 26, 24, 0.6);
  margin-right: 6px;
}
.filterPill {
  border: 1px solid rgba(28, 26, 24, 0.2);
  background: transparent;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: Cygre,sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--rm-near-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filterPill:hover {
  border-color: var(--rm-near-black);
}
.filterPillActive {
  background: var(--rm-near-black);
  color: var(--rm-cream);
  border-color: var(--rm-near-black);
}
.filterCount {
  font-weight: 500;
  opacity: 0.6;
  margin-left: 6px;
}
.sortRow {
  font-size: 12px;
  font-weight: 600;
  color: rgba(28, 26, 24, 0.6);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sortRow b {
  color: var(--rm-near-black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 11px;
  border-bottom: 1.5px solid var(--rm-near-black);
  padding-bottom: 2px;
  cursor: pointer;
}

/* POSTS GRID */
.postsGrid {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.postsGridSecondary {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.postsCol {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post {
  display: block;
  cursor: pointer;
  transition: transform 0.25s;
  text-decoration: none;
  color: inherit;
}
.post:hover {
  transform: translateY(-3px);
}
.postImg {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
  margin-bottom: 14px;
}
.postImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.postImgPlaceholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 26, 24, 0.45);
  padding: 0 16px;
  line-height: 1.5;
}
.postImgLarge {
  aspect-ratio: 4 / 3;
}
.postImgTall {
  aspect-ratio: 5 / 6;
}
.postImgSquare {
  aspect-ratio: 5 / 4;
}
.postImgWide {
  aspect-ratio: 16 / 9;
}

.postMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(28, 26, 24, 0.6);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.postMeta .sep {
  color: rgba(28, 26, 24, 0.25);
}
.postMetaPill {
  border: 1px solid rgba(28, 26, 24, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rm-near-black);
}
.pillCountry {
  background: #faf1dd;
  border-color: #e8dcc0;
  color: #9f6a24;
}
.pillWedding {
  background: #fff0f6;
  border-color: #ffd4e6;
  color: #c81f5c;
}
.pillBirthday {
  background: #fff8e8;
  border-color: #f2e5c0;
  color: #a07a1a;
}
.pillAnniversary {
  background: #f1e9f4;
  border-color: #ddc9e2;
  color: #7a4b86;
}
.pillLove {
  background: #fff0f6;
  border-color: #ffd4e6;
  color: #c81f5c;
}
.pillGift {
  background: #e8f0e8;
  border-color: #c9dbc9;
  color: #3d5c40;
}
.pillGuide {
  background: var(--rm-near-black);
  border-color: var(--rm-near-black);
  color: var(--rm-cream);
}

.post h3 {
  font-family: Cygre,sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rm-near-black);
  margin-bottom: 8px;
}
.post h3 em {
  font-style: italic;
  color: var(--rm-pink);
}
.postLarge h3 {
  font-size: 30px;
  line-height: 1.1;
}
.postSmall h3 {
  font-size: 17px;
  line-height: 1.2;
}
.postExcerpt {
  font-size: 15px;
  color: rgba(28, 26, 24, 0.6);
  line-height: 1.6;
  max-width: 560px;
}

/* POST IMG color variants for missing images */
.bgPink {
  background: #ffe8f0;
}
.bgGreen {
  background: var(--rm-near-black);
  color: rgba(245, 240, 235, 0.55);
}
.bgCream {
  background: #ede7df;
}
.bgDusk {
  background: #d9c3cc;
}
.bgGold {
  background: #d6be94;
}
.bgPurple {
  background: #e2d4e8;
}
.bgSage {
  background: #c7d3c0;
}
.bgCountry {
  background: #e8dcc0;
}

/* TEXT-FORWARD GUIDE CARD */
.textForward .postImg {
  background: var(--rm-near-black);
  color: var(--rm-cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px;
  font-family: Cygre,sans-serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 500;
  text-align: left;
  aspect-ratio: 3 / 2;
}
.textForwardSub {
  font-family: Literata,serif;
  font-style: normal;
  color: var(--rm-pink);
  font-size: 22px;
  font-weight: 700;
  margin-top: 14px;
}

/* SERVER PAGINATION */
.pagination {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 48px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.paginationSides {
  display: flex;
  justify-content: flex-start;
}
.paginationSidesEnd {
  justify-content: flex-end;
}
.paginationLink {
  border: 1px solid rgba(28, 26, 24, 0.2);
  color: var(--rm-near-black);
  padding: 13px 22px;
  border-radius: 100px;
  font-family: Cygre,sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.paginationLinkPrimary {
  background: var(--rm-near-black);
  color: var(--rm-cream);
  border-color: var(--rm-near-black);
}
.paginationLink:hover {
  transform: translateY(-1px);
  background: var(--rm-pink);
  border-color: var(--rm-pink);
  color: #fff;
}
.paginationPages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.paginationPage {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rm-near-black);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.paginationPage:hover {
  background: rgba(28, 26, 24, 0.08);
}
.paginationCurrent {
  background: var(--rm-pink);
  color: #fff;
}
.paginationEllipsis {
  color: rgba(28, 26, 24, 0.45);
  padding: 0 2px;
}
.paginationSpacer {
  height: 96px;
}

/* NEWSLETTER */
.newsletter {
  max-width: 1240px;
  margin: 0 auto 96px;
  padding: 0 48px;
}
.newsletterInner {
  background: var(--rm-near-black);
  color: var(--rm-cream);
  border-radius: 24px;
  padding: 72px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.newsletterInner > * {
  min-width: 0;
}
.newsletterInner h3 {
  font-family: Cygre,sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.newsletterInner h3 em {
  font-style: italic;
  color: var(--rm-pink);
}
.newsletterInner p {
  font-size: 16px;
  color: rgba(245, 240, 235, 0.7);
  max-width: 460px;
  line-height: 1.6;
}
.newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletterFormRow {
  display: flex;
  gap: 8px;
  background: rgba(245, 240, 235, 0.08);
  border: 1px solid rgba(245, 240, 235, 0.15);
  border-radius: 100px;
  padding: 6px;
}
.newsletterFormRow input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 14px 20px;
  color: var(--rm-cream);
  font-family: Cygre,sans-serif;
  font-size: 15px;
  outline: none;
}
.newsletterFormRow input::placeholder {
  color: rgba(245, 240, 235, 0.5);
}
.newsletterFormRow button {
  background: var(--rm-pink);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: Cygre,sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletterFormRow button:hover {
  background: #e8336f;
}
.newsletterFormRow button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.newsletterNote {
  font-size: 12px;
  color: rgba(245, 240, 235, 0.5);
}
.newsletterSuccess {
  color: var(--rm-cream);
  font-size: 14px;
  background: rgba(245, 240, 235, 0.08);
  padding: 16px 20px;
  border-radius: 16px;
}

/* EMPTY STATE */
.empty {
  max-width: 1240px;
  margin: 64px auto;
  padding: 80px 48px;
  text-align: center;
  color: rgba(28, 26, 24, 0.5);
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .header,
  .featured,
  .postsHeader,
  .filterRow,
  .postsGrid,
  .postsGridSecondary,
  .pagination,
  .newsletter {
    padding-left: 20px;
    padding-right: 20px;
  }
  .featuredCard {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .postsGrid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .postsGridSecondary {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .newsletterInner {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 24px;
    gap: 32px;
  }
  .newsletterFormRow {
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }
  .newsletterFormRow input {
    width: 100%;
    flex: 1 1 auto;
    background: rgba(245, 240, 235, 0.08);
    border: 1px solid rgba(245, 240, 235, 0.15);
    border-radius: 100px;
    padding: 16px 22px;
    font-size: 16px;
  }
  .newsletterFormRow button {
    width: 100%;
    padding: 18px 24px;
    font-size: 15px;
  }
  .postLarge h3 {
    font-size: 30px;
  }
  .post h3 {
    font-size: 24px;
  }
  .pagination {
    grid-template-columns: 1fr 1fr;
  }
  .paginationPages {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .paginationSides,
  .paginationSidesEnd {
    grid-row: 2;
  }
}

/* WIDE SCREENS — 1440px+ (typical 14" / 16" laptops at full screen) */
@media (min-width: 1440px) {
  .header,
  .featured,
  .postsHeader,
  .filterRow,
  .postsGrid,
  .postsGridSecondary,
  .pagination,
  .newsletter {
    max-width: 1360px;
    padding-left: 56px;
    padding-right: 56px;
  }
  .blog-header {
    padding-top: 64px;
  }
  .h1 {
    font-size: clamp(44px, 5.4vw, 72px);
  }
  .postsGrid {
    gap: 40px;
  }
  .postsGridSecondary {
    gap: 40px;
  }
  .featuredCard {
    gap: 64px;
  }
  .featuredCard h2 {
    font-size: clamp(38px, 3.4vw, 56px);
  }
  .post h3 {
    font-size: 24px;
  }
  .postLarge h3 {
    font-size: 34px;
  }
  .postSmall h3 {
    font-size: 18px;
  }
  .newsletterInner {
    padding: 88px 72px;
  }
}

/* ULTRA-WIDE — 1680px+ (5K iMac, ultra-wide monitors) */
@media (min-width: 1680px) {
  .header,
  .featured,
  .postsHeader,
  .filterRow,
  .postsGrid,
  .postsGridSecondary,
  .pagination,
  .newsletter {
    max-width: var(--rm-max-width, 1680px);
    padding-left: 64px;
    padding-right: 64px;
  }
  .h1 {
    font-size: clamp(52px, 5.6vw, 84px);
  }
  .featuredCard h2 {
    font-size: clamp(44px, 3.4vw, 64px);
  }
  .featuredCard {
    gap: 80px;
  }
  .post h3 {
    font-size: 26px;
  }
  .postLarge h3 {
    font-size: 38px;
    line-height: 1.06;
  }
  .postSmall h3 {
    font-size: 19px;
  }
  .postsGrid {
    gap: 48px;
  }
  .postsGridSecondary {
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  .postsCol {
    gap: 40px;
  }
  .newsletterInner {
    padding: 104px 88px;
  }
}

.articlePage .section {
  background: var(--rm-white);
  padding: 56px clamp(20px, 4vw, 60px) 24px;
}

.articlePage .container {
  max-width: 760px;
  margin: 0 auto;
  font-family: Literata,serif;
  color: var(--rm-near-black);
}

.articlePage .breadcrumb {
  font-family: Cygre,sans-serif;
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--rm-near-black);
  opacity: 0.6;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.articlePage .breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}
.articlePage .breadcrumb a:hover {
  color: var(--rm-pink);
}
.articlePage .breadcrumb .articlePage .sep {
  opacity: 0.4;
}

.articlePage .title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.articlePage .lede {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 40px;
  opacity: 0.82;
  font-weight: 400;
}

.articlePage .hero {
  border-radius: 24px;
  overflow: hidden;
  margin: 0 0 48px;
  aspect-ratio: 16 / 9;
  background: var(--rm-cream);
}
.articlePage .hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body blocks */
.articlePage .h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 56px 0 16px;
  scroll-margin-top: 80px;
}

.articlePage .h3 {
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin: 44px 0 14px;
  scroll-margin-top: 80px;
}

.articlePage .h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 12px;
  scroll-margin-top: 80px;
}

.articlePage .p {
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* Preface — вводный абзац-врезка перед телом статьи */
.articlePage .preface {
  font-size: 21px;
  line-height: 1.6;
  color: var(--rm-near-black);
  margin: 0 0 28px;
  padding-left: 20px;
  border-left: 3px solid var(--rm-pink);
  font-weight: 400;
}
.articlePage .preface strong { font-weight: 600; }
.articlePage .preface a {
  color: var(--rm-near-black);
  text-decoration: underline;
  text-decoration-color: var(--rm-pink);
}

.articlePage .p strong { font-weight: 600; }
.articlePage .p em { font-style: italic; }
.articlePage .p a,
.articlePage .h2 a,
.articlePage .h3 a,
.articlePage .h4 a,
.articlePage .lede a {
  color: var(--rm-near-black);
  text-decoration: underline;
  text-decoration-color: var(--rm-pink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.articlePage .p a:hover,
.articlePage .h2 a:hover,
.articlePage .h3 a:hover,
.articlePage .h4 a:hover,
.articlePage .lede a:hover {
  color: var(--rm-pink);
}

.articlePage .quote {
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  border-left: 4px solid var(--rm-pink);
}

/* Callout — акцентная врезка «в персональной версии будет про вас» */
.articlePage .callout {
  margin: 32px 0;
  padding: 22px 26px;
  border-radius: 14px;
  border-left: 4px solid var(--rm-pink);
  font-family: Cygre,sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rm-near-black);
}
.articlePage .callout strong {
  font-weight: 600;
}
.articlePage .callout a {
  color: var(--rm-near-black);
  text-decoration: underline;
  text-decoration-color: var(--rm-pink);
}

.articlePage .figure {
  margin: 40px 0;
}
.articlePage .figure img {
  width: 100%;
  border-radius: 16px;
  display: block;
}
.articlePage .figure figcaption {
  font-family: Cygre,sans-serif;
  font-size: 14px;
  color: var(--rm-near-black);
  opacity: 0.55;
  margin-top: 12px;
  text-align: center;
}

.articlePage .videoWrap {
  margin: 40px 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}
.articlePage .videoWrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.articlePage .br {
  display: block;
  height: 1px;
  margin: 32px 0;
  background: linear-gradient(to right, transparent, rgba(28,26,24,0.12), transparent);
}

/* Слайдер-карусель: нативный свайп через scroll-snap, без JS.
   Все слайды в DOM (SEO: alt + figcaption), листаются пальцем/трекпадом. */
.articlePage .slider {
  margin: 40px 0;
}
.articlePage .sliderTitle {
  font-family: Cygre,sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--rm-near-black);
  margin: 0 0 14px;
  text-align: center;
}
.articlePage .sliderTrack {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  /* тонкий скроллбар, чтобы не перебивал дизайн */
  scrollbar-width: thin;
}
.articlePage .sliderTrack::-webkit-scrollbar {
  height: 6px;
}
.articlePage .sliderTrack::-webkit-scrollbar-thumb {
  background: rgba(28, 26, 24, 0.18);
  border-radius: 999px;
}
.articlePage .slide {
  flex: 0 0 82%;
  max-width: 460px;
  scroll-snap-align: center;
  margin: 0;
}
.articlePage .slide img {
  width: 100%;
  border-radius: 16px;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.articlePage .slide figcaption {
  font-family: Cygre,sans-serif;
  font-size: 14px;
  color: var(--rm-near-black);
  opacity: 0.6;
  margin-top: 10px;
  text-align: center;
}
.articlePage .sliderHint {
  font-family: Cygre,sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-near-black);
  opacity: 0.4;
  text-align: center;
  margin: 12px 0 0;
}
@media (min-width: 720px) {
  .articlePage .slide {
    flex-basis: 46%;
  }
}

/* FAQ accordion (распознан из h3 + p пар в статье).
   Первый item открыт по умолчанию, остальные закрыты. */
.articlePage .faq {
  margin: 32px 0;
  font-family: Cygre,sans-serif;
}

.articlePage .faqItem {
  border-top: 1px solid rgba(28, 26, 24, 0.12);
  padding: 18px 0;
}
.articlePage .faqItem:last-child {
  border-bottom: 1px solid rgba(28, 26, 24, 0.12);
}

.articlePage .faqQ {
  font-size: 18px;
  font-weight: 600;
  color: var(--rm-near-black);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 12px;
}
.articlePage .faqQ::-webkit-details-marker { display: none; }
.articlePage .faqQ::after {
  content: '+';
  margin-left: auto;
  font-size: 24px;
  line-height: 0.9;
  color: var(--rm-pink);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.articlePage .faqItem[open] .articlePage .faqQ::after {
  content: '−';
}

.articlePage .faqA {
  margin-top: 12px;
  padding-right: 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rm-near-black);
  opacity: 0.82;
}
.articlePage .faqA a {
  color: var(--rm-near-black);
  text-decoration: underline;
  text-decoration-color: var(--rm-pink);
}

/* Tilda raw-HTML вставки (плееры, кастомные карточки, инфографика).
   Содержат свои inline-стили — позволяем им жить рядом со статьёй. */
.articlePage .rawHtml {
  margin: 32px 0;
  font-family: Cygre,sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--rm-near-black);
}
.articlePage .rawHtml img,
.articlePage .rawHtml video {
  max-width: 100%;
  height: auto;
}

/* Голые <table> из статей (без inline-стилей) — карточка вместо браузерных
   дефолтов. Оборачиваем в скролл на мобильных, чтобы не рвало макет. */
.articlePage .rawHtml table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rm-cream-line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 15px;
}
.articlePage .rawHtml th,
.articlePage .rawHtml td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rm-cream-line);
}
.articlePage .rawHtml tr:last-child td {
  border-bottom: none;
}
.articlePage .rawHtml thead th {
  background: var(--rm-near-black);
  color: var(--rm-white);
  font-weight: 600;
}
.articlePage .rawHtml tbody tr:nth-child(even) {
  background: var(--rm-cream-warm);
}
.articlePage .rawHtml td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

/* Override Tilda's <details> marker — '+' when closed, '−' when open.
   Tilda raw HTML sometimes ships its own ::before/::after; we override
   inside .articlePage .rawHtml scope with !important to win specificity. */
.articlePage .rawHtml details summary::before,
.articlePage .rawHtml details summary::after,
.articlePage .rawHtml details summary span[class*="toggle"] {
  display: none !important;
}
.articlePage .rawHtml details {
  position: relative;
  padding-right: 40px !important;
}
.articlePage .rawHtml details::after {
  content: '+';
  position: absolute;
  top: 18px;
  right: 16px;
  font-size: 24px;
  line-height: 1;
  color: var(--rm-pink);
  font-weight: 400;
  pointer-events: none;
  font-family: Cygre,sans-serif;
}
.articlePage .rawHtml details[open]::after {
  content: '−';
}

.articlePage .meta {
  font-family: Cygre,sans-serif;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--rm-near-black);
  opacity: 0.6;
  margin-bottom: 16px;
}

.articlePage .metaCategory {
  color: var(--rm-pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .articlePage .section { padding: 32px 20px 20px; }
  .articlePage .title { font-size: 30px; }
  .articlePage .lede { font-size: 19px; margin-bottom: 28px; }
  .articlePage .h2 { font-size: 24px; margin: 40px 0 14px; }
  .articlePage .h3 { font-size: 21px; margin: 32px 0 12px; }
  .articlePage .p { font-size: 17px; line-height: 1.6; }
  .articlePage .quote { font-size: 19px; padding-left: 20px; }
  .articlePage .hero { aspect-ratio: 4 / 3; margin-bottom: 28px; }
}

.siteNav{background:#191919;color:#fff;padding:24px max(20px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.siteNav a{text-decoration:none}.siteBrand{font-size:24px;font-weight:700}.siteNav nav{display:flex;gap:24px;flex-wrap:wrap;font-size:16px}.siteFooter{background:#191919;color:#fff;padding:40px max(20px,calc((100vw - 1160px)/2));display:flex;gap:28px;flex-wrap:wrap}.articlePage{background:#fff}.articlePage h1,.articlePage h2,.articlePage h3,.articlePage h4{font-family:Cygre,sans-serif!important}.articlePage .body{font:19px/1.7 Literata,serif}.articlePage .bodyBlock,.articlePage .body p,.articlePage .body ul,.articlePage .body ol{margin:0 0 24px}.articlePage .body h2{font-size:32px;line-height:1.2;margin:48px 0 20px}.articlePage .body h3{font-size:25px;line-height:1.25;margin:32px 0 16px}.articlePage .body img{max-width:100%;height:auto;display:block;margin:24px auto;border-radius:16px}.articlePage .body figure{margin:32px 0}.articlePage .body iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:16px}.articlePage .body table{display:block;max-width:100%;overflow:auto}.articlePage .body a{color:#754196;text-underline-offset:3px}.articlePage .body blockquote{border-left:3px solid var(--rm-pink);padding:8px 24px;margin:24px 0}.articlePage .body [id]{scroll-margin-top:24px}.articleCTA{background:#191919;color:#fff;border-radius:24px;padding:32px;margin:48px 0;font-family:Cygre,sans-serif}.articleCTA h2{font-size:28px;margin-bottom:12px}.articleCTA p{margin-bottom:20px}.ctaLink{display:inline-block;background:var(--rm-pink);border-radius:999px;color:#fff;padding:14px 24px;text-decoration:none}.related{max-width:1160px;margin:0 auto;padding:48px 20px 80px}.related h2{margin-bottom:24px}.relatedGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.related .postImg{aspect-ratio:16/10}.postExcerpt,.excerpt,.heroLede{font-family:Literata,serif!important}.page .h1,.page h2,.page h3{font-weight:600}.postLarge h3{font-weight:600}.postImgPlaceholder{font-size:20px;text-transform:none;letter-spacing:0}.filterStatus{max-width:1240px;padding:0 48px;margin:20px auto;color:#666;font-size:14px}[hidden]{display:none!important}.newsletterInner h3{color:var(--rm-cream)}.newsletterInner .ctaLink{justify-self:start}.bodyBlock:empty{display:none}@media(max-width:700px){.siteNav{flex-direction:column;align-items:flex-start}.siteNav nav{gap:16px;font-size:14px}.relatedGrid{grid-template-columns:1fr}.filterStatus{padding:0 20px}.articlePage .body{font-size:18px}.articlePage .body h2{font-size:27px}}
.extraPosts{grid-column:1/-1;padding:0;max-width:none;width:100%;margin:0}.articlePage .meta{font:14px/1.5 Cygre,sans-serif;color:#777;margin-bottom:18px}.articlePage .title{margin:0 0 24px}.articlePage .body li{margin:10px 0}.articlePage .body .bodyBlock{overflow-wrap:break-word}

.articlePage .body,.articlePage .body *{font-family:Literata,serif!important}.articlePage .body h2,.articlePage .body h2 *,.articlePage .body h3,.articlePage .body h3 *,.articlePage .body h4,.articlePage .body h4 *{font-family:Cygre,sans-serif!important}

.filterPill{text-decoration:none;display:inline-flex;align-items:center}.paginationPages{flex-wrap:wrap}@media(max-width:700px){.pagination{grid-template-columns:1fr;padding:24px 20px 56px}.paginationSides{justify-content:center}.paginationSidesEnd{justify-content:center}}

/* Approved typography, uncropped covers, and a 1440px article canvas. */
.siteNav{padding-top:12px;padding-bottom:12px;min-height:96px}.siteBrand{display:block;flex-shrink:0}.siteBrand img{display:block;width:90px;height:72px}
.postImg,.postImgLarge,.postImgTall,.postImgSquare,.postImgWide,.featuredImg{aspect-ratio:auto}
.postImg img,.featuredImg img{display:block;width:100%;height:auto;object-fit:contain}
.postImgPlaceholder{min-height:220px}.featuredImg:has(.postImgPlaceholder){min-height:320px}
.articlePage .section{padding:48px clamp(20px,4vw,60px) 24px}.articlePage .container{max-width:1440px;width:100%}
.articlePage .breadcrumb,.articlePage .meta,.articlePage .title,.articlePage .lede{max-width:1100px;margin-left:auto;margin-right:auto}
.articlePage .title{font-size:clamp(34px,4.5vw,64px);line-height:1.12}.articlePage .lede{max-width:900px;margin-bottom:40px}
.articlePage .hero{aspect-ratio:auto}.articlePage .hero img{height:auto;object-fit:contain}
.articlePage .body p,.articlePage .body ul,.articlePage .body ol,.articlePage .body h2,.articlePage .body h3,.articlePage .body h4,.articlePage .body blockquote,.articlePage .body .bodyBlock{max-width:820px;margin-left:auto;margin-right:auto}
.articlePage .body .bodyBlock:has(img,iframe,table){max-width:none}
.articlePage .body figure{max-width:1440px;margin-left:auto;margin-right:auto}.articlePage .body img{max-width:100%;height:auto}
.articlePage .articleCTA{max-width:820px;margin-left:auto;margin-right:auto}.related{max-width:1440px}
@media(max-width:700px){.siteNav{flex-direction:row;flex-wrap:wrap;gap:12px}.siteBrand img{width:75px;height:60px}.siteNav nav{gap:12px;font-size:13px}.articlePage .section{padding-top:32px}.articlePage .title{font-size:34px}.articlePage .lede{font-size:20px}}

.articlePage .body div:not(:has(img,iframe,table)){max-width:820px;margin-left:auto;margin-right:auto}

.related .postImg{aspect-ratio:auto;background:transparent}.related .postImg img{display:block;width:100%;height:auto;object-fit:contain}.related .post h3{font-size:24px;line-height:1.25;font-weight:600;margin:0 0 10px}

.siteNav{padding-top:0;padding-bottom:0;min-height:112px;align-items:center}.siteBrand{align-self:flex-start}.siteBrand img{width:130px;height:104px}.siteNav nav{padding:20px 0}@media(max-width:700px){.siteBrand img{width:100px;height:80px}.siteNav{gap:0}.siteNav nav{padding:14px 0}}
