.tr-health-center,
.tr-health-article {
    width: min(1180px, calc(100% - 28px));
    margin: 28px auto 64px;
    color: #13263d;
}

.tr-health-center *,
.tr-health-article *,
.tr-v350-admin * { box-sizing: border-box; }

.tr-health-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
    gap: 22px;
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid #dce8ee;
    border-radius: 30px;
    background: linear-gradient(135deg, #f3fbfc, #fff 58%, #fff8ed);
    box-shadow: 0 18px 55px rgba(18, 54, 76, .09);
}

.tr-health-hero > div > span,
.tr-health-browser header span,
.tr-health-nearby span,
.tr-health-source-box span {
    display: block;
    margin-bottom: 7px;
    color: #d04444;
    font-size: .82rem;
    font-weight: 800;
}

.tr-health-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.tr-health-hero p {
    max-width: 760px;
    margin: 0;
    color: #53697a;
    font-size: 1.04rem;
    line-height: 1.9;
}

.tr-health-hero-actions,
.tr-health-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tr-health-hero-actions a,
.tr-health-article-actions a,
.tr-health-nearby > a,
.tr-health-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 14px;
    background: #133a5c;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
}

.tr-health-hero-actions a.is-secondary,
.tr-health-article-actions a.is-secondary {
    border: 1px solid #b9cbd6;
    background: #fff;
    color: #173b59 !important;
}

.tr-health-hero aside {
    align-self: stretch;
    padding: 24px;
    border: 1px solid #d8e7df;
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
}

