:root {
  --headline: #304862;
  --hover:    #de4640;
  --text:     #4d647e;
  --muted:    #6b869c;
  --card-bg:  #f7f9fb;
  --border:   #e0e6ec;
  --shadow:   0 10px 26px rgba(48, 72, 98, .18);
}

.docs-inner {
  width: min(1240px, 95%);
  margin: 0 auto;
}

.docs-page-header { margin: 1.25rem auto .25rem; }
.docs-page-title { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--headline); letter-spacing: -.3px; }

.docs-announcement-section {
  padding: 0 0 1.75rem;
}

.docs-announcement-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: linear-gradient(135deg, #eaf2fb 0%, #f0f7ff 100%);
  border: 1px solid #b8d4ed;
  border-left: 4px solid var(--headline);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

.docs-announcement-icon {
  flex-shrink: 0;
  opacity: .7;
  margin-top: .1rem;
}

.docs-announcement-body {
  flex: 1;
}

.docs-announcement-text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text);
}

.docs-announcement-text strong {
  color: var(--headline);
}

@media (max-width: 480px) {
  .docs-announcement-card {
    flex-direction: column;
    gap: .75rem;
    padding: 1rem;
  }
  .docs-announcement-icon {
    display: none;
  }
}

.docs-filters-section {
  padding: 1.25rem 0 1.5rem;
  margin-bottom: 1.25rem;
}

.docs-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  align-items: flex-end;
}

.docs-filter {
  display: flex;
  flex-direction: column;
}

.docs-filter-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .35rem;
  letter-spacing: .3px;
}

.docs-filter-select {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--headline);
  font-weight: 800;
  letter-spacing: .2px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  background-image: url("data:image/svg+xml,%3Csvg fill='%234d647e' height='10' width='10' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 12px;
  padding-right: 2.2rem;
}

.docs-filter-select:hover {
  border-color: rgba(48, 72, 98, .5);
}

.docs-filter-select:focus {
  border-color: var(--headline);
  box-shadow: none;
  outline: none;
}

@media (max-width: 480px) {
  .docs-filters-section {
    padding: .75rem 0 1rem;
  }
  .docs-filter-select {
    padding: .6rem .75rem;
  }
}

.docs-list-section {
  padding-bottom: 2.5rem;
}

.docs-page-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.docs-page-title {
  margin: 0 0 .35rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--headline);
  letter-spacing: -.3px;
}

.docs-page-sub {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.docs-brand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.docs-brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(48, 72, 98, .18);
  border-color: rgba(48, 72, 98, .18);
}

.docs-brand-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
}

.docs-brand-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  transition: transform .35s ease;
}

.docs-brand-card:hover .docs-brand-media img {
  transform: scale(1.05);
}

.docs-brand-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
  flex: 1;
}

.docs-brand-name-link {
  text-decoration: none;
  color: inherit;
}

.docs-brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.3;
}

.docs-brand-flags {
  display: flex;
  justify-content: center;
}

.docs-brand-cta {
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  padding: .5rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--headline);
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  letter-spacing: .2px;
  transition: color .2s ease, border-color .2s ease;
}

.docs-brand-cta:hover {
  color: var(--hover);
  border-color: rgba(222, 70, 64, .35);
}

.docs-empty-section {
  padding: 3rem 0;
  text-align: center;
}

.docs-empty {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: inline-block;
}

.docs-empty-title {
  margin: 0;
  color: var(--headline);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
}
