.official-ads,
.official-detail {
  background: #f3f5f8;
  padding: 30px 0 56px;
}

.official-breadcrumb {
  align-items: center;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-bottom: 20px;
}

.official-breadcrumb a {
  color: #374151;
  text-decoration: none;
}

.official-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.official-heading h1,
.official-detail h1 {
  color: #101828;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 5px 0 0;
}

.official-heading p {
  color: #667085;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.official-eyebrow {
  color: #d71920;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.official-filter {
  align-items: end;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .07);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 170px auto;
  margin-bottom: 26px;
  padding: 20px;
}

.official-filter-group label {
  color: #344054;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.official-date-fields {
  display: grid;
  gap: 7px;
  grid-template-columns: 68px 1fr 88px;
}

.official-filter select,
.official-filter input {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  color: #101828;
  height: 42px;
  min-width: 0;
  padding: 0 10px;
  width: 100%;
}

.official-filter button {
  background: #d71920;
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  height: 42px;
  padding: 0 20px;
}

.official-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.official-card,
.official-detail-surface,
.official-empty {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .07);
  overflow: hidden;
}

.official-card-image {
  aspect-ratio: 16 / 8.5;
  background: #eef1f5;
  display: block;
  overflow: hidden;
}

.official-card-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.official-card-content {
  padding: 18px 20px 22px;
}

.official-card-meta,
.official-detail-meta,
.official-detail-footer {
  align-items: center;
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 14px;
  justify-content: space-between;
}

.official-card-meta span {
  color: #d71920;
  font-weight: 750;
}

.official-card h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 12px 0 0;
}

.official-card h2 a {
  color: #101828;
  text-decoration: none;
}

.official-card p {
  color: #667085;
  font-size: 13px;
  margin: 12px 0 0;
}

.official-empty {
  color: #667085;
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
}

.official-detail-surface {
  margin: 0 auto;
  max-width: 980px;
}

.official-detail-header {
  border-bottom: 1px solid #eaecf0;
  padding: 34px 38px 24px;
}

.official-detail-meta {
  margin-top: 20px;
}

.official-detail-content {
  color: #1f2937;
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  padding: 30px 38px 38px;
}

.official-detail-content img,
.official-detail-content iframe,
.official-detail-content table {
  height: auto;
  max-width: 100%;
}

.official-detail-footer {
  background: #f8fafc;
  border-top: 1px solid #eaecf0;
  color: #344054;
  font-weight: 700;
  padding: 18px 38px;
}

@media (max-width: 900px) {
  .official-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .official-filter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .official-ads,
  .official-detail {
    padding: 20px 0 38px;
  }

  .official-filter,
  .official-list {
    grid-template-columns: 1fr;
  }

  .official-filter button {
    width: 100%;
  }

  .official-detail-header,
  .official-detail-content,
  .official-detail-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
