/* Spotpedia modern directory UI, 2026 - progressive enhancement, non-destructive. */
:root{--sp-navy:#06265b;--sp-teal:#00a99d;--sp-text:#0b234e}
html{scroll-behavior:smooth}
body{background:#fff;color:var(--sp-text)}
.sp-navbar{background:rgba(255,255,255,.98);position:relative;z-index:60;border-bottom:1px solid #e6edf4;box-shadow:0 2px 14px #10265b08}
.sp-navin{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:76px}
.sp-navbar .logo{flex-shrink:0}
.sp-navbar .logo img{width:196px;max-height:65px;height:auto;object-fit:contain;display:block}
.sp-navmenu{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;min-width:0}
.sp-navlinks,.sp-nav-actions{display:flex;align-items:center;gap:clamp(10px,2vw,28px)}
.sp-navlinks{margin:auto}
.sp-navlinks>a,.sp-nav-dropdown summary,.sp-nav-soon{color:#071e47;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap;padding:27px 4px 23px;display:inline-flex;align-items:center;gap:7px;line-height:1.2}
.sp-navlinks>a.is-current{border-bottom:3px solid var(--sp-teal)}
.sp-navlinks a:hover,.sp-nav-dropdown summary:hover{color:#008d89}
.sp-nav-dropdown{position:relative}
.sp-nav-dropdown summary{list-style:none}
.sp-nav-dropdown summary::-webkit-details-marker{display:none}
.sp-nav-popover{position:absolute;top:100%;left:0;z-index:80;min-width:225px;padding:13px;background:#fff;border:1px solid #e5edf5;border-radius:14px;box-shadow:0 18px 44px #06265b1c;display:grid;gap:3px}
.sp-nav-popover strong{padding:8px 10px;color:#536681;font-size:12px}
.sp-nav-popover a{padding:10px;border-radius:8px;font-size:13px;font-weight:650;color:#09254d}
.sp-nav-popover a:hover{background:#e8f8f6;color:#007e7b}
.sp-nav-soon{opacity:.55;cursor:default}
.sp-nav-actions{gap:15px}
.sp-saved-trigger{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:transparent;border:0;font:700 14px/1.2 inherit;color:var(--sp-text);padding:8px;cursor:pointer}
.sp-saved-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.sp-saved-count{background:#e5f9f6;color:#008c84;border-radius:50px;padding:2px 6px;font-size:11px}
.sp-add-place{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(120deg,#00b3a7,#009b99);border-radius:12px;color:#fff!important;font-weight:750;font-size:14px;padding:13px 17px;box-shadow:0 8px 18px #00a99d24;white-space:nowrap}
.sp-add-place:hover{filter:brightness(.94)}
.sp-menu-toggle{display:none;background:#fff;border:1px solid #dbe8f1;border-radius:9px;width:42px;height:42px;padding:10px;cursor:pointer}
.sp-menu-toggle span{display:block;height:2px;background:#06265b;margin:4px 0;border-radius:3px}
.sp-saved-dialog{border:0;border-radius:17px;padding:24px;max-width:min(480px,94vw);width:100%;box-shadow:0 20px 70px #06183742}
.sp-saved-dialog::backdrop{background:#061b35a3}
.sp-saved-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sp-saved-heading h2{font-size:20px;margin:0}
.sp-saved-close{border:0;background:#eef5f8;border-radius:8px;padding:7px 12px;cursor:pointer}
.sp-saved-dialog>p{color:#61728a;font-size:13px}
.sp-saved-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e0e9f1;padding:12px 0}
.sp-saved-item>a{font-weight:700}
.sp-saved-remove{border:1px solid #d9e4ed;background:white;border-radius:9px;padding:7px 10px;cursor:pointer}
.sp-home-hero{min-height:360px;padding:59px 0 98px;background:linear-gradient(105deg,rgba(3,30,67,.93),rgba(5,52,91,.61)),linear-gradient(110deg,#0c4f7e,#0aa79e);background-position:center;background-size:cover;color:white}
.sp-home-hero .eyebrow{font-size:12px;letter-spacing:.09em;color:#aefcf0}
.sp-home-hero h1{max-width:800px;color:white;font-size:clamp(34px,4.4vw,58px);line-height:1.1;letter-spacing:-1.65px;margin:12px 0}
.sp-home-hero p{color:#edf7ff;max-width:720px;font-size:clamp(15px,1.4vw,18px);margin:0 0 26px}
.sp-home-hero .searchbox{max-width:1010px;margin-top:20px;padding:11px 13px;border-radius:19px;box-shadow:0 16px 37px #001d3645;background:#fff}
.sp-home-hero .searchline{align-items:center;gap:8px}
.sp-home-hero .search-wrap{flex:1;min-width:180px}
.sp-home-hero .search-wrap:before{content:"";position:absolute;z-index:1;left:14px;top:50%;width:17px;height:17px;border:2px solid #112d62;border-radius:50%;transform:translateY(-60%)}
.sp-home-hero .search-wrap:after{content:"";position:absolute;z-index:1;left:30px;top:62%;width:9px;height:2px;background:#112d62;transform:rotate(45deg)}
.sp-home-hero .searchline input{height:51px;border:0!important;outline-offset:3px;padding:12px 16px 12px 47px;color:#0b234e;font-weight:500;background:transparent}
.sp-home-hero .searchline .btn{border:0;border-radius:12px;padding:14px 27px;min-height:48px;white-space:nowrap;background:#00a99d;color:#fff}
.sp-home-hero .searchline .btn:hover{background:#008f89}
.sp-home-hero .search-hint{display:none}
.sp-home-hero .sp-hero-advanced{border:1px solid #dbe6ec;border-radius:10px;background:#f8fcff;padding:0;margin:10px 0 0}
.sp-home-hero .sp-hero-advanced summary{display:flex;align-items:center;gap:7px;padding:9px 12px;font-size:12px;font-weight:750;color:#2c5373;cursor:pointer}
.sp-home-hero .sp-hero-advanced .fields{padding:12px 14px 4px;margin-top:0}
.sp-home-hero .sp-hero-advanced .sort-row{padding:0 14px}
.sp-home-hero .sp-hero-advanced .chips{padding:0 14px 14px}
.sp-quick-section{position:relative;z-index:10;margin-top:-58px}
.sp-quick-grid{background:white;border-radius:19px;box-shadow:0 12px 35px #102c5b16;border:1px solid #eaf0f5;min-height:120px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:15px 8px}
.sp-quick-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;position:relative;text-decoration:none;min-width:0;padding:4px 7px;border-radius:12px;transition:transform .2s ease}
.sp-quick-tile:not(:last-child):after{content:"";width:1px;height:55px;position:absolute;top:calc(50% - 27px);right:-1px;background:#e2e8ef}
.sp-quick-tile:hover{transform:translateY(-2px)}
.sp-quick-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#e8fcfa,#c9f6f1);color:#087aa0}
.sp-quick-icon svg{width:31px;height:31px}
.sp-quick-title{font-size:clamp(11px,1.25vw,15px);line-height:1.3;font-weight:800;color:#082653}
.sp-popular{padding:50px 0 34px;background:white}
.sp-popular-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.sp-popular-head h2{font-size:clamp(22px,2.5vw,31px);letter-spacing:-.7px;color:#082550;margin:0 0 5px}
.sp-popular-head p{color:#61718a;margin:0;font-size:14px}
.sp-view-locations{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;background:#dcf8f4;color:#007f7d;padding:10px 16px;border-radius:18px;font-weight:750;font-size:13px}
.sp-view-locations:hover{background:#c9f2ec}
.sp-popular-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.sp-city-card{display:block;position:relative;overflow:hidden;border-radius:14px;aspect-ratio:1.72;background:linear-gradient(130deg,#0c5278,#05aeab);color:white;box-shadow:0 8px 20px #09275a0d}
.sp-city-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#001c399c,transparent 56%);pointer-events:none}
.sp-city-card img{height:100%;width:100%;object-fit:cover;transition:transform .3s}
.sp-city-card:hover img{transform:scale(1.045)}
.sp-city-fallback{display:block;width:100%;height:100%;background:linear-gradient(120deg,#0c537b,#00aeab)}
.sp-city-caption{position:absolute;z-index:2;bottom:11px;left:12px;right:8px;display:flex;align-items:center;gap:5px;font-weight:800;font-size:clamp(12px,1.1vw,16px);color:white;text-shadow:0 1px 6px #00192a}
.sp-city-caption svg{width:18px;height:18px;flex-shrink:0}
.sp-home .main{padding-top:35px}
.sp-home .main .header h2{font-size:clamp(22px,2.2vw,29px)}
.sp-home .main .cards{gap:17px}
.sp-home .main .card{transition:transform .18s ease,box-shadow .18s ease}
.sp-home .main .card:hover{transform:translateY(-3px)}
.sp-home .card{position:relative}
.sp-save-card{position:absolute;z-index:3;right:12px;top:12px;background:#fffef0;border:1px solid #dae6ec;border-radius:10px;width:35px;height:35px;display:grid;place-items:center;cursor:pointer;color:#0a2754;box-shadow:0 4px 12px #061b3a20}
.sp-save-card[aria-pressed="true"]{background:#d6fcf5;color:#007f7a}
.sp-save-card svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sp-save-card[aria-pressed="true"] svg{fill:currentColor}
.sp-home .chip{transition:background .2s}
.sp-home .chip:hover{background:#e4faf7}
@media(max-width:1120px){
.sp-navlinks,.sp-nav-actions{gap:13px}
.sp-navlinks>a,.sp-nav-dropdown summary,.sp-nav-soon{font-size:13px}
.sp-navbar .logo img{width:165px}
.sp-add-place{padding:12px;font-size:12px}
}
@media(max-width:820px){
.sp-navin{min-height:68px}
.sp-navbar .logo img{width:176px}
.sp-menu-toggle{display:block;flex-shrink:0}
.sp-navmenu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:18px 22px 22px;box-shadow:0 18px 30px #06265b1a;max-height:80vh;overflow:auto}
.sp-navmenu.is-open{display:block}
.sp-navlinks,.sp-nav-actions{display:flex;align-items:stretch;flex-direction:column;gap:6px;margin:0}
.sp-navlinks>a,.sp-nav-dropdown summary,.sp-nav-soon{padding:11px 10px;border:0!important}
.sp-nav-popover{position:static;box-shadow:none;border-radius:8px;margin:0 0 8px 8px}
.sp-nav-actions{border-top:1px solid #e6edf5;padding-top:12px}
.sp-add-place{align-self:flex-start}
.sp-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sp-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}
.sp-quick-tile:nth-child(3):after{display:none}
}
@media(max-width:560px){
.sp-home-hero{padding:44px 0 88px;min-height:330px}
.sp-home-hero h1{font-size:clamp(31px,8vw,41px)}
.sp-home-hero .searchbox{padding:11px}
.sp-home-hero .searchline{flex-direction:row;align-items:stretch}
.sp-home-hero .search-wrap{min-width:0}
.sp-home-hero .searchline input{height:49px;width:100%;font-size:12px}
.sp-home-hero .searchline .btn{padding:10px 14px;font-size:12px}
.sp-home-hero .sp-hero-advanced .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-quick-section{margin-top:-49px}
.sp-quick-grid{padding:12px 5px;min-height:0;gap:6px 0;border-radius:16px}
.sp-quick-tile{gap:5px;padding:9px 4px}
.sp-quick-icon{width:42px;height:42px;border-radius:11px}
.sp-quick-icon svg{width:26px;height:26px}
.sp-quick-title{font-size:11px}
.sp-quick-tile:not(:last-child):after{height:35px;top:calc(50% - 17px)}
.sp-popular{padding:35px 0 22px}
.sp-popular-head{align-items:flex-start;flex-direction:column}
.sp-view-locations{padding:8px 12px}
.sp-popular-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:12px;padding:3px 1px 15px}
.sp-city-card{min-width:215px;scroll-snap-align:start}
.sp-home .main{padding-top:28px}
}
@media(prefers-reduced-motion:reduce){.sp-quick-tile,.sp-city-card img,.sp-home .main .card{transition:none!important}}

/* Licensed source: Gunawan Kartapranata, CC BY-SA 3.0, Wikimedia Commons, North Bandung banner. Site manager's custom banner always takes precedence. */
.sp-home-hero{background-image:linear-gradient(105deg,rgba(3,30,67,.88),rgba(5,52,91,.54)),url('https://commons.wikimedia.org/wiki/Special:FilePath/North_Bandung_banner.jpg')}

/* Spotpedia homepage category icons 2026-11-21 */
.sp-home .sp-quick-grid{grid-template-columns:repeat(8,minmax(0,1fr));align-items:stretch;gap:3px;padding:17px 10px}
.sp-home .sp-quick-tile{gap:10px;min-height:106px;transition:transform .2s ease,background-color .2s ease}
.sp-home .sp-quick-tile:hover,.sp-home .sp-quick-tile:focus-visible{background:#f4fbfa}
.sp-home .sp-quick-icon{width:54px;height:54px;border-radius:16px;background:#e8f8f6;color:#087d84;box-shadow:inset 0 0 0 1px #d3f0ec;flex:none;transition:background .2s,color .2s,transform .2s}
.sp-home .sp-quick-icon svg{width:29px;height:29px;display:block}
.sp-home .sp-quick-tile:hover .sp-quick-icon,.sp-home .sp-quick-tile:focus-visible .sp-quick-icon{background:#d3f4ef;color:#06265b;transform:translateY(-2px)}
.sp-home .sp-quick-title{font-size:clamp(11px,1.07vw,14px);font-weight:750;line-height:1.3}
.sp-home .sp-quick-tile:focus-visible{outline:2px solid #00a99d;outline-offset:-2px}
.sp-home .sp-quick-tile:nth-child(3):after{display:block}
.sp-home .sp-quick-tile:last-child:after{display:none}
@media(max-width:1000px){.sp-home .sp-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:12px}.sp-home .sp-quick-tile:nth-child(4n):after{display:none}.sp-home .sp-quick-tile:nth-child(3):after{display:block}}
@media(max-width:560px){.sp-home .sp-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 0;padding:12px 5px}.sp-home .sp-quick-tile{min-height:96px;padding:7px 2px;gap:7px}.sp-home .sp-quick-icon{width:43px;height:43px;border-radius:13px}.sp-home .sp-quick-icon svg{width:24px;height:24px}.sp-home .sp-quick-title{font-size:11px;line-height:1.25}.sp-home .sp-quick-tile:after{height:40px!important;top:calc(50% - 20px)!important}}
@media(max-width:350px){.sp-home .sp-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-home .sp-quick-tile:nth-child(2n):after{display:none!important}.sp-home .sp-quick-tile:nth-child(4n+1):after{display:block}}
@media(prefers-reduced-motion:reduce){.sp-home .sp-quick-icon{transition:none}.sp-home .sp-quick-tile:hover .sp-quick-icon{transform:none}}

/* Spotpedia city photo cards 20261121 */
.sp-city-item{position:relative;min-width:0}
.sp-city-item .sp-city-card{width:100%;height:auto;display:block}
.sp-city-item .sp-city-card img{display:block;height:100%;object-fit:cover;object-position:center}
.sp-city-photo-credit{position:absolute;right:7px;top:7px;z-index:3;padding:4px 7px;border-radius:20px;font-size:10px;font-weight:700;line-height:1.1;text-decoration:none;color:white;background:rgba(5,26,55,.7);backdrop-filter:blur(4px)}
.sp-city-photo-credit:hover,.sp-city-photo-credit:focus-visible{background:#06265b;color:white;text-decoration:underline}
.sp-city-item .sp-city-card:focus-visible{outline:3px solid #00a99d;outline-offset:3px}
@media(max-width:560px){.sp-city-photo-credit{font-size:9px;padding:3px 6px}}

/* Spotpedia mobile overlap fix 20261121 */
/* Keep city cards in their own scroll cells; previously .sp-city-card had a
   min-width while its .sp-city-item flex parent was allowed to shrink. */
@media (max-width:560px){
 .sp-home .sp-popular-grid{
  display:flex;
  flex-wrap:nowrap;
  gap:12px;
  width:100%;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:2px;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  padding:4px 2px 15px;
 }
 .sp-home .sp-city-item{
  box-sizing:border-box;
  display:block;
  flex:0 0 clamp(220px,72vw,300px);
  width:clamp(220px,72vw,300px);
  min-width:0;
  max-width:none;
  scroll-snap-align:start;
  align-self:start;
 }
 .sp-home .sp-city-item .sp-city-card{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  aspect-ratio:1.72;
  height:auto;
  overflow:hidden;
 }
 .sp-home .sp-city-item .sp-city-card img,
 .sp-home .sp-city-item .sp-city-fallback{
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
 }
 .sp-home .sp-city-caption{
  right:10px;
  bottom:10px;
  left:10px;
  min-width:0;
  font-size:13px;
  line-height:1.3;
  overflow-wrap:anywhere;
 }
 .sp-home .sp-city-caption span{min-width:0}
 .sp-home .sp-city-photo-credit{z-index:4}
 .sp-home .sp-quick-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:4px 0;
 }
 .sp-home .sp-quick-tile{
  min-width:0;
  min-height:106px;
  width:100%;
  box-sizing:border-box;
  justify-content:flex-start;
  padding:11px 3px 9px;
  gap:8px;
 }
 .sp-home .sp-quick-title{
  max-width:100%;
  font-size:11px;
  line-height:1.25;
  overflow-wrap:anywhere;
  text-align:center;
 }
 .sp-home .sp-quick-tile:nth-child(4n)::after{display:none!important}
 .sp-home .sp-quick-tile:nth-child(4n+1)::after{display:block}
 .sp-home .sp-popular-head h2{overflow-wrap:anywhere}
}
@media(max-width:380px){
 .sp-home .sp-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:8px}
 .sp-home .sp-quick-tile{min-height:94px}
 .sp-home .sp-quick-tile:nth-child(2n)::after{display:none!important}
 .sp-home .sp-quick-tile:nth-child(2n+1)::after{display:block!important}
 .sp-home .sp-city-item{flex-basis:82vw;width:82vw}
 .sp-home .sp-home-hero .searchline{flex-direction:column;align-items:stretch}
 .sp-home .sp-home-hero .search-wrap{min-width:0;width:100%}
 .sp-home .sp-home-hero .searchline .btn{width:100%;max-width:100%}
}
@media(min-width:561px) and (max-width:820px){
 .sp-home .sp-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sp-home .sp-city-item{min-width:0}
 .sp-home .sp-city-item .sp-city-card{min-width:0;max-width:100%}
 .sp-home .sp-city-caption{font-size:12px;overflow-wrap:anywhere}
}

/* Spotpedia filter and location CTA text fix 20261121 */
.sp-home-hero .sp-hero-advanced summary{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-height:45px;padding:11px 14px;font-size:13px;font-weight:750;line-height:1.3;color:#12395d;white-space:normal;cursor:pointer}
.sp-home-hero .sp-hero-advanced summary::-webkit-details-marker{display:none}
.sp-home-hero .sp-hero-advanced summary::marker{content:""}
.sp-home-hero .sp-hero-advanced summary .sp-filter-icon{width:18px;height:18px;flex:0 0 18px}
.sp-home-hero .sp-hero-advanced summary .sp-filter-summary-text{min-width:0;flex:1}
.sp-home-hero .sp-hero-advanced summary .sp-filter-chevron{width:17px;height:17px;flex:0 0 17px;transition:transform .2s ease}
.sp-home-hero .sp-hero-advanced[open] summary .sp-filter-chevron{transform:rotate(180deg)}
.sp-home-hero .sp-hero-advanced summary:focus-visible{outline:2px solid #00a99d;outline-offset:-2px;border-radius:8px}
.sp-home .sp-view-locations{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:42px;padding:10px 14px;line-height:1.3;white-space:normal;text-align:center;overflow-wrap:anywhere}
.sp-home .sp-view-locations .sp-view-locations-arrow{display:block;width:17px;height:17px;flex:0 0 17px}
.sp-home .sp-view-locations:focus-visible{outline:2px solid #06265b;outline-offset:3px}
@media(max-width:560px){
 .sp-home-hero .sp-hero-advanced summary{padding:12px;font-size:13px;gap:9px}
 .sp-home-hero .sp-hero-advanced .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sp-home-hero .sp-hero-advanced .field{min-width:0}
 .sp-home-hero .sp-hero-advanced select{max-width:100%;min-width:0}
 .sp-home-hero .sp-hero-advanced .sort-row{justify-content:flex-start;gap:7px}
 .sp-home-hero .sp-hero-advanced .sort-row label{white-space:normal}
 .sp-home .sp-view-locations{align-self:flex-start;font-size:12px;padding:9px 12px;min-height:40px}
}
@media(max-width:380px){
 .sp-home-hero .sp-hero-advanced .fields{grid-template-columns:minmax(0,1fr)}
 .sp-home-hero .sp-hero-advanced .sort-row select{min-width:0;max-width:100%}
 .sp-home .sp-view-locations{font-size:12px}
}

/* Discoverable destination SRP link from homepage locations */
.sp-popular-featured{padding:17px 0 4px;display:flex;justify-content:flex-start}
.sp-popular-featured a{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:10px 14px;border-radius:11px;border:1px solid #c8ebe5;color:#067f7b;background:#eafaf6;font-weight:800;font-size:13px;line-height:1.4;text-decoration:none;white-space:normal}
.sp-popular-featured a:hover,.sp-popular-featured a:focus-visible{background:#dbf5ee;text-decoration:underline}
@media(max-width:560px){.sp-popular-featured{padding:14px 0 2px}.sp-popular-featured a{font-size:12px;padding:10px}}
