@import url("tokens.css");
@import url("shared.css");

/* ══ Retro-Theme: der Original-Look des travel-blogger-Themes (2012),
     nachgebaut auf demselben Markup wie das moderne Theme.
     Festes 974px-Layout, Sidebar links, 13px-Schrift, Bernstein & Gold. ══ */

* {
  box-sizing: content-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: #111;
  font:
    13px / 1.62 Candara,
    Verdana,
    arial,
    helvetica,
    sans-serif;
}

a {
  color: var(--gold);
}

/* ── Header: Panorama wie das alte Body-Hintergrundbild, Titel in Weiß ── */

.site-header .hero {
  background-size: cover;
  background-position: top center;
  height: 180px;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 974px;
  margin: 0 auto;
  padding: 0 10px;
}

.site-title {
  margin: 0;
  font-size: 40px;
  font-weight: normal;
  font-family: Candara, Verdana, sans-serif;
}

.site-title a {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.site-subtitle {
  margin: 2px 0 0;
  color: #ebebeb;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ── Navigation: Bernstein mit Textur ── */

.site-nav {
  background: var(--amber) url("/assets/retro-img/menu_bg.png") repeat-x;
}

.site-nav ul {
  width: 974px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
}

.site-nav a {
  display: block;
  padding: 9px 14px;
  color: var(--amber-text);
  text-decoration: none;
  font-weight: bold;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  background: var(--active-blue);
  color: #fff;
}

/* ── Layout: 974px, Sidebar LINKS (wie yui-t3) ── */

.layout {
  width: 974px;
  margin: 15px auto;
  display: grid;
  grid-template-columns: 292px 1fr;
  gap: 15px;
  align-items: start;
}

.main-content {
  order: 2;
  background: var(--card);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px 20px;
  min-width: 0;
}

.sidebar {
  order: 1;
}

/* ── Sidebar-Widgets: weiße Boxen, Bernstein-Kopfband ── */

.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.widget h3 {
  margin: 0;
  padding: 7px 12px;
  background: var(--amber) url("/assets/retro-img/widget_head_bg.png") repeat-x;
  color: var(--amber-text);
  font-size: 14px;
  letter-spacing: -1px;
  border-radius: 8px 8px 0 0;
}

.widget ul {
  margin: 0;
  padding: 8px 12px;
  list-style: none;
}

.widget li {
  padding: 2px 0;
}

#worldmap {
  height: 250px;
}

/* ── Beitrag ── */

.post-title,
.page-title {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 25px;
  font-weight: normal;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-bottom: 14px;
  color: #afafaf;
  font-size: 11px;
  text-transform: uppercase;
}

.post-meta a {
  color: #afafaf;
}

.post-author {
  padding-left: 18px;
  background: url("/assets/retro-img/author.png") no-repeat left center;
}

.post-meta time {
  padding-left: 18px;
  background: url("/assets/retro-img/calendar.png") no-repeat left center;
}

.post-comments-link {
  padding-left: 18px;
  background: url("/assets/retro-img/comments.png") no-repeat left center;
}

.post-body,
.excerpt-body {
  text-align: justify;
}

.post-body h1,
.post-body h2,
.post-body h3,
.album-gallery h2,
.comments-title {
  color: var(--gold);
  font-weight: normal;
}

.post-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

.post-body td,
.post-body th {
  border: 1px solid #e5e5e5;
  padding: 2px 6px;
}

blockquote,
.motto {
  margin: 0 20px 15px;
  font-style: italic;
  color: #555;
}

/* ── Bilder: Floats wie NextGEN (ngg-left/ngg-right) ── */

.post-img {
  margin: 4px 0 8px;
}

.post-img.float-left {
  float: left;
  margin-right: 15px;
  width: var(--display-width, 320px);
  max-width: 45%;
}

.post-img.float-right {
  float: right;
  margin-left: 15px;
  width: var(--display-width, 320px);
  max-width: 45%;
}

.post-img img {
  display: block;
  width: 100%;
  height: auto;
}

.post-img.img-wp figcaption {
  background: var(--caption-bg);
  color: var(--caption-text);
  font-size: 11px;
  text-align: center;
  padding: 3px 5px;
}

/* ── Galerie: 100x75-Thumbs mit dem originalen grauen Passepartout ── */

.gallery-retro {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.gallery-retro .gallery-item {
  display: block;
}

.gallery-retro img {
  display: block;
  border: 10px solid var(--caption-bg);
}

.gallery-retro img:hover {
  border-color: #e3e3e3;
}

/* Album-Kacheln im Retro-Look: schlichte Thumbs mit Rahmen */

.album-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0;
}

.album-tile {
  display: block;
  width: 220px;
  text-decoration: none;
  text-align: center;
}

.album-tile img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border: 10px solid var(--caption-bg);
  display: block;
  margin: 0 auto;
}

