@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #e5dfd3;
  --ink: #302c28;
  --muted: #645d54;
  --line: #b9ad99;
  --yellow: #b99b60;
  --charcoal: #56524d;
  --red: #904b42;
  --teal: #3c7279;
  --mat: #c6beae;
  --radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  min-height: 100vh;
  isolation: isolate;
  color: var(--ink);
  line-height: 1.65;
  background: #bdb5a6
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('../images/background.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none
}

a {
  color: inherit;
  text-underline-offset: 4px
}

button {
  font: inherit;
  cursor: pointer
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px
}

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

button {
  color: inherit
}

button:disabled {
  opacity: .45;
  cursor: default
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: var(--paper);
  padding: 12px
}

.skip:focus {
  top: 12px
}

.shell {
  width: min(1320px, calc(100% - 64px));
  margin: 28px auto 40px
}

.masthead {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 32px;
  background: rgba(222, 215, 202, .96);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px #302c2828, inset 0 0 0 1px #f9f1df80;
  border: 1px solid #978b78;
  border-top: 4px solid var(--red)
}

.brand {
  display: flex;
  gap: 22px;
  align-items: center;
  text-decoration: none;
  min-width: 0
}

.opel-mark {
  width: 62px;
  height: 82px;
  object-fit: contain;
  flex: none
}

.brand-title {
  display: block;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.15
}

.brand-subtitle {
  display: block;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 7px
}

.marques {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  padding-left: 36px;
  border-left: 1px solid var(--line)
}

.marques img {
  width: 80px;
  height: 74px;
  object-fit: contain
}

.menu-toggle {
  display: none
}

.layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 26px
}

.sidebar {
  background: var(--charcoal);
  color: #fff7e6;
  border-radius: var(--radius);
  padding: 15px 12px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #9d917d transparent;
  box-shadow: 0 5px 18px #302c2833;
  border: 1px solid #3d3933
}

.nav-title {
  padding: 4px 12px 12px;
  font-size: .875rem;
  color: #ddd3bf;
  letter-spacing: .1em;
  text-transform: uppercase
}

.sidebar a {
  display: block;
  text-decoration: none;
  font-size: .925rem;
  line-height: 1.35;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 3px;
  margin: 1px 0;
  overflow-wrap: anywhere;
}

.sidebar a:hover {
  background: #b99b6028;
  color: #fff7e6;
}

.sidebar a[aria-current="page"] {
  color: #fff7e6;
  background: #6a5d51;
  border-left-color: #d9b26e;
  font-weight: 700;
}

/* An open category owns only its immediate summary and +/- marker. */
.sidebar .nav-section {
  margin: 2px 0;
}

.sidebar .nav-section > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-radius: 3px;
  padding: 9px 11px;
  color: #f0e5d2;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sidebar .nav-section > summary::-webkit-details-marker {
  display: none;
}

.sidebar .nav-section > summary::after {
  content: '+';
  flex: 0 0 16px;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  color: #c0b29c;
  font-weight: 400;
}

.sidebar .nav-section[open] > summary::after {
  content: '−';
}

.sidebar .nav-section > summary:hover {
  background: #b99b6028;
}

.sidebar .nav-level-0[open] > summary {
  background: #24211e36;
}

/* A thin rail makes child links read as one section. */
.sidebar .nav-children {
  margin: 3px 0 9px 13px;
  padding: 2px 0 1px 9px;
  border-left: 1px solid #d9b26e40;
}

.sidebar .nav-children > .nav-link {
  padding: 7px 8px;
  color: #ded4c4;
  font-size: .875rem;
}

/* Third level: less emphasis and tighter spacing, not a huge indent. */
.sidebar .nav-level-1 > summary {
  padding: 7px 8px;
  font-size: .855rem;
  font-weight: 600;
  color: #d9cdbc;
}

.sidebar .nav-level-1[open] > summary {
  background: #ffffff0c;
}

.sidebar .nav-children--level-2 {
  margin: 2px 0 5px 9px;
  padding: 0 0 0 7px;
  border-left-color: #e9dcc025;
}

.sidebar .nav-children--level-2 > .nav-link {
  padding: 6px 7px;
  font-size: .84rem;
  color: #c8bdac;
}

/* Keep active links equally prominent at every depth. */
.sidebar .nav-children > .nav-link[aria-current="page"] {
  color: #fff7e6;
}

