:root{color-scheme:light;--ink:#112d31;--sea:#006b69;--lime:#dbff76}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f6f6f0;font:16px/1.48 "DM Sans",system-ui,sans-serif}main{max-width:1200px;margin:auto;padding:0 clamp(15px,4vw,56px) 64px}header,.actions,.summary,nav{display:flex;align-items:center;gap:10px}header,.summary{justify-content:space-between}header{height:64px}header img{width:74px;height:49px;object-fit:contain}a{color:var(--sea);font-weight:650;text-underline-offset:3px}.hero{display:grid;align-items:end;min-height:clamp(148px,22vw,272px);padding:clamp(20px,4vw,50px);border-radius:18px;background:linear-gradient(88deg,#062e34ec,#0a4b5338),url('explore-coast.jpg') center 48%/cover,#157677;color:white}.hero h1{font:bold clamp(40px,7vw,90px)/.98 'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.06em;margin:0}nav{margin:16px 0 25px;overflow:auto;gap:6px}nav a,button{border-radius:999px;border:1px solid #a8b6af;background:transparent;color:var(--ink);padding:.6rem 1rem;cursor:pointer;font:inherit;font-weight:650;text-decoration:none;white-space:nowrap}nav a[aria-current=page],#trip button{background:var(--ink);color:white}nav a[aria-current=page]:before{content:'●';color:var(--lime);margin-right:.45rem}button:hover,a:hover{text-decoration:underline}input,select{font:inherit;color:inherit;background:white;padding:.68rem;width:100%;border:1px solid #abbab3;border-radius:9px}label{display:grid;gap:5px;font-size:.83rem;font-weight:650}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;align-items:end}.actions{flex-wrap:wrap;margin:12px 0}.summary h2{font-size:1.5rem;letter-spacing:-.04em}.summary span,.meta,small{color:#46615d}#cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(255px,100%),1fr));gap:13px}.card,#compare section{border:1px solid #cbd5c9;border-radius:15px;background:#fff;padding:18px;display:flex;flex-direction:column;gap:.65rem}.card h3{font-size:1.24rem;line-height:1.2;margin:0;letter-spacing:-.035em}.card p{margin:0}.card .meta{font-size:.82rem}.card .links{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto}.card button{font-size:.84rem}.card button[aria-pressed=true]{background:var(--lime)}.card .features{font-size:.87rem}.card{border-top:4px solid var(--tone,#38a39a)}body[data-mode=places]{--tone:#ac9a57}body[data-mode=events]{--tone:#ea987b}#more{margin:20px auto;display:block}#map{height:290px;position:relative;background:#cbe8e5;border-radius:12px;overflow:hidden}#map svg{position:absolute;width:100%;height:100%}#map .pin{position:absolute;transform:translate(-50%,-50%);padding:1px 5px;background:#064c4f;color:white;font-size:.7rem}#compare section{overflow:auto}table{border-collapse:collapse}th,td{padding:.5em;text-align:start;border-bottom:1px solid #d8e2dc}#departures p{padding:12px;background:white;border-radius:10px}button:focus-visible,a:focus-visible{outline:3px solid #c74821}button:disabled{opacity:.48;cursor:default}[hidden],#more[hidden]{display:none!important}@media(max-width:550px){nav a{padding:8px 11px}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters label:first-child{grid-column:1/-1}.actions button{padding:.48rem .7rem;font-size:.83rem}header{height:52px}}

#quick{display:flex;gap:7px;overflow-x:auto;margin-top:12px}#quick button{background:#e7eee5;border-color:transparent;font-size:.86rem}#quick button[aria-pressed=true]{background:var(--lime);border-color:var(--sea)}.route{font-size:.82rem}.actions label{min-width:155px}.actions{align-items:end}body[data-mode=events] .hero{background-position:center 63%}body[data-mode=places] .hero{background-position:center 75%}#transit>p{font-size:.9rem;color:#42635f}

#portal-shell{margin-bottom:1rem}#portal-shell .topline,#portal-shell .regionline{display:flex;align-items:center;gap:14px;border-bottom:1px solid #cbd5c9;padding:.45rem 0;font-size:.72rem}#portal-shell .topline{justify-content:space-between}#portal-shell .topline button{border:0;padding:2px}#portal-shell header{min-height:68px;height:auto;flex-wrap:wrap;padding:6px 0;gap:8px}#portal-shell nav{margin:0;gap:10px;min-width:0}#portal-shell nav a{font-size:.87rem;padding:.4em;border:0;border-radius:0}#portal-shell .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#portal-shell .language-label select{width:auto;max-width:115px}#portal-shell .regionline>span{white-space:nowrap;font-weight:bold}#portal-shell .brand-4us{display:inline-block;overflow:hidden;width:43px;height:24px;position:relative;direction:ltr}#portal-shell .brand-4us img{position:absolute;width:259%;height:auto;left:-142%;top:-25%}
#map{direction:ltr;height:auto;aspect-ratio:640/285;max-height:370px}#map svg{left:0;top:0}#map .city-pin{max-width:120px;overflow:hidden;text-overflow:ellipsis;background:#fff;color:#064c4f;font-weight:750;border:1px solid #27776d;box-shadow:0 1px 3px #0003}#map .pin:is(:focus,:hover){z-index:3;background:#dbff76;color:#123}#mapPane{margin-block:12px 20px}#mapPane small{display:block;margin-top:5px}@media(max-width:800px){#portal-shell header nav{order:3;width:100%}#portal-shell header>a{margin-inline-end:auto}#portal-shell .regionline{display:block}#portal-shell .topline span:nth-child(2){display:none}#map{min-height:205px}}

#map{width:100%;max-width:100%}#cards details{font-size:.8rem;color:#46615d}#cards summary{cursor:pointer}

.place-detail{box-sizing:border-box;width:min(44rem,calc(100vw - 2rem));max-height:85dvh;overflow:auto;padding:clamp(1rem,4vw,2.25rem);border:1px solid #bfcdc5;border-radius:1.2rem;background:#fafbf6;color:#113236}.place-detail::backdrop{background:#062d32a6}.place-detail>button{float:inline-end}.place-detail h2{margin:2.5rem 0 .8rem;line-height:1.12}.place-detail h3{line-height:1.25}.place-detail p{line-height:1.65}.place-detail dl{display:grid;grid-template-columns:auto 1fr;gap:.3rem 1rem}.place-detail dd{margin:0}.place-detail dt{font-weight:650}.place-detail footer{border-top:1px solid #c4cfc5;margin-top:1.3rem}.place-detail footer a{display:block;padding:.35rem 0;overflow-wrap:anywhere}.place-detail summary{cursor:pointer;color:#006964;font-weight:650}.place-detail details{padding:.7rem 0;border-bottom:1px solid #d2ded6}

#bus-examples button{margin:0 .5rem .4rem 0;font-size:.9rem}#bus-validity{margin:1rem 0}#bus-validity summary{cursor:pointer;font-weight:650}

#trip-planner{border:1px solid #b8cac3;border-radius:1rem;background:#fff;padding:.9rem 1rem;margin-block:1rem}#trip-planner>summary{font-weight:750;color:#075b5d;cursor:pointer}.trip-stage{border-top:1px solid #c3d4ce;padding-block:1rem}.trip-stage h3{margin:.2rem 0 .6rem}.trip-controls,.trip-actions,.trip-near{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:.65rem 0}.trip-controls label{display:grid;gap:.2rem}.trip-near small{display:block;font-weight:400}.trip-near h4{flex-basis:100%;margin:.5rem 0}.trip-offer{background:#faf3df;padding:1rem}.beach-map{margin:.85rem 0}.beach-map figcaption{font-weight:700}.beach-map ol{display:flex;gap:.5rem 2rem;flex-wrap:wrap;padding-inline-start:2rem}.beach-cartography{height:190px;position:relative;isolation:isolate;overflow:hidden;background:#e7f1ed;border-radius:.55rem}.beach-cartography img{position:absolute;width:256px;height:256px;max-width:none;border-radius:0}.beach-cartography b{position:absolute;border-radius:50%;background:#064f51;color:white;border:2px solid white;min-width:1.55rem;text-align:center;transform:translate(-50%,-50%);z-index:1}.beach-cartography>a{position:absolute;inset-inline-end:0;bottom:0;background:white;padding:.15rem;font-size:.7rem;z-index:2}.beach-faq details{border-bottom:1px solid #d5e1dc;padding:.55rem 0}.beach-faq summary{cursor:pointer}

.beach-cartography>svg{position:absolute;inset:0;width:100%;height:100%;background:#c8e3e5}

#cards .card{min-width:0}#cards .card .links{display:flex;flex-wrap:wrap;gap:.5rem}#cards .card .links button{max-width:100%;white-space:normal}

.trip-mobility:not(:empty){display:flex;gap:.65rem;align-items:end;flex-wrap:wrap;padding:.8rem 0}.trip-mobility>label,.mobility-endpoint label{display:grid;gap:.3rem;min-width:0}.trip-mobility input,.mobility-endpoint input{min-width:0;max-width:100%}.mobility-endpoint,.mobility-routes{flex:1 0 100%;min-width:0}.mobility-endpoint{margin:.35rem 0;border-inline-start:2px solid #9cbcac;padding-inline-start:.65rem}.mobility-endpoint>summary{cursor:pointer;font-weight:650}.mobility-endpoint>div{display:flex;gap:.55rem;align-items:end;flex-wrap:wrap;padding:.5rem 0}.mobility-endpoint details,.mobility-picks{flex:1 0 100%;min-width:0}.mobility-picks{display:flex;gap:.35rem;flex-wrap:wrap}.mobility-picks button{padding:.45rem .7rem;font-size:.85rem}.mobility-routes>div{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.6rem 0;border-bottom:1px solid #d2ded9}.trip-mobility p:empty,.mobility-endpoint p:empty,.mobility-picks:empty{display:none}.trip-mobility button{max-width:100%;white-space:normal}

.trip-near button{position:relative;min-height:48px;text-align:start;padding:.65rem 2.6rem .65rem .85rem;padding-inline:.85rem 2.6rem;border-radius:.8rem}
.trip-near button::after{content:'+';position:absolute;inset-inline-end:.8rem;top:50%;transform:translateY(-50%);color:#0c6255;font-weight:700;font-size:1.25rem}
.trip-near small{color:#425c58;margin-block-start:.18rem}
@media(max-width:620px){.trip-near{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem}.trip-near button{width:100%}.trip-stage{min-width:0}}
.coral-return{border:1px solid #b9cfc3;border-radius:.7rem;background:#eff6f0;color:#173c30;padding:1rem;margin:.8rem 0}
.coral-return h3,.coral-return p{margin:.3rem 0}
.coral-return a{display:inline-flex;align-items:center;min-height:44px;color:#005747}
.coral-return label{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;font-weight:600}
.coral-return input{min-height:44px;max-width:100%;font:inherit}
.coral-return time{font-weight:700}.coral-return .links{display:flex;flex-wrap:wrap;gap:.3rem .8rem}
.coral-timetable-note{padding:.8rem 1rem;border-inline-start:3px solid #39776c;background:#edf5f1;line-height:1.5}.coral-timetable-note a{display:inline-block;font-weight:650}
#cards .card[aria-current="location"] {
  background: #e5f5ed;
  outline: 3px solid #07645d;
  outline-offset: -3px;
  border-inline-start: 7px solid #07645d;
}
#cards .card[aria-current="location"] h3::before { content: "●"; margin-inline-end: .4em; color: #07645d; }
#cards .beach-thumbnail { margin: -18px -18px 0; max-width: none; align-self: stretch; }
#cards .beach-thumbnail img { display: block; width: 100%; height: 52px; object-fit: cover; object-position: var(--beach-focal-point,50% 53%); border-radius: 11px 11px 0 0; }
#cards .beach-thumbnail figcaption { margin: .3rem 18px 0; font-size: .72rem; line-height: 1.3; overflow-wrap: anywhere; }
#cards .card { position: relative; }
.map-choice { display:none; }
#cards .card[aria-current="location"] .map-choice { display:block; order:-2; align-self:flex-start; background:#07564e; color:white; padding:.3rem .65rem; font-size:.83rem; font-weight:700; border-radius:.35rem; }
#cards .card[aria-current="location"] .beach-thumbnail { margin-top:0; }
#cards .card:has(.beach-badges:not(:empty)) > small:first-of-type { padding-inline-end:6.6rem; }
.beach-badges { position:absolute; top:.5rem; right:.5rem; display:flex; gap:.25rem; z-index:1; }
.beach-badges:empty { display: none; }
.beach-badges > span { display:grid; place-items:center; width:1.75rem; height:1.75rem; border-radius:50%; background:white; box-shadow:0 1px 5px #153f4345; color:#223f39; font-size:.9rem; font-weight:700; }
.beach-badges > .beach-award { background: #deecff; color: #123f7b; }

/* The catalogue changes sections without a page reload. */
body[data-mode="beaches"] .hero, body[data-mode="bus"] .hero {
  position: relative; isolation: isolate; overflow: hidden; background-color: #174b47;
  background-image: linear-gradient(0deg, #052629cf, #05262900 82%), var(--section-photo);
  background-size: cover; background-position: center, var(--section-focal-point);
}
body[data-mode="beaches"] .hero { --section-photo: url("launch-palms.jpg"); --section-focal-point: 50% 53%; }
body[data-mode="bus"] .hero { --section-photo: url("news-section-bus.jpg"); --section-focal-point: 48% 63%; }
.hero-credit { display:none; position:absolute; inset-inline-end:.65rem; bottom:.5rem; background:#102728e6; border-radius:.28rem; padding:.2rem .45rem; font: .7rem/1.35 system-ui,sans-serif; }
.hero-credit a { color:#fff; }
body[data-mode="beaches"] .beach-credit, body[data-mode="bus"] .bus-credit { display:block; }
@media(max-width:600px){body:is([data-mode="beaches"],[data-mode="bus"]) .hero {padding-bottom:2.3rem;}}
body:is([data-mode="places"],[data-mode="events"]) .hero {
  position:relative;
  background-image:linear-gradient(0deg,#062629b3,transparent 80%),var(--section-photo);
  background-size:cover;
  background-position:center,var(--section-focus);
}
body[data-mode="places"] .hero {--section-photo:url("news-calendar-paphos-castle.jpg");--section-focus:75% 35%}
body[data-mode="events"] .hero {--section-photo:url("news-nicosia-christmas-market.jpg");--section-focus:55% 43%}
body[data-mode="places"] .places-credit, body[data-mode="events"] .events-credit {display:block;color:#fff;max-width:calc(100% - 1.3rem)}
.hero-credit span[lang] {display:none}
html:lang(pl) .hero-credit span[lang="pl"],
html:lang(en) .hero-credit span[lang="en"],
html:lang(de) .hero-credit span[lang="de"],
html:lang(sv) .hero-credit span[lang="sv"],
html:lang(ru) .hero-credit span[lang="ru"],
html:lang(uk) .hero-credit span[lang="uk"],
html:lang(he) .hero-credit span[lang="he"],
html:lang(el) .hero-credit span[lang="el"] {display:block}
@media(max-width:600px){body:is([data-mode="places"],[data-mode="events"]) .hero {padding-bottom:3.4rem}}
