/* The main-site layout and controls remain authoritative. */
.br-site-monogram{display:flex;align-items:center;justify-content:center;width:48px;height:48px;
  border-radius:8px;background:#eef3f5;color:#244957;font-size:18px;font-weight:600;line-height:1}
.more-page .br-site-monogram{width:44px;height:44px}
.br-quick-links .tab-title{white-space:normal}
.br-preferences{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:.75rem auto}
.home .br-preferences{padding:0}
.br-preferences[hidden]{display:none!important}
.br-preferences select,.br-preferences a{
  border:1px solid #cdd9dc;border-radius:6px;background:transparent;color:inherit;padding:.3rem .6rem}
body[data-country-site="br"] {
  --br-link-card-height: 84px;
  --br-link-title-size: 15px;
}
article.static-card, article.result-card {
  box-sizing: border-box;
  height: var(--br-link-card-height);
}
article.static-card > .sites-body {
  align-self: stretch;
  align-items: center;
  min-height: 0;
}
.more-directory .more-sites-grid > article.static-card {
  flex-direction: row;
  align-items: center;
}
.more-directory .more-sites-grid > article.static-card > .sites-body {
  flex: 1 1 auto;
  width: auto;
  padding-block: 8px !important;
}
.more-directory .more-sites-grid > article.static-card > .sites-tags {
  flex: 0 0 auto;
  padding: 0 4px !important;
}
article.static-card .sites-body .item-title, article.result-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
  margin: 0 0 2px;
  font-size: var(--br-link-title-size);
  line-height: 1.25;
}
article.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 4px;
  padding: 6px 8px;
}
.result-card-main {
  grid-area: 1 / 1;
  align-items: center;
  min-height: 0;
}
.result-card p {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}
.result-card-foot { display: contents; }
.result-card-foot span {
  grid-area: 2 / 1;
  line-height: 14px;
}
.result-card-foot a {
  grid-area: 1 / 2 / 3;
  align-self: center;
  white-space: nowrap;
}
html body[data-country-site="br"] .static-banner .static-search .search-menu,
html body[data-country-site="br"] .static-banner .static-search .search-term{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.95)}
@media(max-width:767px){
  body[data-country-site="br"] {
    --br-link-card-height: 76px;
    --br-link-title-size: 13px;
  }
  .br-site-monogram,.more-page .br-site-monogram{width:32px;height:32px;border-radius:6px;font-size:14px}
  .home .static-banner,.directory-search-hero{background-image:url("../backgrounds/br-coast-20261029-mobile.webp")!important}
}
@media (max-width: 480px) {
  .static-results-grid { grid-template-columns: 1fr; }
}
.io-black-mode .br-site-monogram{background:#25343c;color:#e4f3f4}