.nav-meta {
  border-top: 1px solid #e9dcc02e;
  margin-top: 16px;
  padding-top: 12px;
}

.nav-meta a {
  font-size: .875rem;
  color: #e7dcc8;
}

main {
  min-width: 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 5px 22px #302c282b, inset 0 0 0 1px #fff8e680;
  border: 1px solid #a79b86;
  padding: 36px 36px 30px
}

.crumb {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 18px
}

.crumb a {
  text-decoration: none
}

.crumb a:hover {
  text-decoration: underline
}

.crumb span {
  margin: 0 9px;
  color: #8e8271
}

.eyebrow {
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 6px
}

h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  letter-spacing: -.8px;
  line-height: 1.2;
  margin: 0 0 15px
}

h2 {
  font-size: 1.375rem;
  line-height: 1.35;
  margin: 0 0 12px
}

h3 {
  font-size: 1.125rem;
  line-height: 1.4
}

p {
  margin: 0 0 20px
}

.intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 26px
}

.divider {
  width: 42px;
  height: 3px;
  background: var(--yellow);
  margin: 20px 0 26px
}

.gallery-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px
}

.photo-album {
  margin: 0;
  min-width: 0
}

.album-label {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 9px;
  display: flex;
  gap: 10px;
  align-items: center
}

.album-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red)
}

.photo-button {
  display: block;
  width: 100%;
  border: 1px solid #8d8272;
  padding: 7px;
  background: var(--mat);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 3px 7px #302c2822, inset 0 0 0 1px #efe7d1
}

.photo-button:hover {
  border-color: var(--teal)
}

.photo-button img {
  width: 100%;
  aspect-ratio: 450/363;
  object-fit: contain;
  display: block;
  background: #d3caba
}

.enlarge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #49433bdf;
  color: #fff;
  border-radius: 3px;
  padding: 4px 9px;
  font-size: .8125rem
}

.album-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  gap: 10px
}

.album-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0
}

.counter {
  font-size: .8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.album-controls {
  display: flex;
  gap: 6px
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  display: grid;
  place-items: center
}

.icon-button:hover {
  background: var(--teal);
  color: #fff7e6;
  border-color: var(--teal)
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7
}

.home-links {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.home-link {
  text-decoration: none;
  padding: 0 14px 0 0
}

.home-link+.home-link {
  border-left: 1px solid var(--line);
  padding-left: 20px
}

.home-link strong {
  font-size: 1rem;
  display: block;
  line-height: 1.4
}

.home-link span {
  font-size: .875rem;
  display: block;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5
}

.home-link:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--red)
}

.page-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-size: .875rem;
  margin-top: 22px;
  padding: 12px 16px;
  background: rgba(229, 223, 211, .94);
  border: 1px solid #a79b86;
  border-radius: var(--radius)
}

.page-foot a {
  font-weight: 600
}

.article {
  overflow-wrap: anywhere
}

.article h2,
.article h3 {
  margin-top: 28px
}

.article>.contentpage>.csc-default {
  margin-bottom: 28px
}

.article>.csc-default {
  margin-bottom: 28px
}

.article .csc-textpic {
  margin-bottom: 28px
}

.article .csc-textpic-intext-left,
.article .csc-textpic-intext-right {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 26px;
  align-items: start
}

.article .csc-textpic-imagewrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 14px;
  margin: 18px 0
}

.article .csc-textpic-intext-left .csc-textpic-imagewrap,
.article .csc-textpic-intext-right .csc-textpic-imagewrap {
  margin-top: 0;
  grid-template-columns: 1fr
}

.article .csc-textpic-imagerow,
.article .csc-textpic-imagecolumn {
  display: contents
}

.article .csc-textpic-image {
  min-width: 0;
  margin: 0
}

.article .csc-textpic-image img {
  display: block;
  padding: 5px;
  background: var(--mat);
  border: 1px solid #8d8272;
  border-radius: 3px;
  margin: auto
}

.article .csc-textpic-caption {
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 7px
}

.article .csc-textpic-text {
  min-width: 0
}

.article a {
  color: var(--red)
}

.article a:hover {
  color: #5c2922
}

.article ul {
  padding-left: 24px
}

.article li {
  margin-bottom: 9px
}

.article .csc-menu {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px
}

.article .csc-menu li {
  margin: 0
}

.article .csc-menu a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 15px 18px;
  text-decoration: none
}

.article .csc-menu a:hover {
  background: #d1c4ad
}

.article iframe,
.article video,
.article audio {
  max-width: 100%
}

