.duine-page {
  background: #ffffff;
  color: #2d3553;
  padding-bottom: 4.5rem;
}

.duine-page__crumb {
  margin: 0 0 1.8rem;
  padding-top: 1.35rem;
  color: #8b8f97;
  font-size: 0.98rem;
}

.duine-page__crumb a {
  color: #1b5fae;
  text-decoration: none;
}

.duine-hero {
  background: #f6f6f7;
  margin-bottom: 2rem;
}

.duine-hero__inner {
  position: relative;
  overflow: hidden;
  padding: 2.15rem 3rem 2.25rem;
  min-height: 255px;
}

.duine-hero__watermark {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(100%, 640px);
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  margin-left: 2.7rem;
}

.duine-hero__watermark img {
  width: 100%;
  max-width: 560px;
  opacity: 0.28;
  object-fit: contain;
}

.duine-hero__copy {
  position: relative;
  z-index: 1;
  padding-top: 3.4rem;
}

.duine-hero__copy h1 {
  margin: 1.15rem 0 1.15rem;
  max-width: 920px;
  color: #263d79;
  font-size: clamp(1.95rem, 3.4vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.duine-hero__copy p {
  margin: 0;
  max-width: 1180px;
  color: #3d4354;
  font-size: 1.04rem;
  line-height: 1.52;
  text-align: justify;
}

.duine-hero__api-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.35rem;
  background: #0053a3;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.9rem, 0.95vw, 1.05rem);
  font-weight: 500;
  box-shadow: 0 10px 22px rgba(0, 83, 163, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.duine-hero__api-link img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  flex: 0 0 1.6rem;
}

.duine-hero__api-link:hover,
.duine-hero__api-link:focus-visible {
  transform: translateY(-2px);
  background: #0a64bd;
  box-shadow: 0 14px 26px rgba(0, 83, 163, 0.22);
}

.duine-hero__api-link.is-disabled {
  opacity: 0.72;
}

.duine-toolbar {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

.duine-toolbar__row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.duine-search {
  display: flex;
  min-height: 56px;
  border: 1px solid #d7d7db;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(32, 49, 90, 0.1);
  overflow: hidden;
}

.duine-search,
.duine-filter,
.duine-button,
.duine-download a,
.duine-bulletin a,
.duine-cta__action {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.duine-search input {
  flex: 1 1 auto;
  border: 0;
  min-width: 0;
  padding: 0 1rem;
  font-size: 1rem;
  color: #3e4658;
}

.duine-search input:focus,
.duine-filter select:focus,
.duine-filter input:focus {
  outline: none;
}

.duine-search input::placeholder {
  color: #787f90;
}

.duine-search button {
  border: 0;
  padding: 0 1.25rem;
  min-width: 108px;
  background: #0053a3;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
}

.duine-search:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(32, 49, 90, 0.16);
}

.duine-search button:hover,
.duine-search button:focus-visible {
  background: #0a64bd;
}

.duine-filters-disclosure {
  position: relative;
  display: block;
}

.duine-filters-disclosure[open] .duine-filter-toggle > i {
  transform: rotate(180deg);
}

.duine-filters-disclosure > summary {
  list-style: none;
}

.duine-filters-disclosure > summary::-webkit-details-marker {
  display: none;
}

.duine-filter-toggle {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  border: 1px solid #d7d7db;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(32, 49, 90, 0.1);
  color: #6a7082;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.duine-filter-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
}

.duine-filter-toggle i {
  color: #4d7eb6;
  font-size: 1rem;
  transition: transform 0.18s ease;
}

.duine-filter-toggle:hover,
.duine-filter-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: #8cb5e0;
  box-shadow: 0 10px 20px rgba(33, 64, 116, 0.12);
}

.duine-filters-card {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
  width: min(860px, calc(100vw - 3rem));
  padding: 1.35rem 1.5rem;
  border: 1px solid #d9dde6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 43, 78, 0.08);
}

.duine-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: stretch;
}

.duine-filters-grid > * {
  min-width: 0;
  width: 100%;
}

.duine-filter {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem 0 1.05rem;
  border: 1px solid #d7d7db;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(32, 49, 90, 0.1);
  color: #6a7082;
}

.duine-filter > i {
  color: #4d7eb6;
  font-size: 1rem;
}

.duine-filter select {
  display: block;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #32415d;
  font-size: 1rem;
  line-height: 1.2;
  padding-right: 0.65rem;
  text-overflow: ellipsis;
  appearance: none;
  cursor: pointer;
}

.duine-filter input {
  display: block;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #32415d;
  font-size: 1rem;
  line-height: 1.2;
  padding-right: 0.25rem;
  text-overflow: ellipsis;
}

.duine-filter input::placeholder {
  color: #727b8e;
}

.duine-filter--text {
  grid-template-columns: minmax(0, 1fr);
}

.duine-filter:hover,
.duine-filter:focus-within {
  transform: translateY(-1px);
  border-color: #8cb5e0;
  box-shadow: 0 10px 20px rgba(33, 64, 116, 0.12);
}

.duine-filters-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.duine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 7px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
}

.duine-button--ghost {
  border-color: #cfe0f2;
  background: #f3f7fb;
  color: #5a86bc;
}

.duine-button--primary {
  border-color: #0053a3;
  background: #0053a3;
  color: #ffffff;
}

.duine-button:hover,
.duine-button:focus-visible,
.duine-download a:hover,
.duine-download a:focus-visible,
.duine-bulletin a:hover,
.duine-bulletin a:focus-visible,
.duine-cta__action:hover,
.duine-cta__action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(20, 45, 91, 0.14);
}

.duine-button--ghost:hover,
.duine-button--ghost:focus-visible {
  background: #e7f0f8;
  color: #3d75b4;
}

