/* Wialon-inspired editorial structure, using GLOT's existing design tokens. */
.news-site { background: #fff; }
.news-site :is(a, button, input):focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 4px; }
.news-site .site-header { grid-template-columns: auto minmax(0, 1fr) auto; }
.news-site .site-nav { margin-right: 12px; gap: 8px; }
.news-site .site-nav a[aria-current="page"] { color: var(--blue); background: var(--surface-soft); }
.news-site .header-actions { gap: 14px; }
.news-index { padding: 26px 0 72px; }
.news-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: .76rem; }
.news-breadcrumb a:hover { color: var(--blue); }
.news-breadcrumb [aria-current] { color: var(--text); }
.blog-hero { position: relative; isolation: isolate; overflow: hidden; padding: 26px 36px; text-align: center; border: 1px solid #e0edf3; border-radius: 18px; background: linear-gradient(115deg, #edf6fb, #f3f8f8); }
.blog-hero::before, .blog-hero::after { position: absolute; z-index: -1; content: ""; width: 280px; height: 280px; border: 1px solid #0a6eba10; border-radius: 50%; box-shadow: 0 0 0 24px #0a6eba04, 0 0 0 48px #0a6eba03; }
.blog-hero::before { left: -190px; bottom: -160px; }
.blog-hero::after { right: -190px; top: -150px; }
.news-kicker { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--blue); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.news-kicker > span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.blog-hero h1 { max-width: none; min-height: 0; margin: 0 0 12px; font-size: clamp(2rem, 3.7vw, 3rem); line-height: 1.15; letter-spacing: -.04em; }
.blog-hero h1 span { color: var(--blue); }
.blog-hero > p:not(.news-kicker) { max-width: 680px; margin: 0 auto; color: #596f80; font-size: .92rem; line-height: 1.7; }
.blog-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); align-items: start; gap: 30px; margin-top: 32px; }
.blog-sidebar { display: grid; gap: 20px; min-width: 0; }
.blog-categories, .blog-recent, .blog-toc { padding: 18px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.blog-categories h2, .blog-recent h2, .blog-toc h2 { min-height: 0; font-size: .95rem; margin: 0 8px 14px; letter-spacing: -.02em; }
.blog-categories a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; padding: 11px 12px; margin: 3px 0; border-radius: 8px; color: #516475; font-size: .82rem; line-height: 1.4; transition: background 150ms ease; }
.blog-categories a:hover { color: var(--blue); background: #eff7fc; }
.blog-categories a[aria-current] { background: var(--blue); color: #fff; font-weight: 600; }
.blog-count { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 6px; background: #eef3f7; color: #597386; font-size: .7rem; font-weight: 500; }
[aria-current] .blog-count { background: #ffffff24; color: #fff; }
.blog-recent a { display: block; padding: 14px 8px; font-size: .78rem; line-height: 1.6; overflow-wrap: anywhere; }
.blog-recent a + a { border-top: 1px solid var(--border); }
.blog-recent a:hover { color: var(--blue); }
.blog-recent time { display: block; margin-bottom: 5px; color: var(--muted); font-size: .68rem; }
.blog-guide { padding: 23px; border: 1px solid #dbeaf3; border-radius: 12px; background: #f0f7fb; }
.blog-guide__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; background: #fff; border-radius: 10px; color: var(--blue); }
.blog-guide__icon svg { width: 23px; height: 23px; }
.blog-guide h2 { min-height: 0; margin-bottom: 9px; font-size: 1.08rem; }
.blog-guide p { color: #5a7181; font-size: .8rem; margin: 0 0 22px; }
.blog-guide a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #d8e7f0; padding-top: 14px; color: var(--blue); font-weight: 600; font-size: .74rem; }
.blog-guide a svg { width: 18px; height: 18px; flex-shrink: 0; }
.blog-feed { min-width: 0; }
.blog-feed-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.blog-feed-heading h2 { min-height: 0; font-size: 1.1rem; letter-spacing: -.02em; margin: 0; }
.blog-reset { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--blue); font-size: .75rem; }
.blog-reset span { font-size: 1.2rem; }
.blog-query { overflow-wrap: anywhere; color: var(--muted); font-size: .9rem; }
.blog-feature { overflow: hidden; padding: 18px; border: 1px solid #e0eaf1; border-radius: 14px; background: #f5f8fb; }
.blog-feature__image { display: block; position: relative; height: clamp(250px, 25vw, 300px); overflow: hidden; border-radius: 9px; background: #e7eff5; }
.blog-feature__image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.blog-latest { position: absolute; top: 15px; left: 15px; padding: 6px 10px; background: #fff; color: #225f82; border: 1px solid #d8e4eb; border-radius: 6px; font-size: .65rem; font-weight: 600; box-shadow: 0 3px 12px #183b6210; }
.blog-feature__body { padding: 22px 7px 8px; }
.blog-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.blog-meta > span, .blog-meta > time { display: inline-flex; align-items: center; gap: 6px; font-size: inherit; }
.blog-meta svg { width: 15px; height: 15px; flex-shrink: 0; }
.blog-feature h2 { min-height: 0; margin: 14px 0 12px; font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -.035em; line-height: 1.25; overflow-wrap: anywhere; }
.blog-feature h2 a:hover, .blog-row h3 a:hover { color: var(--blue); }
.blog-feature__body > p { color: #5d7282; font-size: .9rem; line-height: 1.75; margin: 0 0 22px; }
.blog-feature__bottom, .blog-row__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.blog-tag { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #d6e5ef; border-radius: 5px; color: #18699f; background: #fff; font-size: .7rem; line-height: 1.4; }
a.blog-tag:hover { border-color: var(--blue); background: #eff7fc; }
.blog-read { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; color: var(--blue); font-size: .78rem; font-weight: 600; }
.blog-read svg { width: 20px; height: 20px; transition: transform 150ms ease; }
.blog-read:hover svg { transform: translateX(3px); }
.blog-rows { display: grid; gap: 18px; }
.blog-feature + .blog-rows:not(:empty) { margin-top: 20px; }
.blog-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: border-color 150ms ease; }
.blog-row:hover { border-color: #9ec6e0; }
.blog-row__image { display: block; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px; background: var(--surface-soft); }
.blog-row__image img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.blog-row h3 { min-height: 0; margin: 10px 0 8px; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.4; overflow-wrap: anywhere; }
.blog-row__body { min-width: 0; }
.blog-row__body > p { margin: 0 0 12px; color: var(--muted); font-size: .8rem; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.blog-row .blog-read { width: 36px; justify-content: center; border: 1px solid #e2eaf0; border-radius: 7px; }
.blog-row .blog-meta { gap: 8px 12px; font-size: .67rem; }
.news-art { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; color: #fff; background: linear-gradient(125deg, #074978, var(--blue)); }
.news-art__name { position: absolute; left: 9%; bottom: 16%; font-size: clamp(2.3rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.news-art__name small { display: block; margin-top: 12px; font-size: .65rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.news-art__globe { position: absolute; top: -25%; right: -3%; width: 65%; aspect-ratio: 1; border: 1px solid #ffffff40; border-radius: 50%; box-shadow: 0 0 0 34px #ffffff08, 0 0 0 68px #ffffff05; }
.news-art__globe::before, .news-art__globe::after { content: ""; position: absolute; inset: 0 25%; border: 1px solid #ffffff30; border-radius: 50%; }
.news-art__globe::after { inset: 25% 0; }
.news-art__dot { position: absolute; width: 12px; height: 12px; right: 18%; bottom: 20%; background: var(--yellow); border-radius: 50%; }
.blog-row .news-art__name { font-size: 2.2rem; }
.blog-row .news-art__name small { font-size: .5rem; }
.blog-empty { display: grid; justify-items: start; padding: 46px; border: 1px dashed #c7dbe7; border-radius: 14px; background: #f8fbfd; }
.blog-empty > svg { width: 36px; height: 36px; margin-bottom: 25px; color: var(--blue); }
.blog-empty h2 { min-height: 0; font-size: 1.6rem; line-height: 1.3; margin: 0 0 16px; }
.blog-empty p { color: var(--muted); font-size: .9rem; max-width: 460px; }
.blog-empty a { gap: 12px; font-size: .8rem; }
.blog-empty a svg { width: 19px; height: 19px; }
.news-index .news-pagination { justify-content: center; font-size: .8rem; gap: 18px; }
.news-index .news-pagination .button { min-height: 42px; font-size: .8rem; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 56px; }
.news-site .news-article { min-width: 0; max-width: none; }
.news-article > article > .blog-meta { margin: 10px 0 20px; }
:is(.news-site .news-article, .cms-preview-content) h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -.035em; overflow-wrap: anywhere; line-height: 1.18; margin-bottom: 22px; }
.news-article__cover { object-fit: contain; background: #f1f6f9; padding: 12px; border: 1px solid var(--border); }
:is(.news-site, .cms-preview-content) .news-article__lead { color: #496275; font-size: 1.12rem; line-height: 1.8; }
:is(.news-site, .cms-preview-content) .news-rich-content { font-size: 1rem; line-height: 1.85; color: #3c5060; }
.news-rich-content :is(h2,h3)[id] { scroll-margin-top: 110px; }
.blog-author { display: flex; gap: 14px; align-items: center; padding: 24px 0; margin-top: 34px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-weight: 600; font-size: .88rem; }
.blog-author__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e9f4fa; color: var(--blue); font-size: 1.4rem; font-weight: 800; }
.blog-author small { display: block; color: var(--muted); font-size: .72rem; font-weight: 400; margin-top: 3px; }
.blog-article-sidebar { position: sticky; top: 106px; display: grid; gap: 22px; }
.blog-toc { max-height: calc(100vh - 160px); overflow: auto; }
.blog-toc--mobile { display: none; }
.blog-toc a { display: block; padding: 8px; color: #5a7181; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; border-left: 2px solid transparent; }
.blog-toc a:hover { color: var(--blue); background: #f0f7fb; border-left-color: var(--blue); }
.blog-toc .blog-toc__nested { padding-left: 22px; font-size: .74rem; }
.blog-related { margin-top: 40px; }
.blog-related > h2 { min-height: 0; margin-bottom: 22px; font-size: 1.5rem; }
.blog-article-page .news-back { margin: 30px 0 0; font-size: .85rem; }
.news-footer { border-top: 1px solid var(--border); background: #f0f6f9; padding: 34px 0 22px; }
.news-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; }
.news-footer .brand { width: 82px; }
.news-footer__inner > div > p { max-width: 290px; margin: 14px 0 0; color: var(--muted); font-size: .75rem; }
.news-footer nav { display: flex; align-items: start; flex-wrap: wrap; gap: 16px 26px; padding-top: 8px; font-size: .78rem; }
.news-footer nav a:hover { color: var(--blue); }
.news-footer__copyright { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .69rem; }
@media (max-width: 1050px) {
  .news-site .site-nav { margin-right: 0; gap: 4px; }
  .news-site .header-actions .text-link { display: none; }
  .blog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
  .blog-row { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
  .blog-article-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 30px; }
}
@media (max-width: 860px) {
  .news-site .site-nav { grid-column: 2; grid-row: 1; }
  .news-site .header-actions { display: flex; }
  .blog-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .blog-categories { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; }
  .blog-categories h2 { width: 100%; margin: 0 0 8px; }
  .blog-categories a { min-height: 42px; margin: 0; border: 1px solid var(--border); padding: 8px 12px; font-size: .78rem; }
  .blog-categories a[aria-current] { border-color: var(--blue); }
  .blog-sidebar > .blog-guide, .blog-sidebar > .blog-recent { display: none; }
  .blog-feature__image { height: 330px; }
  .blog-row { grid-template-columns: 200px minmax(0, 1fr); }
  .blog-article-layout { grid-template-columns: 1fr; gap: 24px; }
  .blog-article-sidebar { display: none; }
  .blog-toc--mobile { display: block; margin: 26px 0; }
  .blog-article-sidebar > .blog-guide { display: none; }
  .blog-toc { max-height: 240px; }
  .news-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .news-site .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding-block: 12px 8px; }
  .news-site .brand { width: 94px; }
  .news-site .header-actions { grid-column: 2; grid-row: 1; }
  .news-site .site-nav { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .news-site .site-nav a { min-height: 34px; padding: 6px 9px; font-size: .8rem; }
  .news-index { padding: 20px 0 42px; }
  .news-breadcrumb { margin-bottom: 20px; font-size: .7rem; }
  .blog-hero { padding: 26px 18px 20px; border-radius: 14px; }
  .blog-hero h1 { font-size: 2.15rem; }
  .blog-hero > p:not(.news-kicker) { font-size: .82rem; }
  .blog-categories a { flex: 1 1 calc(50% - 6px); padding: 8px 10px; font-size: .72rem; }
  .blog-categories .blog-count { min-width: 20px; height: 20px; }
  .blog-feed-heading h2 { font-size: 1rem; }
  .blog-feature { padding: 12px; }
  .blog-feature__image { height: 240px; }
  .blog-feature__image img { padding: 6px; }
  .blog-latest { top: 10px; left: 10px; font-size: .6rem; }
  .blog-feature__body { padding: 18px 4px 5px; }
  .blog-feature h2 { font-size: 1.55rem; }
  .blog-feature__body > p { font-size: .84rem; }
  .blog-feature__bottom { gap: 8px; }
  .blog-feature__bottom .blog-read { font-size: .72rem; gap: 8px; }
  .blog-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .blog-row h3 { font-size: .97rem; }
  .blog-row .blog-meta { font-size: .62rem; gap: 6px; }
  .blog-row .blog-meta svg { width: 12px; height: 12px; }
  .blog-row .news-art__name { font-size: 1.5rem; }
  .blog-row .news-art__name small { display: none; }
  .blog-row__body > p { font-size: .75rem; }
  .blog-tag { font-size: .65rem; padding: 5px 8px; }
  .blog-empty { padding: 28px; }
  .blog-empty h2 { font-size: 1.4rem; }
  :is(.news-site .news-article, .cms-preview-content) h1 { font-size: 2rem; }
  :is(.news-site, .cms-preview-content) .news-article__lead { font-size: 1rem; }
  :is(.news-site, .cms-preview-content) .news-rich-content { font-size: .94rem; }
  .news-footer nav { gap: 14px; flex-direction: column; }
  .news-footer .brand { width: 82px; }
}
@media (max-width: 440px) {
  .news-site .site-nav { grid-column: 1 / -1; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-row__image { aspect-ratio: 16 / 9; max-height: 200px; }
  .blog-row .news-art__name { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .blog-read svg, .blog-categories a, .blog-row { transition: none; } .blog-read:hover svg { transform: none; } }
