.cd-editorial-page,
.cdco-brand-editorial {
  width: min(100% - 32px, 1200px);
  margin: 28px auto;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.7;
}

.cd-editorial-page > header,
.cdco-brand-editorial {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  background: #f7fbff;
  box-shadow: 0 10px 28px rgba(8, 43, 93, .07);
}

.cdco-brand-editorial {
  padding: clamp(16px, 2.4vw, 24px);
  line-height: 1.5;
}

.cdco-brand-editorial__summary {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px 18px;
}

.cdco-brand-editorial__count {
  margin: 0;
  padding: 7px 11px;
  border: 1px solid #b9d5f2;
  border-radius: 999px;
  background: #fff;
  color: #005bbb;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.cdco-brand-editorial__text p { margin: 0; }

.cdco-brand-finder {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #b8d5f0;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #f4f9ff 100%);
  box-shadow: 0 12px 30px rgba(8, 43, 93, .09);
}

.cdco-brand-finder > summary {
  display: none;
  padding: 13px 15px;
  color: #082b5d;
  font-weight: 750;
  cursor: pointer;
}

.cdco-brand-finder__body { padding: 19px; }

.cdco-brand-finder__heading {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 15px;
  color: #082b5d;
}

.cdco-brand-finder__heading strong {
  font-size: 17px;
  line-height: 1.25;
}

.cdco-brand-finder__heading span {
  color: #475569;
  font-size: 13px;
}

.cdco-brand-finder__form {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(150px, 1fr) minmax(190px, 1.35fr) max-content;
  align-items: end;
  gap: 10px;
}

.cdco-brand-finder__form label,
.cdco-brand-finder__brand {
  display: grid;
  gap: 5px;
  margin: 0;
}

.cdco-brand-finder__form label > span,
.cdco-brand-finder__brand > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.cdco-brand-finder__form label > span::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #e30613;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .10);
}

.cdco-brand-finder__brand strong,
.cdco-brand-finder__form select,
.cdco-brand-finder__form button {
  min-height: 48px;
  border-radius: 10px;
  font: inherit;
}

.cdco-brand-finder__brand strong {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #c8daeb;
  background: #eef6ff;
  color: #082b5d;
  font-weight: 750;
}

.cdco-brand-finder__form select {
  width: 100%;
  padding: 0 34px 0 11px;
  border: 1px solid #9fb9d4;
  background-color: #fff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(8, 43, 93, .05);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.cdco-brand-finder__form select:hover:not(:disabled) {
  border-color: #005bbb;
}

.cdco-brand-finder__form select:disabled {
  background: #f1f5f9;
  color: #64748b;
}

.cdco-brand-finder__form select:focus-visible {
  outline: 3px solid rgba(0, 91, 187, .22);
  outline-offset: 1px;
  border-color: #005bbb;
}

.cdco-brand-finder__form button {
  padding: 0 17px;
  border: 1px solid #0050a5;
  background: linear-gradient(135deg, #0069d9 0%, #0050a5 100%);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(0, 80, 165, .20);
  transition: transform .18s ease, box-shadow .18s ease;
}

.cdco-brand-finder__form button:hover:not(:disabled),
.cdco-brand-finder__form button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 80, 165, .26);
}

.cdco-brand-finder__form button:disabled {
  border-color: #bdc9d7;
  background: #dbe3ec;
  color: #617084;
  cursor: not-allowed;
  box-shadow: none;
}

.cdco-brand-finder__status {
  min-height: 1.2em;
  margin: 7px 0 0;
  color: #a61b1b;
  font-size: 12px;
}

.cdco-brand-editorial__help {
  margin: 10px 0 0;
  font-size: 13px;
}

.cdco-brand-editorial__help span { margin: 0 6px; color: #94a3b8; }

.cd-editorial-page h1,
.cd-editorial-page h2,
.cdco-brand-editorial h2 {
  margin-top: 0;
  color: #082b5d;
  line-height: 1.2;
}

.cd-editorial-page section { margin: 34px 0; }
.cd-editorial-page a,
.cdco-brand-editorial a { color: #005bbb; font-weight: 650; }

.cd-faq-list details {
  margin: 12px 0;
  padding: 16px 18px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.cd-faq-list summary {
  color: #082b5d;
  font-weight: 750;
  cursor: pointer;
}

.cd-faq-list details p { margin: 12px 0 0; }

@media (max-width: 900px) and (min-width: 681px) {
  .cdco-brand-finder__form { grid-template-columns: 1fr 1fr; }
  .cdco-brand-finder__form button { width: 100%; }
}

@media (max-width: 680px) {
  .cd-editorial-page,
  .cdco-brand-editorial { width: min(100% - 24px, 1200px); margin: 20px auto; }
  .cd-editorial-page > header { padding: 20px; border-radius: 14px; }
  .cdco-brand-editorial { padding: 15px; border-radius: 14px; }
  .cdco-brand-editorial__summary { display: block; }
  .cdco-brand-editorial__count { display: inline-block; margin-bottom: 9px; }
  .cdco-brand-finder { margin-top: 13px; }
  .cdco-brand-finder > summary { display: list-item; }
  .cdco-brand-finder__body { padding: 4px 13px 13px; }
  .cdco-brand-finder__heading { display: grid; gap: 2px; }
  .cdco-brand-finder__form { grid-template-columns: 1fr; }
  .cdco-brand-finder__form button { width: 100%; }
  .cdco-brand-editorial__help { text-align: center; }
}
