/* Base styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
}

/* Paragraphs */
p {
    margin: 0.5em 0;
}

/* Headings */
h1 {
    font-size: 20pt;
    font-weight: bold;
    margin: 0.5em 0;
}

h2 {
    font-size: 16pt;
    font-weight: bold;
    margin: 1em 0 0.2em 0;
}

h3 {
    font-size: 14pt;
    font-weight: bold;
    margin: 0.8em 0 0.2em 0;
}

/* Meeting notice box */
.meeting-notice {
    border: 1px solid #111111;
    background-color: #f7f7f7;
    padding: 10px;
    margin: 12px 0;
}

/* Text utilities */
.text-red {
    color: #FF0000;
}

.text-white {
    color: #FFFFFF;
}

.text-gray {
    color: #C0C0C0;
}

.text-blue {
    color: #0000FF;
}

.text-small {
    font-size: 10pt;
}

.text-large {
    font-size: 16pt;
}

.text-xlarge {
    font-size: 20pt;
}

.font-times {
    font-family: Arial, Helvetica, sans-serif;
}

.font-arial {
    font-family: Arial, Helvetica, sans-serif;
}

/* Navigation menu */
.nav-menu {
    background-color: #000080;
    margin: 0;
    padding: 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 120px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.nav-list li {
    text-align: center;
    padding: 2px 0;
}

.nav-spacer {
    flex-grow: 1;
}

.nav-footer-item {
    margin-top: auto;
}

.nav-link {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    font-weight: bold;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-link:visited {
    color: #FFFFFF;
}

.nav-footer {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
}

/* Content links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Photo captions */
.photo-caption {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
}

/* Homepage hero text */
.hero-text {
    color: #d0d0d0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28pt;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.6);
}

.hero-link {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.hero-link:hover {
    text-decoration: underline;
}

/* Tables */
.data-table {
    border-collapse: collapse;
}

.data-table td {
    border: 1px solid #111111;
    padding: 6px;
    text-align: left;
}

.data-table th {
    border: 1px solid #111111;
    padding: 6px;
    text-align: center;
    background-color: #f0f0f0;
    font-weight: bold;
}

.sortable th::after {
    content: " ▼";
    font-size: 0.8em;
    visibility: hidden;
}

.data-table th.sort-asc::after {
    content: " ▲";
    visibility: visible;
}

.data-table th.sort-desc::after {
    content: " ▼";
    visibility: visible;
}

.sortable th {
    cursor: pointer;
    user-select: none;
}

.sortable th:hover {
    background-color: #e0e0e0;
}

/* Legacy font tag support - for gradual migration */
font a {
    color: inherit;
    text-decoration: none;
}

font a:hover {
    text-decoration: underline;
}

/* External link indicator */
a[href^="http://"]:not([href*="qsl.net/la9m"]):not([href*="la9m."]):after,
a[href^="https://"]:not([href*="qsl.net/la9m"]):not([href*="la9m."]):after {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.2em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%230563C1" d="M14 2H9.5l1.8 1.8-4.6 4.6 1.4 1.4 4.6-4.6L14 6.5V2zM12 12H4V4h4l-2-2H2v12h12V9l-2-2v5z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

/* Screen reader text for external links */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* Definition lists */
dt {
    font-weight: bold;
}

/* Text alignment */
.text-center {
    text-align: center;
}

/* Hero section (forside.htm) */
.hero-body {
    margin: 0;
    padding: 0;
}

.hero-body main {
    margin: 0;
    padding: 0;
}

.hero-container {
    position: relative;
    width: 793px;
    height: 575px;
    margin: 0;
    padding: 0;
    display: block;
}

.hero-image {
    display: block;
    width: 793px;
    height: 575px;
    object-fit: cover;
}

.hero-title {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-links {
    position: absolute;
    top: 260px;
    left: 0;
    width: 574px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 0 0;
}

.hero-links a:first-child {
    margin-left: 132px;
}

.hero-location {
    position: absolute;
    top: 460px;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.hero-photo-credit {
    position: absolute;
    bottom: 14px;
    right: 50px;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

/* Banner styles */
.banner-body {
    margin: 0;
    padding: 5px 0 0 0;
    background-color: #000080;
}

.banner-body p {
    margin: 0;
}

.banner-table {
    border-collapse: collapse;
    width: 774px;
    height: 73px;
    border: 0;
}

.banner-logo-cell {
    width: 118px;
    height: 73px;
    text-align: center;
    vertical-align: middle;
}

.banner-logo {
    width: 45px;
    height: 72px;
    border: 0;
}

.banner-title-cell {
    width: 652px;
    height: 59px;
    text-align: justify;
    vertical-align: bottom;
}

.banner-title {
    color: #bebeff;
    font-family: Arial, sans-serif;
    font-size: 3em;
    font-weight: bold;
}

.banner-footer-cell {
    height: 14px;
    text-align: left;
    vertical-align: middle;
}

.banner-footer-text {
    font-family: Arial, sans-serif;
    font-size: 0.625em;
    color: #C0C0C0;
    font-weight: bold;
}