.article table {
  display: block;
  overflow: auto;
  max-width: 100%;
  border-collapse: collapse
}

.article td,
.article th {
  padding: 10px;
  border-bottom: 1px solid var(--line)
}

.article .csc-textpic-clear {
  display: none
}

.article .csc-header:empty,
.article p:empty {
  display: none
}

.original-link {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted)
}

.lightbox {
  border: 0;
  background: #37332d;
  color: #fff;
  padding: 18px;
  max-width: min(1100px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  width: max-content;
  border-radius: 7px
}

.lightbox::backdrop {
  background: #24201be8
}

.lightbox-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px
}

.lightbox-head p {
  margin: 0;
  font-size: .875rem
}

.lightbox .icon-button {
  background: var(--charcoal);
  color: #fff7e6;
  border-color: #8e8271
}

.lightbox img {
  display: block;
  max-height: calc(100dvh - 170px);
  max-width: 100%;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain
}

.lightbox-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 15px
}

.lightbox-count {
  font-size: .875rem
}

.lightbox-actions {
  display: flex;
  gap: 8px
}

@media(min-width:1700px) {
  .shell {
    margin-top: 42px
  }

  .masthead {
    padding-top: 26px;
    padding-bottom: 26px
  }
}

@media(max-width:1100px) {
  .shell {
    width: calc(100% - 40px)
  }

  .masthead {
    padding: 20px 24px
  }

  .marques {
    gap: 22px;
    padding-left: 24px
  }

  .marques img {
    width: 65px;
    height: 62px
  }

  .layout {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 20px
  }

  main {
    padding: 28px 26px
  }

  .gallery-pair {
    gap: 18px
  }

  .brand-title {
    letter-spacing: -.7px
  }
}

@media(max-width:800px) {
  .shell {
    width: calc(100% - 28px);
    margin: 14px auto 24px
  }

  .masthead {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 16px
  }

  .brand {
    gap: 15px
  }

  .opel-mark {
    width: 47px;
    height: 64px
  }

  .brand-title {
    font-size: 1.65rem
  }

  .brand-subtitle {
    font-size: .9375rem;
    margin-top: 5px
  }

  .marques {
    border: 0;
    padding: 0;
    gap: 24px;
    margin: 0;
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 14px
  }

  .marques img {
    height: 42px;
    width: 58px
  }

  .js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 12px;
    font-size: .9375rem;
    border: 1px solid #9e917e;
    background: transparent;
    border-radius: 4px
  }

  .menu-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none
  }

  .layout {
    display: block;
    margin-top: 18px
  }

  .sidebar {
    display: block;
    position: static;
    max-height: none;
    margin-bottom: 18px
  }

  .js .sidebar {
    display: none
  }

  .js .sidebar.is-open {
    display: block
  }

  .sidebar a {
    padding: 12px 13px;
    font-size: 1rem
  }

  main {
    padding: 26px 24px
  }

  .page-foot {
    flex-wrap: wrap;
    font-size: .8125rem;
    gap: 8px
  }

  .article .csc-textpic-intext-left,
  .article .csc-textpic-intext-right {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px
  }
}

