@charset "UTF-8";
/*!
 * Reisepfade tweaks (source of truth).
 * Edit this file, then: npm run build
 * Output: assets/dn-css/rp-tweaks.css — do not edit the CSS by hand.
 */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

/*
 * Legacy ColorMag archive uses content-box + width:97% + 30–50px padding,
 * which makes #page wider than the viewport on tablet/mobile.
 */
#page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1102px;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

@media screen and (max-width: 1190px) {
  #page {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  #page {
    padding: 0 16px 0;
  }
}
@media screen and (max-width: 880px) {
  #page {
    padding: 0 16px 0;
  }
}
/* Keep header banner media inside the page shell.
   Do NOT overflow:hidden on #cm-masthead — it clips the mobile dropdown. */
#cm-masthead {
  max-width: 100%;
  overflow: visible;
}

.wp-custom-header,
.header-image-wrap {
  max-width: 100%;
  overflow: hidden;
}

.header-image,
#page img,
#page iframe,
#page video,
#page .wp-post-image,
.cm-featured-image img,
.entry-content img,
.cm-entry-summary img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cm-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

#cm-content {
  flex: 1 0 auto;
  max-width: 100%;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* ------------------------------------------------------------------
   Footer / copyright — even padding, readable size, full width
   ------------------------------------------------------------------ */
#cm-footer.cm-footer-builder {
  margin: 0;
  width: 100%;
}

.cm-footer-builder .cm-footer-bottom-row {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 0;
  background-color: #27272a;
  color: #e4e4e7;
}

.cm-footer-builder .cm-footer-bottom-row .cm-container {
  padding-left: 0;
  padding-right: 0;
}

.cm-footer-builder .cm-footer-bottom-row .cm-bottom-row {
  display: block !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  min-height: 0;
  align-items: unset;
}

.cm-footer-builder .cm-footer-bottom-row .cm-footer-bottom-2-col {
  display: none !important;
}

.cm-footer-builder .cm-footer-bottom-row .cm-footer-col,
.cm-footer-builder .cm-footer-bottom-row .cm-footer-bottom-1-col {
  display: block !important;
  flex-direction: unset;
  flex-wrap: unset;
  gap: 0;
  min-height: 0;
}

.cm-footer-builder .cm-footer-bottom-row .cm-copyright {
  font-size: 13px;
  line-height: 1.4;
  color: #d4d4d8;
}

.cm-footer-builder .cm-footer-bottom-row .cm-copyright p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4;
}

.cm-footer-builder .cm-footer-bottom-row .cm-copyright a {
  color: #fff;
  text-decoration: none;
}

.cm-footer-builder .cm-footer-bottom-row .cm-copyright a:hover,
.cm-footer-builder .cm-footer-bottom-row .cm-copyright a:focus {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 768px) {
  .cm-footer.cm-footer-builder .cm-footer-bottom-row {
    padding: 12px 0 !important;
  }
  .cm-footer-builder .cm-footer-bottom-row .cm-copyright {
    font-size: 12px;
  }
}
.cm-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.15em;
  margin-right: 0.25em;
}

.cm-reading-time {
  margin-left: 0.35rem;
  color: #777;
}

