/* -------------------------------------------------------
 * Schaan Contented – Einzelne Blogbeiträge
 * ------------------------------------------------------- */

/* Grundlayout der Beitragsseite */
.single-post .site-content,
.single-post .content-area,
.single-post #primary,
.single-post .main-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px 70px;
}

/* Hauptinhalt optisch beruhigen */
.single-post article,
.single-post .post,
.single-post .blog-single,
.single-post .entry-content {
  color: #333;
}

/* Beitragstitel */
.single-post .entry-title,
.single-post h1.entry-title,
.single-post .post-title,
.single-post h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
  font-weight: 700;
  color: #111;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

/* Falls der Titel/Meta-Bereich zu nah am Header klebt */
.single-post .entry-header,
.single-post .post-header {
  margin-bottom: 34px;
}

/* Autorzeile und Metaangaben */
.single-post .entry-meta,
.single-post .post-meta,
.single-post .blog-meta,
.single-post .single-post-meta {
  font-size: 15px;
  line-height: 1.6;
  color: #777;
  margin-bottom: 38px;
}

/* Meta-Links */
.single-post .entry-meta a,
.single-post .post-meta a,
.single-post .blog-meta a {
  color: #5aaebe;
  text-decoration: none;
}

.single-post .entry-meta a:hover,
.single-post .post-meta a:hover,
.single-post .blog-meta a:hover {
  color: #111;
  text-decoration: underline;
}

/* Beitragstext */
.single-post .entry-content {
  font-size: 19px;
  line-height: 1.8;
  max-width: 820px;
}

/* Absätze */
.single-post .entry-content p {
  margin-bottom: 1.45em;
}

/* Zwischenüberschriften */
.single-post .entry-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  color: #111;
  margin: 2.2em 0 0.7em;
}

.single-post .entry-content h3 {
  font-size: 24px;
  line-height: 1.35;
  color: #111;
  margin: 2em 0 0.7em;
}

/* Listen schöner darstellen */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 1.6em 1.2em;
  padding-left: 1em;
}

.single-post .entry-content li {
  margin-bottom: 0.55em;
}

/* Links im Beitrag */
.single-post .entry-content a {
  color: #5aaebe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post .entry-content a:hover {
  color: #111;
}

/* Zitate passend zur Seite */
.single-post blockquote {
  border-left: 5px solid #5aaebe;
  background: #f4fbfc;
  padding: 24px 28px;
  margin: 36px 0;
  font-size: 21px;
  line-height: 1.65;
  color: #333;
}

/* Kategorien/Tags unter dem Beitrag */
.single-post .cat-links,
.single-post .tags-links,
.single-post .post-categories {
  font-size: 15px;
  color: #777;
}

.single-post .cat-links a,
.single-post .tags-links a,
.single-post .post-categories a {
  display: inline-block;
  background: #eef7f8;
  color: #267b8c;
  padding: 6px 12px;
  margin: 4px 4px 4px 0;
  border-radius: 999px;
  text-decoration: none;
}

.single-post .cat-links a:hover,
.single-post .tags-links a:hover,
.single-post .post-categories a:hover {
  background: #5aaebe;
  color: #fff;
}

/* Teilen-Bereich dezenter */
.single-post .share,
.single-post .post-share,
.single-post .share-post,
.single-post .social-share {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #e6e6e6;
  font-size: 15px;
  color: #777;
}

/* Kommentarbereich ausblenden, falls der Kunde keinen Blog-Dialog möchte */
.single-post #comments,
.single-post .comments-area {
  display: none;
}

/* Sidebar etwas schöner, falls vorhanden */
.single-post aside,
.single-post .sidebar,
.single-post #secondary {
  font-size: 16px;
  color: #555;
}

/* Sidebar-Überschriften eindeutiger */
.single-post aside h2,
.single-post aside h3,
.single-post .sidebar h2,
.single-post .sidebar h3,
.single-post #secondary h2,
.single-post #secondary h3 {
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
  margin-bottom: 16px;
}

