/* Content pages: /maps/, /maps/<slug>/, /faq/, /map2model-alternative/.
   Builds on account.css tokens; card + grid styles mirror gallery.css. */

.tpp-main { max-width: 1180px; }
.tpp-narrow { max-width: 820px; }
.tpp-nav { display: flex; gap: 4px; margin-left: 14px; }
.tpp-nav a { color: rgba(255, 255, 255, 0.7) !important; text-decoration: none !important; font-size: 0.9rem; padding: 6px 10px; border-radius: 8px; }
.tpp-nav a:hover { color: #fff !important; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 640px) { .tpp-nav { display: none; } }

.tpp-crumbs { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.tpp-crumbs a { color: rgba(255, 255, 255, 0.6) !important; }

.tpp-place { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .tpp-place { grid-template-columns: 1fr; } }
.tpp-stage {
    position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--tpa-line);
    background: linear-gradient(180deg, #0a1428 0%, #22324f 55%, #c87a3e 85%, #3a2a25 100%);
    display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.3); font-size: 5rem;
}
.tpp-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpp-type {
    position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
    background: rgba(10, 10, 10, 0.7); color: #fff;
}
.tpp-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 10px; }
.tpp-info p { color: rgba(255, 255, 255, 0.78); }
.tpp-lead { font-size: 1.05rem; color: #fff !important; }
.tpp-hint { font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); margin-top: 6px; }

.tpp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 900px) { .tpp-cols { grid-template-columns: 1fr; } }
.tpp-h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); margin: 0 0 14px; }
.tpp-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 0.9rem; }
.tpp-facts dt { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.tpp-facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.tpp-tips { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.tpp-faq { border-top: 1px solid var(--tpa-line); padding: 12px 0; }
.tpp-faq:first-of-type { border-top: 0; padding-top: 0; }
.tpp-faq summary { cursor: pointer; font-weight: 600; }
.tpp-faq p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.tpp-attrib { font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); }

.tpp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tpp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tpp-chip {
    font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; text-decoration: none !important;
    color: #fff !important; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.tpp-chip span { color: rgba(255, 255, 255, 0.5); margin-left: 3px; }
.tpp-chip:hover { border-color: rgba(255, 143, 31, 0.5); }

.tpp-qa { padding: 16px 0; border-top: 1px solid var(--tpa-line); }
.tpp-qa h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.tpp-qa p { color: rgba(255, 255, 255, 0.78); margin-bottom: 4px; }
.tpp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tpp-checks .bx { color: var(--tpa-accent); }
.tpp-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }

.tpp-footer {
    max-width: 1180px; margin: 24px auto 0; padding: 20px 24px 40px; border-top: 1px solid var(--tpa-line);
    font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); display: grid; gap: 8px;
}
.tpp-footer-langs a { color: rgba(255, 255, 255, 0.65) !important; margin-right: 8px; }
.tpp-lang-cur { color: #fff; font-weight: 600; margin-right: 8px; }

/* Gallery card + hero styles reused on content pages (from gallery.css). */
.tpg-hero { max-width: 680px; margin: 8px 0 24px; }
.tpg-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 8px; }
.tpg-hero p { color: rgba(255, 255, 255, 0.68); margin: 0; }
.tpg-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tpg-card { display: flex; flex-direction: column; background: var(--tpa-card); border: 1px solid var(--tpa-line); border-radius: 14px; overflow: hidden; color: #fff !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.tpg-card:hover { border-color: rgba(255, 143, 31, 0.4); transform: translateY(-2px); }
.tpg-card[hidden] { display: none; }
.tpg-card-thumb { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #0a1428, #3a2a25); color: rgba(255, 255, 255, 0.35); font-size: 2.5rem; overflow: hidden; }
.tpg-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpg-card-body { padding: 10px 12px 12px; }
.tpg-card-name { font-weight: 600; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpg-card-facts { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

/* /compare/ — why TerraPrinter */
.tpc-hero { max-width: 760px; margin: 8px 0 32px; }
.tpc-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 700; margin-bottom: 10px; }
.tpc-sub { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; }
.tpc-stats { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 640px) { .tpc-stats { grid-template-columns: repeat(2, 1fr); } }
.tpc-stats li { background: var(--tpa-card); border: 1px solid var(--tpa-line); border-radius: 14px; padding: 12px 14px; }
.tpc-stats strong { display: block; font-size: 1.25rem; color: var(--tpa-accent); font-variant-numeric: tabular-nums; }
.tpc-stats span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.tpc-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.tpc-section { margin: 40px 0; }
.tpc-section h2, .tpc-final h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.tpc-section > p { color: rgba(255, 255, 255, 0.78); max-width: 760px; }
.tpc-table-wrap { border: 1px solid var(--tpa-line); border-radius: 14px; overflow: hidden; margin-top: 16px; }
.tpc-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tpc-table th, .tpc-table td { padding: 12px 14px; border-top: 1px solid var(--tpa-line); vertical-align: top; text-align: left; }
.tpc-table thead th { border-top: 0; background: var(--tpa-card); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.tpc-table tbody th { font-weight: 600; white-space: nowrap; }
.tpc-ask { color: rgba(255, 255, 255, 0.6); }
.tpc-table .bx-check { color: var(--tpa-accent); }
@media (max-width: 720px) {
    .tpc-table thead { display: none; }
    .tpc-table, .tpc-table tbody, .tpc-table tr, .tpc-table th, .tpc-table td { display: block; }
    .tpc-table tr { border-top: 1px solid var(--tpa-line); padding: 12px 14px; }
    .tpc-table tr:first-child { border-top: 0; }
    .tpc-table th, .tpc-table td { border: 0; padding: 2px 0; white-space: normal; }
}
.tpc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 16px; }
.tpc-card { padding: 18px; }
.tpc-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.tpc-card h3 .bx { color: var(--tpa-accent); margin-right: 4px; }
.tpc-card p { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; margin: 0; }
.tpc-final { padding: 28px; text-align: center; margin: 40px 0 8px; }
.tpc-final p { color: rgba(255, 255, 255, 0.72); }

/* Place page: one-click STL / colour 3MF downloads side by side. */
.tpp-dl-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.tpp-dl-row .btn { flex: 1 1 12rem; }

