#trp-explore .trp-place-mentioned-in{padding:24px!important;border:1px solid #dce2e3;border-radius:12px;background:#fff9e9}#trp-explore .trp-place-mentioned-in h2{margin-top:0!important}#trp-explore .trp-place-mentioned-in a{display:inline-block;min-height:44px;padding:8px 0}#trp-explore .area-map-row img{height:auto;max-width:100%;object-fit:contain}#trp-explore .area-photo-credit{line-height:1.65;max-width:100%;overflow-wrap:anywhere}#trp-explore .trp-generated-cover-note{font-size:12px;line-height:1.5;margin-top:8px;color:#52656b}#trp-explore .trp-duplicate-notice{padding:18px 24px;background:#fff7df;border:1px solid #e1cb93;border-radius:12px;margin-bottom:24px}
/* Shared Explore component corrections. Editorial records are never resaved. */
#trp-explore[data-design-fixes] .search-result{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:24px;row-gap:0;align-items:start}
#trp-explore[data-design-fixes] .search-result>.hub-guide-top{grid-column:1;grid-row:1/span 4;display:block;align-self:start;padding:9px 10px;background:#f4f2e9;border-radius:6px;font-size:10px;line-height:1.5;letter-spacing:.45px}
#trp-explore[data-design-fixes] .search-result>:is(p,h3,.hub-read){grid-column:2;min-width:0;width:auto;max-width:900px}
#trp-explore[data-design-fixes] .search-result>.hub-guide-context{margin:0 0 8px;font-size:12px;color:#617078}
#trp-explore[data-design-fixes] .search-result>h3{margin:0 0 10px;overflow-wrap:break-word}
#trp-explore[data-design-fixes] .search-result>.hub-excerpt{margin:0 0 12px}
#trp-explore[data-design-fixes] .search-result>.hub-read{justify-self:start;margin-top:0;min-height:40px;align-content:center}

/* The empty anchor must not consume the main grid cell. */
#trp-explore[data-design-fixes] .area-guide-layout{position:relative;align-items:start}
#trp-explore[data-design-fixes] .area-guide-layout>span[id]{position:absolute;top:0;left:0;width:0;height:0;pointer-events:none}
#trp-explore[data-design-fixes] .area-guide-layout>.archive-neighbourhood-guides{grid-column:1;min-width:0}
#trp-explore[data-design-fixes] .area-guide-layout>.area-standards{grid-column:2;min-width:0}
#trp-explore[data-design-fixes] .area-guide-copy{min-width:0}

/* Current cards have thumbnail + copy children, without Astra's old wrappers. */
#trp-explore[data-design-fixes] .aid-card{display:flex;flex-direction:column;height:auto;min-height:0;align-self:stretch;overflow:hidden}
#trp-explore[data-design-fixes] .aid-card>.post-thumbnail{display:block;min-width:0;height:auto;flex:none;background:#f4f5f2}
#trp-explore[data-design-fixes] .aid-card>.post-thumbnail img{display:block;width:100%;height:auto!important;max-height:none;aspect-ratio:3/2;object-fit:contain}
#trp-explore[data-design-fixes] .aid-card>.entry-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;height:auto;flex:1;padding:26px;overflow:visible}
#trp-explore[data-design-fixes] .aid-card .entry-content>.read-more{display:inline-flex;align-items:center;min-height:44px;margin-top:auto;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
#trp-explore[data-design-fixes] .aid-card .entry-content>p:not(.cat-links){font-size:14px;line-height:1.75;margin-bottom:16px}
#trp-explore[data-design-fixes] .aid-card.aid-lead{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);align-items:stretch}
#trp-explore[data-design-fixes] .aid-lead>.post-thumbnail{display:flex;align-items:center;background:#151b19}
#trp-explore[data-design-fixes] .aid-lead>.entry-content{justify-content:center;padding:32px}
#trp-explore[data-design-fixes] .aid-lead .entry-content>.read-more{margin-top:8px}

/* Explicit button colors take precedence over the reading-column link rule. */
#trp-explore[data-design-fixes] .rollout-content a:is(.trp-btn,.toprated-btn){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:24px;text-decoration:none!important;font-size:13px;font-weight:700}
#trp-explore[data-design-fixes] .rollout-content a:is(.trp-btn-primary,.toprated-btn-primary){background:#efbd42!important;border:1px solid #efbd42!important;color:#172d3a!important}
#trp-explore[data-design-fixes] .rollout-content a:is(.trp-btn-primary,.toprated-btn-primary):hover{background:#f5ce68!important;border-color:#f5ce68!important;color:#172d3a!important}
#trp-explore[data-design-fixes] .rollout-content a:is(.trp-btn-secondary,.trp-btn-light,.toprated-btn-secondary){background:#fff!important;border:1px solid #61737a!important;color:#172d3a!important}
#trp-explore[data-design-fixes] a:is(.trp-btn,.toprated-btn,.read-more):focus-visible{outline:3px solid #8c6507;outline-offset:4px}