@media(max-width:540px) {
  .masthead {
    padding: 16px 15px
  }

  .brand-title {
    font-size: 1.3rem;
    letter-spacing: -.4px
  }

  .brand-subtitle {
    font-size: .875rem
  }

  .opel-mark {
    width: 39px;
    height: 52px
  }

  .brand {
    gap: 10px
  }

  .menu-toggle {
    padding: 10px
  }

  .menu-toggle span {
    display: none
  }

  .marques {
    gap: 28px
  }

  .marques img {
    height: 37px;
    width: 52px
  }

  main {
    padding: 25px 19px
  }

  .gallery-pair {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .intro {
    font-size: 1rem
  }

  .home-links {
    grid-template-columns: 1fr;
    gap: 0
  }

  .home-link {
    padding: 15px 0
  }

  .home-link+.home-link {
    border-left: 0;
    padding: 15px 0;
    border-top: 1px solid var(--line)
  }

  .home-links {
    padding-top: 7px;
    margin-top: 24px
  }

  .article .csc-textpic-intext-left,
  .article .csc-textpic-intext-right {
    display: block
  }

  .article .csc-textpic-intext-left .csc-textpic-imagewrap,
  .article .csc-textpic-intext-right .csc-textpic-imagewrap {
    max-width: 220px;
    margin: 0 auto 20px
  }

  .page-foot {
    padding: 10px 12px
  }

  h1 {
    font-size: 1.85rem
  }

  .lightbox {
    padding: 12px
  }

  .crumb {
    font-size: .8125rem
  }
}

@media(prefers-reduced-motion:no-preference) {

  .sidebar a,
  .photo-button,
  .icon-button {
    transition: background-color .15s, border-color .15s
  }
}

.bilder-links {
	float: left;
	width: 200px;
	max-width: 40%;
	margin: 0 1.5rem 1rem 0;
}

.bilder-links .wp-block-image {
	margin: 0 0 1rem;
}

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

@media (max-width: 600px) {
	.bilder-links {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1rem;
	}
}


/* Prevent alignment styles from affecting the lightbox */
.wp-lightbox-overlay .lightbox-image-container .wp-block-image {
	float: none !important;
	max-width: none !important;
	margin: 0 !important;
}

/* Let WordPress control the enlarged image dimensions */
.wp-lightbox-overlay .lightbox-image-container img {
	width: var(--wp--lightbox-image-width) !important;
	height: var(--wp--lightbox-image-height) !important;
	max-width: none !important;
}

.wp-block-group.is-layout-flex {
	margin-top: 2rem;
	margin-bottom: 2rem;
  align-items: flex-start;
}



/* Comfortable tap targets on small screens, while keeping the hierarchy. */
@media (max-width: 800px) {
  .sidebar .nav-children > .nav-link {
    padding-block: 10px;
  }

  .sidebar .nav-level-1 > summary {
    padding-block: 10px;
  }
}

.footer-menu {
    display: flex;
/*    gap: 1.5rem;*/
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    text-decoration: none;
}

.footer-menu a:hover {
    text-decoration: underline;
}

.page-foot {
    justify-content: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
/*    gap: 1.5rem;*/
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li + li::before {
    content: "|";
    color: var(--muted);
    margin: 0 0.75rem;
}


/* ============================================
   Gwolle Guestbook
   ============================================ */

/* Grundlayout */
.gwolle-gb {
    margin-top: 1.5rem;
    color: var(--ink);
}

/* Anzahl der Einträge */
#gwolle-gb-total,
.gwolle-gb-total {
    margin: 1.5rem 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--muted);
}


/* ============================================
   Gästebucheinträge
   ============================================ */


/* ============================================
   Gästebucheinträge
   ============================================ */

/* Einzelne Karten */
.gwolle-gb .gb-entry,
.gwolle-gb .gb-entry.gwolle-gb-even,
.gwolle-gb .gb-entry.gwolle-gb-uneven {
    display: block;
    clear: both;

    margin: 0 0 1.5rem !important;
    padding: 1.4rem 1.5rem;

    background: #f7f3ec;
    border: 1px solid #d2c9bb;
    border-radius: 12px;

    box-shadow: 0 4px 14px rgba(40, 33, 25, 0.06);
}

/* Zweispaltiges Layout */
.gwolle-gb .gb-entry > article {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: start;
    position: relative;
}

/* Alte Floats und Breiten zurücksetzen */
.gwolle-gb .gb-entry .gb-author-info,
.gwolle-gb .gb-entry .gb-entry-content {
    float: none;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
}

/* Linke Spalte: Autor und Datum */
.gwolle-gb .gb-entry .gb-author-info {
    grid-column: 1;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    gap: 0.35rem;

    padding-right: 1.25rem;
    border-right: 1px solid #d6ccbe;
    align-self: stretch;
}

/* Überflüssigen Zeilenumbruch entfernen */
.gwolle-gb .gb-author-info > br {
    display: none;
}

/* Name */
.gwolle-gb .gb-author-name {
    display: block;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
}

.gwolle-gb .gb-author-name i {
    font-style: normal;
}

.gwolle-gb .gb-author-name a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #ad9b84;
}

