/*
 * pt-br.css — styles for the /pt-br/ section (bonus listing, 18+ bar, FAQ).
 * Colors use the Kadence palette variables, so light and dark mode follow the theme.
 */

.ptb-18bar {
  margin: 0 0 1.5em;
  padding: .6em 1em;
  border-left: 4px solid #c53030;
  background: var(--global-palette7, #edf2f7);
  color: var(--global-palette3, #1a202c);
  font-size: .9em;
}
.ptb-18bar strong { color: #c53030; margin-right: .3em; }

/* bonus listing */
.ptb-offers { margin: 1.5em 0 2em; }
.entry-content .ptb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75em; }
.ptb-card {
  display: grid;
  grid-template-columns: 2em 132px 1fr auto;
  align-items: center;
  gap: 1em;
  padding: .75em 1em;
  border: 1px solid var(--global-palette7, #e2e8f0);
  border-radius: 10px;
  background: var(--global-palette9, #fff);
}
.ptb-rank {
  font-weight: 800;
  color: var(--global-palette1, #2b6cb0);
  text-align: center;
}
.ptb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 66px;
  border-radius: 8px;
  overflow: hidden;
}
/* feed logos are 300x300 squares with the wordmark in the middle:
   scale to the box width and let the empty top/bottom be cropped */
.entry-content .ptb-logo img { width: 132px; height: 132px; max-width: none; object-fit: contain; flex: none; }
.ptb-logo-txt { color: #fff; font-weight: 700; }
.ptb-info { display: flex; flex-direction: column; gap: .15em; min-width: 0; }
.ptb-name { font-weight: 700; color: var(--global-palette3, #1a202c); }
.ptb-bonus { color: var(--global-palette4, #2d3748); line-height: 1.35; }
.ptb-rating { font-size: .85em; color: var(--global-palette6, #718096); }
.ptb-cta {
  display: inline-block;
  padding: .7em 1.2em;
  border-radius: 6px;
  background: #e8a400;
  color: #1a202c !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.ptb-cta:hover, .ptb-cta:focus { background: #ffb800; }
.ptb-note { margin-top: .75em; font-size: .82em; color: var(--global-palette6, #718096); }

@media (max-width: 640px) {
  .ptb-card {
    grid-template-columns: 1.5em 1fr;
    grid-template-areas: "rank logo" "info info" "cta cta";
  }
  .ptb-rank { grid-area: rank; }
  .ptb-logo { grid-area: logo; }
  .ptb-info { grid-area: info; }
  .ptb-cta { grid-area: cta; text-align: center; }
}

/* tables and FAQ */
.ptb-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; }
.ptb-table th, .ptb-table td {
  padding: .55em .8em;
  border-bottom: 1px solid var(--global-palette7, #e2e8f0);
  text-align: left;
}
.ptb-table th { width: 45%; font-weight: 600; }
.ptb-faq details {
  border: 1px solid var(--global-palette7, #e2e8f0);
  border-radius: 8px;
  padding: .7em 1em;
  margin-bottom: .6em;
}
.ptb-faq summary { cursor: pointer; font-weight: 600; }
.ptb-faq details p { margin: .6em 0 0; }

/* hub navigation cards */
.ptb-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: .75em;
  margin: 1.5em 0 2em;
}
.entry-content .ptb-hub-card {
  display: flex;
  flex-direction: column;
  gap: .3em;
  padding: 1em;
  border: 1px solid var(--global-palette7, #e2e8f0);
  border-radius: 10px;
  background: var(--global-palette9, #fff);
  color: var(--global-palette4, #2d3748);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.entry-content .ptb-hub-card:hover, .entry-content .ptb-hub-card:focus {
  border-color: var(--global-palette1, #2b6cb0);
  transform: translateY(-2px);
}
.ptb-hub-ico { font-size: 1.6em; line-height: 1; }
.ptb-hub-title { font-weight: 700; color: var(--global-palette1, #2b6cb0); }
.ptb-hub-desc { font-size: .9em; line-height: 1.4; }

/* related links */
.ptb-related {
  margin: 2em 0;
  padding: 1em 1.25em;
  border-radius: 10px;
  background: var(--global-palette7, #edf2f7);
}
.ptb-related h2 { margin-top: 0; font-size: 1.15em; }
.entry-content .ptb-related ul { margin: 0; padding-left: 1.1em; }

.ptb-table { display: block; overflow-x: auto; }
@media (min-width: 641px) { .ptb-table { display: table; } }

/* sidebar */
.ptb-side ul { margin: 0; padding-left: 1.1em; }
.ptb-side-18 p { font-size: .9em; }
.ptb-side-18 strong { color: #c53030; }

/* table of contents */
.ptb-toc {
  margin: 0 0 2em;
  padding: 1em 1.25em;
  border: 1px solid var(--global-palette7, #e2e8f0);
  border-radius: 10px;
  background: var(--global-palette8, #f7fafc);
}
.ptb-toc-title { margin: 0 0 .5em; font-size: 1.05em; }
.ptb-toc ol {
  margin: 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 1.5em;
}
.ptb-toc li { break-inside: avoid; margin-bottom: .3em; }
.ptb-toc a { color: var(--global-palette1, #2b6cb0); text-decoration: none; }
.ptb-toc a:hover, .ptb-toc a:focus { text-decoration: underline; }
@media (max-width: 640px) { .ptb-toc ol { columns: 1; } }

/* top 3 editorial block */
.ptb-top3 { margin: 2em 0; }
.ptb-top3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1em;
  margin: 1em 0;
}
.ptb-top3-card {
  padding: 1.1em 1.25em;
  border: 1px solid var(--global-palette7, #e2e8f0);
  border-top: 3px solid var(--global-palette1, #2b6cb0);
  border-radius: 10px;
  background: var(--global-palette9, #fff);
}
.ptb-top3-card h3 { margin: 0 0 .4em; color: var(--global-palette1, #2b6cb0); font-size: 1.05em; }
.ptb-top3-card p { margin: 0; line-height: 1.5; }