.album-tile-title {
  display: block;
  font-weight: bold;
  margin-top: 4px;
}

.album-tile-count {
  display: block;
  color: #afafaf;
  font-size: 11px;
}

.album-meta {
  color: #afafaf;
}

/* ── Videos ── */

.post-video {
  clear: both;
  margin: 16px 0;
  width: var(--display-width, 510px);
  max-width: 100%;
}

.post-video video {
  width: 100%;
  height: auto;
  background: #000;
}

.video-download {
  font-size: 11px;
  color: #afafaf;
}

.yt-facade {
  clear: both;
  margin: 16px 0;
  width: var(--display-width, 510px);
  max-width: 100%;
  background: #000;
  display: grid;
  place-items: center;
}

.yt-facade iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-play {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 4px;
  justify-items: center;
  font-family: inherit;
  padding: 18px;
}

.yt-icon {
  font-size: 24px;
}

.yt-note {
  font-size: 10px;
  opacity: 0.7;
}

/* ── Listen ── */

.excerpt-item {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.excerpt-title {
  margin: 0 0 2px;
  font-size: 19px;
  font-weight: normal;
}

.excerpt-body.has-thumb .excerpt-thumb img {
  float: left;
  width: 150px;
  height: 90px;
  object-fit: cover;
  margin: 0 12px 6px 0;
  border: 6px solid var(--caption-bg);
}

.read-more {
  margin: 6px 0 0;
  text-transform: uppercase;
  font-size: 11px;
}

.read-more a {
  padding-left: 16px;
  background: url("/assets/retro-img/read_more.png") no-repeat left center;
  text-decoration: none;
}

.pagination,
.prev-next {
  clear: both;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 6px;
}

.page-status {
  color: #afafaf;
  font-size: 11px;
}

.prev-next .nav-next {
  margin-left: auto;
  text-align: right;
}

/* ── Kommentare ── */

.comments {
  clear: both;
  margin-top: 24px;
  border-top: 1px solid #e5e5e5;
  padding-top: 12px;
}

.comments-title {
  font-size: 19px;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .comment-list {
  margin: 8px 0 0 36px;
}

.comment {
  margin-bottom: 14px;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.comment-by-author > .comment-head .comment-avatar {
  background: var(--active-blue);
}

.comment-author {
  font-style: normal;
  font-weight: bold;
}

.comment-author::after {
  content: " says:";
  font-weight: normal;
  color: #888;
}

.comment-date {
  color: #afafaf;
  font-size: 11px;
}

.comment-body {
  margin: 4px 0 0 48px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  padding: 6px 10px;
}

.comment-body p {
  margin: 0 0 6px;
}

.comments-closed {
  margin-top: 16px;
  padding: 8px 12px;
  background: #fffbe6;
  border: 1px solid var(--amber);
  color: #6b5a10;
  font-size: 12px;
}

/* ── Footer: Bernstein-Band ── */

.site-footer {
  background: var(--amber) url("/assets/retro-img/menu_bg.png") repeat-x;
  margin-top: 30px;
  padding: 16px 10px 20px;
  text-align: center;
}

.footer-links {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 14px;
}

.footer-links a {
  color: var(--amber-text);
  text-decoration: none;
  font-weight: bold;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
}

/* Das feste 974px-Layout ist Teil des Retro-Gefühls — auf sehr kleinen
   Screens darf horizontal gescrollt werden (wie 2012 eben). */
