/* K Biz Note category buttons + content card repair
   2026-07-03C
   목적: 상단 카테고리 버튼은 유지하고, 카테고리 본문 글 카드가 좁은 세로열로 깨지는 문제 보정 */

:root{
  --kbiz-navy:#153f5b;
  --kbiz-deep:#0e5860;
  --kbiz-text:#12202b;
  --kbiz-muted:#5f6f7d;
  --kbiz-line:#dfe7ec;
  --kbiz-bg:#f5f7fa;
  --kbiz-soft:#eef7f6;
  --kbiz-white:#fff;
}

/* 1) 상단 카테고리 버튼: PC 4개, 모바일 2개 */
.kbiz-category-buttons,
.kbiz-topic-buttons,
.kbiz-category-nav,
.category-buttons,
.category-nav,
.topic-buttons,
.site-category-links,
.site-topic-links,
.top-category-links,
.header-category-links,
.nav-category-links{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:stretch !important;
  width:100% !important;
  max-width:760px !important;
  margin-left:auto !important;
}

.kbiz-category-buttons a,
.kbiz-topic-buttons a,
.kbiz-category-nav a,
.category-buttons a,
.category-nav a,
.topic-buttons a,
.site-category-links a,
.site-topic-links a,
.top-category-links a,
.header-category-links a,
.nav-category-links a,
.site-header nav a,
.header nav a{
  min-height:42px !important;
  padding:10px 18px !important;
  border:1px solid var(--kbiz-line) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:var(--kbiz-text) !important;
  font-weight:800 !important;
  font-size:15px !important;
  line-height:1.2 !important;
  text-align:center !important;
  text-decoration:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
  box-shadow:none !important;
}

.kbiz-category-buttons a:hover,
.kbiz-topic-buttons a:hover,
.kbiz-category-nav a:hover,
.category-buttons a:hover,
.category-nav a:hover,
.topic-buttons a:hover,
.site-category-links a:hover,
.site-topic-links a:hover,
.top-category-links a:hover,
.header-category-links a:hover,
.nav-category-links a:hover,
.site-header nav a:hover,
.header nav a:hover{
  background:var(--kbiz-soft) !important;
  color:var(--kbiz-deep) !important;
  border-color:#cbdde1 !important;
}

.kbiz-category-buttons a.active,
.kbiz-category-buttons a.current,
.kbiz-category-buttons a.is-active,
.kbiz-category-buttons a[aria-current="page"],
.kbiz-topic-buttons a.active,
.kbiz-topic-buttons a.current,
.kbiz-topic-buttons a.is-active,
.kbiz-topic-buttons a[aria-current="page"],
.kbiz-category-nav a.active,
.kbiz-category-nav a.current,
.kbiz-category-nav a.is-active,
.kbiz-category-nav a[aria-current="page"],
.category-buttons a.active,
.category-buttons a.current,
.category-buttons a.is-active,
.category-buttons a[aria-current="page"],
.category-nav a.active,
.category-nav a.current,
.category-nav a.is-active,
.category-nav a[aria-current="page"],
.topic-buttons a.active,
.topic-buttons a.current,
.topic-buttons a.is-active,
.topic-buttons a[aria-current="page"],
.site-category-links a.active,
.site-category-links a.current,
.site-category-links a.is-active,
.site-category-links a[aria-current="page"],
.site-topic-links a.active,
.site-topic-links a.current,
.site-topic-links a.is-active,
.site-topic-links a[aria-current="page"],
.top-category-links a.active,
.top-category-links a.current,
.top-category-links a.is-active,
.top-category-links a[aria-current="page"],
.header-category-links a.active,
.header-category-links a.current,
.header-category-links a.is-active,
.header-category-links a[aria-current="page"],
.nav-category-links a.active,
.nav-category-links a.current,
.nav-category-links a.is-active,
.nav-category-links a[aria-current="page"],
.site-header nav a.active,
.site-header nav a.current,
.site-header nav a.is-active,
.site-header nav a[aria-current="page"],
.header nav a.active,
.header nav a.current,
.header nav a.is-active,
.header nav a[aria-current="page"]{
  background:var(--kbiz-navy) !important;
  border-color:var(--kbiz-navy) !important;
  color:#fff !important;
  box-shadow:0 12px 24px rgba(21,63,91,.18) !important;
}