/* City modules use article cards rather than whole-card anchors. */
#trp-explore[data-design-fixes] .start-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
#trp-explore[data-design-fixes] .start-grid>.start-card{display:flex;flex-direction:column;min-width:0;padding:24px 20px;border:1px solid #dce2e3;border-radius:14px;background:#fff}
#trp-explore[data-design-fixes] .start-grid>.start-card:first-child{background:#fff6dd;border-color:#e1cb93}
#trp-explore[data-design-fixes] .start-card .hub-guide-top{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#78643a;letter-spacing:.6px;text-transform:uppercase;margin-bottom:16px}
#trp-explore[data-design-fixes] .start-card .hub-guide-context{font-size:11px;color:#627279;margin-bottom:12px}
#trp-explore[data-design-fixes] .start-card h3{font-size:22px;line-height:1.25;margin:0 0 15px}
#trp-explore[data-design-fixes] .start-card .hub-excerpt{font-size:13px;line-height:1.65;margin-bottom:18px}
#trp-explore[data-design-fixes] .start-card .hub-read{margin-top:auto;display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
#trp-explore[data-design-fixes] .area-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#trp-explore[data-design-fixes] .area-list>a{display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:7px 12px;position:relative;min-width:0;padding:18px 20px;border:1px solid #dce2e3;border-radius:12px}
#trp-explore[data-design-fixes] .area-list>a>strong{display:block;grid-column:1;font-size:16px}
#trp-explore[data-design-fixes] .area-list>a>span{display:block;grid-column:1;font-size:13px;line-height:1.5}
#trp-explore[data-design-fixes] .area-list>a>span:last-child{position:static;grid-column:2;grid-row:1/3;align-self:center}
#trp-explore[data-design-fixes] .city-place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#trp-explore[data-design-fixes] .city-place-grid>.city-place-card{min-width:0;padding:24px;display:flex;flex-direction:column;border:1px solid #dce2e3;border-radius:14px;background:white}

/* Normalize inherited centered sections before placing semantic profile modules. */
#trp-explore[data-design-fixes] .rollout-place .trp-place{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);gap:28px;align-items:start}
#trp-explore[data-design-fixes] .rollout-place .trp-place>*{grid-column:1/-1;grid-row:auto;justify-self:stretch;align-self:start;width:100%;max-width:none!important;min-width:0;margin:0!important;text-align:left}
#trp-explore[data-design-fixes] .rollout-place .trp-place>.trp-place-summary{grid-column:1;grid-row:1;padding:0!important}
#trp-explore[data-design-fixes] .rollout-place .trp-place>.trp-place-quick-facts{grid-column:2;grid-row:1/span 2}
#trp-explore[data-design-fixes] .rollout-place .trp-place>.trp-place-why-it-ranks{grid-column:1;grid-row:2;padding:24px!important;border:1px solid #dce2e3!important;border-radius:12px;background:#f8fafb!important}
#trp-explore[data-design-fixes] .rollout-place .trp-place>.trp-place-service-area{grid-column:1;grid-row:3;padding:24px!important;border:1px solid #dce2e3!important;border-radius:12px}
#trp-explore[data-design-fixes] .rollout-place .trp-place>.trp-place-location-links{grid-column:2;grid-row:3;padding:24px!important;border:1px solid #dce2e3!important;border-radius:12px;background:#fff!important}
#trp-explore[data-design-fixes] .rollout-place .trp-place>:is(.trp-place-quick-facts,.trp-place-why-it-ranks,.trp-place-service-area,.trp-place-location-links,.trp-place-sources)>h2{margin-top:0!important}
#trp-explore[data-design-fixes] .rollout-place .trp-place>.trp-place-sources{padding:24px!important;border:1px solid #dce2e3!important;border-radius:12px;background:#f7f8f4!important}
#trp-explore[data-design-fixes] .trp-place-location-links ul{list-style:none;padding:0!important;margin:0!important}
#trp-explore[data-design-fixes] .trp-place-location-links a{display:flex;align-items:center;justify-content:center;padding:10px 16px;min-height:44px;border:1px solid #61737a;border-radius:24px;text-decoration:none!important;color:#172d3a!important;font-size:13px;overflow-wrap:anywhere}

#trp-explore[data-design-fixes] .site-footer{display:grid;grid-template-columns:1.3fr repeat(4,minmax(0,1fr));gap:28px;align-items:start}
#trp-explore[data-design-fixes] .site-footer>nav{display:flex;flex-direction:column;align-items:flex-start;gap:10px;grid-column:auto;grid-row:auto;min-width:0}
#trp-explore[data-design-fixes] .site-footer>nav>h2{margin:0 0 6px;font-size:14px}
#trp-explore[data-design-fixes] .site-footer>nav>a{display:block;margin:0;font-size:13px;line-height:1.5}

@media(max-width:1100px){
 #trp-explore[data-design-fixes] .start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #trp-explore[data-design-fixes] .site-footer{grid-template-columns:repeat(4,minmax(0,1fr))}
 #trp-explore[data-design-fixes] .site-footer>.footer-brand{grid-column:1/-1}
 #trp-explore[data-design-fixes] .area-guide-layout{grid-template-columns:1fr}
 #trp-explore[data-design-fixes] .area-guide-layout>.area-standards{grid-column:1}
}
@media(max-width:700px){
 #trp-explore[data-design-fixes] .search-result{display:block}
 #trp-explore[data-design-fixes] .search-result>.hub-guide-top{display:inline-flex;margin-bottom:12px}
 #trp-explore[data-design-fixes] .aid-card.aid-lead{display:flex;flex-direction:column}
 #trp-explore[data-design-fixes] .aid-card>.entry-content{padding:22px}
 #trp-explore[data-design-fixes] .start-grid,#trp-explore[data-design-fixes] .area-list,#trp-explore[data-design-fixes] .city-place-grid{grid-template-columns:1fr}
 #trp-explore[data-design-fixes] .rollout-place .trp-place{display:flex;flex-direction:column;gap:24px}
 #trp-explore[data-design-fixes] .rollout-place .trp-place>*{width:100%;max-width:none}
 #trp-explore[data-design-fixes] .site-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}
 #trp-explore[data-design-fixes] .site-footer>.footer-brand{grid-column:1/-1}
}
