/* Article tables retain readable text on the site's dark background. */
.pg-entry-content table,
.pg-entry-content .pgnp-news table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.pg-entry-content table th,
.pg-entry-content table td {
  min-width: 8rem;
  padding: .75rem .9rem;
  border: 1px solid #47606d !important;
  text-align: left;
  vertical-align: top;
}
.pg-entry-content table th {
  background: #183848 !important;
  color: #f5fbff !important;
  font-weight: 700;
}
.pg-entry-content table td {
  background: #101f2c !important;
  color: #e7f1f8 !important;
}
.pg-entry-content table tr:nth-child(even) td { background: #172b39 !important; }
.pg-entry-content table a { color: #7ce9ff !important; text-decoration: underline; }
.pg-entry-content table a:focus-visible { outline: 2px solid #7ce9ff; outline-offset: 2px; }
.pg-entry-content .pgnp-news { line-height: 1.75; }
.pg-entry-content .pgnp-news h1 { line-height: 1.18; }
.pg-entry-content .pgnp-news h2 { margin-top: 2.2rem; }
.pg-entry-content .pgnp-news h3 { margin-top: 1.4rem; }

/* Legacy WP Table Builder text blocks can carry a black inline color.
   Override the text element only; product buttons retain their own colors. */
.pg-entry-content .wptb-table-container .wptb-text-container,
.pg-entry-content .wptb-table-container .wptb-text-container * {
  color: #eaf4fb !important;
}
.pg-entry-content .wptb-table-container .wptb-text-container a,
.pg-entry-content .wptb-table-container .wptb-text-container a * {
  color: #7ce9ff !important;
  text-decoration: underline;
}

/* Sharing belongs to the theme, so content importers can be deactivated. */
.pogas-share {
  margin: 1.6rem 0;
  padding: 1rem 1.15rem;
  background: #12231f;
  border: 1px solid #38775b;
  border-radius: 14px;
  color: #f3fff8;
  max-width: 100%;
  box-sizing: border-box;
}
.pogas-share__label {
  display: block;
  margin: 0 0 .65rem;
  font: 700 .85rem/1.3 system-ui,sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #bcf7d7;
}
.pogas-share__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.pogas-share .pogas-share__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .45rem .85rem;
  border: 1px solid #5b8f75;
  border-radius: 9px;
  background: #1a3e31;
  color: #fff !important;
  text-decoration: none !important;
  font: 700 .9rem/1.2 system-ui,sans-serif;
  cursor: pointer;
  box-sizing: border-box;
}
.pogas-share .pogas-share__button:hover,
.pogas-share .pogas-share__button:focus-visible { background: #26734c; border-color: #88e4ab; color: #fff !important; outline: 2px solid transparent; }
.pogas-share .pogas-share__button--copy { background: #31c778; border-color: #31c778; color: #092319 !important; }
.pogas-share .pogas-share__button--copy:hover,
.pogas-share .pogas-share__button--copy:focus-visible { background: #70e8a8; color: #092319 !important; }
.pogas-share__status { font: 600 .85rem/1.4 system-ui,sans-serif; color: #c7fbdc; }
.pogas-share__status:empty { display: none; }
.pogas-share__button--native[hidden] { display: none !important; }
.pg-home-share { padding: 0 0 1.25rem; }
@media (max-width: 600px) {
  .pogas-share { padding: .85rem; }
  .pogas-share .pogas-share__button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .pogas-share .pogas-share__button { transition: background .15s ease,border-color .15s ease; }
}

/* Permanent presentation for the static HTML produced by the i2 migration. */
.pg-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #3b5963;
  border-radius: 14px;
  background: #11242f;
  color: #eaf7f4;
}
.pg-pros-cons__title { grid-column: 1 / -1; margin: .1rem 0 !important; color: #fff; font-size: 1.25rem; }
.pg-pros-cons__column { min-width: 0; padding: .8rem 1rem; border-radius: 10px; }
.pg-pros-cons__column--pros { background: #123428; border: 1px solid #347558; }
.pg-pros-cons__column--cons { background: #3a2428; border: 1px solid #81515b; }
.pg-pros-cons .pg-pros-cons__heading { margin: 0 0 .65rem; color: #f7fffa; font: 700 1.05rem/1.35 system-ui,sans-serif; }
.pg-pros-cons__list { margin: 0 !important; padding: 0 0 0 1.25rem; }
.pg-pros-cons__list li { margin: .35rem 0; line-height: 1.5; overflow-wrap: anywhere; }
.pg-pros-cons__column--pros li::marker { color: #68e7aa; }
.pg-pros-cons__column--cons li::marker { color: #ff9aa7; }
.pg-pros-cons__action { grid-column: 1 / -1; margin: .1rem 0 0 !important; }
.pg-pros-cons .pg-pros-cons__link { display: inline-flex; align-items: center; min-height: 42px; padding: .55rem .9rem; background: #3ed786; border-radius: 8px; color: #092518 !important; font: 700 .9rem/1.25 system-ui,sans-serif; text-decoration: none !important; }
.pg-pros-cons .pg-pros-cons__link:hover,.pg-pros-cons .pg-pros-cons__link:focus-visible { background: #81efb4; color: #092518 !important; outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 650px) { .pg-pros-cons { grid-template-columns: 1fr; } }
