:root {
  --bb-blue: #1a56db;
  --bb-blue-dark: #1444b0;
  --bb-blue-light: #e8efff;
  --bb-text: #1f2937;
  --bb-text-muted: #6b7280;
  --bb-border: #e5e7eb;
  --bb-bg: #ffffff;
  --bb-bg-soft: #f3f4f6;
  --bb-radius: 12px;
  --bb-radius-pill: 999px;
  --bb-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --bb-container: 1200px;
  --bb-header-height: 72px;
  --bb-font: "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bestbuy-site {
  margin: 0;
  font-family: var(--bb-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bb-text);
  background: var(--bb-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--bb-container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--bb-blue);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 0;
  border-radius: var(--bb-radius-pill);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--bb-blue);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--bb-blue-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bb-border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--bb-header-height);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--bb-text);
}

.site-brand__mark {
  display: inline-flex;
  color: var(--bb-blue);
  flex-shrink: 0;
}

.site-brand__mark svg path:last-child {
  stroke: var(--bb-blue);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bb-blue);
}

.site-brand__tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--bb-text-muted);
}

.site-brand .custom-logo-link {
  display: inline-flex;
}

.site-brand .custom-logo {
  max-height: 17px;
  width: auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__item a,
.primary-nav__link {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bb-text-muted);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav__item a:hover,
.primary-nav__item a:focus-visible,
.primary-nav__item.is-current a,
.primary-nav__item.current-menu-item a {
  color: var(--bb-blue);
  background: var(--bb-blue-light);
}

.primary-nav__item.is-current a,
.primary-nav__item.current-menu-item a {
  font-weight: 600;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--bb-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 640px;
  margin-inline: auto;
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1rem;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-pill);
  font: inherit;
  background: #fff;
}

.search-form__input:focus {
  outline: 2px solid var(--bb-blue-light);
  border-color: var(--bb-blue);
}

.search-form__submit {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* Main placeholder */
.site-main {
  min-height: 40vh;
}

.content-area {
  padding: 2rem 0 4rem;
}

.post-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bb-border);
}

.post-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.post-card__title a:hover {
  color: var(--bb-blue);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bb-blue-light) 0%, rgba(232, 239, 255, 0) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 2.5rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--bb-text);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--bb-blue);
}

.hero__subtitle {
  max-width: 46ch;
  margin: 0 0 1.75rem;
  color: var(--bb-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero__search .search-form {
  max-width: 520px;
  margin-inline: 0;
}

.hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hero__art-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffffff 0%, var(--bb-blue-light) 100%);
  color: var(--bb-blue);
  box-shadow: 0 20px 40px -12px rgba(26, 86, 219, 0.35);
}

.hero__art-badge svg {
  width: 88px;
  height: 88px;
  stroke-width: 1.4;
}

.hero__art-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
}

.hero__art-float--cart {
  top: 8%;
  left: 6%;
}

.hero__art-float--chat {
  bottom: 12%;
  right: 4%;
}

.hero__art-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--bb-blue);
  opacity: 0.35;
}

.hero__art-dot--1 {
  width: 14px;
  height: 14px;
  top: 18%;
  right: 14%;
}

.hero__art-dot--2 {
  width: 9px;
  height: 9px;
  bottom: 22%;
  left: 12%;
}

.hero__art-dot--3 {
  width: 20px;
  height: 20px;
  bottom: 4%;
  right: 22%;
  opacity: 0.18;
}

/* Shared section heading */
.section {
  padding: 2.5rem 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bb-text);
}

.section-heading__link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bb-blue);
  white-space: nowrap;
}

.section-heading__link:hover {
  text-decoration: underline;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  color: var(--bb-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
  transform: translateY(-2px);
}

.category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bb-blue-light);
  color: var(--bb-blue);
}

.category-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Featured section: curated cards (left) + plain latest list (right) */
.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: start;
}

.featured-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
}

.feature-card__media {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 140px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bb-bg-soft);
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card__media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--bb-text-muted);
}

.feature-card__rank {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bb-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
}

.feature-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feature-card__title a:hover {
  color: var(--bb-blue);
}

.btn--sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.latest-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bb-border);
}

.latest-list__item:last-child {
  border-bottom: 0;
}

.latest-list__number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bb-blue-light);
  color: var(--bb-blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.latest-list__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bb-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-list__title:hover {
  color: var(--bb-blue);
}

/* Article/blog cards grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  border-color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
}

.article-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bb-bg-soft);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card__media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--bb-text-muted);
}

.article-card__icon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.article-card__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-card__title a:hover {
  color: var(--bb-blue);
}

.article-card__date {
  font-size: 0.8125rem;
  color: var(--bb-text-muted);
}

/* Archive header (category/tag/date) */
.archive-header {
  padding: 1.75rem 0 2.25rem;
  background: linear-gradient(180deg, var(--bb-blue-light) 0%, rgba(232, 239, 255, 0) 100%);
  border-bottom: 1px solid var(--bb-border);
}

.archive-header__title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.archive-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
}

.archive-header__title {
  margin: 0;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--bb-text);
}

.archive-header__desc {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--bb-text-muted);
}

.article-grid--archive {
  margin-bottom: 1rem;
}

.archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-pill);
  color: var(--bb-text);
  font-size: 0.875rem;
  font-weight: 600;
}

.archive-pagination a.page-numbers:hover {
  border-color: var(--bb-blue);
  color: var(--bb-blue);
}

.archive-pagination .page-numbers.current {
  background: var(--bb-blue);
  border-color: var(--bb-blue);
  color: #fff;
}

.archive-pagination .page-numbers.dots {
  border-color: transparent;
  color: var(--bb-text-muted);
}

