/* Business IT Briefing index. Keep article block and shared directory styles separate. */
.gb-index-page {
  --gb-index-heading: #193331;
  --gb-index-text: #354c43;
  --gb-index-muted: #61726b;
  --gb-index-accent: #146b58;
  --gb-index-border: #e2e9e4;
  max-width: 1100px;
  margin-inline: auto;
  padding: 1.75rem 1rem clamp(2rem, 5vw, 4rem);
  color: var(--gb-index-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
.gb-index-page a { text-underline-offset: 3px; }
.gb-index-page a:focus-visible { outline: 3px solid #31b989; outline-offset: 3px; }
.gb-index-page .gb-index-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--gb-index-muted);
  font-size: .8rem;
  line-height: 1.6;
}
.gb-index-page .gb-index-breadcrumb a { color: var(--gb-index-accent); text-decoration: none; }
.gb-index-page .gb-index-breadcrumb a:hover { text-decoration: underline; }
.gb-index-page .gb-index-header {
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  background: #f5f7f3;
  border: 1px solid var(--gb-index-border);
  border-radius: 12px;
}
.gb-index-page .gb-index-header h1 {
  margin: 0;
  color: var(--gb-index-heading);
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.gb-index-page .gb-index-intro {
  max-width: 64ch;
  margin-top: .85rem;
  color: var(--gb-index-muted);
  font-size: .95rem;
  line-height: 1.7;
}
.gb-index-page .gb-index-intro p { margin-bottom: .75rem; }
.gb-index-page .gb-index-intro .rich-text > :last-child { margin-bottom: 0; }
.gb-index-page .gb-index-intro a { color: var(--gb-index-accent); }
.gb-index-page .gb-index-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.gb-index-page .gb-index-filter {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: .55rem .85rem;
  border: 1px solid #d5e2d8;
  border-radius: 7px;
  background: #fff;
  color: #245744;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.gb-index-page .gb-index-filter:hover { background: #eaf3ec; border-color: #91b69e; color: #175a45; }
.gb-index-page .gb-index-filter.is-active { color: #fff; background: var(--gb-index-accent); border-color: var(--gb-index-accent); }
.gb-index-page .gb-index-filter.is-active:hover { background: #105745; border-color: #105745; }
.gb-index-page .gb-index-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.gb-index-page .gb-index-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--gb-index-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(25, 51, 49, .035);
}
.gb-index-page .gb-index-card:focus-within { border-color: #91b69e; }
.gb-index-page .gb-index-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: #f5f7f3;
}
.gb-index-page .gb-index-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb-index-page .gb-index-card__body { display: flex; flex: 1; flex-direction: column; gap: .9rem; padding: 1.5rem; }
.gb-index-page .gb-index-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .65rem; color: var(--gb-index-muted); font-size: .75rem; line-height: 1.5; }
.gb-index-page .gb-index-card__pill {
  padding: .3rem .5rem;
  border: 1px solid #dce8dd;
  border-radius: 5px;
  background: #edf4ee;
  color: #245744;
  font-weight: 500;
}
.gb-index-page .gb-index-card__title {
  margin: 0;
  color: var(--gb-index-heading);
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.015em;
}
.gb-index-page .gb-index-card__title a { color: inherit; text-decoration: none; }
.gb-index-page .gb-index-card__title a:hover { color: var(--gb-index-accent); text-decoration: underline; }
.gb-index-page .gb-index-card__excerpt { margin: 0; color: var(--gb-index-muted); font-size: .9rem; line-height: 1.7; }
.gb-index-page .gb-index-card__excerpt p { margin-bottom: .65rem; }
.gb-index-page .gb-index-card__excerpt .rich-text > :last-child { margin-bottom: 0; }
.gb-index-page .gb-index-card__footer { margin-top: auto; padding-top: .1rem; }
.gb-index-page .gb-index-card__readmore { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--gb-index-accent); font-size: .85rem; font-weight: 600; text-decoration: none; }
.gb-index-page .gb-index-card__readmore:hover { color: #105745; text-decoration: underline; }
.gb-index-page .gb-index-card__readmore svg { width: 18px; height: 18px; flex-shrink: 0; }
.gb-index-page .gb-index-empty { padding: 1.5rem; border: 1px solid var(--gb-index-border); border-radius: 12px; background: #f5f7f3; color: var(--gb-index-muted); line-height: 1.7; }
.gb-index-page .gb-index-empty p { margin: 0; }
@media (min-width: 700px) {
  .gb-index-page .gb-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .gb-index-page .gb-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .gb-index-page .gb-index-card__body { padding: 1.25rem; }
}