.tr-health-hero aside strong { font-size: 1.25rem; }
.tr-health-hero aside ul { margin: 16px 0 0; padding-inline-start: 20px; }
.tr-health-hero aside li { margin: 10px 0; color: #526a63; }

.tr-health-disclaimer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid #f1cf98;
    border-radius: 18px;
    background: #fff8e8;
}
.tr-health-disclaimer strong { color: #7f4c00; }
.tr-health-disclaimer p { grid-column: 2; margin: 0; color: #735c36; line-height: 1.75; }

.tr-health-browser {
    margin-top: 28px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid #e1e9ed;
    border-radius: 28px;
    background: #fff;
}

.tr-health-browser > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.tr-health-browser h2,
.tr-health-nearby h2,
.tr-health-list-section h2 { margin: 0; }
.tr-health-browser header small { color: #6a7c8b; }

.tr-health-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
    align-items: end;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: #f4f8fa;
}
.tr-health-filters label span,
.tr-v350-health-form label span { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 800; }
.tr-health-filters select,
.tr-v350-health-form input,
.tr-v350-health-form textarea,
.tr-v350-health-form select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cfdce3;
    border-radius: 12px;
    background: #fff;
    color: #142f46;
}
.tr-health-filters button,
.tr-v350-health-form button {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #d04444;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.tr-health-filters > a { min-height: 46px; display: inline-flex; align-items: center; color: #304e65; font-weight: 700; }

.tr-health-topic-chips {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 17px 1px 4px;
    scrollbar-width: thin;
}
.tr-health-topic-chips a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid #d9e4e9;
    border-radius: 999px;
    background: #fff;
    color: #304e65;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}
.tr-health-topic-chips a.is-active { border-color: #133a5c; background: #133a5c; color: #fff; }

.tr-health-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.tr-health-guide-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border: 1px solid #e0e8ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(26, 55, 72, .06);
}
.tr-health-guide-meta,
.tr-health-guide-trust,
.tr-health-article-review,
.tr-health-article-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.tr-health-guide-meta span,
.tr-health-guide-trust span,
.tr-health-article-badges span,
.tr-health-article-review span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eaf5f3;
    color: #226052;
    font-size: .76rem;
    font-weight: 800;
}
.tr-health-guide-meta small,
.tr-health-guide-trust small { color: #778894; }
.tr-health-guide-card h3 { margin: 15px 0 9px; font-size: 1.18rem; line-height: 1.5; }
.tr-health-guide-card h3 a { color: #142f46; text-decoration: none; }
.tr-health-guide-card > p { flex: 1; margin: 0 0 15px; color: #607383; line-height: 1.75; }
.tr-health-source-name { display: block; margin-top: 9px; color: #768895; }
.tr-health-read { min-height: 42px; margin-top: 15px; background: #f0f6f8; color: #173b59 !important; }
.tr-health-empty { grid-column: 1 / -1; padding: 30px; border-radius: 18px; background: #f6f9fa; text-align: center; }

.tr-health-nearby {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 24px;
    padding: 28px;
    border-radius: 24px;
    background: #153d5d;
    color: #fff;
}
.tr-health-nearby span { color: #ffc56d; }
.tr-health-nearby p { margin: 10px 0 0; color: #d8e6ef; }
.tr-health-nearby > a { flex: 0 0 auto; background: #fff; color: #153d5d !important; }

.tr-health-article { max-width: 920px; }
.tr-health-breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; color: #607483; font-size: .9rem; }
.tr-health-breadcrumb a { color: #245a7b; }
.tr-health-article > header {
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid #dce7ec;
    border-radius: 28px;
    background: linear-gradient(145deg, #f5fbfc, #fff);
}
.tr-health-article h1 { margin: 14px 0; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; }
.tr-health-article-summary { color: #526b7b; font-size: 1.08rem; line-height: 1.85; }
.tr-health-article-review small { color: #70818e; }
.tr-health-article-body,
.tr-health-list-section,
.tr-health-source-box {
    margin-top: 17px;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid #e1e8ec;
    border-radius: 21px;
    background: #fff;
}
.tr-health-article-body { font-size: 1.05rem; line-height: 2; }
.tr-health-list-section ul { margin: 16px 0 0; padding-inline-start: 22px; }
.tr-health-list-section li { margin: 10px 0; line-height: 1.7; }
.tr-health-list-section.is-positive { border-color: #cfe6dc; background: #f7fcfa; }
.tr-health-list-section.is-avoid { border-color: #f0ddbc; background: #fffaf1; }
.tr-health-list-section.is-warning { border-color: #efc9c9; background: #fff7f7; }
.tr-health-list-section.is-warning h2 { color: #a12e2e; }
.tr-health-source-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tr-health-source-box a { font-weight: 800; color: #245a7b; }

.tr-v350-admin { margin-top: 24px; }
.tr-v350-admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.tr-v350-admin-stats article { padding: 16px; border: 1px solid #dfe8ed; border-radius: 15px; background: #fff; }
.tr-v350-admin-stats span { display: block; color: #687d8c; font-size: .82rem; }
.tr-v350-admin-stats strong { display: block; margin-top: 5px; font-size: 1.4rem; }
.tr-v350-admin-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 18px; }
.tr-v350-health-form,
.tr-v350-health-list { padding: 20px; border: 1px solid #dfe8ed; border-radius: 18px; background: #fff; }
.tr-v350-health-form label { display: block; margin-top: 13px; }
.tr-v350-health-form textarea { resize: vertical; line-height: 1.65; }
.tr-v350-form-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.tr-v350-form-row:has(label:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tr-v350-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.tr-v350-health-list article { padding: 13px 0; border-bottom: 1px solid #e5ecef; }
.tr-v350-health-list article:last-child { border-bottom: 0; }
.tr-v350-health-list article.is-stale { padding-inline: 10px; border-inline-start: 4px solid #d88b2f; background: #fffaf1; }
.tr-v350-health-list article strong,
.tr-v350-health-list article span { display: block; }
.tr-v350-health-list article span { margin-top: 4px; color: #728491; font-size: .8rem; }
.tr-v350-health-list nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tr-v350-health-list nav a { font-size: .83rem; font-weight: 700; }
.tr-v350-admin-notice { margin: 12px 0; padding: 12px 14px; border-radius: 12px; }
.tr-v350-admin-notice.is-success { background: #eaf7ef; color: #1e6640; }
.tr-v350-admin-notice.is-error { background: #fff0f0; color: #962f2f; }

@media (max-width: 900px) {
    .tr-health-hero,
    .tr-v350-admin-grid { grid-template-columns: 1fr; }
    .tr-health-guide-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tr-health-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tr-v350-admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
    .tr-health-center,
    .tr-health-article { width: min(100% - 18px, 1180px); margin-top: 14px; }
    .tr-health-hero { padding: 21px; border-radius: 22px; }
    .tr-health-hero-actions a,
    .tr-health-article-actions a { width: 100%; }
    .tr-health-disclaimer { grid-template-columns: 1fr; }
    .tr-health-disclaimer p { grid-column: 1; }
    .tr-health-browser { padding: 15px; border-radius: 21px; }
    .tr-health-browser > header { align-items: flex-start; flex-direction: column; }
    .tr-health-filters,
    .tr-health-guide-grid,
    .tr-v350-form-row,
    .tr-v350-form-row:has(label:nth-child(2):last-child) { grid-template-columns: 1fr; }
    .tr-health-nearby,
    .tr-health-source-box { align-items: stretch; flex-direction: column; }
    .tr-health-nearby > a { width: 100%; }
    .tr-v350-admin-stats { grid-template-columns: 1fr 1fr; }
}