/* Single post */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--bb-text-muted);
}

.breadcrumb a:hover {
  color: var(--bb-blue);
}

.breadcrumb__sep {
  color: var(--bb-border);
}

.breadcrumb__current {
  color: var(--bb-text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}

.single-post {
  padding: 1rem 0 4rem;
}

.single-post__container {
  max-width: 780px;
}

.single-post__header {
  margin-bottom: 1.5rem;
}

.single-post__category {
  display: inline-flex;
  margin-bottom: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-blue-light);
  color: var(--bb-blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.single-post__category:hover {
  background: var(--bb-blue);
  color: #fff;
}

.single-post__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--bb-text);
}

.single-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bb-border);
  color: var(--bb-text-muted);
  font-size: 0.8125rem;
}

.single-post__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.single-post__meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.single-post__thumb {
  margin: 1.75rem 0;
  border-radius: calc(var(--bb-radius) + 4px);
  overflow: hidden;
  background: var(--bb-bg-soft);
}

.single-post__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post__content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--bb-text);
}

/* Migrated posts often carry inline font-family/size from the old site
   (pasted from Word/ChatGPT/Elementor). Force the theme font everywhere
   inside post content so every page reads consistently. */
.single-post__content,
.single-post__content * {
  font-family: var(--bb-font) !important;
}

.single-post__content > * + * {
  margin-top: 1.25rem;
}

.toc {
  padding: 1.25rem;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background: var(--bb-bg-soft);
}

.toc__summary {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bb-text);
}

.toc__summary::-webkit-details-marker {
  display: none;
}

.toc__summary::marker {
  content: '';
}

.toc__icon {
  display: inline-flex;
  color: var(--bb-blue);
}

.toc__title {
  flex: 1;
}

.toc__chevron {
  display: inline-flex;
  color: var(--bb-text-muted);
  transition: transform 0.2s ease;
}

.toc[open] .toc__chevron {
  transform: rotate(180deg);
}

.single-post__content .toc__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.toc__item a {
  color: var(--bb-text-muted);
}

.toc__item a:hover {
  color: var(--bb-blue);
}

.single-post__content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  scroll-margin-top: calc(var(--bb-header-height) + 1rem);
}

.single-post__content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.4;
  scroll-margin-top: calc(var(--bb-header-height) + 1rem);
}

.single-post__content > h2:first-child,
.single-post__content > h3:first-child {
  margin-top: 0;
}

.single-post__content p {
  margin: 0;
}

.single-post__content ul,
.single-post__content ol {
  margin: 0;
  padding-left: 1.4rem;
}

.single-post__content li + li {
  margin-top: 0.5rem;
}

.single-post__content img {
  border-radius: var(--bb-radius);
}

.single-post__content figure {
  margin: 0;
}

.single-post__content figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--bb-text-muted);
  text-align: center;
}

.single-post__content blockquote {
  margin: 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--bb-blue);
  color: var(--bb-text-muted);
  font-style: italic;
}

.single-post__content a {
  color: var(--bb-blue);
  text-decoration: underline;
  text-decoration-color: var(--bb-blue-light);
}

.single-post__content a:hover {
  text-decoration-color: var(--bb-blue);
}

.single-post__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.single-post__content th,
.single-post__content td {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--bb-border);
  text-align: left;
}

.single-post__content th {
  background: var(--bb-bg-soft);
  font-weight: 700;
}

.single-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem !important;
}

.single-post__tag {
  padding: 0.3125rem 0.75rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-bg-soft);
  color: var(--bb-text-muted);
  font-size: 0.8125rem;
}

.single-post__tag:hover {
  background: var(--bb-blue-light);
  color: var(--bb-blue);
}

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.5rem !important;
  padding: 1.25rem;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background: var(--bb-bg-soft);
}

.author-box__avatar {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
}

.author-box__avatar img {
  display: block;
  border-radius: 50%;
}

.author-box__name {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
  color: var(--bb-text);
}

.author-box__bio {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bb-text-muted);
}

.single-post__related {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--bb-border);
}

.single-post__related .article-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .single-post__meta {
    gap: 0.875rem;
  }

  .author-box {
    flex-direction: column;
  }

  .single-post__related .article-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bb-bg-soft);
  border: 1px solid var(--bb-border);
  border-radius: calc(var(--bb-radius) + 4px);
}

.trust-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.trust-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--bb-blue);
  box-shadow: var(--bb-shadow);
}

.trust-bar__title {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bb-text);
}

.trust-bar__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bb-text-muted);
}

.site-footer__bottom {
  margin-top: 1.5rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--bb-border);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__copy {
  color: var(--bb-text-muted);
  font-size: 0.875rem;
}

.site-footer__copy a {
  color: var(--bb-text);
  font-weight: 600;
}

.site-footer__copy a:hover {
  color: var(--bb-blue);
}

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav__list a {
  font-size: 0.875rem;
  color: var(--bb-text-muted);
}

.footer-nav__list a:hover {
  color: var(--bb-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .primary-nav {
    position: fixed;
    inset: var(--bb-header-height) 0 auto 0;
    display: none;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--bb-border);
    box-shadow: var(--bb-shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav__item a,
  .primary-nav__link {
    display: block;
    padding: 0.875rem 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__art {
    order: -1;
    min-height: 200px;
  }

  .hero__art-badge {
    width: 128px;
    height: 128px;
  }

  .hero__art-badge svg {
    width: 64px;
    height: 64px;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 64px;
  }

  .site-brand__name {
    font-size: 1rem;
  }

  .trust-bar {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-heading {
    align-items: center;
  }

  .featured-layout {
    grid-template-columns: 1fr;
  }

  .feature-card__media {
    width: 96px;
    height: 72px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}
