/*
 Theme Name: Divi Child
 Template: Divi
*/

@font-face {
  font-family: 'NeueMontreal';
  src: url('/wp-content/uploads/et-fonts/NeueMontreal-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Piazzolla:ital,wght@0,400;0,500;1,400&display=swap');

/* ==============================
   ARCHIV — SIDEBAR & LAYOUT
============================== */

body.archive #sidebar,
body.archive .et_pb_sidebar_0,
body.blog #sidebar,
body.blog .et_pb_sidebar_0 {
    display: none !important;
}

body.archive #main-content .container,
body.blog #main-content .container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.archive #content-area,
body.blog #content-area {
    display: block !important;
    width: 100% !important;
}

body.archive #left-area,
body.blog #left-area {
    width: 100% !important;
    float: none !important;
    max-width: 620px !important;
    margin: 60px auto !important;
    padding: 0 24px !important;
}

/* Alles ausblenden was nicht #left-area ist */
body.archive #content-area > *:not(#left-area),
body.blog #content-area > *:not(#left-area) {
    display: none !important;
}
/* ==============================
   ARCHIV — BEITRÄGE
============================== */

body.archive article.et_pb_post {
  text-align: justify !important;
  border-bottom: 1px solid #eee !important;
  border-top: none !important;
  padding: 0 0 0rem 0 !important;
  margin: 0 0 2rem 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Meta komplett ausblenden */
body.archive article.et_pb_post .post-meta {
  font-size: 0 !important;
  color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Nur Datum sichtbar */
body.archive article.et_pb_post .post-meta .published {
  display: block !important;
  font-size: 0.8rem !important;
  color: #bbb !important;
  letter-spacing: 0.05em !important;
  font-family: 'Piazzolla', Georgia, serif !important;
  margin-bottom: 2rem !important;
    text-align: center !important;
    line-height: 0rem;

}

/* Titel */
body.archive article.et_pb_post h2.entry-title {
  font-family: 'NeueMontreal', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  text-align: justify !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  line-height: 1.25 !important;
  margin-bottom: 0rem !important;
}

body.archive article.et_pb_post h2.entry-title a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

body.archive article.et_pb_post h2.entry-title a:hover {
  color: #000!important;
}

/* Teaser — Blocksatz */
body.archive article.et_pb_post .post-content p {
  font-size: 1.2rem !important;
  line-height: 1.5rem !important;
  color: #333 !important;
  text-align: justify !important;
  text-align-last: left !important;
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
  font-family:  'Piazzolla', Georgia, serif !important;
  margin: 0.8rem 0 0 0 !important;
}

body.archive article.et_pb_post h2.entry-title {
  margin-bottom: 0.3rem !important;
}

body.archive .post-meta {
  margin-top: 0 !important;
  margin-bottom: 0.8rem !important;
}


/* ==============================
   TEXTE-ÜBERSICHT (home.php)
============================== */


body.blog #content-area > *:not(#left-area) {
    display: none !important;
}

body.blog #left-area {
    width: 100% !important;
    float: none !important;
    max-width: 620px !important;
    margin: 60px auto !important;
    padding: 0 24px !important;
}

/* Überschrift */
.archive-label {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 3rem;
    font-family: 'Piazolla', Georgia, serif;
    text-align: center;
}

/* Einzelner Beitrag */
.archive-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.archive-item-title {
    font-size: 1.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    font-family: 'NeueMontreal', sans-serif;
    text-align: center;
}

.archive-item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.archive-item-title a:hover {
    color: #888;
}

.archive-item-date {
    font-size: 0.78rem;
    color: #bbb;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-align: center;
}

.archive-item-excerpt {
    font-size: 1.15rem !important;
    line-height: 1.4;
    color: #333;
    font-family: 'Piazzolla', Georgia, serif;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Mobil */
@media (max-width: 767px) {
    body.blog #left-area {
        margin: 40px auto !important;
        padding: 0 20px !important;
    }
}

/* ==============================
   SINGLE POST — SIDEBAR & LAYOUT
============================== */

body.single-post #sidebar,
body.single-post .et_pb_sidebar_0 {
  display: none !important;
}

body.single-post #left-area {
  width: 100% !important;
  float: none !important;
}


/* ==============================
   SINGLE POST — INHALT
============================== */

#blog-single {
  max-width: 620px;
  margin: 80px auto;
  padding: 0 24px 80px;
  font-family: 'Piazzolla', Georgia, serif;
  text-align: center;
}

#blog-single h1 {
  font-family: 'NeueMontreal', sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.post-date-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
}

.post-date-divider::before,
.post-date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.post-date-divider span {
  font-size: 1rem;
  color: #bbb;
  letter-spacing: 0.06em;
  font-family: 'Piazzolla', Georgia, serif;
}

#blog-single .post-content {
  font-family: 'Piazzolla', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#blog-single .post-content p {
  margin-bottom: 1.4em;
  text-align: justify;
  text-align-last: left;
}

/* ==============================
   SINGLE POST — NAVIGATION
============================== */

.post-nav-top {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.post-nav-top a {
  font-size: 1rem;
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-family: 'NeueMontreal', sans-serif;
}

.post-nav-top a:hover { color: #333; }

.post-nav-prev-next {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-family: 'NeueMontreal', sans-serif;
}

.post-nav-prev-next a {
  color: #aaa;
  text-decoration: none;
}

.post-nav-prev-next a:hover { color: #333; }


/* ==============================
   STARTSEITE — Schutz
============================== */

body.home.page #content-area > * {
    display: block !important;
}

body.home.page #left-area {
    width: auto !important;
    float: none !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home.page #sidebar {
    display: block !important;


    /* ==============================
   BACK NAVIGATION
============================== */

.back-nav {
    text-align: left;
    margin-bottom: 2rem;
}

.back-nav a {
    font-family: 'NeueMontreal', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    text-decoration: none;
}

.back-nav a:hover {
    color: #333;
}
}

.lynx:hover 
{
    color: #F05864;
} 