*{box-sizing:border-box}body{margin:0;background:#f5f5ee;color:#162e30;font-family:system-ui,sans-serif}main{max-width:1080px;margin:auto;padding:clamp(18px,4vw,48px)}a{color:#06605c}h1{font:clamp(38px,6vw,74px)/1.1 Georgia,serif;margin:32px 0}form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;background:#fff;padding:18px;border-top:4px solid #26716a}label{font-size:.85rem;font-weight:650}select,input{width:100%;margin-top:6px;padding:10px;border:1px solid #829998;border-radius:4px;background:white;color:inherit}article{padding:18px 0;border-bottom:1px solid #b8c6c1}article h2{margin:0;font:1.5rem Georgia,serif}article p{margin:8px 0}article a{display:inline-block;margin:4px 20px 2px 0}details{margin:25px 0}summary{cursor:pointer}

#city-events input,#city-events button{width:auto;max-width:100%;padding:.6rem;margin:.2rem;font:inherit}#city-events ul{list-style:none;padding:0}#city-events li{display:grid;grid-template-columns:minmax(8rem,1fr) 1fr 2fr;gap:.7rem;border-bottom:1px solid #bdc9c2;padding:.8rem 0}#city-events time{font-size:.9rem}@media(max-width:640px){#city-events li{display:flex;flex-wrap:wrap}#city-events li a{width:100%}}

#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%}

#portal-shell header,#portal-shell nav{display:flex;align-items:center;gap:10px}#portal-shell nav{overflow:auto}#portal-shell header>a>img{width:95px}#portal-shell nav a{white-space:nowrap}#portal-shell header>a{margin-inline-end:auto}
#routes + #results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin-top:1.2rem}#routes + #results>h2,#routes + #results>button{grid-column:1/-1}#routes + #results article{background:white;border:1px solid #ced9d4;border-radius:12px;padding:16px}#routes + #results article small{display:block;color:#425e5b}#routes + #results h3{margin:8px 0;font-size:1.15rem}#routes + #results article strong{font-size:1.4rem}#routes + #results button{padding:.8rem;color:inherit;background:white;border:1px solid #829998;border-radius:6px;cursor:pointer}

/* Preserve both silhouettes through the overlap. The source links sit outside the photographic area. */
.transport-hero {position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:end;min-height:clamp(200px,23vw,284px);margin:1rem 0;border-radius:16px;background:#173c47;color:white}
.transport-hero .journey-photo {position:absolute;inset-block:0;background-repeat:no-repeat;background-size:cover}
.transport-hero .plane-photo {left:0;width:56%;background-image:url("news-section-plane.jpg");background-position:48% 58%}
.transport-hero .ferry-photo {right:0;width:58%;background-image:url("news-section-ionis.jpg");background-position:52% 53%;mask-image:linear-gradient(90deg,transparent,#000 22%)}
.transport-hero::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0b2834 0%,#0b2834cc 15%,transparent 46%)}
.transport-hero h1 {position:relative;z-index:2;margin:0;padding:.75rem clamp(1rem,3vw,2rem) 1.5rem;color:#fff;line-height:1.05;text-shadow:0 1px 5px #102329;overflow-wrap:anywhere}
@media(max-width:620px){
  .transport-hero{min-height:clamp(190px,47vw,235px)}
  .transport-hero .journey-photo{inset-block-end:3.6rem}
  .transport-hero::after{background:linear-gradient(0deg,#173c47 0 3.6rem,transparent 5.6rem)}
  .transport-hero .plane-photo{background-position:58% 58%}
  .transport-hero h1{font-size:clamp(1.6rem,6vw,2.15rem);padding:0 .85rem 2.2rem}
}
.journey-credit {position:absolute;inset-inline-end:.65rem;bottom:.5rem;z-index:3;display:flex;gap:.55rem;flex-wrap:wrap;border-radius:.28rem;background:#102728e6;padding:.2rem .45rem;font:.7rem/1.35 system-ui,sans-serif;}
.journey-credit a {color:#fff;}
main:has(#mode option[value="air"]:checked) .ferry-photo, main:has(#mode option[value="air"]:checked) .ferry-credit,
main:has(#mode option[value="sea"]:checked) .plane-photo, main:has(#mode option[value="sea"]:checked) .plane-credit {display:none;}
main:has(#mode option[value="air"]:checked) .plane-photo, main:has(#mode option[value="sea"]:checked) .ferry-photo {width:100%;mask-image:none;}
.journey-options {display:flex;flex-wrap:wrap;gap:.45rem;margin-block:.6rem 1rem}
.journey-options button {white-space:normal;min-height:44px}
.journey-options button[aria-pressed="true"] {background:#164a43;color:#fff}
#results .journey-legs {display:grid;list-style:none;padding:0;margin:1rem 0;color:#173c36}
.journey-legs>li {position:relative;margin:0;padding:0 .2rem 1.15rem;padding-inline-start:1.75rem;min-width:0}
.journey-legs>li::before {content:"";position:absolute;inset-inline-start:.35rem;top:.7rem;bottom:-.7rem;border-inline-start:3px solid #51806b}
.journey-legs>li.journey-sea::before {border-inline-start:3px dashed #44818d}
.journey-legs>li:last-child::before {bottom:.6rem}
.journey-legs>li::after {content:"";position:absolute;inset-inline-start:0;top:.35rem;width:.8rem;height:.8rem;box-sizing:border-box;border:3px solid #34654f;border-radius:50%;background:#fff}
.journey-legs>li.journey-sea::after {border-color:#276171;border-radius:2px;transform:rotate(45deg)}
.journey-kind {display:inline-block;color:#315b43;background:#e6efe5;border-radius:.3rem;font-size:.85rem;padding:.2rem .48rem}
.journey-sea .journey-kind {color:#185463;background:#dceff0}
.journey-stops {font-size:clamp(1rem,3.8vw,1.22rem);font-weight:650;margin:.4rem 0;overflow-wrap:anywhere}
.journey-stops span {color:#586e64}
.journey-legs li p:not(.journey-stops),.journey-sailings p {margin:.45rem 0}
.journey-sailings {border-block-start:1px solid #c4d2cb;padding-block:.9rem}

/* Cypr4us ferry calculator styles */
.ferry-cost{margin-block:1.75rem;color:inherit}
.ferry-cost>p{max-width:76ch}
.ferry-cost-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}
.ferry-cost-grid fieldset{margin:0;min-width:0;border:1px solid #aebfb8;border-radius:.5rem;padding:.75rem 1rem}
.ferry-cost-grid legend{padding-inline:.25rem;font-weight:700}
.ferry-cost-grid label:not([hidden]){display:grid;gap:.2rem;margin-block:.6rem;font-weight:500;min-width:0}
.ferry-cost-grid input[type=number]{display:block;width:100%;min-width:0;min-height:44px;box-sizing:border-box;font:inherit;padding:.45rem .6rem}
.ferry-cost-grid label.ferry-cost-toggle{display:flex;align-items:center;gap:.5rem;min-height:44px}
.ferry-cost-toggle input[type=checkbox]{width:1.1rem;height:1.1rem;flex:none}
.ferry-cost-result{margin-block:1rem;padding-inline-start:1rem;border-inline-start:3px solid #408578}
.ferry-cost-result p{margin-block:.35rem}
.ferry-cost-result strong{display:block;margin-block:.65rem}
/* End Cypr4us ferry calculator styles */
