/* Keep TechNews layout controls intact; only brand-specific additions live here. */
.topbar { background: var(--osh-header-bg); border-bottom: 1px solid var(--border-color-light); }
.topbar .logo { color: var(--osh-header-text) !important; flex-shrink: 0; }
.logo > img, .footer__logo > img { width: var(--osh-logo-width); height: auto; max-height: calc(var(--navbar-height) - 20px); object-fit: contain; padding: 0; }
.topbar__inner { gap: 1rem; }
.topbar .navbar { margin-left: auto; }
.topbar .navbar a, .topbar .navbar span { color: var(--osh-header-text); }
.topbar .navbar a:hover { color: var(--color); }
.osh-header-button { background: var(--color); color: white !important; padding: .55rem .9rem; border-radius: var(--border-radius); font-size: .8rem; white-space: nowrap; }
.osh-header-button:hover { filter: brightness(.9); }
.osh-intro { grid-column: 2 / 4; padding: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; background: var(--osh-intro-bg); color: var(--osh-intro-text); border-radius: var(--border-radius); text-align: var(--osh-intro-align); }
.osh-intro h1 { color: inherit; font-size: clamp(1.8rem, 3.5vw, 3rem); margin: .7rem 0 1rem; }
.osh-eyebrow { color: var(--color); font-size: .7rem; font-weight: 700; letter-spacing: .15em; margin: 0; }
.osh-intro-description { font-size: 1rem; margin: 0; white-space: pre-line; }
.osh-footer-description { width: 100%; font-size: .85rem; margin-top: 1.5rem; }
.osh-no-sidebar .main, .osh-no-sidebar .post, .osh-no-sidebar .page { grid-column: 2 / 4; }
.content__entry pre { max-width: 100%; overflow-x: auto; }
.content__entry table { max-width: 100%; }
@media (max-width: 56.24em) { .osh-intro { margin: 1rem 0; } }
@media (max-width: 37.5em) { .logo > img { max-width: 145px; } .osh-header-button { font-size: .7rem; padding: .45rem .6rem; } .topbar__inner { gap: .5rem; } }

/* Match TechNews selector specificity so header color controls also affect menus. */
.topbar .navbar .navbar__menu li a, .topbar .navbar .navbar__menu li span { color: var(--osh-header-text); }
.topbar .navbar .navbar__menu li a:hover, .topbar .navbar .navbar__menu li a:focus { color: var(--color); }
.navbar .navbar__toggle-inner, .navbar .navbar__toggle-inner::before, .navbar .navbar__toggle-inner::after { background: var(--osh-header-text); }
.topbar .navbar .has-submenu::after { border-top-color: var(--osh-header-text); }

/* Match the main website's container and type scale, while keeping Publii controls. */
.main-content { max-width: calc(var(--main-col-width) + var(--sidebar-width) + 32px); margin-left: auto; margin-right: auto; width: calc(100% - 48px); padding: 0; }
.osh-intro { padding: 40px; margin-top: 32px; }
.osh-intro h1 { font-size: clamp(30px, 3.5vw, 48px); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; max-width: 900px; }
.osh-intro-description { font-size: 19.2px; line-height: 1.6; max-width: 780px; }
.osh-eyebrow { font-size: 12px; }
.sidebar { border-left: 0; padding: 32px 0; font-size: 15px; }
.sidebar .box { border: 1px solid #e7e8eb !important; border-radius: 12px; padding: 24px; margin-top: 24px; background: #fff; }
.sidebar .box__title { font-size: 18px; color: var(--headings-color); line-height: 1.4; margin-bottom: 18px; }
.osh-sidebar-product { padding: 28px 24px; border-radius: 12px; background: linear-gradient(135deg,#f0f6fa,#faf6f8); border: 1px solid #e2e9ed; }
.osh-sidebar-product img { width: 150px; height: 52px; object-fit: contain; object-position: left; }
.osh-sidebar-product h2 { font-size: 24px; line-height: 1.3; margin: 22px 0 12px; letter-spacing: -.02em; }
.osh-sidebar-product p { font-size: 15px; line-height: 1.7; margin: 0 0 24px; color: #515967; }
.osh-sidebar-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--color); color: #fff !important; border-radius: 6px; padding: 12px 16px; font-size: 14px; font-weight: 600; text-decoration: none; }
.osh-sidebar-cta:hover { filter: brightness(.92); }
.sidebar .tags { padding: 0; list-style: none; }
.sidebar .tags li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; border-bottom: 1px solid #eef0f2; }
.sidebar .tags li:last-child { border: 0; padding-bottom: 0; }
.sidebar .tags a { font-size: 15px; font-weight: 500; }
.sidebar .tags .u-small { min-width: 28px; text-align: center; background: #f3f4f6; padding: 2px 6px; border-radius: 5px; font-size: 12px; color: #626775; }
.osh-resources ul { list-style: none; padding: 0; }
.osh-resources li { margin: 0; }
.osh-resources a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 15px; }
.osh-resources svg { color: var(--color); flex-shrink: 0; }
.content__entry { font-size: 19.2px; line-height: 1.75; }
.content__entry pre, .content__entry code { font-size: 14px; }
.osh-site-footer h4 { font-family: var(--heading-font); }
@media (min-width: 56.25em) {
  .main-content { grid-template-columns: 0 minmax(0,1fr) var(--sidebar-width) 0; column-gap: 0; }
  .main { margin: 32px 32px 40px 0; min-width: 0; }
  .main--full, .osh-no-sidebar .main { margin-right: 0; }
  .post, .page { min-width: 0; }
}
@media (max-width: 56.1875em) {
  .main-content { width: calc(100% - 32px); }
  .osh-intro { padding: 28px 24px; }
  .sidebar { padding-top: 0; }
  .content__entry { font-size: 17px; }
}
.main .c-card .c-card__title { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.35; }
.main .l-grid--2col-1-4 .c-card:nth-child(5n-4) .c-card__title { font-size: clamp(24px, 2vw, 28px); }
.c-card .u-small { font-size: 12px; }
