/* Alpengrenzen-Dokumentation — 2010s AT/DE official archive look */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #dce3ea;
}
a { color: #003399; }
a:hover { text-decoration: underline; }

#top {
  background: #fff;
  border-bottom: 3px solid #c8102e;
}
#top .flags {
  background: #f0f0f0;
  border-bottom: 1px solid #ccc;
  padding: 4px 16px;
  font-size: 11px;
  color: #444;
}
#top .brand {
  padding: 12px 20px 10px;
  display: flex;
  gap: 16px;
  align-items: center;
}
#top .brand .mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(180deg, #ed2939 0 33%, #fff 33% 66%, #ed2939 66%);
  border: 1px solid #999;
  position: relative;
}
#top .brand .mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 33%; bottom: 33%;
  background: #fff;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
#top h1 {
  font-size: 20px;
  font-weight: bold;
  color: #222;
}
#top .sub {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
}

#nav {
  background: #003399;
  font-size: 12px;
}
#nav ul { list-style: none; display: flex; flex-wrap: wrap; }
#nav a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 8px 14px;
  border-right: 1px solid #002266;
}
#nav a:hover, #nav a.active { background: #c8102e; }

#wrap {
  width: 960px;
  margin: 0 auto;
  background: #fff;
  min-height: 70vh;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

#content {
  display: flex;
}
#side {
  width: 220px;
  background: #f4f6f8;
  border-right: 1px solid #ccd;
  padding: 14px 12px;
  font-size: 12px;
}
#side h3 {
  font-size: 11px;
  text-transform: uppercase;
  color: #003399;
  border-bottom: 2px solid #c8102e;
  margin: 12px 0 6px;
  padding-bottom: 3px;
}
#side h3:first-child { margin-top: 0; }
#side ul { list-style: none; }
#side li { margin-bottom: 5px; padding-bottom: 4px; border-bottom: 1px dotted #ccc; }

#main {
  flex: 1;
  padding: 18px 22px 28px;
}
#main h2 {
  font-size: 18px;
  color: #003399;
  border-bottom: 1px solid #c8102e;
  padding-bottom: 5px;
  margin-bottom: 12px;
}
#main h3 { font-size: 14px; margin: 16px 0 8px; color: #222; }
#main p { margin-bottom: 10px; }

.notice {
  background: #fff8e6;
  border: 1px solid #e0c060;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 12px;
}

table.docs {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 12px 0;
}
table.docs th {
  background: #003399;
  color: #fff;
  text-align: left;
  padding: 6px 8px;
  font-weight: normal;
}
table.docs td {
  border: 1px solid #ccc;
  padding: 7px 8px;
  vertical-align: top;
}
table.docs tr:nth-child(even) { background: #f7f9fc; }
.pdf {
  display: inline-block;
  background: #c8102e;
  color: #fff !important;
  text-decoration: none;
  font-size: 11px;
  padding: 2px 7px;
  margin-right: 4px;
}
.pdf:hover { background: #003399; }

.gazette-frame {
  border: 1px solid #666;
  background: #fffcf5;
  padding: 20px 24px;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  margin: 14px 0;
}
.gazette-frame .hdr {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.gazette-frame .meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px solid #000;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

#footer {
  clear: both;
  background: #222;
  color: #bbb;
  font-size: 11px;
  padding: 12px 20px;
}
#footer a { color: #ffcc66; }

@media (max-width: 980px) {
  #wrap { width: 100%; }
  #content { flex-direction: column; }
  #side { width: 100%; }
}

.paper {
  border: 1px solid #b0bca8;
  background: #f7f9f5;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 12px;
}
.paper a { font-weight: bold; font-size: 13px; }
.paper .cite { color: #555; margin-top: 4px; font-size: 11px; }
