/*
Theme Name: EMS-VECHTE AUSSICHT
Theme URI: https://ems-vechte-aussicht.de
Author: EMS-VECHTE AUSSICHT
Description: Hochwertiges WordPress-Theme für ein digitales Zeitungsarchiv.
Version: 1.2.1
Text Domain: ems-vechte-aussicht
*/


:root {
  --eva-navy: #0e2b47;
  --eva-paper: #f7f4ed;
  --eva-paper-2: #fbfaf7;
  --eva-gold: #bea16b;
  --eva-gold-dark: #a68952;
  --eva-text: #1d2832;
  --eva-muted: #56626c;
  --eva-max: 1280px;
  --eva-shadow-soft: 0 18px 40px rgba(14, 43, 71, 0.08);
  --eva-shadow-strong: 0 24px 60px rgba(14, 43, 71, 0.18);
}


/* GRUNDEINSTELLUNGEN */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--eva-text);
  background: var(--eva-paper-2);
  font-family: "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--eva-navy);
}

.eva-wrap {
  width: min(calc(100% - 48px), var(--eva-max));
  margin: 0 auto;
}


/* HEADER */

.eva-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 43, 71, 0.08);
}

.eva-header__top {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

.eva-sitebrand {
  display: flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  text-decoration: none;
}

.eva-sitebrand__titlewrap {
  text-align: center;
}

.eva-sitebrand__titlewrap strong {
  display: block;
  color: var(--eva-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 0.02em;
}

.eva-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 26px;
}

.eva-nav a {
  position: relative;
  color: var(--eva-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}


/* KLEINE ÜBERSCHRIFTEN */

.eva-kicker {
  display: inline-block;
  color: #dbbc82;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eva-kicker--gold {
  color: var(--eva-gold);
}


/* STARTSEITE – HERO */

.eva-hero {
  position: relative;
  padding: 0 0 34px;
}

.eva-hero__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 0;
  background: #fff;
  overflow: hidden;
}

.eva-hero__content {
  position: relative;
  z-index: 2;
  padding: 84px 64px 80px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 28, 47, 0.98), rgba(7, 28, 47, 0.92)),
    radial-gradient(circle at 70% 20%, rgba(190, 161, 107, 0.15), transparent 45%),
    linear-gradient(180deg, #14314d 0%, #0a2137 100%);
}

.eva-hero__content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.eva-hero__content p {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--eva-gold);
  font-size: 22px;
  line-height: 1.35;
}

.eva-hero__visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background-color: var(--eva-navy);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


/* BUTTONS */

.eva-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.eva-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.eva-btn:hover {
  transform: translateY(-1px);
}

.eva-btn--gold {
  color: #fff;
  background: var(--eva-gold);
  border: 1px solid var(--eva-gold);
}

.eva-btn--gold:hover {
  background: var(--eva-gold-dark);
  border-color: var(--eva-gold-dark);
}

.eva-btn--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.eva-btn--light:hover {
  background: rgba(255, 255, 255, 0.16);
}


/* ARCHIV AUF DER STARTSEITE */

.eva-archive {
  padding: 28px 0 44px;
  background: var(--eva-paper);
}

.eva-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.eva-section__head h2 {
  margin-top: 8px;
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1;
}

.eva-section__link {
  color: var(--eva-navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.eva-section__link::after {
  content: " →";
}

.eva-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.eva-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(14, 43, 71, 0.08);
  box-shadow: var(--eva-shadow-soft);
}

.eva-card__image {
  display: block;
  aspect-ratio: 0.76;
  overflow: hidden;
  background: #edf0f3;
}

.eva-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eva-card__body {
  padding: 12px 4px 0;
  text-align: center;
}

.eva-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.eva-card__meta {
  margin-bottom: 12px;
  color: var(--eva-muted);
  font-size: 15px;
}

.eva-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 40px;
  color: #fff;
  background: var(--eva-gold);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.eva-card__link::after {
  content: " →";
}

.eva-empty {
  grid-column: 1 / -1;
  padding: 30px;
  background: #fff;
  border: 1px dashed rgba(14, 43, 71, 0.2);
}


/* FOOTER */

.eva-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--eva-navy);
}

