.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

/* Shared page shells (loaded on every page — don't rely only on page CSS) */
.news-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: start;
  width: 100%;
}

.news-main,
.article-main {
  min-width: 0;
  width: 100%;
}

.news-sidebar,
.article-sidebar {
  min-width: 0;
  width: 100%;
}

@media (max-width: 1023px) {
  .news-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-block: 28px 56px;
  width: 100%;
  flex: 1 0 auto;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.section-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.section-links a {
  color: var(--color-accent);
  white-space: nowrap;
}

.section-links a:hover {
  color: var(--color-accent-hover);
}

.section-links a:not(:first-child) {
  color: var(--color-text-muted);
}

.section-links a:not(:first-child):hover {
  color: var(--color-accent);
}

.latest-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.latest-main .news-card--featured {
  min-height: 100%;
  height: 100%;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
}

.bookies-strip {
  margin-top: 20px;
  background: var(--color-white);
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.bookies-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.bookies-strip__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bookies-strip .bookie__review {
  color: #1a73e8;
  font-weight: 600;
}

.bookies-strip .bookie__review:hover {
  color: #174ea6;
  text-decoration: underline;
}

.bookies-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bookie--strip {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.bookie--strip:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xs);
}

.bookie--strip .bookie__actions {
  flex-direction: row;
  align-items: center;
}

.bookie--strip .bookie__actions .btn {
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
}

@media (max-width: 1023px) {
  .latest-main {
    grid-template-columns: 1fr 1fr;
  }

  .bookies-strip__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .latest-main {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-wrap: wrap;
  }

  .section-head h2 {
    font-size: 1.25rem;
  }
}
