html { overflow-x: clip; }
.blog-page { overflow-x: clip; background: #f8f8fc; }
.blog-header { background: #fff; border-bottom: 1px solid #ececf3; }
.blog-header-inner { min-height: 104px; padding-top: 50px; padding-bottom: 25px; }
.blog-header .brand-lockup { text-decoration: none; }
.blog-header .site-nav { top: 37px; }
.blog-main { padding-top: 54px; padding-bottom: 72px; }
.blog-hero { position: relative; min-height: 350px; padding: 56px; overflow: hidden; border-radius: 32px; color: #fff; background: #111532; }
.blog-hero::after { content: ""; position: absolute; top: -90px; right: -40px; width: 360px; height: 360px; border: 70px solid var(--pink); border-radius: 50%; opacity: .92; }
.blog-kicker { position: relative; z-index: 1; margin: 0 0 18px; color: var(--yellow); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.blog-hero h1 { position: relative; z-index: 1; max-width: 700px; margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: .98; font-weight: 900; letter-spacing: -2.5px; }
.blog-lead { position: relative; z-index: 1; max-width: 590px; margin: 28px 0 0; color: #d9dbea; font-size: 18px; line-height: 1.5; }
.blog-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.blog-categories article { min-height: 150px; padding: 26px; border-radius: 24px; background: #fff; box-shadow: 0 8px 25px rgba(22,20,53,.06); }
.blog-categories span { color: var(--pink); font-size: 14px; font-weight: 900; }
.blog-categories h2 { max-width: 250px; margin: 30px 0 0; font-size: 21px; line-height: 1.15; }
.blog-feed { margin-top: 68px; }
.blog-section-heading p { margin: 0 0 7px; color: var(--purple); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.blog-section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1; font-weight: 900; letter-spacing: -1.5px; }
.blog-empty { margin-top: 28px; padding: 52px 32px; border: 2px dashed #dcdcea; border-radius: 26px; text-align: center; background: #fff; }
.blog-empty span { display: inline-block; padding: 7px 12px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.blog-empty h3 { margin: 18px 0 8px; font-size: 24px; }
.blog-empty p { margin: 0; color: #66687d; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.blog-feed > .blog-grid { margin-top: 0; }
.blog-card { overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 9px 28px rgba(22,20,53,.08); }
.blog-card-image { display: block; overflow: hidden; background: #111532; }
.blog-card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-content { padding: 26px; }
.blog-card-meta { margin: 0 0 12px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.blog-card h3 { margin: 0; font-size: 26px; line-height: 1.12; }
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card-content > p:not(.blog-card-meta) { margin: 15px 0 22px; color: #66687d; line-height: 1.5; }
.blog-card-link { color: var(--pink); font-weight: 900; text-decoration: none; }
.blog-footer { margin-top: 0; }
.article-main { max-width: 820px; padding-top: 70px; padding-bottom: 90px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; color: #77798c; font-size: 14px; }
.breadcrumbs a { color: inherit; }
.article-category { margin: 0 0 18px; color: var(--pink); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.article-main h1 { margin: 0; font-size: clamp(42px, 7vw, 72px); line-height: 1; letter-spacing: -2px; }
.article-lead { margin: 26px 0 48px; color: #66687d; font-size: 21px; line-height: 1.5; }
.article-cover { width: 100%; margin-bottom: 48px; border-radius: 28px; box-shadow: 0 12px 34px rgba(22,20,53,.12); }
.article-figure { margin: 38px 0 48px; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 10px 30px rgba(22,20,53,.10); }
.article-figure figcaption { max-width: 680px; margin: 12px 6px 0; color: #707286; font-size: 14px; line-height: 1.5; }
.article-figure--compact { margin-bottom: 34px; }
.article-content { font-size: 18px; line-height: 1.7; }
.article-content h2 { margin: 44px 0 16px; font-size: 32px; line-height: 1.15; }
.idea-list { margin: 48px 0; counter-reset: idea; }
.idea { position: relative; padding: 28px 28px 28px 88px; border-top: 1px solid #dedfea; counter-increment: idea; }
.idea:last-child { border-bottom: 1px solid #dedfea; }
.idea::before { content: counter(idea); position: absolute; top: 28px; left: 18px; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: var(--pink); font-size: 18px; font-weight: 900; }
.idea:nth-child(3n+2)::before { background: var(--purple); }
.idea:nth-child(3n)::before { color: var(--ink); background: var(--yellow); }
.idea h2 { margin: 0 0 8px; font-size: 23px; }
.idea p { margin: 0; }
.idea .idea-tip { margin-top: 12px; color: #55576e; }
.article-howto { margin: 48px 0; }
.article-howto li { margin-bottom: 12px; }
.article-note { margin: 48px 0; padding: 30px; border-radius: 24px; background: #eef0ff; }
.article-note h2 { margin-top: 0; }
.article-note ul { margin-bottom: 0; padding-left: 22px; }
.article-back { margin-top: 58px; }
.article-back a { color: var(--purple); font-weight: 900; text-decoration: none; }
.article-cta { margin-top: 56px; padding: 34px; border-radius: 26px; color: #fff; background: linear-gradient(105deg, #ff1680, #d729b3); }
.article-cta > p:first-child { margin: 0 0 12px; color: var(--yellow); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.article-cta h2 { margin: 0 0 16px; color: #fff; }
.article-cta p { margin: 0 0 24px; }
.article-cta a { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; padding: 13px 18px; border-radius: 16px; color: var(--ink); background: var(--yellow); font-weight: 900; text-decoration: none; }
.related-links { display: grid; gap: 10px; margin: 48px 0 0; padding: 28px 30px; border: 1px solid #e4e5ee; border-radius: 24px; background: #fff; }
.related-links h2 { margin: 0 0 8px; font-size: 24px; }
.related-links a { position: relative; padding: 8px 14px 8px 25px; color: var(--ink); font-weight: 700; line-height: 1.35; text-decoration: none; }
.related-links a::before { content: "→"; position: absolute; left: 0; color: var(--pink); }
.related-links a:hover { color: var(--pink); }
.article-main.article-layout { width: min(100% - 40px, 1180px); max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 38px; align-items: start; }
.article-primary { min-width: 0; }
.article-title-highlight { box-shadow: inset 0 -.2em 0 rgba(255,219,37,.72); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.article-subtitle { margin: 13px 0 19px; color: var(--ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.12; font-weight: 900; letter-spacing: -1px; }
.article-layout .article-category { margin-bottom: 18px; color: #77798c; font-size: 14px; letter-spacing: 0; text-transform: none; }
.article-layout .article-lead { margin-top: 0; }
.article-layout [id] { scroll-margin-top: 24px; }
.article-sidebar { position: sticky; top: 24px; display: grid; gap: 20px; }
.article-promo { position: relative; padding: 24px 22px 20px; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg, #fff1f7, #f8e8f3); box-shadow: 0 10px 28px rgba(22,20,53,.08); }
.article-promo::after { content: ""; position: absolute; top: 24px; right: 19px; width: 27px; height: 38px; border-right: 5px solid var(--pink); border-bottom: 5px solid var(--pink); transform: rotate(42deg); opacity: .85; }
.article-promo-kicker { display: inline-block; margin: 0 0 16px; padding: 7px 11px; border-radius: 9px; color: #fff; background: var(--pink); font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); }
.article-promo h2 { position: relative; z-index: 1; margin: 0; font-size: 30px; line-height: 1; letter-spacing: -1px; }
.article-promo h2::after { content: ""; display: block; width: 125px; height: 7px; margin-top: 8px; border-radius: 999px; background: var(--yellow); transform: rotate(-2deg); }
.article-promo ul { position: relative; z-index: 2; margin: 18px 0 5px; padding: 0; list-style: none; }
.article-promo li { position: relative; margin: 9px 0; padding-left: 20px; font-size: 14px; line-height: 1.3; font-weight: 700; }
.article-promo li::before { content: ""; position: absolute; top: .35em; left: 0; width: 9px; height: 5px; border-bottom: 3px solid var(--pink); border-left: 3px solid var(--pink); transform: rotate(-45deg); }
.article-promo img { position: relative; z-index: 1; width: 125%; max-width: none; margin: -6px 0 -10px -18%; }
.article-promo > a { position: relative; z-index: 2; display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 12px 15px; border-radius: 15px; color: #fff; background: var(--pink); box-shadow: 0 8px 20px rgba(255,23,119,.22); font-size: 14px; font-weight: 900; text-decoration: none; }
.article-promo > a:hover { background: #e90c68; }
.article-toc { padding: 22px; border: 1px solid #e1e2ec; border-radius: 24px; background: #fff; }
.article-toc h2 { margin: 0 0 13px; font-size: 18px; }
.article-toc a { position: relative; display: block; padding: 8px 0 8px 15px; color: #686a7d; font-size: 13px; line-height: 1.35; text-decoration: none; }
.article-toc a::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 0; width: 3px; border-radius: 3px; background: #ececf3; }
.article-toc a:hover { color: var(--pink); }
.article-toc a:hover::before { background: var(--pink); }

@media (max-width: 900px) {
  .article-main.article-layout { width: min(100% - 40px, 820px); display: block; }
  .article-sidebar { display: none; }
}

@media (max-width: 767px) {
  .blog-header-inner { min-height: 72px; padding-top: 28px; padding-bottom: 16px; }
  .blog-header .mobile-menu-toggle { top: 17px; }
  .blog-header .mobile-nav { top: 73px; }
  .blog-main { padding-top: 28px; padding-bottom: 44px; }
  .blog-hero { min-height: 0; padding: 34px 24px 110px; border-radius: 24px; }
  .blog-hero::after { top: auto; right: -65px; bottom: -155px; width: 270px; height: 270px; border-width: 52px; }
  .blog-hero h1 { font-size: clamp(36px, 10vw, 52px); letter-spacing: -1.7px; }
  .blog-lead { font-size: 16px; }
  .blog-categories { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
  .blog-categories article { min-height: 118px; padding: 22px; }
  .blog-categories h2 { margin-top: 20px; font-size: 19px; }
  .blog-feed { margin-top: 44px; }
  .blog-empty { padding: 38px 20px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-card-content { padding: 22px; }
  .blog-card h3 { font-size: 23px; }
  .article-main { padding-top: 42px; padding-bottom: 58px; }
  .article-lead { margin-bottom: 34px; font-size: 18px; }
  .article-cover { margin-bottom: 34px; border-radius: 20px; }
  .article-figure { margin: 28px 0 36px; }
  .article-figure img { border-radius: 20px; }
  .article-figure figcaption { margin-inline: 2px; font-size: 13px; }
  .article-content { font-size: 16px; }
  .idea { padding: 24px 0 24px 62px; }
  .idea::before { top: 24px; left: 0; width: 42px; height: 42px; }
  .idea h2 { font-size: 20px; }
  .article-note { padding: 24px 20px; }
  .article-cta { padding: 26px 20px; }
  .related-links { padding: 24px 20px; }
  .article-main.article-layout { width: min(100% - 32px, 620px); display: block; }
  .article-sidebar { display: none; }
  .article-subtitle { margin-top: 10px; }
}

@media (max-width: 359px) {
  .blog-header-inner { padding-inline: 0; }
}