.eva-footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eva-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.eva-footer__nav a,
.eva-footer__nav a:visited {
  color: #fff;
  font-size: 14px;
  text-decoration: none !important;
}

.eva-footer__nav a:hover,
.eva-footer__nav a:focus,
.eva-footer__nav a:active {
  color: #fff;
  text-decoration: none !important;
}


/* SEITE „ALLE AUSGABEN“ */

.eva-listing__hero {
  padding: 72px 0 24px;
  background: linear-gradient(180deg, #fff 0%, var(--eva-paper) 100%);
}

.eva-listing__hero h1 {
  margin-top: 10px;
  font-size: clamp(44px, 5vw, 72px);
}

.eva-listing__hero p {
  margin: 18px 0 0;
  color: var(--eva-muted);
  font-size: 18px;
}


/* EINZELNE AUSGABE */

.eva-single {
  padding: 34px 0 82px;
  background: linear-gradient(180deg, #fff 0%, var(--eva-paper) 100%);
}

.eva-single__back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--eva-navy);
  font-weight: 600;
  text-decoration: none;
}

.eva-single__hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 28px 0 38px;
}

.eva-single__cover {
  width: 100%;
  border: 1px solid rgba(14, 43, 71, 0.08);
  box-shadow: var(--eva-shadow-strong);
}

.eva-single__content h1 {
  margin-top: 10px;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.96;
}

.eva-single__intro,
.eva-single__text,
.eva-single__text p {
  color: var(--eva-muted);
  font-size: 18px;
}

.eva-single__text p:last-child {
  margin-bottom: 0;
}


/* PDF-READER */

.eva-readerbox {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14, 43, 71, 0.08);
  box-shadow: var(--eva-shadow-soft);
}

.eva-readerbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(14, 43, 71, 0.08);
}

.eva-readerbox__head h2 {
  font-size: 30px;
}

.eva-readerbox__head a {
  color: var(--eva-navy);
  font-weight: 600;
  text-decoration: none;
}

.eva-reader {
  min-height: 72vh;
  background: #ecf0f2;
}

.eva-reader iframe,
.eva-reader embed {
  display: block;
  width: 100%;
  min-height: 72vh;
  border: 0;
}

.eva-reader__notice {
  padding: 34px;
}


/* TABLET */

@media (max-width: 1180px) {

  .eva-header__top {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
  }

  .eva-sitebrand {
    justify-self: center;
  }

  .eva-nav {
    justify-self: center;
    padding-bottom: 14px;
  }

  .eva-hero__layout {
    grid-template-columns: 1fr;
  }

  .eva-hero__visual {
    min-height: 520px;
  }

  .eva-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* KLEINERE TABLETS */

@media (max-width: 860px) {

  .eva-wrap {
    width: min(calc(100% - 28px), var(--eva-max));
  }

  .eva-header__top {
    min-height: 84px;
    gap: 14px;
  }

  .eva-sitebrand__titlewrap {
    text-align: center;
  }

  .eva-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }

  .eva-hero__content {
    padding: 56px 28px 52px;
  }

  .eva-hero__content h1 {
    font-size: 52px;
  }

  .eva-hero__content p {
    font-size: 18px;
  }

  .eva-hero__visual {
    min-height: 420px;
  }

  .eva-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eva-single__hero {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }
}


@media (max-width: 560px) {

  .eva-sitebrand__titlewrap strong {
    font-size: 26px;
  }

  .eva-nav {
    gap: 8px 16px;
  }

  .eva-nav a {
    font-size: 14px;
  }

  .eva-hero__content h1 {
    font-size: 44px;
  }

  .eva-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .eva-btn {
    width: 100%;
  }

  .eva-hero__visual {
  display: none;
}

  .eva-grid {
    grid-template-columns: 1fr;
  }

  .eva-card h3 {
    font-size: 26px;
  }

  .eva-section__head {
    flex-direction: column;
    align-items: start;
  }

  .eva-single__hero {
    grid-template-columns: 1fr;
  }

  .eva-single__cover {
    max-width: 220px;
  }

  .eva-reader,
  .eva-reader iframe,
  .eva-reader embed {
    min-height: 62vh;
  }
}