/* Homepage fixes: real attraction cards + stable travel-route banner. */
html.pw-reference-home .pw-landmarks{margin-top:34px}
html.pw-reference-home .pw-landmarks__intro{max-width:800px;margin:0 0 16px;color:#576c71;font-size:14px}
html.pw-reference-home .pw-landmarks__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;min-width:0}
html.pw-reference-home .pw-landmark-card{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:210px;overflow:hidden;border-radius:14px;padding:17px;background:linear-gradient(140deg,#176077,#092e44 75%);color:#fff!important;box-shadow:0 5px 14px #072e402c;transition:transform .18s ease,box-shadow .18s ease}
html.pw-reference-home .pw-landmark-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #072e4038}
html.pw-reference-home .pw-landmark-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
html.pw-reference-home .pw-landmark-card__overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(3,31,47,.96) 0%,rgba(4,46,60,.35) 63%,rgba(4,46,60,.1) 100%)}
html.pw-reference-home .pw-landmark-card__copy{display:flex;flex-direction:column;max-width:calc(100% - 22px);gap:3px}
html.pw-reference-home .pw-landmark-card strong{font:700 clamp(18px,1.7vw,25px)/1.08 Georgia,serif;color:#fff}
html.pw-reference-home .pw-landmark-card small{font-size:12px;color:#f4e9d0}
html.pw-reference-home .pw-landmark-card__arrow{position:absolute;right:13px;bottom:15px;display:grid;place-items:center;width:28px;height:28px;background:#f8c95f;color:#163549;border-radius:50%;font-size:19px;font-weight:700}
html.pw-reference-home .pw-landmarks__state{grid-column:1/-1;margin:0;background:#f6eedf;border:1px solid #e8d5b9;border-radius:12px;padding:25px;color:#34535b;text-align:center;font-size:14px}
html.pw-reference-home .pw-landmarks__state a{font-weight:700;color:#176081;text-decoration:underline}
/* Preserve approved atlas imagery without giant banners or warped photography. */
.home-page--magazine .home-ideas-wide{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  min-height:238px!important;margin:16px 0 24px!important;
  padding:35px clamp(22px,4.5vw,64px)!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:18px 30px!important;align-items:center!important;
  background-image:url('/travel-journal/promo-final.webp')!important;
  background-position:center center!important;background-size:cover!important;
  border:0!important;border-radius:15px!important;
}
.home-page--magazine .home-ideas-wide::before{
  content:""!important;inset:0!important;position:absolute!important;
  z-index:-1!important;background:linear-gradient(90deg,rgba(3,40,59,.95),rgba(3,48,68,.79) 47%,rgba(3,48,68,.10) 100%)!important;
}
.home-page--magazine .home-ideas-wide::after{
  content:""!important;position:absolute!important;right:14px!important;top:0!important;
  width:130px!important;height:100%!important;opacity:.18!important;
  background:url('/travel-journal/stamp.svg') center/105px no-repeat!important;
  pointer-events:none!important;
}
.home-page--magazine .home-ideas-wide>div{position:relative!important;z-index:1!important;min-width:0!important}
.home-page--magazine .home-ideas-wide span{display:block!important;color:#f5ca73!important;font-size:11px!important;letter-spacing:.14em!important}
.home-page--magazine .home-ideas-wide h2{font:italic 700 clamp(27px,3vw,41px)/1.1 Georgia,serif!important;max-width:680px!important;color:white!important;margin:9px 0!important;text-shadow:0 2px 8px #03283b88}
.home-page--magazine .home-ideas-wide p{font-size:15px!important;line-height:1.55!important;color:#f0f5f0!important;max-width:530px!important;margin:0!important}
.home-page--magazine .home-ideas-wide>a{position:relative!important;z-index:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;margin:0!important;padding:13px 22px!important;white-space:nowrap!important;border-radius:30px!important;background:#efbc46!important;border:1px solid #ffe4a2!important;color:#15364a!important;font-weight:800!important;box-shadow:0 5px 15px #00192755!important}
.home-page--magazine .home-ideas-wide>a:hover{background:#ffda77!important}
.home-page--magazine .home-landmarks-state{grid-column:1/-1;color:#3d5c64;background:#f8f0e1;border-radius:12px;padding:22px;text-align:center}
.home-page--magazine .home-landmarks-state a{color:#136482;text-decoration:underline;font-weight:700}
@media(max-width:1000px){html.pw-reference-home .pw-landmarks__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
 html.pw-reference-home .pw-landmarks__grid{gap:10px}
 html.pw-reference-home .pw-landmark-card{min-height:165px;padding:12px}
 html.pw-reference-home .pw-landmark-card strong{font-size:17px}
 .home-page--magazine .home-ideas-wide{min-height:250px!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:30px 22px!important}
 .home-page--magazine .home-ideas-wide>a{justify-self:start!important}
}
@media(max-width:440px){
 html.pw-reference-home .pw-landmarks{margin-top:26px}
 html.pw-reference-home .pw-landmarks__grid{grid-template-columns:1fr 1fr;gap:8px}
 html.pw-reference-home .pw-landmark-card{min-height:155px}
 html.pw-reference-home .pw-landmark-card strong{font-size:15px}
 html.pw-reference-home .pw-landmark-card__arrow{right:7px;bottom:8px;width:21px;height:21px;font-size:15px}
 .home-page--magazine .home-ideas-wide h2{font-size:27px!important}
}
@media(prefers-reduced-motion:reduce){html.pw-reference-home .pw-landmark-card{transition:none}}