.cm-entry-summary .cm-entry-button {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Keep ColorMag archive grid: first post full-width, then 2 columns */
.cm-posts.cm-layout-2-style-1 {
  display: grid;
  gap: 24px;
}

.cm-entry-summary,
.entry-content {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.cm-entry-summary img,
.entry-content img,
.cm-featured-image img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------
   News cards only (archive grid) — do NOT style single/page articles
   ------------------------------------------------------------------ */
.cm-posts.cm-layout-2-style-1 .post {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.cm-posts.cm-layout-2-style-1 .post .cm-featured-image a {
  overflow: hidden;
}

.cm-posts.cm-layout-2-style-1 .post .cm-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.cm-posts.cm-layout-2-style-1 .post .cm-featured-image .card-thumb-fallback,
.cm-posts.cm-layout-2-style-1 .post .cm-featured-image .cm-featured-image__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16/10;
  background: #1a1a1a;
  box-sizing: border-box;
  padding: 1.5rem;
}

.cm-posts.cm-layout-2-style-1 .post .cm-featured-image .card-thumb-fallback__img {
  display: block;
  width: 96px;
  height: 96px;
  max-width: 40%;
  max-height: 55%;
  aspect-ratio: 1/1;
  object-fit: contain;
  image-rendering: auto;
}

.cm-post-content,
.cm-posts.cm-layout-2-style-1 .post .cm-post-content {
  padding: 10px;
}

.cm-posts.cm-layout-2-style-1 .post .cm-post-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

@media screen and (max-width: 1024px) {
  .cm-post-content,
  .single .cm-post-content {
    padding: 0;
  }
  .cm-posts.cm-layout-2-style-1 .post .cm-post-content {
    padding: 10px;
  }
}
.cm-posts.cm-layout-2-style-1 .post .cm-entry-header-meta {
  margin-bottom: 8px;
}

.cm-posts.cm-layout-2-style-1 .post .cm-post-categories a {
  padding: 4px 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta {
  gap: 6px 12px;
  margin-bottom: 8px;
}

.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-author,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-post-views,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-tag-links,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-comments-link,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-post-date,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-reading-time,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-post-date a,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-author a,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-tag-links a,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta .cm-comments-link a,
.cm-posts.cm-layout-2-style-1 .post .cm-below-entry-meta time {
  font-size: 14px;
  line-height: 1.4;
  color: #71717a;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-header {
  margin: 0;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-title a {
  color: #27272a;
  text-decoration: none;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-title a:hover,
.cm-posts.cm-layout-2-style-1 .post .cm-entry-title a:focus {
  color: #404F33;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-summary {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin-top: 0;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-summary p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #5c5c5c;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-summary .cm-entry-button {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-start;
  flex: 0 0 auto;
  height: auto !important;
  min-height: 0;
  line-height: 1;
  background: transparent !important;
  background-color: transparent !important;
}

.cm-posts.cm-layout-2-style-1 .post .cm-entry-button span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  background-color: #404F33;
  border-radius: 2px;
}

.cm-posts.cm-layout-2-style-1 .post:first-child .cm-entry-title {
  font-size: 22px;
  line-height: 1.3;
}

.cm-posts.cm-layout-2-style-1 .post:first-child .cm-entry-summary p {
  font-size: 15px;
  max-width: 42rem;
}

@media screen and (max-width: 47.9375em) {
  .cm-posts.cm-layout-2-style-1 .post .cm-entry-title {
    font-size: 17px;
  }
  .cm-posts.cm-layout-2-style-1 .post:first-child .cm-entry-title {
    font-size: 19px;
  }
}
/* ------------------------------------------------------------------
   Article / page body — unified type (p / li / a) + stronger headings
   ------------------------------------------------------------------ */
.entry-content,
.cm-entry-summary.entry-content {
  font-size: 16px;
  line-height: 1.65;
  color: #3f3f46;
}

.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content a,
.cm-entry-summary.entry-content p,
.cm-entry-summary.entry-content li,
.cm-entry-summary.entry-content a {
  font-size: 16px;
  line-height: 1.65;
}

.entry-content p,
.cm-entry-summary.entry-content p {
  margin: 0 0 1.1em;
  color: #3f3f46;
}

.entry-content a,
.cm-entry-summary.entry-content a {
  color: #404F33;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.entry-content a:hover,
.cm-entry-summary.entry-content a:hover {
  color: #2f3a26;
}

.entry-content ul,
.entry-content ol,
.cm-entry-summary.entry-content ul,
.cm-entry-summary.entry-content ol,
.cm-entry-summary ul,
.cm-entry-summary ol {
  margin: 0 0 1.25em;
  padding: 0 0 0 1.25em;
  font-size: 16px;
  line-height: 1.65;
  list-style-position: outside;
}

.entry-content li,
.cm-entry-summary.entry-content li,
.cm-entry-summary li {
  margin: 0 0 0.4em;
  padding: 0;
  padding-left: 0;
}

.single .cm-entry-header .cm-entry-title,
.entry-content h1,
.cm-entry-summary.entry-content h1 {
  margin: 0 0 0.7em;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #27272a;
}

/* Hub / archive page title — same scale as aside widget titles */
.cm-page-header {
  display: flex;
  margin: 0 0 10px;
  border-bottom: 2px solid #404F33;
}

.cm-page-header .cm-page-title {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.cm-page-header .cm-page-title span {
  display: inline-block;
  margin: 0;
  padding: 3px 10px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: none;
  color: #fff;
  background-color: #404F33;
  border-radius: 2px 2px 0 0;
}

.entry-content h2,
.cm-entry-summary.entry-content h2 {
  margin: 1.45em 0 0.55em;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #27272a;
}

.entry-content h3,
.cm-entry-summary.entry-content h3 {
  margin: 1.3em 0 0.45em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #27272a;
}

.entry-content h4,
.cm-entry-summary.entry-content h4 {
  margin: 1.2em 0 0.4em;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #27272a;
}

.single .cm-post-categories a,
.single-post .cm-post-categories a {
  padding: 4px 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.single article > .cm-featured-image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 1.1em;
  padding: 0;
  text-align: center;
}

.single article > .cm-featured-image img,
.single article > .cm-featured-image .wp-post-image {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.single .cm-post-content {
  box-sizing: border-box;
  padding: 10px;
}

.single .cm-post-content .cm-below-entry-meta,
.single .cm-post-content .cm-below-entry-meta a,
.single .cm-post-content .cm-below-entry-meta span,
.single .cm-post-content .cm-below-entry-meta time,
.single .cm-post-content .cm-below-entry-meta .cm-post-date,
.single .cm-post-content .cm-below-entry-meta .cm-author,
.single .cm-post-content .cm-below-entry-meta .cm-reading-time,
.single .cm-post-content .cm-below-entry-meta .cm-tag-links {
  font-size: 14px;
  line-height: 1.4;
  color: #71717a;
}

.single .cm-post-content .cm-below-entry-meta svg {
  width: 14px;
  height: 14px;
}

@media screen and (max-width: 47.9375em) {
  .single .cm-entry-header .cm-entry-title,
  .entry-content h1,
  .cm-entry-summary.entry-content h1 {
    font-size: 24px;
  }
  .entry-content h2,
  .cm-entry-summary.entry-content h2 {
    font-size: 20px;
  }
}
/* ------------------------------------------------------------------
   Sidebar — readable type (px, same rem-base issue as cards)
   ------------------------------------------------------------------ */
.cm-secondary .widget {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.45;
}

.cm-secondary .cm-widget-title {
  margin-bottom: 10px;
}

.cm-secondary .cm-widget-title span {
  padding: 3px 10px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: none;
}

.cm-secondary .widget p,
.cm-secondary .widget .textwidget,
.cm-secondary .widget ul,
.cm-secondary .widget li,
.cm-secondary .widget a {
  font-size: 14px;
  line-height: 1.45;
}

.cm-secondary .widget ul {
  margin: 0;
  padding: 0;
}

.cm-secondary .widget ul li {
  padding: 5px 0;
  line-height: 1.4;
  border-bottom: 1px solid #eee;
}

.cm-secondary .widget ul li:last-child {
  border-bottom: 0;
}

.cm-secondary .widget a {
  color: #3f3f46;
  text-decoration: none;
}

.cm-secondary .widget a:hover,
.cm-secondary .widget a:focus {
  color: #404F33;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Override legacy float layout that misaligns category items */
.cm-secondary .widget_categories ul,
.cm-secondary .widget_categories ul li,
.widget_categories ul,
.widget_categories ul li {
  float: none;
  clear: none;
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.cm-secondary .widget_categories ul {
  display: block;
  overflow: hidden;
}

.cm-secondary .widget_categories .cat-item {
  float: none !important;
  display: block;
  width: 100%;
  margin: 0;
  padding: 5px 0;
  line-height: 1.4;
  border-bottom: 1px solid #eee;
}

.cm-secondary .widget_categories .cat-item:last-child {
  border-bottom: 0;
}

.cm-secondary .widget_categories .cat-item a {
  display: inline;
  font-weight: 500;
  vertical-align: baseline;
}

.rp-category-content,
.rp-hub-intro,
.taxonomy-description {
  margin: 0 0 1.5rem;
  max-width: 46rem;
  line-height: 1.55;
  color: #444;
}

.rp-category-content p:last-child,
.taxonomy-description p:last-child {
  margin-bottom: 0;
}

/* Pagination / empty state: full row under the card grid */
.cm-posts > .cm-pagination,
.cm-posts > .navigation.pagination,
.cm-posts > .rp-empty {
  grid-column: 1/-1;
}

.cm-pagination,
.navigation.pagination {
  margin: 0.5rem 0 0;
  text-align: center;
}

.cm-pagination .nav-links,
.navigation.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cm-pagination a,
.cm-pagination span,
.navigation.pagination a,
.navigation.pagination span {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid #ddd;
  text-decoration: none;
}

.cm-pagination .current,
.navigation.pagination .current {
  background: #232323;
  color: #fff;
  border-color: #232323;
}

.rp-hub-desc {
  margin: 0 0 1.5rem;
  max-width: 46rem;
  line-height: 1.55;
  color: #444;
}

.rp-empty {
  padding: 1.5rem 0;
  color: #666;
}

/* Primary nav — keep white text on hover (theme sets a:hover #777 !important) */
.cm-primary-nav a,
.cm-primary-nav a:hover,
.cm-primary-nav a:focus,
.cm-primary-nav a:active,
.cm-primary-nav ul li:hover > a,
.cm-primary-nav ul li.focus > a,
.cm-primary-nav ul li.current-menu-item > a,
.cm-primary-nav ul li.current_page_item > a,
.cm-mobile-nav a,
.cm-mobile-nav a:hover,
.cm-mobile-nav a:focus,
.cm-mobile-nav li a:hover {
  color: #fff !important;
}

/* Mobile menu — open state (nav.js toggles .is-open on container) */
.cm-header-builder .cm-mobile-row .cm-header-bottom-row,
.cm-header-builder .cm-mobile-row .cm-bottom-row {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.cm-mobile-nav-container .cm-mobile-nav > ul.menu {
  display: none;
}

.cm-mobile-nav-container.is-open .cm-mobile-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  overflow: visible;
}

.cm-mobile-nav-container.is-open .cm-mobile-nav > ul.menu {
  display: block;
  position: static;
  width: 100%;
  margin: 0;
  background: #27272a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cm-mobile-nav-container.is-open .cm-mobile-nav li {
  background-color: #27272a;
}

.cm-mobile-nav-container.is-open .cm-mobile-nav a {
  color: #fff;
}

body.cm-mobile-menu-open {
  overflow-x: clip;
  overflow-y: auto;
}