/* ==========================================================================
   PBI Theme Comparison — stylesheet
   Placeholder rules; refine typography, spacing, colors, etc. later.
   ========================================================================== */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fafafa;
  color: #222;
  margin: 0;
  padding: 0;
}

.page-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

header.site-header {
  margin-bottom: 32px;
}

h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 8px;
}

p.sub {
  color: #666;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 13px;
}

section.block {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* -- filled-in content text -- */
.intro-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.intro-text ul {
  margin: 8px 0;
  padding-left: 20px;
}

/* -- placeholder text -- */
.placeholder-text {
  color: #999;
  font-style: italic;
  font-size: 13px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  margin: 8px 0 16px;
}

/* -- swatch table (from PBI_Theme_Color_Swatches.html) -- */
table.swatch-table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

table.swatch-table th,
table.swatch-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  font-size: 13px;
}

table.swatch-table th {
  background: #f0f0f0;
  font-weight: 600;
}

table.swatch-table td.label {
  text-align: left;
  font-weight: 600;
  background: #f7f7f7;
  white-space: nowrap;
}

.swatch {
  width: 90px;
  height: 40px;
  border-radius: 4px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.1);
}

/* compact variant: cuts row height so the table takes up less vertical space */
.swatch-table--compact th,
.swatch-table--compact td {
  padding: 3px 6px;
  font-size: 11px;
}

.swatch-table--compact .swatch {
  width: 60px;
  height: 18px;
}

.na {
  color: #aaa;
  font-style: italic;
  font-size: 12px;
}

/* -- image sections -- */
.comparison-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

figure.comparison-figure {
  margin: 0;
  text-align: center;
  flex: 1 1 300px;
  min-width: 0;
}

figure.comparison-figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

/* -- home / landing page navigation icons -- */
nav.nav-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

nav.nav-buttons a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  color: #16233F;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  min-width: 0;
}

nav.nav-buttons a:hover,
nav.nav-buttons a:focus {
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  border-color: #2FA8A0;
}

nav.nav-buttons .nav-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
}

nav.nav-buttons .nav-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 700px) {
  nav.nav-buttons {
    grid-template-columns: 1fr;
  }
}

/* -- back-to-home link used on interior pages -- */
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #2FA8A0;
  text-decoration: none;
}

.back-link:hover {
  color: #FF7A59;
}
