/* Category archives only. Content and destinations come from WordPress. */
.tm-category { background: var(--tm-cream); color: var(--tm-night); font: 400 17px/1.6 var(--tm-font-body); }
.tm-category *, .tm-category *::before, .tm-category *::after { box-sizing: border-box; }
.tm-category :is(h1,h2,h3,p) { margin: 0; }
.tm-category a { text-decoration: none; }
.tm-category-shell { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.tm-category-eyebrow { color: var(--tm-emerald); font: 600 11px/1.4 var(--tm-font-body); letter-spacing: .12em; text-transform: uppercase; }
.tm-category-hero { background: var(--tm-night); color: white; padding: 34px 0 44px; }
.tm-category-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 25px; color: #bcc6d0; font-size: 13px; }
.tm-category-breadcrumb a { color: #bcc6d0; }
.tm-category-breadcrumb a:hover { color: var(--tm-mint); }
.tm-category-breadcrumb [aria-current=page] { color: white; font-weight: 600; }
.tm-category-hero .tm-category-eyebrow { color: var(--tm-mint); }
.tm-category h1 { color: white; font: 700 clamp(36px, 4vw, 58px)/1.07 var(--tm-font-heading); letter-spacing: -.04em; margin: 10px 0 16px; }
.tm-category-hero__intro { max-width: 680px; color: #c2cad2; font-size: 17px; line-height: 1.65; }
.tm-category-hero__count { color: var(--tm-mint); font-size: 13px; font-weight: 600; margin-top: 16px !important; }
.tm-category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tm-category-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border: 1px solid #506073; border-radius: 99px; color: white; font-size: 13px; font-weight: 600; line-height: 1.3; }
.tm-category a.tm-category-chip { color: white; }
.tm-category a.tm-category-chip:hover { background: #263a4c; border-color: var(--tm-mint); }
.tm-category-chip.is-current { background: white; border-color: white; color: var(--tm-night); }
.tm-category-content { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 70px; }
.tm-category-main { min-width: 0; }
.tm-category-feature { overflow: hidden; border: 1px solid var(--tm-border); border-radius: 14px; background: white; box-shadow: var(--tm-shadow); }
.tm-category-feature > a { display: grid; height: 100%; color: var(--tm-night); }
.tm-category-feature__image { position: relative; display: flex; align-items: center; justify-content: center; min-height: 250px; background: #e9e7e0; overflow: hidden; }
.tm-category-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.tm-category-feature__image .tm-home-drawing { width: 210px; height: 190px; color: var(--tm-emerald-dark); }
.tm-category-feature__badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 5px 9px; border-radius: 4px; color: white; background: var(--tm-emerald); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.tm-category-feature__copy { display: flex; flex-direction: column; padding: 26px; }
.tm-category .tm-category-feature__copy .tm-category-eyebrow { color: #647078; margin-bottom: 12px; }
.tm-category-feature h2 { font: 700 clamp(25px, 2.7vw, 33px)/1.16 var(--tm-font-heading); letter-spacing: -.035em; }
.tm-category-feature__excerpt { margin-top: 13px !important; color: var(--tm-text-muted); font-size: 15px; line-height: 1.55; }
.tm-category-feature__bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 26px; font-size: 13px; }
.tm-category-feature__bottom time { color: #717e88; }
.tm-category-feature__bottom > span { color: var(--tm-emerald-dark); font-weight: 600; white-space: nowrap; }
.tm-category-feature a:hover h2, .tm-category-card a:hover h3 { color: var(--tm-emerald-dark); }
.tm-category-list { margin-top: 42px; }
.tm-category-list__heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--tm-night); padding-bottom: 14px; margin-bottom: 24px; }
.tm-category-list__heading h2 { font: 700 clamp(22px, 2.2vw, 26px)/1.22 var(--tm-font-heading); letter-spacing: -.025em; }
.tm-category-sort { color: #78838d; font-size: 13px; }
.tm-category-sort strong { display: inline-block; padding: 6px 12px; margin-left: 5px; border: 1px solid #d7dcd9; border-radius: 99px; color: var(--tm-night); font-size: 12px; }
.tm-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.tm-category-card { min-width: 0; overflow: hidden; border: 1px solid var(--tm-border); border-radius: 12px; background: white; box-shadow: var(--tm-shadow); }
.tm-category-card > a { display: flex; flex-direction: column; height: 100%; color: var(--tm-night); }
.tm-category-card__image { display: flex; justify-content: center; align-items: center; height: 160px; overflow: hidden; background: #e9e7e0; }
.tm-category-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tm-category-card__image .tm-home-drawing { width: 70%; height: 90%; color: var(--tm-emerald-dark); }
.tm-category-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.tm-category-card .tm-category-eyebrow { margin-bottom: 9px; color: #687682; font-size: 10px; }
.tm-category-card h3 { font: 700 17px/1.35 var(--tm-font-heading); letter-spacing: -.015em; }
.tm-category-card__bottom { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 12px; color: #7a858e; }
.tm-category-card__bottom > span { color: var(--tm-emerald); font-size: 21px; line-height: 1; }
.tm-category-empty { padding: 40px 24px; border-radius: 12px; background: white; }
.tm-category-pagination { padding-top: 38px; }
.tm-category-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tm-category-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 13px; border: 1px solid #d1d8d4; border-radius: 99px; color: var(--tm-night); font-size: 14px; font-weight: 600; }
.tm-category-pagination .page-numbers.current { border-color: var(--tm-night); background: var(--tm-night); color: white; }
.tm-category-pagination a.page-numbers:hover { border-color: var(--tm-emerald); color: var(--tm-emerald-dark); }
.tm-category-aside { min-width: 0; }
.tm-category-aside__panel { border: 1px solid var(--tm-border); border-radius: 12px; background: white; padding: 24px; }
.tm-category-aside__panel h2 { font: 700 21px/1.25 var(--tm-font-heading); margin: 10px 0 12px; }
.tm-category-aside__panel > p:not(.tm-category-eyebrow) { color: var(--tm-text-muted); font-size: 14px; line-height: 1.55; }
.tm-category-aside__fields { display: grid; gap: 10px; margin-top: 18px; }
.tm-category-aside__fields > label:first-child { font-size: 13px; font-weight: 600; }
.tm-category-aside__fields input[type=email] { width: 100%; min-height: 44px; padding: 9px 13px; border: 1px solid #d1d8d4; border-radius: 8px; background: var(--tm-cream); font: 400 15px var(--tm-font-body); }
.tm-category-aside__consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.4; }
.tm-category-aside__consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; appearance: auto; accent-color: var(--tm-emerald); }
.tm-category-aside__fields button { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 99px; background: var(--tm-night); color: white; font: 600 14px var(--tm-font-body); opacity: .75; cursor: not-allowed; }
.tm-category-aside__fields > p { text-align: center; color: #7a858e !important; font-size: 12px !important; }
.tm-category-aside__privacy { display: inline-block; margin-top: 10px; color: var(--tm-emerald-dark); font-size: 12px; text-decoration: underline !important; text-underline-offset: 3px; }
.tm-category a:focus-visible, .tm-category input:focus-visible, .tm-category button:focus-visible { outline: 2px solid var(--tm-emerald); outline-offset: 3px; }
@media (min-width: 600px) {
 .tm-category-shell { width: min(1280px, calc(100% - 64px)); }
 .tm-category-feature > a { grid-template-columns: 1fr 1fr; }
 .tm-category-feature__image { min-height: 310px; }
}
@media (min-width: 1000px) {
 .tm-category-hero { padding: 40px 0 48px; }
 .tm-category-content { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; padding-top: 42px; }
 .tm-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
 .tm-category-card__image { height: 180px; }
 .tm-category-feature__copy { padding: 30px; }
 .tm-category-aside { position: relative; }
 .tm-category-aside__panel { position: sticky; top: 24px; }
}
@media (max-width: 599px) {
 .tm-category-hero { padding: 28px 0 34px; }
 .tm-category-breadcrumb { margin-bottom: 20px; }
 .tm-category-grid { grid-template-columns: 1fr; }
 .tm-category-feature__image { min-height: 210px; }
 .tm-category-feature__copy { padding: 22px; }
 .tm-category-feature__bottom { align-items: start; flex-direction: column; gap: 5px; padding-top: 18px; }
 .tm-category-list { margin-top: 36px; }
 .tm-category-list__heading { align-items: start; }
 .tm-category-card__image { height: 190px; }
 .tm-category-aside { border-top: 1px solid var(--tm-border); padding-top: 36px; }
}
@media (max-width: 359px) {
 .tm-category-shell { width: calc(100% - 28px); }
 .tm-category h1 { font-size: 34px; }
 .tm-category-chip { font-size: 12px; padding-inline: 11px; }
}
