/* Shared additions to the recovered advertising page in ES, EN and PT. */
.advertising-languages {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.advertising-languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  color: var(--rate-muted);
  font-weight: 800;
}
.advertising-languages a[aria-current="page"] {
  color: #fff;
  background: var(--rate-red-soft);
}
.advertising-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rate-switcher {
  width: min(960px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rate-switcher__button {
  min-width: 0;
  gap: 12px;
  padding-inline: 16px;
}
.rate-switcher__button span,
.rate-button > span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.rate-switcher__button svg,
.rate-button svg { flex-shrink: 0; }
.rate-button:focus-visible,
.rate-switcher__button:focus-visible,
.advertising-languages a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.web-rates-layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
}
.web-placement-map__content {
  grid-template-columns: minmax(0, 1fr) 64px;
}
.rate-table th,
.rate-table td {
  padding: 18px 16px;
  overflow-wrap: anywhere;
}
.rate-row-label { min-width: 0; gap: 16px; }
.rate-table--web thead th:first-child,
.rate-table--web tbody th { width: 29%; }
.rate-table--web thead th:nth-child(2),
.rate-table--web .rate-location { width: 30%; }
.rate-table--web thead th:nth-child(3),
.rate-table--web .rate-dimensions { width: 23%; }
.rate-table--web thead th:last-child { width: 18%; }
.rate-table .rate-dimensions {
  font-size: .9rem;
  line-height: 1.4;
  white-space: normal;
}
.rate-table td:last-child { font-size: 1rem; }
.rate-table-contact {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  border-top: 1px solid var(--rate-line);
}
.rate-table-contact .rate-button {
  min-width: 200px;
  justify-content: center;
}
.rate-table--article thead th:first-child,
.rate-table--article tbody th { width: 27%; }
.rate-table--article thead th:nth-child(2) { width: 53%; }
.rate-table--article td.rate-article-includes {
  white-space: normal;
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
}
.rate-article-includes ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 1180px) {
  .web-rates-layout { grid-template-columns: minmax(0, 1fr); }
  .web-placement-map { display: none; }
}
@media (max-width: 760px) {
  .advertising-languages { order: 4; }
  .rate-switcher { order: 5; }
  .advertising-hero__meta { order: 6; }
  .rate-switcher__button {
    min-height: 60px;
    padding: 8px 6px;
    font-size: .9rem;
    line-height: 1.35;
  }
  .rate-switcher__button svg { display: none; }
  .rate-table tbody th { width: auto; padding: 0 0 15px; }
  .rate-table td,
  .rate-table td:last-child,
  .rate-table .rate-dimensions {
    width: auto;
    padding: 0 5px;
    font-size: .85rem;
    overflow-wrap: normal;
  }
  .rate-table--web .rate-location,
  .rate-table--web .rate-dimensions,
  .rate-table--web td:last-child { width: auto; padding: 0; }
  .rate-table-contact { margin-top: 20px; padding: 20px 0 0; }
  .rate-table--article tbody tr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rate-table--article tbody th { padding-bottom: 0; }
  .rate-table--article td.rate-article-includes { padding: 0; }
  .rate-table--article td:last-child {
    padding: 12px 0 0;
    border-top: 1px solid var(--rate-line);
    font-size: 1.5rem;
    text-align: left;
  }
  .rate-table--article td:last-child::before {
    display: block;
    margin-bottom: 4px;
    color: var(--rate-muted);
    content: attr(data-label);
    font-size: .8rem;
  }
}
@media (max-width: 420px) {
  .rate-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rate-switcher__button { font-size: .8rem; }
  .rate-table--print td,
  .rate-table--print td:last-child { font-size: .76rem; padding: 0 2px; }
}
