/* ==========================================================================
   pascalcabitza.de – statischer Nachbau der Startseite
   Alle Maße entsprechen dem gerenderten Original (Elementor/JupiterX),
   gemessen am 03.11.2026 bei 1440 / 1024 / 768 / 375 px.
   ========================================================================== */

/* ---------- Fonts (lokal, identische Dateien wie Google Fonts / Elementor) */
@font-face {
  font-family: "Josefin Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/josefin-slab-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Josefin Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/josefin-slab-400-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Josefin Slab";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/josefin-slab-700-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
}
@font-face {
  font-family: "eicons";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/eicons.woff2") format("woff2");
}

/* ---------- Basis (entspricht dem Bootstrap-Reboot des Original-Themes) */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: #fff;
  color: #444444;
  font-family: "Josefin Slab", Montserrat, serif;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
}

p { margin: 0 0 1rem; }
h3 { margin: 0; font-size: inherit; font-weight: inherit; line-height: 1.2; }
img { vertical-align: middle; border-style: none; }
a { color: #0d0d0d; text-decoration: none; background-color: transparent; }
a:hover { color: #0d0d0d; }
ul { list-style: none; margin: 0; padding: 0; }

.screen-only {
  position: absolute;
  top: -10000em;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Header */
.site-header { padding: 10px 20px; }

.site-header__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
}

.site-header__brand,
.site-header__nav {
  display: flex;
  align-items: center;
  min-height: 1px;
  width: 100%;
}

@media (min-width: 768px) {
  .site-header__brand { width: 20.612%; }
  .site-header__nav { width: 79.388%; }
}

.brand {
  width: 100%;
  margin: 17px 0 16px;
  font-size: 16px;
}
.brand a { color: #0d0d0d; }

/* Navigation: Desktop (ab 1025 px) horizontal, darunter Hamburger + Dropdown */
.nav-widget {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.nav-main { display: flex; }

.nav-main ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  position: relative;
  z-index: 2;
  line-height: normal;
}

.nav-main li { display: block; position: relative; }

.nav-main a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 13px 20px;
  line-height: 20px;
  white-space: nowrap;
  font-size: 14px;
  text-transform: lowercase;
  color: #adadad;
}
.nav-main a:hover,
.nav-main a:focus { color: #0f0f0f; }

.menu-toggle { display: none; }
.nav-dropdown { display: none; }

@media (max-width: 1024px) {
  .nav-main { display: none; }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto;
    padding: 0.25em;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.15;
    cursor: pointer;
    border: 0 solid;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    color: #494c4f;
    -webkit-appearance: none;
    appearance: none;
  }
  .menu-toggle i {
    display: block;
    width: 1em;
    height: 1em;
    font-family: eicons;
    font-size: inherit;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .menu-toggle i::before { content: "\e804"; }
  .menu-toggle.is-active i::before { content: "\e909"; }

  .nav-dropdown {
    display: block;
    margin-top: 10px;
    background-color: #fff;
    font-size: 13px;
    overflow: auto;
    transform-origin: top;
    transition: max-height 0.3s, transform 0.3s;
    transform: scaleY(0);
    max-height: 0;
  }
  .nav-dropdown.is-open {
    transform: scaleY(1);
    max-height: 100vh;
  }
  .nav-dropdown ul {
    position: relative;
    z-index: 2;
    line-height: normal;
  }
  .nav-dropdown li { display: block; position: relative; }
  .nav-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 20px;
    line-height: 20px;
    color: #494c4f;
  }
  .nav-dropdown a:hover,
  .nav-dropdown a:focus {
    background-color: #55595c;
    color: #fff;
  }
}

/* ---------- Hero */
.hero {
  background-image: url("../img/2019/04/india-bg-1-3.jpg");
  background-position: center center;
  background-size: cover;
  padding: 0 0 20px;
}

.hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
}

.hero__text {
  width: 100%;
  text-align: center;
}

.hero__quote {
  margin: 0 0 9px;
  color: #afafaf;
  text-transform: lowercase;
}

.hero__author {
  margin: 0 0 16px;
  color: #444444;
}

/* ---------- Hauptbereich */
.site-main { padding: 0 20px; }

.site-main__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 70px; /* Spacer 50 px + Widget-Abstand 20 px */
}

.section-head {
  display: flex;
  flex-wrap: wrap;
}

.section-head__col {
  display: flex;
  align-items: flex-end;
  min-height: 1px;
  width: 50%;
}
.section-head__col--text,
.section-head__col--link { padding: 10px; }
.section-head__col > div { width: 100%; }

@media (max-width: 767px) {
  .section-head__col { width: 100%; }
}

.section-title {
  font-size: 20px;
  margin: 0 0 11px;
}

.section-sub {
  width: 200px;
  max-width: 200px;
  margin: 0 0 16px;
  color: #afafaf;
}

.section-more {
  margin: 0 0 16px;
  text-align: right;
  font-style: italic;
  color: #444444;
}
.section-more a { color: #0d0d0d; }

/* Beitragsraster */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 35px;
  margin: 0 0 20px;
}
/* Masonry-Zustand (ab 2 Spalten, per JS gesetzt wie im Original): Artikel werden nicht gestreckt,
   jede Spalte stapelt für sich (Feinkorrektur über margin-top je Artikel) */
.posts.is-masonry { align-items: flex-start; }
@media (max-width: 1024px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .posts { grid-template-columns: repeat(1, 1fr); }
}

.posts--selection { margin-bottom: 70px; } /* 20 + Spacer 30 + 20 */
.posts--journal   { margin-bottom: 90px; } /* 20 + Abschnittsabstand 70 */
.posts--film      { margin-bottom: 70px; } /* 20 + Spacer 50 */

