/* =====================================================
   HSNWR Beach Webcam - Mobile Stylesheet
   style_mobile.css  |  v=20260324
   ===================================================== */

/* ADA: Skip Link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
	background: #000;
	color: #fff;
	font-size: 14pt;
	font-weight: bold;
	padding: 8px 16px;
	text-decoration: none;
}
.skip-link:focus {
	position: fixed;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	overflow: visible;
	z-index: 9999;
	outline: 3px solid #FFD700;
}

/* ADA: Focus indicators */
a:focus-visible,
button:focus-visible,
canvas:focus-visible {
	outline: 3px solid #005FCC;
	outline-offset: 2px;
}

/* =====================================================
   Base / Reset
   ===================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
}

body {
	background: #000;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 11pt;
	color: #000;
	text-align: center;
}

img {
	border: 0;
	max-width: 100%;
	height: auto;
}

a:link, a:visited, a:active {
	color: #0044CC;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #002299;
}

h1 {
	color: #FFF;
	font-size: 11pt;
	font-weight: bold;
	margin: 2px 0;
	text-shadow: 2px 2px 3px #333;
	line-height: 1.2;
}

h2 {
	color: #555;
	font-size: 13pt;
	font-weight: bold;
	margin: 8px 0 4px 0;
	text-align: center;
}

/* =====================================================
   Header
   ===================================================== */
#header {
	width: 100%;
	max-width: 100vw;
	background-color: #7AB4CC;
	border-bottom: 2px solid #000;
	border-radius: 0 0 8px 8px;
	padding: 6px 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	overflow: hidden;
}

.logo {
	flex-shrink: 0;
	width: 50px;
}

.logo img {
	width: 50px;
	height: auto;
	display: block;
}

.header-text {
	flex: 1;
	text-align: left;
	min-width: 0;
	overflow: hidden;
}

.header-text h2 {
	color: #FFF;
	font-size: 8pt;
	font-weight: normal;
	margin: 0;
	text-shadow: 1px 1px 2px #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#header a:link, #header a:visited, #header a:active {
	color: #FFFF00;
	text-decoration: none;
}

/* =====================================================
   Main Content Wrapper
   ===================================================== */
#main-content {
	width: 100%;
	max-width: 100vw;
	background: #fff;
	padding-bottom: 10px;
	overflow: hidden;
}

/* =====================================================
   Links Bar
   ===================================================== */
.links-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	padding: 8px 10px;
	background: #EEF4F8;
	border-bottom: 1px solid #CCC;
}

.links-bar a {
	background: #7AB4CC;
	color: #FFF !important;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 9pt;
	font-weight: bold;
	text-shadow: 1px 1px 2px #333;
	white-space: nowrap;
}

.links-bar a:hover {
	background: #5A94AC;
	text-decoration: none;
}

/* =====================================================
   Camera Image Sections
   ===================================================== */
.cam-section {
	padding: 10px 6px 6px 6px;
	border-bottom: 1px solid #DDD;
	background: #FFF;
	overflow: hidden;
	box-sizing: border-box;
}

.cam-section h2 {
	color: #555;
	font-size: 13pt;
	margin: 0 0 6px 0;
}

.cam-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	border: 1px solid #CCC;
	border-radius: 4px;
	box-shadow: 2px 2px 6px #888;
}

.cam-video {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	border: 1px solid #CCC;
	border-radius: 4px;
	box-shadow: 2px 2px 6px #888;
	background: #000;
}

.tap-hint {
	font-size: 8pt;
	color: #777;
	margin: 4px 0 0 0;
	text-align: center;
}

/* =====================================================
   Tide Legend
   ===================================================== */
.tide-legend {
	background: #F5F5F5;
	border: 1px solid #CCC;
	border-radius: 4px;
	padding: 6px 10px;
	margin-top: 6px;
	font-size: 9pt;
	text-align: center;
}

.tide-legend p {
	text-align: center;
	margin: 3px 0;
}

/* =====================================================
   Weather Station Link
   ===================================================== */
.wx-iframe-section {
	padding: 10px 10px 6px 10px;
	border-bottom: 1px solid #DDD;
	background: #FFF;
}

.wx-note {
	font-size: 10pt;
	color: #444;
}

/* =====================================================
   Share Bar
   ===================================================== */
.share-bar {
	display: flex;
	justify-content: center;
	gap: 16px;
	padding: 12px;
	background: #EEF4F8;
	border-top: 1px solid #CCC;
}

/* =====================================================
   Footer
   ===================================================== */
#footer {
	background-color: #7AB4CC;
	border-top: 2px solid #000;
	border-radius: 8px 8px 0 0;
	padding: 10px 10px 16px 10px;
	font-size: 8pt;
	color: #FFF;
	text-align: center;
}

#footer p {
	margin: 4px 0;
}

#footer a:link, #footer a:visited, #footer a:active {
	color: #FFF;
	text-decoration: none;
}

#footer a:hover {
	color: #FFFF99;
	text-decoration: underline;
}

/* =====================================================
   Responsive Tweaks for very small screens (< 360px)
   ===================================================== */
@media (max-width: 360px) {
	h1 { font-size: 14pt; }
	.weather-grid { grid-template-columns: repeat(3, 1fr); }
	.wx-val { font-size: 13pt; }
	.links-bar a { font-size: 8pt; padding: 5px 7px; }
}

/* =====================================================
   Responsive Tweaks for tablets (>= 600px)
   ===================================================== */
@media (min-width: 600px) {
	.weather-grid {
		grid-template-columns: repeat(3, 1fr);
		max-width: 540px;
	}
	.wx-val { font-size: 20pt; }
	h1 { font-size: 22pt; }
}
