/* Praxis Kinderlunge - Anpassung Cassiopeia (Look der alten Seite, Template "minimalist") */
/* Schriften lokal (OFL), keine Google-Server */
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/comfortaa-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/comfortaa-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: 'Dosis'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/dosis-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/dosis-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; }

:root {
  --pk-red: #ff0000;
  --pk-pink: #d73c64;
  --pk-brown: #663d26;
  --pk-grey: #999999;
  --pk-text: #555555;
  --cassiopeia-color-primary: #d73c64;
  --cassiopeia-color-link: #d73c64;
  --cassiopeia-color-hover: #ff0000;
  --cassiopeia-font-family-body: Helvetica, Arial, sans-serif;
  --cassiopeia-font-family-headings: 'Dosis', Helvetica, Arial, sans-serif;
  --cassiopeia-font-weight-headings: 400;
}

body.site { color: var(--pk-text); font-family: Helvetica, Arial, sans-serif; font-size: 0.95rem; background: #fff; }
.site-grid { max-width: 980px; margin: 0 auto; }
a { color: var(--pk-pink); text-decoration: none; }
a:hover, a:focus { color: var(--pk-red); text-decoration: none; }

/* Kopf: nur Seitentitel, rot, Comfortaa */
.container-header { background: #fff; border-bottom: 0; }
.container-header .navbar-brand { justify-content: flex-end; width: 100%; }
.container-header .navbar-brand .site-title, .container-header .navbar-brand a { color: var(--pk-red); font-family: 'Comfortaa', cursive, sans-serif; font-size: 50px; font-weight: 400; line-height: 1.2; text-align: right; }
.container-header .navbar-brand .site-description { display: none; }
.container-header .grid-child.container-nav { display: none; }

/* Breadcrumb */
.container-header + .container-nav, .mod-breadcrumbs__wrapper { font-size: .8rem; }
.mod-breadcrumbs { background: transparent; padding: .25rem 0; }

/* Ueberschriften */
h1, .h1 { color: var(--pk-pink); font-family: 'Dosis', sans-serif; font-weight: 400; font-size: 1.9rem; }
h2, .h2 { color: var(--pk-brown); font-family: 'Dosis', sans-serif; font-weight: 400; font-size: 1.35rem; }
h3, .h3 { color: var(--pk-brown); font-family: 'Dosis', sans-serif; font-weight: 400; font-size: 1.15rem; }
.page-header h1, .page-header h2, .item-title, .blog-item .page-header { border-bottom: 1px dotted #ccc; padding-bottom: .4rem; }
.blog-item .page-header a { color: var(--pk-brown); }

/* Seitenspalten */
.container-sidebar-left, .container-sidebar-right { font-size: .85rem; }
.container-sidebar-left .card, .container-sidebar-right .card { border: 0; background: transparent; box-shadow: none; }
.container-sidebar-left .card-body, .container-sidebar-right .card-body { padding: .5rem 0; }
.container-sidebar-right h2, .container-sidebar-right h3 { font-size: 1rem; color: var(--pk-brown); }
.container-sidebar-right table td { padding: .1rem .5rem .1rem 0; }

/* Hauptmenue links (wie altes Template) */
.sidebar-left { font-family: 'Dosis', sans-serif; }
.sidebar-left ul.mod-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-left ul.mod-menu > li { margin: 0 0 .9rem 0; }
.sidebar-left ul.mod-menu > li > a, .sidebar-left ul.mod-menu > li > span { color: var(--pk-pink); font-size: 1rem; display: block; }
.sidebar-left ul.mod-menu > li.active > a, .sidebar-left ul.mod-menu > li.current > a, .sidebar-left a:hover { color: var(--pk-red); }
.sidebar-left ul.mod-menu ul.mod-menu__sub { list-style: circle; padding-left: 1rem; margin: .25rem 0 0 0; }
.sidebar-left ul.mod-menu ul.mod-menu__sub li { margin: 0; }
.sidebar-left ul.mod-menu ul.mod-menu__sub a { color: var(--pk-pink); font-size: .85rem; }
.sidebar-left ul.mod-menu ul.mod-menu__sub li.active > a { color: var(--pk-red); }

/* Inhalte */
.com-content-article__body img, .blog-item img, .item-content img { max-width: 100%; height: auto; }
.com-content-article__body img[align="right"], .blog-item img[align="right"] { float: right; margin: 0 0 1rem 1.5rem; max-width: 45%; }
.blog-item .item-image { float: left; margin: 0 1.5rem 1rem 0; max-width: 40%; }
.blog-item .item-image img { max-width: 100%; height: auto; }
.blog-items .blog-item { clear: both; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px dotted #ddd; }
.com-content-category-blog__navigation, .pagination { clear: both; }
.article-info, .com-content-article__body .article-info { display: none; }
.pager, .com-content-article .pagenavigation { clear: both; margin-top: 1.5rem; }

/* Slider (Ersatz fuer Huge-IT Slider) */
.pk-slider { position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 375; margin: 1rem auto 1.5rem; overflow: hidden; background: #fff; border-bottom: 1px dotted #ddd; }
.pk-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.2s ease-in-out; }
.pk-slider:not(.is-js) img:first-child, .pk-slider img.is-active { opacity: 1; }
.pk-slider__dots { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; z-index: 2; }
.pk-slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #000; opacity: .5; margin: 0 5px; padding: 0; cursor: pointer; }
.pk-slider__dots button.is-active { background: #fff; opacity: 1; box-shadow: 0 0 2px #000; }

/* Karte */
.pk-map { width: 100%; max-width: 100%; margin: 1rem auto; }
.pk-map iframe { width: 100%; height: 400px; border: 1px solid #ccc; border-radius: 4px; display: block; }

/* Fusszeile */
.container-footer { background: #fff; color: var(--pk-grey); font-size: .8rem; }
.container-footer .footer { padding: 1rem 0; }
.container-footer a { color: var(--pk-grey); }
.back-to-top-link { background: var(--pk-pink); }

@media (max-width: 768px) {
  .container-header .navbar-brand .site-title, .container-header .navbar-brand a { font-size: 32px; text-align: left; }
  .container-header .navbar-brand { justify-content: flex-start; }
  .com-content-article__body img[align="right"] { float: none; max-width: 100%; margin: 0 0 1rem 0; }
}

/* Korrekturen nach Sichtpruefung */
.container-header .grid-child { justify-content: flex-end; }
.container-header .navbar-brand { margin: 0; padding: .5rem 0; }
.sidebar-left .mod-menu__toggle-sub { display: none !important; }
.sidebar-left ul.mod-menu ul.mod-menu__sub, .sidebar-left ul.mod-menu ul.mod-menu__sub[aria-hidden="true"] { display: block !important; height: auto !important; visibility: visible !important; }
.sidebar-left ul.mod-menu > li.parent > a { margin-bottom: .2rem; }
.com-content-category__children h3 { font-size: 1rem; margin-bottom: .5rem; }
.pk-slider { min-height: 200px; }