.post {
  display: block;
  overflow: hidden;
  min-width: 0;
  word-break: break-word;
  margin: 0;
  padding: 0;
}

.post__thumb-link {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.post__thumb {
  position: relative;
  overflow: hidden;
}

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

.post__title {
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  color: #444444;
  text-transform: lowercase;
}
.post__title a { color: #444444; }

.post__meta {
  font-size: 12px;
  line-height: 1.3em;
  margin-bottom: 13px;
  color: #bababa;
  text-transform: lowercase;
}

/* ---------- Footer */
.footer-wrap { padding: 10px 10px 11px; }

.site-footer {
  background-color: #e5e5e5;
  padding: 50px 0;
}
@media (max-width: 1024px) {
  .site-footer { padding: 30px 25px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 30px 20px; }
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.footer-mail {
  margin: 0 0 28.1px; /* entspricht Original: 2 Absätze à 16,1 px + 16 px, -40 px Widget-Margin, +20 px Abstand */
  font-size: 14px;
  color: #afafaf;
  text-transform: lowercase;
}
.footer-mail span { text-decoration: underline; }
.footer-mail a { color: #0d0d0d; }

.social {
  margin: 0 0 20px;
  font-size: 0;
  text-align: center;
}

.social a {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  padding: 0;
  margin-right: 22px;
  border-radius: 10%;
  background-color: rgba(255, 255, 255, 0);
  color: #818a91;
  cursor: pointer;
  transition: all 0.5s;
}
.social a:last-child { margin-right: 0; }
.social a:hover { opacity: 0.9; color: #fff; }

.social i {
  display: block;
  position: relative;
  width: 1em;
  height: 1em;
  font: normal normal normal 16px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: rgba(0, 0, 0, 0.32);
}
.social i::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.social a:hover i { color: #00ce1b; }
.social .fa-facebook::before { content: "\f09a"; }
.social .fa-instagram::before { content: "\f16d"; }

.copyright {
  margin: 0;
  padding: 15px 0 0;
  font-size: 10px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.39);
  text-transform: lowercase;
}
@media (max-width: 767px) {
  .copyright { line-height: 25px; }
}

/* ==========================================================================
   Unterseiten (Archiv- und Beitragsseiten), Maße aus dem Original gemessen
   ========================================================================== */

/* Aktiver Menüpunkt */
.nav-main a.is-active { color: #262626; }
.nav-dropdown a.is-active { background-color: #55595c; color: #fff; }

/* Überschriften-Elemente, die die Optik der Original-Absätze übernehmen */
h1.brand, h2.section-title, h1.section-title { font-weight: 700; line-height: inherit; }

/* ---------- Archivseiten (35mm, travel, journal): Container ohne Seitenabstand */
.archive-main__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.section-head--archive { margin-top: 70px; }
.posts--archive { margin-bottom: 70px; } /* 20 + Spacer 50 */

/* ---------- Beitragsseiten */
.post-main {
  margin: 80px 0;
  padding: 0 20px;
}
/* Flex-Spalte wie Elementors Widget-Wrap: Außenabstände der Blöcke kollabieren nicht */
.post-main__inner {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  margin: 0 auto;
}
.post-head { margin: 20px 0 5px; } /* Widget-Innenabstand 20/-15 plus Widget-Abstand 20 */
.post-title {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: #444444;
  text-align: center;
  text-transform: lowercase;
}
@media (max-width: 767px) {
  .post-title { font-size: 33px; }
}

.post-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 20px;
}
.post-info li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: lowercase;
  word-break: break-word;
}
.post-info li > span {
  display: block;
  padding-left: 8px;
  color: #d8d8d8;
}
@media (max-width: 767px) {
  .post-info { margin-left: -7.5px; margin-right: -7.5px; }
  .post-info li { margin: 0 7.5px; line-height: 27px; }
}

.post-excerpt {
  margin: 0 0 20px;
  color: #afafaf;
  font-size: 16px;
  line-height: 1.8em;
  text-transform: lowercase;
}

.post-content {
  margin: 10px 0 20px;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  color: #444444;
}
.post-content__pad { padding: 10px; }
.post-content p { margin: 0 0 16px; }
.post-content h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}
.post-content strong { font-weight: 900; }
.post-content a { color: #0d0d0d; }
.post-content figure { margin: 0; }
.wp-block-image { max-width: 100%; }
.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-spacer { clear: both; }

/* WordPress-Galerieblock (Originalregeln aus der Block-Library, eine Spalte, beschnitten) */
.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0 0 16px;
  padding: 0;
}
.wp-block-gallery .blocks-gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  width: 100%;
  margin: 0 0 16px;
}
.wp-block-gallery .blocks-gallery-item figure {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 100%;
  margin: 0;
}
.wp-block-gallery .blocks-gallery-item img {
  display: block;
  flex: 1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.wp-block-gallery .blocks-gallery-item figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 40px 10px 5px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 60%, transparent);
}

/* Kategorien und Tags unter dem Beitrag */
.post-terms {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px 20px;
  padding: 0;
}
.post-terms li {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 0 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
  word-break: break-word;
}
.post-terms__icon {
  display: block;
  flex-shrink: 0;
  width: 14px;
}
.post-terms__icon i {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  color: #dbdbdb;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.post-terms__icon i::before { content: "\f02c"; }
.post-terms__text {
  display: inline-block;
  align-self: center;
  padding-left: 12px;
  color: #dbdbdb;
}
.post-terms__list { display: inline-block; }
.post-terms__list a,
.post-terms__list span { display: inline; color: #dbdbdb; }

.post-spacer { height: 200px; }
