/* Overrides on top of the legacy easy.css (wwwroot/css/legacy/easy.css, a copy of the legacy /css/easy.css). */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 2000; background: #fff; padding: 6px 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header photo replaces the legacy inline-styled background (inline styles are blocked by the CSP). */
.site-header { overflow: visible; }
.site-header .header-photo { position: absolute; left: 0; top: 32px; width: 100%; height: auto; max-height: 109px; object-fit: cover; z-index: -1; }

/* Legacy dropdown menus relied on a jQuery hover script; plain CSS does the same job. */
#nav li:hover > ul, #nav li:focus-within > ul { display: block; }

.breadcrumb { padding: 8px 0; font-size: .9em; }
.main h1 { margin: 15px 0 10px; }
.lead { font-size: 1.15em; color: #01466e; }
.small { font-size: .85em; color: #555; }
.hero img { width: 100%; height: auto; display: block; }
.card-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.card-grid .home-cruise { display: block; width: 140px; padding: 10px; background: #e6f1f8; border-radius: 0 0 20px 20px; box-shadow: 0 0 2px #ccc; text-align: center; text-decoration: none; }
.card-grid .cruise-head { display: block; font-weight: bold; margin-bottom: 6px; }
.link-columns { columns: 2 220px; list-style: none; padding: 0; }
.link-columns li { margin: 0 0 4px; break-inside: avoid; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
.facts dt { font-weight: bold; }
.facts dd { margin: 0; }
table.sailings { width: 100%; border-collapse: collapse; margin: 10px 0; }
table.sailings th, table.sailings td { border: 1px solid #d7d7d7; padding: 6px; text-align: left; vertical-align: top; }
table.sailings th { background: #ffcc33; }
.webcams { display: flex; flex-wrap: wrap; gap: 20px; }
.webcam-ship { width: 240px; }
.webcam-ship img { width: 229px; height: auto; background: #eee; }
.team-list { list-style: none; padding: 0; }
.team-member { display: flex; gap: 12px; margin-bottom: 16px; }
.team-member img { flex: none; border-radius: 4px; }
.team-member h3 { margin: 0; }
.team-member .role { margin: 0; color: #555; }
.testimonial blockquote { margin: 0; font-style: italic; }
.testimonial footer { font-style: normal; margin-top: 6px; font-weight: bold; }
.search-unavailable { font-size: .85em; margin: 6px 0 0; }
.content-page blockquote { border-left: 4px solid #ffcc33; margin: 10px 0; padding: 6px 12px; background: #fffbea; }
.formassembly { border: 0; min-height: 900px; }
.selected-sailing { background: #e6f1f8; padding: 8px 12px; }

@media (max-width: 767px) {
    #container, .inner, .content, .main, .secondary, .tertiary { width: auto !important; float: none !important; }
    .site-header .header-photo { display: none; }
    table.sailings { font-size: .9em; }
}

/* Fallback when the legacy /images tree (header photo) is not deployed: keep nav text readable. */
.site-header { background-color: #01466e; }
.btnFresh button[disabled] { opacity: .5; cursor: not-allowed; }
.home-intro h2 { margin-top: 20px; }
.webcam-link { display: block; padding: 60px 10px; width: 209px; text-align: center; background: #eee; }
.demo-banner { background: #b00020; color: #fff; text-align: center; padding: 6px 10px; font-weight: bold; }
.archive-notice { font-size: .85em; color: #555; background: #f4f4f4; border-left: 3px solid #9bb8cc; padding: 6px 10px; margin: 8px 0 12px; }
.content-page img { max-width: 100%; height: auto; }
