/* SalishCurrent v14: branded destination cards, natural imagery, seamless footer,
   and ferry route choices. Original fixed Island backdrop remains untouched. */

/* Full SalishCurrent logo is visible in lower LEFT corner, not cut off.
   Button moves to lower right so it never covers the watermark. */
body .sc-destination-card::after {
 content:""!important;
 position:absolute!important;
 left:14px!important;
 right:auto!important;
 bottom:13px!important;
 width:82px!important;
 height:75px!important;
 border:0!important;
 border-radius:0!important;
 background-image:url('https://salishcurrent.live/api/brand-logo.svg')!important;
 background-repeat:no-repeat!important;
 background-position:center!important;
 background-size:contain!important;
 opacity:.19!important;
 filter:brightness(0) invert(1)!important;
 transform:none!important;
 z-index:0!important;
 pointer-events:none!important;
}
body .sc-destination-card:hover::after{opacity:.25!important}
body .sc-destination-card{
 background-size:100% 100%,cover!important;
 background-position:center center,center 45%!important;
 background-repeat:no-repeat!important;
}
body .sc-destination-card[data-photo="events"]{background-position:center,center 50%!important}
body .sc-destination-card[data-photo="markets"]{background-position:center,center 34%!important}
body .sc-destination-card[data-photo="community"]{background-position:center,center 43%!important}
body .sc-destination-card[data-photo="safety"]{background-position:center,center 35%!important}
body .sc-destination-card[data-photo="roads"]{background-position:center,center 62%!important}
body .sc-destination-card[data-photo="cameras"]{background-position:center,center 49%!important}
body .sc-destination-card[data-photo="movies"]{background-position:center,center 52%!important}
body .sc-destination-card[data-photo="deals"]{background-position:center,center 50%!important}
body .sc-destination-card[data-photo="outdoors"]{background-position:center,center 32%!important}
body .sc-destination-card[data-photo="forestry"]{background-position:center,center 56%!important}
body .sc-destination-card[data-photo="backcountry"]{background-position:center,center 53%!important}
body .sc-destination-card[data-photo="tides"]{background-position:center,center 47%!important}
body .sc-destination-card[data-photo="fishing"]{background-position:center,center 54%!important}
body .sc-destination-card[data-photo="whales"]{background-position:center,center 50%!important}

/* This source is portrait: cover cropped it to a meaningless half-ring.
   Display the whole circular seismograph to the right of the text, with no
   stretching or zooming, and darken only the text side for legibility. */
body .sc-destination-card[data-photo="earthquakes"]{
 background-image:linear-gradient(90deg,rgba(8,44,36,.98) 0%,rgba(11,53,43,.91) 40%,rgba(9,48,39,.46) 78%,rgba(9,48,39,.24) 100%),url('/sc-card-assets/earthquakes.jpg')!important;
 background-size:100% 100%,auto 94%!important;
 background-position:center,calc(100% - 8px) center!important;
 background-color:#0b392e!important;
 background-repeat:no-repeat!important;
}
body .sc-destination-card[data-photo="earthquakes"] .sc-destination-summary{max-width:220px!important}

