/* ============================================
   GESAMTE SEITE AUF 1250px BREITE ZENTRIERT
   ============================================ */

.container-header,
.container-topbar,
.container-below-top,
.container-main,
.container-bottom,
.container-footer {
    max-width: 1250px !important;
    width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.body-innerdiv {
    max-width: 1250px; /* Hier deine gewünschte Maximalsbreite eintragen */
    margin: 0 auto;
}

/* ============================================
   Sidebar
   ============================================ */


@media (min-width: 992px) {
  /* Wenn beide Sidebars aktiv sind */
  .site-grid {
    grid-template-columns: [full-start] minmax(0, auto) [main-start] 15rem 1fr 15rem [main-end] minmax(0, auto) [full-end];
  }

  /* Wenn nur die linke Sidebar aktiv ist */
  .has-sidebar-left:not(.has-sidebar-right) .site-grid {
    grid-template-columns: [full-start] minmax(0, auto) [main-start] 15rem 1fr [main-end] minmax(0, auto) [full-end];
  }

  /* Wenn nur die rechte Sidebar aktiv ist */
  .has-sidebar-right:not(.has-sidebar-left) .site-grid {
    grid-template-columns: [full-start] minmax(0, auto) [main-start] 1fr 15rem [main-end] minmax(0, auto) [full-end];
  }
}

/* ============================================
   HINTERGRUND AUSSERHALB DES RAHMENS
   ============================================ */

body {
    background: #fff;
}

/* ============================================
   RAHMEN + SCHATTEN
   ============================================ */

/* Banner + Inhalt gleiche Breite */
.container-header,
.site-grid {
    max-width: 1250px;
    margin: 0 auto;
    background: #fff;
}

/* Oberer Teil des Rahmens (Banner) */
.container-header {
    border: 3px solid #888;
    border-bottom: none;
    margin-top: 20px;
    overflow: visible;          /* Menü darf herausragen */
    background: #FF4040;
}

/* Bannerbild sauber innerhalb des Rahmens halten */
.container-header img {
    display: block;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Unterer Teil des Rahmens (Inhalt + Footer) */
.site-grid {
    border: 3px solid #888;
    border-top: none;
    margin-bottom: 20px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.45); /* starker Schatten */
}






/* ============================================
   CASSIOPEIA GRID ZENTRIEREN
   ============================================ */

body.site > .site-grid,
.site-grid > main {
    max-width: 1250px !important;
    width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

/* ============================================
   HEADER- UND FOOTER-FARBEN
   ============================================ */

.container-header {
    background: #C1CDCD;
}

.container-footer {
    background: #C1CDCD;
    color: #ffffff;
}

/* ============================================
   MENÜ-SCHRIFT & HOVER
   ============================================ */

.container-header .mod-menu {
    font-size: 1.0rem;
    font-weight: bold;
    padding-top: 0px;
    padding-bottom: 0px;
    color: #696969;
}

/* Farbe bei Hover */
.container-header .mod-menu a:hover {
    color: #000000;
}

/* KEINE position/z-index-Manipulation am Menü!
   Cassiopeia regelt Positionierung selbst. */

/* ============================================
   TYPO & SEITENSTILE
   ============================================ */

/* ============================================
   ÜBERSCHRIFTEN
   ============================================ */

h1 {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
}

h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
}

h4 {
    font-size: 22px !important;
    font-weight: 700 !important;
}

h5 {
    font-size: 20px !important;
    font-weight: 700 !important;
}

h6 {
    font-size: 19px !important;
    font-weight: 700 !important;
}

.meta {
    color: #555;
    margin-bottom: 0px;
}

.controls {
    margin-top: 0px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
    display: inline-block;
}

.controls input {
    width: 60px;
    padding: 4px;
    margin-left: 20px;
}

.print-btn {
    margin-top: 10px;
    padding: 8px 14px;
    background: #ddd;
    border: 1px solid #aaa;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 20px;
}

.amount {
    font-weight: bold;
}

.auto-style1 {
    font-size: medium;
    margin-bottom: 0px;
}

.auto-style2 {
    color: #000000;
}



/* Listenpunkte entfernen */
ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
ul li::before {
    content: "";
}

.com-content-categories_item-title {
    font-weight: bold;
}



/* ============================================
   DRUCKANSICHT
   ============================================ */

@media print {
    .no-print,
    .no-print * {
        display: none !important;
        visibility: hidden !important;
    }

    header,
    .menu,
    .topbar,
    .mod-breadcrumbs,
    .breadcrumb,
    nav.breadcrumbs,
    #bottom-a,
    .bottom-a,
    .grid-child.bottom-a {
        display: none !important;
    }

    .item-page::before {
        content: "Cooking-Outdoor.de\A Dutch oven-, Pfannen- und Grillrezepte";
        white-space: pre;
        display: block;
        text-align: center;
        font-weight: 700;
        font-size: 38px;
        margin-bottom: 20px;
    }
}

/* ============================================
   FOOTER-MENÜ
   ============================================ */

#mod-menu111.mod-menu.nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

#mod-menu111.mod-menu.nav > li {
    list-style: none;
}

