/* One photographic treatment: landscape framing, natural cool whites, forest ink. */
.card-photo{height:auto;aspect-ratio:8/5;background:#dbe5e2;isolation:isolate}
.card-photo>a{display:block;width:100%;height:100%;overflow:hidden}
.card-photo .resort-photo{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.84) contrast(1.035) brightness(1.045);transition:transform .6s ease,filter .3s}
.card-photo>a:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#123d3510 0%,transparent 50%,#12352c30 100%);pointer-events:none}
.resort-card:hover .resort-photo{transform:scale(1.035);filter:saturate(.94) contrast(1.035) brightness(1.045)}
.card-photo .focal-top{object-position:center 30%}.card-photo .focal-bottom{object-position:center 70%}
.card-photo .photo-tag{z-index:1;bottom:11px;left:12px;font-size:9px;padding:5px 8px;background:#fffffff0}
.photo-credit{position:absolute;z-index:2;right:10px;bottom:11px;display:inline-flex;align-items:center;gap:4px;padding:5px 6px;border-radius:4px;font-size:9px;color:#fff;background:#183a36b3;backdrop-filter:blur(8px);min-height:26px}
.photo-credit svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5}
.photo-credit:hover{background:#173f36}.photo-credit:focus-visible{outline-color:#fff;outline-offset:2px}
.card-photo .save{z-index:2;background:#fffffff2;box-shadow:0 2px 10px #12372e12}
.resort-photo-placeholder{width:100%;height:100%;background:#e2e9e2;position:relative;overflow:hidden;color:#516c60;display:grid;place-items:center}
.resort-photo-placeholder svg{position:absolute;width:100%;height:100%;fill:none}
.resort-photo-placeholder .contour{stroke:#b4c8bb;stroke-width:1;opacity:.65}
.resort-photo-placeholder .mountain{stroke:#759784;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.placeholder-label{position:absolute;top:16px;left:15px;font-size:10px;letter-spacing:.06em}
.placeholder-location{position:absolute;top:35px;left:15px;color:#6f867b;font-size:9px;letter-spacing:.05em}
.resort-detail-photo{margin:0 0 26px;position:relative;aspect-ratio:16/6;max-height:420px;overflow:hidden;border-radius:11px;background:#dbe5e2}
.resort-detail-photo>.resort-photo{width:100%;height:100%;object-fit:cover;filter:saturate(.84) contrast(1.035) brightness(1.045)}
.resort-detail-photo .photo-credit{right:15px;bottom:15px;font-size:11px;padding:8px 10px}
.photo-credit-preview{margin:0 0 18px;background:#e2e9e2;border-radius:7px;overflow:hidden}
.photo-credit-preview img{width:100%;height:auto;max-height:330px;object-fit:contain}
.photo-license{display:grid;grid-template-columns:85px 1fr;gap:12px;font-size:12px;line-height:1.8;margin:22px 0}
.photo-license dt{color:var(--muted)}.photo-license dd{margin:0;overflow-wrap:anywhere}.photo-license a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.resort-detail-photo{aspect-ratio:8/5}.photo-credit{min-height:28px}.photo-credit span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.card-photo .resort-photo{transition:none}.resort-card:hover .resort-photo{transform:none}}

.resort-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:14px;min-height:390px;margin-bottom:28px;background:#193c35;color:#fff}.resort-hero-media{position:absolute;inset:0;z-index:-2}.resort-hero-media>.resort-photo{width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.92)}.resort-hero-media>.resort-photo-placeholder{height:100%}.resort-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#102b3920,#102c3bbb 100%)}.resort-hero-content{min-height:390px;padding:36px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:24px}.resort-hero h1{font-size:44px;margin:12px 0;line-height:1.2;overflow-wrap:anywhere}.resort-hero p{color:#ffffffd9;margin:0;overflow-wrap:anywhere}.resort-hero .eyebrow{color:#fff}.resort-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%}.resort-hero-actions .favorite-toggle,.resort-hero-actions .photo-credit,.resort-hero-actions .btn{position:static;margin:0;height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid #ffffff70;background:#163d37cc;color:#fff;font-size:12px;border-radius:7px;padding:0 14px}.resort-hero-actions .favorite-toggle{width:44px;min-width:44px;padding:0;font-size:24px}.resort-hero-actions .favorite-toggle.is-saved{color:#ffd4c4}.resort-hero-actions .photo-credit span{font-size:12px}.resort-hero-actions .photo-credit svg{width:16px;height:16px}.regional-weather-word{font-size:20px!important}.jma-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.jma-day{padding:14px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.jma-day time{display:block;font-size:11px;color:var(--muted)}.jma-day>strong{display:block;margin-top:12px;font-size:22px}.jma-day p{font-size:12px;line-height:1.8}.jma-area{margin-bottom:20px}.jma-area h3{margin:10px 0}.jma-day small{font-size:11px}@media(max-width:600px){.resort-hero,.resort-hero-content{min-height:350px}.resort-hero-content{padding:22px 18px;gap:22px}.resort-hero h1{font-size:29px}.resort-hero .eyebrow{font-size:10px}.resort-hero-actions{gap:8px}.resort-hero-actions .photo-credit,.resort-hero-actions .btn{padding:0 10px;font-size:11px}.resort-hero-actions .photo-credit span{font-size:11px}.jma-days{grid-template-columns:1fr}.jma-day{padding:16px}}

@media(max-width:600px){.resort-hero-actions{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(0,1.1fr)}.resort-hero-actions .photo-credit,.resort-hero-actions .btn{width:100%;min-width:0;white-space:normal;line-height:1.35;text-align:center;padding:0 7px}.resort-hero-actions .photo-credit span{min-width:0;overflow-wrap:anywhere;font-size:10px}.resort-hero-actions>.btn:last-child:nth-child(2){grid-column:2/-1}}
.detail-layout>*{min-width:0}.detail-layout .panel{min-width:0;overflow-wrap:anywhere}

.mountain-block{border-top:1px solid var(--line);padding:22px 0;margin-top:18px}.mountain-block h3{font-size:18px;margin:0 0 14px}.avalanche-block{background:#f3f1e9;border:1px solid #ded8c8;border-radius:9px;padding:18px}.avalanche-block.has-advisory{background:#fff1e6;border-color:#c96930}.avalanche-state{font-weight:700;line-height:1.7}.avalanche-caution{font-size:12px;line-height:1.9}.mountain-source{display:inline-block;font-size:12px;text-decoration:underline;text-underline-offset:4px;line-height:1.7;overflow-wrap:anywhere}.specialist-bulletin{padding:14px 0;border-top:1px solid var(--line);margin-top:14px;font-size:13px}.snow-observation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.snow-observation-grid article{padding:14px;border:1px solid var(--line);border-radius:8px}.snow-observation-grid h4{font-size:12px;line-height:1.7;margin:0 0 10px}.snow-observation-grid dl{display:flex;flex-wrap:wrap;gap:18px;margin:10px 0}.snow-observation-grid dt{font-size:11px;color:var(--muted)}.snow-observation-grid dd{font-size:20px;margin:5px 0}.historical-snow{margin-top:16px}.historical-snow summary{font-size:12px;cursor:pointer;padding:12px 0}.snow-forecast-widget{display:block;width:100%;height:380px;min-height:350px;border:0;background:#f5f6f1;border-radius:8px}.mountain-panel .jma-days{grid-template-columns:1fr}.mountain-panel .jma-day{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px}.mountain-panel .jma-day>strong{margin:0}.mountain-panel .jma-day p{margin:0}.mountain-panel .jma-day .note{grid-column:1/-1}@media(max-width:600px){.snow-observation-grid{grid-template-columns:1fr}.avalanche-block{padding:15px}.snow-forecast-widget{height:420px}.mountain-panel .jma-day{display:block}.mountain-panel .jma-day>strong{margin:10px 0}.mountain-panel .jma-day p{margin-top:8px}}

.snow-widget-fit{position:relative;width:100%;max-width:550px;height:var(--forecast-height,350px);overflow:hidden;background:#f5f6f1;border-radius:8px}.snow-widget-fit .snow-forecast-widget{width:550px;min-width:550px;height:350px;min-height:350px;max-width:none;border:0;transform:scale(var(--forecast-scale,1));transform-origin:top left}

@media (max-width: 820px) {
  .resort-detail-layout > aside { display: contents; }
  .resort-detail-layout > aside > div { min-width: 0; }
  .resort-detail-priority { order: -1; }
  .resort-detail-priority > :last-child { margin-bottom: 0; }
}