/* 2) 본문 레이아웃: 글 카드가 3~4열처럼 찢어지는 문제 보정 */
main,
.kbiz-main,
.page-main,
.content-wrap,
.page-wrap,
.container{
  box-sizing:border-box !important;
}

/* 목록 전체: PC 2열, 본문 영역 안에서만 동작 */
.post-list,
.posts-list,
.note-list,
.notes-list,
.article-list,
.articles-list,
.content-list,
.archive-list,
.kbiz-post-list,
.kbiz-note-list,
.kbiz-article-list,
.latest-list,
.latest-grid,
.category-posts,
.category-list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
  align-items:start !important;
}

/* 글 카드 공통: 가로 폭을 확보하고 제목/요약/자세히 읽기를 한 흐름으로 배치 */
.post-card,
.note-card,
.article-card,
.content-card,
.archive-card,
.latest-card,
.kbiz-post-card,
.kbiz-note-card,
.kbiz-article-card,
.card.post,
.card.note,
.card.article,
.posts-list article,
.note-list article,
.article-list article,
.archive-list article,
.category-posts article,
.latest-grid article{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  padding:26px !important;
  border:1px solid var(--kbiz-line) !important;
  border-radius:20px !important;
  background:#fff !important;
  display:block !important;
  overflow:hidden !important;
  word-break:keep-all !important;
  overflow-wrap:anywhere !important;
}

/* 카드 안의 요소는 강제로 정상 문단 흐름으로 복구 */
.post-card > *,
.note-card > *,
.article-card > *,
.content-card > *,
.archive-card > *,
.latest-card > *,
.kbiz-post-card > *,
.kbiz-note-card > *,
.kbiz-article-card > *,
.card.post > *,
.card.note > *,
.card.article > *,
.posts-list article > *,
.note-list article > *,
.article-list article > *,
.archive-list article > *,
.category-posts article > *,
.latest-grid article > *{
  max-width:100% !important;
  min-width:0 !important;
  float:none !important;
  clear:none !important;
  writing-mode:horizontal-tb !important;
  white-space:normal !important;
}

/* 카테고리/날짜 정보: 세로 알약이 본문 폭을 잡아먹지 않도록 상단 가로 배치 */
.post-meta,
.note-meta,
.article-meta,
.card-meta,
.entry-meta,
.kbiz-card-meta,
.meta-row,
.meta,
.post-category,
.note-category,
.article-category,
.category-badge,
.badge-row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  height:auto !important;
  margin:0 0 14px 0 !important;
  writing-mode:horizontal-tb !important;
}

.post-meta span,
.note-meta span,
.article-meta span,
.card-meta span,
.entry-meta span,
.kbiz-card-meta span,
.meta-row span,
.meta span,
.post-category,
.note-category,
.article-category,
.category-badge,
.badge,
.date,
time{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  padding:7px 11px !important;
  border-radius:999px !important;
  background:#eef7f6 !important;
  color:#0e5860 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  writing-mode:horizontal-tb !important;
  white-space:nowrap !important;
}

/* 제목: 좁은 세로열로 떨어지지 않도록 폭과 행간 확보 */
.post-card h2,
.post-card h3,
.note-card h2,
.note-card h3,
.article-card h2,
.article-card h3,
.content-card h2,
.content-card h3,
.archive-card h2,
.archive-card h3,
.latest-card h2,
.latest-card h3,
.kbiz-post-card h2,
.kbiz-post-card h3,
.kbiz-note-card h2,
.kbiz-note-card h3,
.kbiz-article-card h2,
.kbiz-article-card h3,
.posts-list article h2,
.posts-list article h3,
.note-list article h2,
.note-list article h3,
.article-list article h2,
.article-list article h3,
.category-posts article h2,
.category-posts article h3,
.latest-grid article h2,
.latest-grid article h3{
  display:block !important;
  width:100% !important;
  margin:0 0 12px 0 !important;
  padding:0 !important;
  font-size:22px !important;
  line-height:1.45 !important;
  font-weight:900 !important;
  color:#0f1b25 !important;
  letter-spacing:-.04em !important;
  word-break:keep-all !important;
  overflow-wrap:break-word !important;
}