#mod-menu111.mod-menu.nav a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   RAHMEN UM DAS UNTERMENÜ (Cassiopeia LIST-MENÜ)
   ============================================ */

/* Der Untermenü-Container */
.mod-menu__sub {
    border: 2px solid #888;          /* Rahmen */
    background: #ffffff;             /* Hintergrund */
    padding: 5px 0;                  /* Innenabstand */
    margin-top: 0;                   /* direkt unter dem Hauptmenü */
    border-radius: 4px;              /* leichte Rundung */
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    position: absolute;              /* wichtig für Dropdown */
    z-index: 9999;                   /* über allem */
}

/* Untermenü-Einträge */
.mod-menu__sub .mod-menu__item {
    border-bottom: 1px solid #eee;
}

/* Letztes Element ohne Linie */
.mod-menu__sub .mod-menu__item:last-child {
    border-bottom: none;
}

/* Links im Untermenü */
.mod-menu__sub .mod-menu__link {
    display: block;
    padding: 6px 15px;
    color: #333;
    text-decoration: none;
}

/* Hover-Effekt */
.mod-menu__sub .mod-menu__link:hover {
    background: #f2f2f2;
    color: #000;
}


@media print {

    /* Cassiopeia komplett überschreiben */
    html, body {
        font-size: 18pt !important;
        line-height: 1.1 !important;
        background: transparent !important;
    }

    /* Normaler Text */
    p, li, td, span, div {
        font-size: 18pt !important;
        line-height: 1.1 !important;
        background: transparent !important;
    }

    /* Überschriften */
    h1 {
        font-size: 30pt !important;
        line-height: 1.2 !important;
        background: transparent !important;
    }
    h2 {
        font-size: 28pt !important;
        line-height: 1.2 !important;
        background: transparent !important;
    }
    h3 {
        font-size: 22pt !important;
        line-height: 1.2 !important;
        background: transparent !important;
    }

    /* Tabellen */
    table, table td, table th {
        font-size: 18pt !important;
        line-height: 1.1 !important;
        padding: 4px !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Zutatenliste */
    .ingredients td {
        font-size: 18pt !important;
        line-height: 1.1 !important;
        background: transparent !important;
    }

    /* Zubereitung */
    .steps li {
        font-size: 18pt !important;
        line-height: 1.1 !important;
        background: transparent !important;
    }

    /* ALLES ohne Rahmen, Schatten, Hintergründe */
    * {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Bilder ohne Rahmen/Schatten */
    img {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Joomla-Container neutralisieren */
    .container-component,
    .site-grid,
    .item-content,
    .content,
    .com-content-article {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
}