/* Sidebar-Listen */
.single-post aside ul,
.single-post .sidebar ul,
.single-post #secondary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post aside li,
.single-post .sidebar li,
.single-post #secondary li {
  border-bottom: 1px solid #eee;
  padding: 9px 0;
}

/* Sidebar-Links */
.single-post aside a,
.single-post .sidebar a,
.single-post #secondary a {
  color: #555;
  text-decoration: none;
}

.single-post aside a:hover,
.single-post .sidebar a:hover,
.single-post #secondary a:hover {
  color: #5aaebe;
}

/* Suchfeld in der Sidebar */
.single-post input[type="search"],
.single-post .search-field {
  width: 100%;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 15px;
}

.single-post input[type="submit"],
.single-post .search-submit {
  background: #5aaebe;
  color: #fff;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
}

.single-post input[type="submit"]:hover,
.single-post .search-submit:hover {
  background: #111;
}

/* Mobile Optimierung */
@media (max-width: 767px) {
  .single-post .site-content,
  .single-post .content-area,
  .single-post #primary,
  .single-post .main-content {
    padding: 48px 20px 50px;
  }

  .single-post .entry-content {
    font-size: 17px;
    line-height: 1.75;
  }

  .single-post .entry-title,
  .single-post h1.entry-title,
  .single-post .post-title,
  .single-post h1 {
    font-size: 32px;
  }
}

/* -------------------------------------------------------
 * Schaan Contented – Sidebar auf Beitragsseiten korrigieren
 * ------------------------------------------------------- */

/* Sidebar-Widget-Überschriften */
.single-post #secondary h2,
.single-post #secondary h3,
.single-post .sidebar h2,
.single-post .sidebar h3,
.single-post aside h2,
.single-post aside h3 {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #111111 !important;
  margin: 0 0 16px 0 !important;
}

/* Beitragstitel in "Recent Posts" kleiner machen */
.single-post #secondary h4,
.single-post .sidebar h4,
.single-post aside h4,
.single-post #secondary h4 a,
.single-post .sidebar h4 a,
.single-post aside h4 a {
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #333333 !important;
  margin: 0 0 6px 0 !important;
  text-decoration: none !important;
}

/* Hover für Beitragslinks in der Sidebar */
.single-post #secondary h4 a:hover,
.single-post .sidebar h4 a:hover,
.single-post aside h4 a:hover {
  color: #5aaebe !important;
}

/* Sidebar allgemein etwas ruhiger */
.single-post #secondary,
.single-post .sidebar,
.single-post aside {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Listenabstände in Sidebar */
.single-post #secondary li,
.single-post .sidebar li,
.single-post aside li {
  padding: 8px 0 !important;
}

/* Content Views – Weiterlesen-Button an Schaan-Design anpassen */
.pt-cv-wrapper .pt-cv-readmore,
.pt-cv-wrapper .pt-cv-readmore.btn,
.pt-cv-wrapper .btn-success,
.pt-cv-wrapper a.btn-success {
  background-color: #5aaebe !important;
  border-color: #5aaebe !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  padding: 11px 24px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: none !important;
  transition: all 0.25s ease;
}

/* Hover-Zustand */
.pt-cv-wrapper .pt-cv-readmore:hover,
.pt-cv-wrapper .pt-cv-readmore.btn:hover,
.pt-cv-wrapper .btn-success:hover,
.pt-cv-wrapper a.btn-success:hover {
  background-color: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Fokus / Aktiv – damit Bootstrap nicht wieder grün dazwischenfunkt */
.pt-cv-wrapper .pt-cv-readmore:focus,
.pt-cv-wrapper .pt-cv-readmore:active,
.pt-cv-wrapper .btn-success:focus,
.pt-cv-wrapper .btn-success:active {
  background-color: #5aaebe !important;
  border-color: #5aaebe !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}