.post-card h2 a,
.post-card h3 a,
.note-card h2 a,
.note-card h3 a,
.article-card h2 a,
.article-card h3 a,
.content-card h2 a,
.content-card h3 a,
.archive-card h2 a,
.archive-card h3 a,
.latest-card h2 a,
.latest-card h3 a,
.kbiz-post-card h2 a,
.kbiz-post-card h3 a,
.kbiz-note-card h2 a,
.kbiz-note-card h3 a,
.kbiz-article-card h2 a,
.kbiz-article-card h3 a,
.posts-list article h2 a,
.posts-list article h3 a,
.note-list article h2 a,
.note-list article h3 a,
.article-list article h2 a,
.article-list article h3 a,
.category-posts article h2 a,
.category-posts article h3 a,
.latest-grid article h2 a,
.latest-grid article h3 a{
  display:block !important;
  color:inherit !important;
  text-decoration:none !important;
}

/* 요약문 */
.post-card p,
.note-card p,
.article-card p,
.content-card p,
.archive-card p,
.latest-card p,
.kbiz-post-card p,
.kbiz-note-card p,
.kbiz-article-card p,
.posts-list article p,
.note-list article p,
.article-list article p,
.category-posts article p,
.latest-grid article p,
.excerpt,
.summary,
.description,
.post-excerpt,
.note-excerpt,
.article-excerpt{
  display:block !important;
  width:100% !important;
  margin:0 0 16px 0 !important;
  font-size:16px !important;
  line-height:1.85 !important;
  color:#52616e !important;
  letter-spacing:-.02em !important;
  word-break:keep-all !important;
  overflow-wrap:break-word !important;
}

/* 자세히 읽기 */
.read-more,
.more-link,
.card-more,
.post-card .more,
.note-card .more,
.article-card .more,
.posts-list article > a:last-child,
.note-list article > a:last-child,
.article-list article > a:last-child,
.category-posts article > a:last-child,
.latest-grid article > a:last-child{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:auto !important;
  min-width:0 !important;
  margin-top:4px !important;
  padding:0 !important;
  color:#0e5860 !important;
  font-weight:900 !important;
  font-size:15px !important;
  line-height:1.4 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}

/* 오른쪽 사이드바의 주제 바로가기/검색 영역은 현재 카드형 유지 */
.sidebar,
aside,
.side-panel,
.aside-panel{
  min-width:0 !important;
}