.duine-button--primary:hover,
.duine-button--primary:focus-visible {
  background: #0a64bd;
  border-color: #0a64bd;
}

.duine-toolbar__meta {
  margin: -0.1rem 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #667086;
  font-size: 0.96rem;
}

.duine-toolbar__meta a {
  color: #1b5fae;
  text-decoration: none;
  font-weight: 600;
}

.duine-table-wrap {
  overflow-x: auto;
}

.duine-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.duine-table thead th {
  background: #0053a3;
  color: #ffffff;
  padding: 0.72rem 0.9rem 0.68rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.duine-table thead th:last-child {
  border-right: 0;
}

.duine-table thead th span {
  display: block;
  font-weight: 500;
}

.duine-table tbody td {
  padding: 1.15rem 0.95rem;
  text-align: center;
  font-size: 0.97rem;
  color: #3e4352;
  line-height: 1.25;
  border-bottom: 2px solid #d5e2f2;
  vertical-align: middle;
}

.duine-table tbody td:nth-child(2),
.duine-table tbody td:nth-child(3) {
  font-size: 0.98rem;
}

.duine-table__empty {
  text-align: center;
  color: #687287;
  padding: 1.5rem 1rem;
}

.duine-download {
  margin: 1.15rem 0 2.1rem;
}

.duine-download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 16px;
  background: #f3f3f5;
  color: #2d3475;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(30, 44, 78, 0.08);
}

.duine-download a:hover,
.duine-download a:focus-visible {
  background: #e9edf4;
}

.duine-bulletins h2 {
  margin: 0 0 1.6rem;
  color: #23356f;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  line-height: 1.05;
  font-weight: 800;
}

.duine-bulletins__list {
  display: grid;
  gap: 1rem;
}

.duine-bulletin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.98rem 1.35rem 0.98rem 2rem;
  border-radius: 16px;
  background: #f5f5f6;
}

.duine-bulletin span {
  color: #3b3f49;
  font-size: 0.98rem;
}

.duine-bulletin a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0.33rem 0.75rem;
  border: 1px solid #6ea0d9;
  border-radius: 6px;
  color: #5890d1;
  text-decoration: none;
  background: #ffffff;
  font-size: 0.94rem;
  font-weight: 500;
}

.duine-bulletin a:hover,
.duine-bulletin a:focus-visible {
  border-color: #4d8ed1;
  color: #2d73c0;
}

.duine-cta {
  margin: 2.35rem auto 0;
  max-width: 420px;
  padding: 1.7rem 1.25rem 1.55rem;
  background: #ffffff;
  border: 1px solid #d8dbe2;
  border-radius: 18px;
  box-shadow: 0 5px 16px rgba(31, 48, 81, 0.16);
  text-align: center;
}

.duine-cta__icon {
  width: 126px;
  height: 112px;
  margin: -2.9rem auto 1.2rem;
  padding: 18px 14px;
  border-radius: 10px;
  background: #0053a3;
  display: grid;
  grid-template-columns: repeat(2, 1fr) 0.84fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  box-shadow: 0 6px 14px rgba(0, 83, 163, 0.26);
}

.duine-cta__icon span {
  display: block;
  border-radius: 4px;
  background: #d9e6f5;
}

.duine-cta__icon em {
  display: block;
  grid-column: 3;
  grid-row: 1 / span 2;
  border-radius: 2px;
  background: #d9e6f5;
  transform: skewY(12deg);
}

.duine-cta__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid #4d8ed1;
  border-radius: 7px;
  color: #1e64b3;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 500;
}

.duine-cta__action:hover,
.duine-cta__action:focus-visible {
  background: #eef5fc;
}

@media (max-width: 1199px) {
  .duine-hero__inner {
    padding-inline: 2rem;
  }

  .duine-toolbar__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .duine-filters-card {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .duine-filters-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 991px) {
  .duine-hero__inner {
    min-height: auto;
    padding: 1.8rem 1.3rem 1.9rem;
  }

  .duine-hero__watermark {
    width: 100%;
  }

  .duine-hero__watermark img {
    max-width: 420px;
  }

  .duine-hero__copy {
    padding-top: 2.25rem;
  }

  .duine-toolbar {
    gap: 1rem;
  }

  .duine-table {
    min-width: 920px;
  }

  .duine-bulletin {
    padding-left: 1.25rem;
  }
}

@media (max-width: 640px) {
  .duine-page {
    padding-bottom: 3rem;
  }

  .duine-page .container {
    padding-inline: 0.85rem;
  }

  .duine-page__crumb {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
  }

  .duine-hero {
    margin-bottom: 1.35rem;
  }

  .duine-hero__copy {
    padding-top: 1.35rem;
  }

  .duine-hero__watermark {
    justify-content: center;
    inset: 0;
    width: 100%;
    margin-left: 0;
  }

  .duine-hero__watermark img {
    max-width: 340px;
    width: 100%;
    transform: translateX(0);
  }

  .duine-hero__copy p {
    font-size: 0.96rem;

  }

  .duine-hero__api-link {
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
  }

  .duine-search {
    flex-direction: column;
    border-radius: 10px;
  }

  .duine-search input {
    min-height: 48px;
    padding-inline: 1rem;
  }

  .duine-search button {
    min-height: 52px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .duine-filters-grid {
    grid-template-columns: 1fr;
  }

  .duine-filters-card,
  .duine-filters-actions {
    grid-template-columns: 1fr;
  }

  .duine-filters-actions {
    display: grid;
  }

  .duine-toolbar__meta,
  .duine-bulletin {
    flex-direction: column;
    align-items: flex-start;
  }

  .duine-download a,
  .duine-cta__action {
    width: 100%;
  }
}
