/* Home additions. Global navigation, shell, typography and footer remain shared. */
#tm-site .tm-page-home .tm-home-tone-blue{--home-ink:#176cae;--home-wash:#eaf4ff;}
#tm-site .tm-page-home .tm-home-tone-aqua{--home-ink:#087f73;--home-wash:#e8f8f3;}
#tm-site .tm-page-home .tm-home-tone-coral{--home-ink:#bb4f43;--home-wash:#fff0ec;}
#tm-site .tm-page-home .tm-home-tone-orange{--home-ink:#a96910;--home-wash:#fff4e2;}
#tm-site .tm-page-home .tm-home-tone-violet{--home-ink:#7957b6;--home-wash:#f3edfc;}
#tm-site .tm-page-home .tm-home-tone-sky{--home-ink:#147e9b;--home-wash:#e8f8fc;}
#tm-site .tm-page-home .tm-home-category{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;width:fit-content;max-width:100%;min-height:25px;margin:0;padding:5px 8px;border:0;border-radius:999px;color:#fff;background:var(--home-category-color);font-size:11px;font-weight:800;line-height:1.25;letter-spacing:0;text-transform:none;}
#tm-site .tm-page-home .tm-home-category .tm-icon{flex:0 0 13px;width:13px;height:13px;font-size:12px;}
#tm-site .tm-page-home .tm-directory-image,#tm-site .tm-page-home .tm-tour-image,#tm-site .tm-page-home .tm-event-image,#tm-site .tm-page-home .tm-offer-card:not(.tm-offer-card--featured) .tm-offer-image{position:relative;overflow:visible;}
#tm-site .tm-page-home .tm-directory-image>img,#tm-site .tm-page-home .tm-tour-image>img,#tm-site .tm-page-home .tm-event-image>img,#tm-site .tm-page-home .tm-offer-image>img{border-radius:14px 14px 0 0;}
#tm-site .tm-page-home .tm-home-brand{position:absolute;z-index:3;left:15px;bottom:-19px;display:grid;place-items:center;width:57px;height:57px;padding:4px;border:3px solid #fff;border-radius:50%;color:var(--home-ink,#176cae);background:#fff;box-shadow:0 3px 10px rgba(4,28,56,.16);font-size:18px;font-weight:800;line-height:1;letter-spacing:-.035em;}
#tm-site .tm-page-home .tm-home-brand>span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--home-wash,#eaf4ff);}
#tm-site .tm-page-home .tm-home-brand>img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;border-radius:50%;}
#tm-site .tm-page-home .tm-directory-image>.tm-home-category,#tm-site .tm-page-home .tm-tour-image>.tm-home-category{position:absolute;z-index:2;top:12px;right:12px;bottom:auto;left:auto;max-width:calc(100% - 24px);margin:0;padding:6px 9px;border-color:rgba(255,255,255,.9);box-shadow:0 2px 8px rgba(4,28,56,.13);white-space:nowrap;}
#tm-site .tm-page-home .tm-directory-content{display:flex;flex-direction:column;align-items:flex-start;padding-top:31px;}
#tm-site .tm-page-home .tm-directory-content>p:not(.tm-directory-category){flex:1;width:100%;}
/* Same contact rows and action as the directory; category position and logos stay on Home. */
#tm-site .tm-page-home .tm-directory-content{align-items:stretch;}
#tm-site .tm-page-home .tm-directory-content .tm-card-footer{width:100%;margin-top:auto;}
#tm-site .tm-page-home .tm-directory-content .tm-view-card{width:100%;}
#tm-site .tm-page-home .tm-directory-image>.tm-directory-category{box-shadow:0 5px 14px rgba(3,29,55,.18);}
#tm-site .tm-page-home .tm-directory-content .tm-card-zone-place{white-space:normal;}
#tm-site .tm-page-home .tm-directory-content .tm-card-zone{width:100%;margin:8px 0 12px;}
#tm-site .tm-page-home .tm-directory-content .tm-card-phone .tm-icon{display:inline-grid;place-items:center;}
#tm-site .tm-page-home .tm-home-card-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:fit-content;max-width:100%;min-height:36px;margin:0;padding:9px 12px;border:0;border-radius:9px;color:#fff;background:linear-gradient(135deg,var(--tm-action-primary),var(--tm-action-detail));box-shadow:0 5px 12px rgba(0,142,181,.14);font-family:inherit;font-size:12px;font-weight:800;line-height:1.4;text-decoration:none;cursor:pointer;}
#tm-site .tm-page-home .tm-home-card-action .tm-icon{width:13px;height:13px;font-size:12px;}
#tm-site .tm-page-home .tm-home-card-action:hover{background:var(--tm-action-detail-hover);}
#tm-site .tm-page-home .tm-home-card-action:focus-visible,#tm-site .tm-page-home .tm-home-news-link:focus-visible{outline:3px solid var(--tm-action-orange);outline-offset:3px;}
#tm-site .tm-page-home .tm-tour-content{padding-top:31px;}
#tm-site .tm-page-home .tm-tour-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;}
#tm-site .tm-page-home .tm-home-phone{display:inline-flex;align-items:center;gap:7px;min-width:0;margin:0;color:var(--tm-copy);font-size:13px;font-weight:700;line-height:1.5;}
#tm-site .tm-page-home .tm-home-phone .tm-icon{flex:0 0 15px;width:15px;height:15px;color:var(--tm-blue-700);font-size:13px;}
#tm-site .tm-page-home .tm-home-phone a{white-space:nowrap;text-decoration-thickness:1px;text-underline-offset:3px;}
#tm-site .tm-page-home .tm-home-phone a:hover{text-decoration:underline;color:var(--tm-blue-700);}
#tm-site .tm-page-home .tm-listing-content{grid-template-rows:minmax(46px,auto) minmax(21px,auto) minmax(25px,auto) minmax(21px,auto) 38px;gap:7px;}
#tm-site .tm-page-home .tm-listing-content h3{min-height:46px;margin:0;}
#tm-site .tm-page-home .tm-listing-content .tm-listing-meta{min-height:21px;margin:0;}
#tm-site .tm-page-home .tm-listing-content>.tm-home-card-action,#tm-site .tm-page-home .tm-event-content>.tm-home-card-action{width:100%;margin-top:3px;}
#tm-site .tm-page-home .tm-listing-content>.tm-home-phone{font-size:12px;}
#tm-site .tm-page-home .tm-event-content{display:grid;padding-top:31px;grid-template-rows:minmax(48px,auto) minmax(66px,auto) minmax(24px,auto) minmax(24px,auto) 38px;gap:8px;}
#tm-site .tm-page-home .tm-event-content h3,#tm-site .tm-page-home .tm-event-content>p,#tm-site .tm-page-home .tm-event-meta{margin:0;}
#tm-site .tm-page-home .tm-event-meta{font-size:14px;font-weight:700;line-height:1.55;}
#tm-site .tm-page-home .tm-event-meta>.tm-icon{flex:0 0 16px;width:16px;height:16px;font-size:14px;}
#tm-site .tm-page-home .tm-offer-card:not(.tm-offer-card--featured) .tm-offer-content{padding-top:32px;}
#tm-site .tm-page-home .tm-offer-card--featured .tm-home-brand{left:auto;right:17px;top:17px;bottom:auto;width:63px;height:63px;}
#tm-site .tm-page-home .tm-offer-badge{display:inline-flex;align-items:center;gap:7px;min-height:35px;padding:8px 12px;border:1px solid #fff9;border-radius:9px;color:#fff;background:#1686ad;box-shadow:0 3px 12px #041c3826;font-size:16px;font-weight:800;line-height:1.2;}
#tm-site .tm-page-home .tm-offer-badge>.tm-icon{width:15px;height:15px;font-size:14px;}
#tm-site .tm-page-home .tm-offer-badge--pink{background:#d95469;}
#tm-site .tm-page-home .tm-offer-badge--green{background:#0b987d;}
#tm-site .tm-page-home .tm-offer-badge--orange{background:#ce7923;}
#tm-site .tm-page-home .tm-offer-card--featured .tm-offer-badge{padding:9px 13px;color:#fff;background:var(--tm-action-orange);font-size:14px;}
#tm-site .tm-page-home .tm-button--announce{color:#fff;background:var(--tm-action-orange);border-color:var(--tm-action-orange);box-shadow:0 6px 14px rgba(255,105,46,.15);}
#tm-site .tm-page-home .tm-button--announce:hover{background:var(--tm-action-orange-hover);border-color:var(--tm-action-orange-hover);}
#tm-site .tm-page-home .tm-section-cta>div:not(.tm-section-cta-icon){min-width:0;}
#tm-site .tm-page-home .tm-newsletter-copy>p:not(.tm-section-kicker){font-size:18px;font-weight:600;line-height:1.65;}
#tm-site .tm-page-home .tm-newsletter-note{font-size:14px;font-weight:600;line-height:1.65;}
/* News cards: landscape cover above the editorial content at every width. */
#tm-site .tm-home-news-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
#tm-site .tm-home-news-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--tm-line);
  border-radius:15px;
  background:#fff;
  box-shadow:0 4px 15px rgba(6,45,86,.045);
  transition:border-color 180ms ease,box-shadow 180ms ease;
}
#tm-site .tm-home-news-card:hover {
  border-color:#b9dce7;
  box-shadow:0 8px 22px rgba(6,45,86,.075);
}
#tm-site .tm-home-news-image {
  display:block;
  flex:none;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#e9f3f8;
}
#tm-site .tm-home-news-image img {
  width:100%;
  height:100%;
  object-fit:cover;
}
#tm-site .tm-home-news-content {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  padding:20px;
}
#tm-site .tm-home-news-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin-bottom:13px;
}
#tm-site .tm-home-news-meta time {
  margin-left:auto;
  color:var(--tm-muted);
  font-size:12px;
  font-weight:700;
  line-height:1.5;
}
#tm-site .tm-home-news-content h3 {
  min-height:4.35em;
  margin:0;
  color:var(--tm-navy-900);
  font-size:19px;
  font-weight:800;
  line-height:1.45;
  text-wrap:pretty;
}
#tm-site .tm-home-news-content p {
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:12px 0 20px;
  color:var(--tm-copy);
  font-size:15px;
  font-weight:600;
  line-height:1.65;
}
/* News actions reuse the exact approved card button; only placement is local. */
#tm-site .tm-page-home .tm-home-news-link {align-self:flex-start;margin-top:auto;}
#tm-site .tm-home-news-content h3 a:hover {color:var(--tm-action-detail-hover);text-decoration:underline;text-underline-offset:3px;}
@media(max-width:1023px) {
  #tm-site .tm-home-news-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
}
@media(max-width:680px) {
  #tm-site .tm-home-news-grid {grid-template-columns:minmax(0,1fr);}
  #tm-site .tm-home-news-content {padding:19px;}
  #tm-site .tm-home-news-content h3 {min-height:0;font-size:19px;}
}
@media(max-width:620px) {
  #tm-site .tm-page-home .tm-directory-image>.tm-home-category {top:10px;right:8px;max-width:calc(100% - 16px);gap:5px;padding:5px 6px;white-space:normal;}
  #tm-site .tm-page-home .tm-directory-content {padding-top:31px;}
  #tm-site .tm-page-home .tm-directory-content .tm-card-zone {flex-wrap:wrap;gap:8px;}
  #tm-site .tm-page-home .tm-directory-content .tm-card-zone-place {flex:1 1 120px;overflow:visible;}
}
@media(max-width:600px) {
  #tm-site .tm-page-home .tm-home-brand {width:53px;height:53px;left:12px;bottom:-17px;font-size:17px;}
  #tm-site .tm-page-home .tm-listing-content,#tm-site .tm-page-home .tm-event-content {grid-template-rows:auto;gap:8px;}
  #tm-site .tm-page-home .tm-listing-content>.tm-home-phone {font-size:13px;}
  #tm-site .tm-page-home .tm-newsletter-copy>p:not(.tm-section-kicker) {font-size:17px;}
}
@media(prefers-reduced-motion:reduce){#tm-site .tm-page-home .tm-directory-card,#tm-site .tm-page-home .tm-tour-card,#tm-site .tm-home-news-card,#tm-site .tm-home-news-link{transition:none;}}