/* Warm pearlescent action, with recognisable contrast and a useful hover state. */
body .sc-destination-card .sc-destination-action{
 align-self:flex-end!important;
 margin-top:auto!important;
 padding:10px 13px!important;
 min-height:38px!important;
 max-width:calc(100% - 94px)!important;
 border:1px solid rgba(253,243,214,.92)!important;
 border-radius:11px!important;
 background:linear-gradient(125deg,#fff9ea,#fffdf6 68%,#e6f4e9)!important;
 color:#195942!important;
 box-shadow:0 3px 11px rgba(2,31,21,.2),inset 0 1px 0 rgba(255,255,255,.85)!important;
 font-weight:850!important;
 line-height:1.3!important;
 text-align:center!important;
 justify-content:center!important;
 transition:background .17s ease,box-shadow .17s ease,transform .17s ease!important;
}
body .sc-destination-card:hover .sc-destination-action{
 background:linear-gradient(125deg,#ffeecf,#fff9e8 74%,#e4f2e7)!important;
 box-shadow:0 5px 15px rgba(7,39,26,.27)!important;
 transform:translateY(-1px)!important;
}
body .sc-destination-card:focus-visible{outline:3px solid #f0b365!important;outline-offset:3px!important}
body .sc-destination-card .sc-destination-icon,
body .sc-destination-card .sc-destination-topline,
body .sc-destination-card>strong,
body .sc-destination-card .sc-destination-summary,
body .sc-destination-card .sc-destination-action{position:relative!important;z-index:1!important}

/* The same readable temperature baseline, including the 'Feels like' row.
   Tonight occupies the same four-row grid, even without its final note. */
body .weatherdesk.compact-weather .weather-timecopy{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:15px 31px minmax(17px,auto) 14px!important;
 justify-items:center!important;
 align-content:center!important;
 align-items:center!important;
 gap:0!important;
 width:100%!important;
 min-width:0!important;
 min-height:79px!important;
 text-align:center!important;
}
body .weatherdesk.compact-weather .weather-timecopy>span{grid-column:1!important;grid-row:1!important;align-self:center!important}
body .weatherdesk.compact-weather .weather-timecopy>strong{grid-column:1!important;grid-row:2!important;align-self:baseline!important;line-height:1.03!important}
body .weatherdesk.compact-weather .weather-timecopy>small:not(.sc-weather-feels){grid-column:1!important;grid-row:3!important;align-self:center!important;text-align:center!important}
body .weatherdesk.compact-weather .weather-timecopy>.sc-weather-feels{grid-column:1!important;grid-row:4!important;align-self:start!important;text-align:center!important}
body .weatherdesk.compact-weather .weather-timecard{align-items:center!important;justify-content:center!important}
body .weatherdesk.compact-weather .weather-timeicon{flex:none!important}
body .weatherdesk.compact-weather .weather-always>div{align-items:center!important;justify-content:center!important}

/* Tip invitation belongs to the shared page shell; visible on EVERY destination.
   Remove the old blank zone while keeping one thin divider before footer. */
body .shell.feedbackstrip{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 position:relative!important;
 width:min(1120px,calc(100% - 32px))!important;
 margin:18px auto 22px!important;
 padding:17px 19px!important;
 min-height:0!important;
 border-radius:15px!important;
 border:1px solid rgba(162,207,178,.9)!important;
 background:rgba(253,255,249,.91)!important;
 box-shadow:0 5px 16px rgba(21,69,43,.09)!important;
}
body .footer{margin-top:0!important;padding-top:20px!important;border-top:1px solid rgba(104,155,126,.4)!important}
body .sc-homepage{padding-bottom:0!important}
body .footer .footgrid{margin-top:0!important}
body .footer .coastal-footerline{display:none!important}

/* A useful mini travel guide for mainland crossings without sending readers
   away before they've chosen their route. */
body .sc-ferry-crossings{margin:24px 0 18px;padding:20px;border:1px solid #c9decf;border-radius:16px;background:rgba(249,253,247,.91)}
body .sc-ferry-crossings-head h3{font:800 clamp(23px,2.25vw,29px)/1.14 Georgia,serif;color:#195441;margin:9px 0}
body .sc-ferry-crossings-head p{font-size:12px;line-height:1.57;color:#5f7b69;max-width:740px;margin:7px 0 15px}
body .sc-ferry-crossings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body .sc-ferry-crossing{background:#fffdfa;border:1px solid #cddfcf;border-radius:13px;padding:17px;box-shadow:0 3px 10px #20533414;display:flex;flex-direction:column;gap:9px;min-width:0}
body .sc-ferry-index{display:grid;place-items:center;width:28px;height:28px;border:1px solid #b0d3be;border-radius:50%;font-size:11px;font-weight:850;color:#165f47;background:#e8f5e9}
body .sc-ferry-crossing h4{font:800 17px/1.26 Georgia,serif;color:#21533e;margin:0}
body .sc-ferry-crossing p{color:#547360;font-size:12px;line-height:1.6;margin:0 0 10px;flex:1}
body .sc-ferry-links{display:flex;flex-wrap:wrap;gap:8px}
body .sc-ferry-links a{color:#176246;background:#edf7ed;border:1px solid #bbd9c4;border-radius:9px;font-weight:800;font-size:11px;padding:10px 11px;text-decoration:none}
body .sc-ferry-localcams{display:inline-block;background:linear-gradient(110deg,#e3f3e7,#fff5df);border:1px solid #bad6bf;border-radius:11px;padding:12px 15px;margin-top:15px;color:#165b40;font-size:12px;font-weight:850;text-align:left}
body .sc-ferry-crossings a:hover,body .sc-ferry-localcams:hover{filter:brightness(.96);box-shadow:0 3px 10px #25553524}
body .sc-ferry-crossings a:focus-visible,body .sc-ferry-localcams:focus-visible{outline:3px solid #efb469;outline-offset:2px}

@media(max-width:850px){
 body .sc-ferry-crossings-grid{grid-template-columns:1fr!important}
 body .sc-ferry-crossings{padding:15px!important}
 body .sc-destination-card::after{left:11px!important;bottom:12px!important;width:65px!important;height:62px!important}
 body .sc-destination-card .sc-destination-action{max-width:calc(100% - 78px)!important;min-height:38px!important;padding:9px!important}
 body .weatherdesk.compact-weather .weather-timecopy{
  min-height:80px!important;
  grid-template-rows:14px 30px minmax(18px,auto) 14px!important;
 }
}
@media(max-width:600px){
 body .shell.feedbackstrip{flex-direction:column!important;align-items:stretch!important;margin:14px auto 20px!important;padding:15px!important}
 body .sc-ferry-localcams{width:100%!important}
 body .sc-destination-card .sc-destination-action{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
 body .sc-destination-card .sc-destination-action{transition:none!important}
 body .sc-destination-card:hover .sc-destination-action{transform:none!important}
}
