/* Gosotek editorial system */
.blog-page-hero { padding-bottom: 92px; }
.blog-page-hero .page-hero-inner { text-align: left; }
.blog-page-hero .page-hero-title { max-width: 820px; font-size: clamp(48px, 7vw, 88px); }
.blog-page-hero .page-hero-subtitle { margin: 18px 0 0; max-width: 660px; }
.blog-hero-kicker { display: block; color: #8ea4ff; font-size: 12px; font-weight: 700; letter-spacing: 2px; margin: 46px 0 14px; }
.blog-library { background: #f7f8fb; padding: 72px 40px 96px; }
.blog-library-inner { max-width: 1320px; margin: 0 auto; }
.blog-library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.blog-library-heading h2 { font: 600 clamp(30px, 4vw, 48px)/1.08 'Funnel Display', sans-serif; margin: 8px 0 0; color: #10131c; }
#blogResults { color: #687080; font-size: 14px; margin: 0 0 4px; }
.blog-filters { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 18px; margin-bottom: 24px; scrollbar-width: none; }
.blog-filters::-webkit-scrollbar { display: none; }
.blog-filter-btn { border: 1px solid #dfe3eb; background: #fff; color: #3e4552; border-radius: 999px; padding: 11px 18px; font: 600 13px/1 'Inter', sans-serif; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.blog-filter-btn:hover, .blog-filter-btn:focus-visible { border-color: #4a6cf7; color: #2449dd; outline: none; }
.blog-filter-btn.active { background: #4a6cf7; border-color: #4a6cf7; color: #fff; }
.blog-grid--page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.blog-card { background: #fff; border: 1px solid #e8eaf0; border-radius: 8px; overflow: hidden; min-width: 0; box-shadow: 0 8px 26px rgba(16, 25, 54, .04); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(16, 25, 54, .10); }
.blog-card[hidden] { display: none !important; }
.blog-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.blog-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe5f4; }
.blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.035); }
.blog-card-category { position: absolute; left: 16px; bottom: 16px; border-radius: 999px; padding: 7px 11px; color: #fff; background: rgba(10, 19, 45, .82); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; }
.blog-card-content { display: flex; flex-direction: column; min-height: 260px; padding: 25px; }
.blog-card-title { font: 600 clamp(22px, 2.2vw, 30px)/1.18 'Funnel Display', sans-serif; color: #11141c; margin: 0 0 12px; }
.blog-card-desc { color: #646b78; font-size: 15px; line-height: 1.65; margin: 0 0 22px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; color: #7c8390; font-size: 12px; }
.blog-card-read { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #3156e8; font-weight: 700; }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 42px; min-height: 44px; }
.blog-page-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dfe3eb; background: #fff; color: #3e4552; border-radius: 50%; cursor: pointer; font-weight: 700; }
.blog-page-btn:hover, .blog-page-btn:focus-visible { border-color: #4a6cf7; color: #2449dd; outline: none; }
.blog-page-btn.active { background: #4a6cf7; border-color: #4a6cf7; color: #fff; }
.article-page { background: #f7f8fb; padding: 128px 24px 88px; }
.article-shell { max-width: 980px; margin: 0 auto; }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: #3156e8; text-decoration: none; font-size: 14px; font-weight: 700; margin-bottom: 42px; }
.article-header { max-width: 880px; margin-bottom: 36px; }
.article-category { display: inline-block; color: #3156e8; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.article-header h1 { color: #0e1118; font: 600 clamp(38px, 6vw, 68px)/1.04 'Funnel Display', sans-serif; margin: 0; }
.article-summary { max-width: 780px; color: #606875; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; margin: 24px 0; }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #6e7580; font-size: 13px; }
.article-author-mark { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #1a2c67; font: 700 13px 'Funnel Display', sans-serif; }
.article-hero { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 46px; background: #dfe5f4; }
.article-body { max-width: 780px; margin: 0 auto; color: #303640; font-size: 17px; line-height: 1.82; }
.article-body h2 { color: #10131a; font: 600 32px/1.2 'Funnel Display', sans-serif; margin: 48px 0 16px; }
.article-body h3 { color: #171a21; font: 600 23px/1.3 'Funnel Display', sans-serif; margin: 34px 0 12px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 22px; }
.article-body li { margin: 0 0 9px; }
.article-body a { color: #3156e8; text-underline-offset: 3px; }
.article-body blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid #4a6cf7; background: #eef2ff; color: #3d4554; }
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; line-height: 1.5; }
.article-body th, .article-body td { padding: 13px 14px; border: 1px solid #dfe3eb; text-align: left; vertical-align: top; }
.article-body th { background: #eef2ff; color: #17255a; }
.article-body tbody tr:nth-child(even) { background: #fafbfe; }
.article-cta { max-width: 880px; margin: 64px auto 0; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #10204e; color: #fff; border-radius: 8px; }
.article-cta span { color: #9fb0ed; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.article-cta h2 { font: 600 clamp(24px, 3vw, 34px)/1.15 'Funnel Display', sans-serif; margin: 8px 0 0; }
.article-cta a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 13px 18px; background: #fff; color: #10204e; text-decoration: none; border-radius: 6px; font-size: 14px; font-weight: 700; }
@media (max-width: 768px) {
  .blog-page-hero { padding: 112px 18px 54px; }
  .blog-hero-kicker { margin-top: 30px; }
  .blog-page-hero .page-hero-title { font-size: 46px; line-height: 1.02; }
  .blog-library { padding: 50px 16px 68px; }
  .blog-library-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .blog-grid--page { grid-template-columns: 1fr; gap: 18px; }
  .blog-card-content { min-height: 0; padding: 20px; }
  .blog-card-title { font-size: 24px; }
  .blog-card-read { width: 100%; margin: 3px 0 0; }
  .article-page { padding: 104px 16px 60px; }
  .article-back { margin-bottom: 28px; }
  .article-header h1 { font-size: 40px; }
  .article-summary { font-size: 17px; }
  .article-hero { margin-bottom: 32px; }
  .article-body { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
  .article-body h2 { font-size: 28px; margin-top: 40px; }
  .article-body h3 { font-size: 22px; }
  .article-body table { display: block; overflow-x: auto; white-space: nowrap; }
  .article-cta { align-items: flex-start; flex-direction: column; padding: 26px 22px; margin-top: 48px; }
  .article-cta a { width: 100%; justify-content: center; }
}
