/*
Theme Name:      Neve Child
Theme URI:       https://themeisle.com/themes/neve/
Template: neve
Author:          ThemeIsle
Author URI:      https://themeisle.com
Description:     Neve Child Theme mit angepassten Inhaltsbreiten: 850px für Text, 950px für Medien/Tabellen.
Version:         1.0.2
License:         GNU General Public License v2 or later
Text Domain:     neve
*/

/* --- 1. BREITERE ELEMENTE (950px) --- */
/* Betrifft Tabellen, FAQs und das Haupt-Beitragsbild */

@media (min-width: 1100px) {
  /* Hilfsklasse für manuelle Breite */
  .wide-850 {
    width: 950px !important;
    max-width: 100vw;
    margin-left: calc(50% - 475px) !important;
    margin-right: auto !important;
  }

  /* RankMath & FAQ Blöcke */
  .entry-content .rank-math-faq,
  .entry-content .schema-faq,
  .entry-content .rank-math-list {
    width: 950px !important;
    max-width: 100vw;
    margin-left: calc(50% - 475px) !important;
    margin-right: auto !important;
  }

  /* Tabellen im Content */
  .entry-content .wp-block-table,
  .entry-content .wp-block-table table,
  .entry-content table {
    width: 950px !important;
    max-width: 100vw;
    margin-left: calc(50% - 475px) !important;
    margin-right: auto !important;
    display: table;
  }

.single-post .nv-thumb-wrap img.wp-post-image,
.single-post .nv-thumb-wrap picture {
    width: 950px !important;
    max-width: 100vw;
    margin-left: calc(50% - 475px) !important;
    margin-right: auto !important;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.single-post .nv-thumb-wrap picture img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* --- 2. STANDARD CONTENT (850px) --- */
/* Betrifft Fließtext, Überschriften und Listen */

@media (min-width: 1100px) {
  .nv-page-title,
  .single-post .nv-title-meta-wrap,
  .entry-content > h2,
  .entry-content > h3,
  .entry-content > h4,
  .entry-content > h5,
  .entry-content > h6,	
  .entry-content > p,
  .entry-content > ul,
  .entry-content > ol,
	.cmpstyleroot {
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

/*@media (min-width: 1100px) {
  .nv-page-title,
  .single-post .nv-title-meta-wrap,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .entry-content p,
  .entry-content ul,
  .entry-content ol {
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
*/
  /* Sicherstellen, dass Text innerhalb der FAQ-Boxen die volle 950px Breite nutzt */
  .entry-content .rank-math-faq p,
  .entry-content .rank-math-faq ul,
  .entry-content .rank-math-faq ol,
  .entry-content .rank-math-list p {
    max-width: none !important;
  }
}