/* Datum */
.gwolle-gb .gb-datetime {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Rechte Spalte: Nachricht */
.gwolle-gb .gb-entry .gb-entry-content {
    grid-column: 2;
    grid-row: 1;

    padding: 0 1.5rem 0 0;

    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.gwolle-gb .gb-entry-content p:first-child {
    margin-top: 0;
}

.gwolle-gb .gb-entry-content p:last-child {
    margin-bottom: 0;
}

/* Drei-Punkte-Menü rechts oben */
.gwolle-gb .gb-entry .gb-metabox-handle {
    position: absolute;
    top: 0;
    right: 0;
}

/* Aufgeklapptes Zusatzmenü */
.gwolle-gb .gb-entry .gb-metabox {
    grid-column: 1 / -1;
}

/* Mobile Ansicht */
@media (max-width: 650px) {
    .gwolle-gb .gb-entry {
        padding: 1.1rem;
    }

    .gwolle-gb .gb-entry > article {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1rem;
    }

    .gwolle-gb .gb-entry .gb-author-info {
        grid-column: 1;
        grid-row: 1;

        padding: 0 2rem 0.8rem 0;
        border-right: 0;
        border-bottom: 1px solid #d6ccbe;
    }

    .gwolle-gb .gb-entry .gb-entry-content {
        grid-column: 1;
        grid-row: 2;
        padding: 0;
    }
}


/* Autoreninformationen – linke Spalte */
.gwolle-gb .gb-entry .gb-author-info {
    grid-column: 1;
    grid-row: 1;

    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 1.25rem 0 0;

    border-right: 1px solid #d6ccbe;
    align-self: stretch;
}

/* Name */
.gwolle-gb .gb-entry .gb-author-name {
    display: block;
    margin-bottom: 0.35rem;

    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    padding-left: 0 !important;
}

/* Kursivschrift beim Autor entfernen */
.gwolle-gb .gb-author-name i {
    font-style: normal;
}

/* Verlinkter Name */
.gwolle-gb .gb-author-name a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.gwolle-gb .gb-author-name a:hover {
    color: var(--teal);
    border-color: var(--teal);
}

/* Datum */
.gwolle-gb .gb-entry .gb-datetime {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Weitere Autorenangaben, z. B. Webseite */
.gwolle-gb .gb-author-info a {
    overflow-wrap: anywhere;
}

/* Nachricht – rechte Spalte */
.gwolle-gb .gb-entry .gb-entry-content {
    grid-column: 2;
    grid-row: 1;

    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 1.25rem 0 0;

    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.gwolle-gb .gb-entry-content p:first-child {
    margin-top: 0;
}

.gwolle-gb .gb-entry-content p:last-child {
    margin-bottom: 0;
}

/* Links innerhalb der Nachricht */
.gwolle-gb .gb-entry-content a {
    color: var(--teal);
    text-underline-offset: 3px;
}

/* Optionsmenü eines Eintrags */
.gwolle-gb .gb-entry .gb-metabox {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
}

/* Antworten des Betreibers */
.gwolle-gb .gb-entry-admin_reply {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;

    background: #ebe5da;
    border-left: 3px solid var(--teal);
    border-radius: 8px;
}


/* ============================================
   Formular
   ============================================ */

.gwolle-gb form {
    margin-top: 2rem;
    padding: 1.5rem;

    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.1rem;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Formularüberschriften */
.gwolle-gb form h2,
.gwolle-gb form h3,
.gwolle-gb form h4 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--ink);
}

/* Beschriftungen */
.gwolle-gb form label {
    font-weight: 700;
    color: var(--ink);
}

/* Eingabefelder */
.gwolle-gb form input[type="text"],
.gwolle-gb form input[type="email"],
.gwolle-gb form input[type="url"],
.gwolle-gb form textarea,
.gwolle-gb form select {
    max-width: 100%;
    padding: 0.8rem 0.95rem;

    background: #f7f2e9;
    color: var(--ink);

    border: 1px solid #d5ccbd;
    border-radius: 0.7rem;

    font: inherit;
    box-sizing: border-box;
}

/* Fokus */
.gwolle-gb form input[type="text"]:focus,
.gwolle-gb form input[type="email"]:focus,
.gwolle-gb form input[type="url"]:focus,
.gwolle-gb form textarea:focus,
.gwolle-gb form select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(60, 114, 121, 0.14);
}

/* Nachrichtenfeld */
.gwolle-gb form textarea {
    min-height: 11rem;
    resize: vertical;
    line-height: 1.6;
}

/* Formularabstände */
.gwolle-gb form p {
    margin-bottom: 1rem;
}


/* ============================================
   Buttons
   ============================================ */

.gwolle-gb input[type="submit"],
.gwolle-gb input[type="button"],
.gwolle-gb form button[type="submit"],
.gwolle-gb form button[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 2.8rem;
    padding: 0.7rem 1.15rem;

    background: var(--ink);
    color: #f7f3ec;

    border: 1px solid var(--ink);
    border-radius: 0.7rem;

    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.gwolle-gb input[type="submit"]:hover,
.gwolle-gb input[type="button"]:hover,
.gwolle-gb form button[type="submit"]:hover,
.gwolle-gb form button[type="button"]:hover {
    background: #484139;
    color: #fff;
    transform: translateY(-1px);
}

.gwolle-gb input[type="submit"]:focus-visible,
.gwolle-gb input[type="button"]:focus-visible,
.gwolle-gb form button:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

/* Sekundäre Buttons */
.gwolle-gb input[type="button"] {
    background: #d9d2c5;
    color: var(--ink);
    border-color: #c6bbab;
}

.gwolle-gb input[type="button"]:hover {
    background: #cac0b1;
    color: var(--ink);
}


/* ============================================
   Hinweise und Meldungen
   ============================================ */

.gwolle-gb .form-notice,
.gwolle-gb .gwolle-gb-notice {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}

/* Formatierung der Formularhinweise */
.gwolle-gb form > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}


/* ============================================
   Mobile Ansicht
   ============================================ */

@media (max-width: 650px) {

    .gwolle-gb .gb-entry {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
        padding: 1.1rem;
    }

    .gwolle-gb .gb-entry .gb-author-info {
        grid-column: 1;
        grid-row: 1;

        padding: 0 0 0.8rem;

        border-right: none;
        border-bottom: 1px solid #d6ccbe;
    }

    .gwolle-gb .gb-entry .gb-entry-content {
        grid-column: 1;
        grid-row: 2;
        padding: 0;
    }

    .gwolle-gb form {
        padding: 1rem;
    }

    .gwolle-gb form input[type="text"],
    .gwolle-gb form input[type="email"],
    .gwolle-gb form input[type="url"],
    .gwolle-gb form textarea {
        width: 100%;
    }
}

/* Barrierefreiheit: Animationen reduzieren */
@media (prefers-reduced-motion: reduce) {
    .gwolle-gb input[type="submit"],
    .gwolle-gb input[type="button"],
    .gwolle-gb form button {
        transition: none;
    }
}

.gwolle-gb .gb-entry {
    border: 1px solid #d2c9bb;
    border-left: 1px solid #d2c9bb;
    margin-bottom: 1.5rem !important;
}

body:not(.guestbook-moderator) .gwolle-gb .gb-metabox-handle,
body:not(.guestbook-moderator) .gwolle-gb .gb-metabox {
    display: none !important;
}

.gwolle-gb .gb-author-website {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.88rem;
}

.gwolle-gb .gb-author-website a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.gwolle-gb .gb-author-website a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* More prominent mobile navigation button */
@media (max-width: 800px) {
    .js .masthead .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        margin-left: auto;
        padding: 12px 18px;

        background: #302b26;
        color: #fff7e6;
        border: 2px solid #302b26;
        border-radius: 8px;

        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;

        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }

    /* Keep the label visible on small phones, too */
    .js .masthead .menu-toggle span {
        display: inline;
    }

    .js .masthead .menu-toggle svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    /* Hover */
    .js .masthead .menu-toggle:hover {
        background: #51463a;
        color: #fff7e6;
    }

    /* Highlight when the menu is open */
    .js .masthead .menu-toggle[aria-expanded="true"] {
        background: #d9b26e;
        color: #302b26;
        border-color: #302b26;
    }

    /* Keyboard accessibility */
    .js .masthead .menu-toggle:focus-visible {
        outline: 3px solid #d9b26e;
        outline-offset: 3px;
    }
}

@media (max-width: 800px) {
    body::before {
        inset: 0 auto auto 0;
        width: 100%;
        height: 100svh;
        background-position: center top;
        background-size: cover;
    }
}

/* Top-Level-Links bündig mit aufklappbaren Menüpunkten */
.sidebar > .nav-link--level-0 {
    padding-left: 8px;
}

.sidebar .nav-new {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    background: #d9b26e;
    color: #302b26;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

/* Align NEW badges to the right */
.sidebar .nav-link,
.sidebar summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Title takes up available space */
.sidebar .nav-label {
    flex: 1 1 auto;
    min-width: 0;
}

/* Badge stays at the right */
.sidebar .nav-new {
    flex: 0 0 auto;
    margin-left: 0;
}

/* Expand/collapse indicator stays at the far right */
.sidebar summary::after {
    flex-shrink: 0;
}