/* 3) 태블릿/스마트폰 */
@media (max-width:900px){
  .post-list,
  .posts-list,
  .note-list,
  .notes-list,
  .article-list,
  .articles-list,
  .content-list,
  .archive-list,
  .kbiz-post-list,
  .kbiz-note-list,
  .kbiz-article-list,
  .latest-list,
  .latest-grid,
  .category-posts,
  .category-list{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
}

@media (max-width:768px){
  .kbiz-category-buttons,
  .kbiz-topic-buttons,
  .kbiz-category-nav,
  .category-buttons,
  .category-nav,
  .topic-buttons,
  .site-category-links,
  .site-topic-links,
  .top-category-links,
  .header-category-links,
  .nav-category-links{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    width:100% !important;
    max-width:none !important;
    margin:12px 0 0 0 !important;
    overflow:visible !important;
  }

  .kbiz-category-buttons a,
  .kbiz-topic-buttons a,
  .kbiz-category-nav a,
  .category-buttons a,
  .category-nav a,
  .topic-buttons a,
  .site-category-links a,
  .site-topic-links a,
  .top-category-links a,
  .header-category-links a,
  .nav-category-links a,
  .site-header nav a,
  .header nav a{
    min-height:40px !important;
    padding:10px 8px !important;
    font-size:13px !important;
    white-space:normal !important;
    word-break:keep-all !important;
    line-height:1.25 !important;
  }

  .post-card,
  .note-card,
  .article-card,
  .content-card,
  .archive-card,
  .latest-card,
  .kbiz-post-card,
  .kbiz-note-card,
  .kbiz-article-card,
  .posts-list article,
  .note-list article,
  .article-list article,
  .archive-list article,
  .category-posts article,
  .latest-grid article{
    padding:20px !important;
    border-radius:18px !important;
  }

  .post-card h2,
  .post-card h3,
  .note-card h2,
  .note-card h3,
  .article-card h2,
  .article-card h3,
  .content-card h2,
  .content-card h3,
  .archive-card h2,
  .archive-card h3,
  .latest-card h2,
  .latest-card h3,
  .kbiz-post-card h2,
  .kbiz-post-card h3,
  .kbiz-note-card h2,
  .kbiz-note-card h3,
  .kbiz-article-card h2,
  .kbiz-article-card h3,
  .posts-list article h2,
  .posts-list article h3,
  .note-list article h2,
  .note-list article h3,
  .article-list article h2,
  .article-list article h3,
  .category-posts article h2,
  .category-posts article h3,
  .latest-grid article h2,
  .latest-grid article h3{
    font-size:20px !important;
    line-height:1.45 !important;
  }

  .post-card p,
  .note-card p,
  .article-card p,
  .content-card p,
  .archive-card p,
  .latest-card p,
  .kbiz-post-card p,
  .kbiz-note-card p,
  .kbiz-article-card p,
  .posts-list article p,
  .note-list article p,
  .article-list article p,
  .category-posts article p,
  .latest-grid article p,
  .excerpt,
  .summary,
  .description,
  .post-excerpt,
  .note-excerpt,
  .article-excerpt{
    font-size:15px !important;
    line-height:1.75 !important;
  }
}


/* KBN_DIRECT_MOBILE_HEADER_4COL_V22_20260725
   파일 업로드 후 새로고침. 별도 apply.php 없음. */
#kbn-mobile-category-fixed-v18,
#kbn-mobile-category-fixed-v19,
#kbn-mobile-category-force-fixed-v20,
#kbn-mobile-category-fixed-v21,
.kbn-mobile-category-fixed-v19,
.kbn-mobile-category-force-fixed-v20,
.kbn-mobile-category-fixed-v21{display:none!important}
body.kbn-mobile-category-v19-active,
body.kbn-mobile-category-v20-active,
body.kbn-mobile-category-v21-active{padding-top:0!important}

@media(max-width:900px){
 html,body{max-width:100%!important;overflow-x:hidden!important}
 .customer-page .site-header,
 body:not(.admin-page) .site-header{position:sticky!important;top:0!important;z-index:3000!important;width:100%!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e5e7eb!important;box-shadow:0 4px 14px rgba(15,23,42,.08)!important;backdrop-filter:blur(10px)!important}
 .customer-page .site-header .header-inner,
 body:not(.admin-page) .site-header .header-inner{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;align-items:center!important;width:100%!important;min-height:0!important;padding-top:6px!important;padding-bottom:7px!important}
 .customer-page .site-header .brand,
 body:not(.admin-page) .site-header .brand{display:flex!important;width:100%!important;min-width:0!important;align-items:center!important;gap:8px!important;padding:0!important}
 .customer-page .site-header .brand-mark,
 body:not(.admin-page) .site-header .brand-mark{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:10px!important;font-size:18px!important}
 .customer-page .site-header .brand strong,
 body:not(.admin-page) .site-header .brand strong{font-size:15px!important;line-height:1.15!important}
 .customer-page .site-header .brand em,
 body:not(.admin-page) .site-header .brand em{display:none!important}

 .customer-page .site-header .main-nav,
 body:not(.admin-page) .site-header .main-nav,
 .customer-page .site-header .main-nav.kbn-mobile-category-source-hidden-v19,
 .customer-page .site-header .main-nav.kbn-mobile-category-source-hidden-v20,
 .customer-page .site-header .main-nav.kbn-mobile-category-source-hidden-v21,
 body:not(.admin-page) .site-header .main-nav.kbn-mobile-category-source-hidden-v19,
 body:not(.admin-page) .site-header .main-nav.kbn-mobile-category-source-hidden-v20,
 body:not(.admin-page) .site-header .main-nav.kbn-mobile-category-source-hidden-v21{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:none!important;min-width:0!important;gap:4px!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
 .customer-page .site-header .main-nav a,
 body:not(.admin-page) .site-header .main-nav a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:39px!important;margin:0!important;padding:5px 2px!important;border:1px solid #dfe7ec!important;border-radius:10px!important;background:#fff!important;color:#243442!important;font-size:clamp(9.5px,2.72vw,11.5px)!important;font-weight:850!important;line-height:1.12!important;letter-spacing:-.055em!important;text-align:center!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important;box-shadow:none!important}
 .customer-page .site-header .main-nav a.is-active,
 .customer-page .site-header .main-nav a[aria-current="page"],
 body:not(.admin-page) .site-header .main-nav a.is-active,
 body:not(.admin-page) .site-header .main-nav a[aria-current="page"]{background:#153f5b!important;border-color:#153f5b!important;color:#fff!important}
 .customer-page .site-header .nav-toggle,
 body:not(.admin-page) .site-header .nav-toggle{display:none!important}

 .kbp-stats,.kbp-stat-grid,.prompt-stats,.stats-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
 .kbp-stat,.kbp-stat-card,.prompt-stat,.stat-card{min-width:0!important;width:100%!important;padding:12px 10px!important;overflow:hidden!important;box-sizing:border-box!important}
 .kbp-stat strong,.kbp-stat-card strong,.prompt-stat strong,.stat-card strong{max-width:100%!important;font-size:clamp(20px,6.2vw,27px)!important;line-height:1.08!important;white-space:normal!important;overflow-wrap:anywhere!important}
 .kbp-stat span,.kbp-stat em,.kbp-stat-card span,.kbp-stat-card em,.prompt-stat span,.prompt-stat em,.stat-card span,.stat-card em{max-width:100%!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
 .kbp-stat span,.kbp-stat-card span,.prompt-stat span,.stat-card span{font-size:12px!important;line-height:1.35!important}
 .kbp-stat em,.kbp-stat-card em,.prompt-stat em,.stat-card em{font-size:11px!important;line-height:1.42!important}

 .kbp-wrap,.kbp-hero,.kbp-card,.kbp-prompt-card,.prompt-card,.kbn-video-panel,.kbn-vrew-subpanel,.kvg-card,.kvg-fig,textarea,input,select,button,a{max-width:100%!important;box-sizing:border-box!important}
 .kbp-title,.kbp-desc,.kbp-section-title,.kbp-card h2,.kbp-card h3,.kbp-prompt-card h2,.kbp-prompt-card h3,.prompt-card h2,.prompt-card h3,.kbp-note,.kbp-small,.kbn-video-panel p,.kvg-card p{white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
 .kbn-video-split,.kvg-quick,.kvg-figs{grid-template-columns:1fr!important}
}
@media(max-width:360px){
 .customer-page .site-header .main-nav a,
 body:not(.admin-page) .site-header .main-nav a{min-height:37px!important;padding:4px 1px!important;font-size:9.3px!important}
 .customer-page .site-header .brand-mark,
 body:not(.admin-page) .site-header .brand-mark{width:30px!important;height:30px!important;flex-basis:30px!important}
 .customer-page .site-header .brand strong,
 body:not(.admin-page) .site-header .brand strong{font-size:14px!important}
}
@media(min-width:901px){body.kbn-mobile-category-v19-active,body.kbn-mobile-category-v20-active,body.kbn-mobile-category-v21-active{padding-top:0!important}}


/* KBN_MOBILE_LOGO_CATEGORY_FIXED_V23_20260725
   스마트폰: 로고 + 외식업 BIZ 노트 + 카테고리 4열 전체 고정 */
@media (max-width:900px){
  html{
    scroll-padding-top:calc(var(--kbn-mobile-header-v23-height, 96px) + env(safe-area-inset-top, 0px))!important;
  }

  body:not(.admin-page){
    padding-top:calc(var(--kbn-mobile-header-v23-height, 96px) + env(safe-area-inset-top, 0px))!important;
  }

  body:not(.admin-page) .site-header{
    position:fixed!important;
    top:env(safe-area-inset-top, 0px)!important;
    right:0!important;
    left:0!important;
    z-index:2147483000!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    background:#fff!important;
    border-bottom:1px solid #dfe7ec!important;
    box-shadow:0 5px 16px rgba(15,23,42,.11)!important;
    transform:none!important;
    contain:none!important;
  }

  body:not(.admin-page) .site-header .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:5px!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    margin:0!important;
    padding:6px max(8px, env(safe-area-inset-right, 0px)) 7px max(8px, env(safe-area-inset-left, 0px))!important;
    box-sizing:border-box!important;
  }

  body:not(.admin-page) .site-header .brand{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    min-height:32px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  body:not(.admin-page) .site-header .brand-mark{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    height:32px!important;
    flex:0 0 32px!important;
    margin:0!important;
    border-radius:10px!important;
    font-size:18px!important;
    line-height:1!important;
  }

  body:not(.admin-page) .site-header .brand > span:not(.brand-mark){
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    align-items:baseline!important;
    justify-content:flex-start!important;
    gap:8px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }

  body:not(.admin-page) .site-header .brand strong{
    display:inline-block!important;
    flex:0 0 auto!important;
    margin:0!important;
    font-size:15px!important;
    line-height:1.15!important;
    letter-spacing:-.035em!important;
    white-space:nowrap!important;
  }

  body:not(.admin-page) .site-header .brand em{
    display:inline-block!important;
    flex:0 1 auto!important;
    min-width:0!important;
    margin:0!important;
    color:#52616e!important;
    font-size:12px!important;
    font-style:normal!important;
    font-weight:800!important;
    line-height:1.15!important;
    letter-spacing:-.045em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body:not(.admin-page) .site-header .main-nav,
  body:not(.admin-page) .site-header .main-nav.kbn-mobile-category-source-hidden-v19,
  body:not(.admin-page) .site-header .main-nav.kbn-mobile-category-source-hidden-v20,
  body:not(.admin-page) .site-header .main-nav.kbn-mobile-category-source-hidden-v21{
    position:static!important;
    inset:auto!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body:not(.admin-page) .site-header .main-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:39px!important;
    margin:0!important;
    padding:5px 2px!important;
    border:1px solid #dfe7ec!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#243442!important;
    font-size:clamp(9px,2.65vw,11px)!important;
    font-weight:850!important;
    line-height:1.12!important;
    letter-spacing:-.06em!important;
    text-align:center!important;
    white-space:normal!important;
    word-break:keep-all!important;
    overflow-wrap:anywhere!important;
    box-shadow:none!important;
  }

  body:not(.admin-page) .site-header .main-nav a.is-active,
  body:not(.admin-page) .site-header .main-nav a[aria-current="page"]{
    background:#153f5b!important;
    border-color:#153f5b!important;
    color:#fff!important;
  }

  body:not(.admin-page) .site-header .nav-toggle{
    display:none!important;
  }
}

@media (max-width:360px){
  body:not(.admin-page) .site-header .header-inner{
    padding-right:6px!important;
    padding-left:6px!important;
  }
  body:not(.admin-page) .site-header .brand > span:not(.brand-mark){gap:6px!important}
  body:not(.admin-page) .site-header .brand strong{font-size:14px!important}
  body:not(.admin-page) .site-header .brand em{font-size:10.5px!important}
  body:not(.admin-page) .site-header .main-nav a{
    min-height:38px!important;
    padding:4px 1px!important;
    font-size:8.7px!important;
  }
}

@media (min-width:901px){
  body:not(.admin-page){padding-top:0!important}
}
