@import url("https://fast.fonts.net/t/1.css?apiType=css&projectid=247d8766-9b1c-4c03-9fe7-01e9fcb14e5e");
:root,
[data-bs-theme=light] {
  --ar-primary: #c76a2b;
  --ar-primary-rgb: 199, 106, 43;
  --bs-primary: #c76a2b;
  --bs-primary-rgb: 199, 106, 43;
  --ar-secondary: #ffe6cd;
  --ar-secondary-rgb: 255, 230, 205;
  --bs-secondary: #ffe6cd;
  --bs-secondary-rgb: 255, 230, 205;
  --ar-warning: #edcb50;
  --ar-warning-rgb: 237, 203, 80;
  --bs-warning: #edcb50;
  --bs-warning-rgb: 237, 203, 80;
  --ar-info: #3f7fca;
  --ar-info-rgb: 63, 127, 202;
  --bs-info: #3f7fca;
  --bs-info-rgb: 63, 127, 202;
  --ar-success: #3fca90;
  --ar-success-rgb: 63, 202, 144;
  --bs-success: #3fca90;
  --bs-success-rgb: 63, 202, 144;
  --ar-danger: #ed5050;
  --ar-danger-rgb: 237, 80, 80;
  --bs-danger: #ed5050;
  --bs-danger-rgb: 237, 80, 80;
  --ar-light: #ffffff;
  --ar-light-rgb: 255, 255, 255;
  --bs-light: #ffffff;
  --bs-light-rgb: 255, 255, 255;
  --ar-dark: #21252b;
  --ar-dark-rgb: 33, 37, 43;
  --bs-dark: #21252b;
  --bs-dark-rgb: 33, 37, 43;
  --ar-link-color: #c76a2b;
  --ar-link-hover-color: #ae5112;
  --bs-link-color: #c76a2b;
  --bs-link-color-rgb: 199, 106, 43;
  --bs-link-hover-color: #ae5112;
  --ar-body-font-family: 'Myriad W05 Light SemiCondensed', Arial, sans-serif;
  --ar-heading-font-family: 'Myriad W05 Light SemiCondensed', Arial, sans-serif;
  --ar-root-font-size: 1rem;
  --ar-body-font-size: 1.125rem;
  --ar-border-width: 1px;
  --ar-border-radius: 0.1875rem;
  --ar-border-radius-sm: calc(var(--ar-border-radius) * 1);
  --ar-border-radius-lg: calc(var(--ar-border-radius) * 1);
  --ar-border-radius-xl: calc(var(--ar-border-radius) * 1);
  --ar-border-radius-xxl: calc(var(--ar-border-radius) * 1);
}
[data-bs-theme=light] {
  --ar-body-bg: #ffffff;
  --bs-body-bg: #ffffff;
  --ar-body-bg-rgb: 255, 255, 255;
  --bs-body-bg-rgb: 255, 255, 255;
  --ar-body-color: #666e70;
  --bs-body-color: #666e70;
  --ar-body-color-rgb: 102, 110, 112;
  --bs-body-color-rgb: 102, 110, 112;
  --ar-secondary-color: #858c97;
  --bs-secondary-color: #858c97;
  --ar-heading-color: #c76a2b;
  --bs-heading-color: #c76a2b;
  --ar-border-color: #e3e9ef;
  --bs-border-color: #e3e9ef;
}
[data-bs-theme=light] .card {
  --ar-card-bg: #ffffff;
}
.btn-primary {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #c76a2b;
  --ar-btn-border-color: #c76a2b;
  --ar-btn-hover-bg: #ae5112;
  --ar-btn-hover-border-color: #ae5112;
  --ar-btn-active-bg: #ae5112;
  --ar-btn-active-border-color: #ae5112;
  --ar-btn-disabled-bg: #c76a2b;
  --ar-btn-disabled-border-color: #c76a2b;
}
.btn-outline-primary {
  --ar-btn-color: #c76a2b;
  --ar-btn-border-color: #c76a2b;
  --ar-btn-hover-bg: #c76a2b;
  --ar-btn-hover-border-color: #c76a2b;
  --ar-btn-active-bg: #c76a2b;
  --ar-btn-active-border-color: #c76a2b;
  --ar-btn-disabled-color: #c76a2b;
  --ar-btn-disabled-border-color: #c76a2b;
}
.btn-secondary {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #ffe6cd;
  --ar-btn-border-color: #ffe6cd;
  --ar-btn-hover-bg: #e6cdb4;
  --ar-btn-hover-border-color: #e6cdb4;
  --ar-btn-active-bg: #e6cdb4;
  --ar-btn-active-border-color: #e6cdb4;
  --ar-btn-disabled-bg: #ffe6cd;
  --ar-btn-disabled-border-color: #ffe6cd;
}
.btn-outline-secondary {
  --ar-btn-color: #ffe6cd;
  --ar-btn-border-color: #ffe6cd;
  --ar-btn-hover-bg: #ffe6cd;
  --ar-btn-hover-border-color: #ffe6cd;
  --ar-btn-active-bg: #ffe6cd;
  --ar-btn-active-border-color: #ffe6cd;
  --ar-btn-disabled-color: #ffe6cd;
  --ar-btn-disabled-border-color: #ffe6cd;
}
.btn-warning {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #edcb50;
  --ar-btn-border-color: #edcb50;
  --ar-btn-hover-bg: #d4b237;
  --ar-btn-hover-border-color: #d4b237;
  --ar-btn-active-bg: #d4b237;
  --ar-btn-active-border-color: #d4b237;
  --ar-btn-disabled-bg: #edcb50;
  --ar-btn-disabled-border-color: #edcb50;
}
.btn-outline-warning {
  --ar-btn-color: #edcb50;
  --ar-btn-border-color: #edcb50;
  --ar-btn-hover-bg: #edcb50;
  --ar-btn-hover-border-color: #edcb50;
  --ar-btn-active-bg: #edcb50;
  --ar-btn-active-border-color: #edcb50;
  --ar-btn-disabled-color: #edcb50;
  --ar-btn-disabled-border-color: #edcb50;
}
.btn-info {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #3f7fca;
  --ar-btn-border-color: #3f7fca;
  --ar-btn-hover-bg: #2666b1;
  --ar-btn-hover-border-color: #2666b1;
  --ar-btn-active-bg: #2666b1;
  --ar-btn-active-border-color: #2666b1;
  --ar-btn-disabled-bg: #3f7fca;
  --ar-btn-disabled-border-color: #3f7fca;
}
.btn-outline-info {
  --ar-btn-color: #3f7fca;
  --ar-btn-border-color: #3f7fca;
  --ar-btn-hover-bg: #3f7fca;
  --ar-btn-hover-border-color: #3f7fca;
  --ar-btn-active-bg: #3f7fca;
  --ar-btn-active-border-color: #3f7fca;
  --ar-btn-disabled-color: #3f7fca;
  --ar-btn-disabled-border-color: #3f7fca;
}
.btn-success {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #3fca90;
  --ar-btn-border-color: #3fca90;
  --ar-btn-hover-bg: #26b177;
  --ar-btn-hover-border-color: #26b177;
  --ar-btn-active-bg: #26b177;
  --ar-btn-active-border-color: #26b177;
  --ar-btn-disabled-bg: #3fca90;
  --ar-btn-disabled-border-color: #3fca90;
}
.btn-outline-success {
  --ar-btn-color: #3fca90;
  --ar-btn-border-color: #3fca90;
  --ar-btn-hover-bg: #3fca90;
  --ar-btn-hover-border-color: #3fca90;
  --ar-btn-active-bg: #3fca90;
  --ar-btn-active-border-color: #3fca90;
  --ar-btn-disabled-color: #3fca90;
  --ar-btn-disabled-border-color: #3fca90;
}
.btn-danger {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #ed5050;
  --ar-btn-border-color: #ed5050;
  --ar-btn-hover-bg: #d43737;
  --ar-btn-hover-border-color: #d43737;
  --ar-btn-active-bg: #d43737;
  --ar-btn-active-border-color: #d43737;
  --ar-btn-disabled-bg: #ed5050;
  --ar-btn-disabled-border-color: #ed5050;
}
.btn-outline-danger {
  --ar-btn-color: #ed5050;
  --ar-btn-border-color: #ed5050;
  --ar-btn-hover-bg: #ed5050;
  --ar-btn-hover-border-color: #ed5050;
  --ar-btn-active-bg: #ed5050;
  --ar-btn-active-border-color: #ed5050;
  --ar-btn-disabled-color: #ed5050;
  --ar-btn-disabled-border-color: #ed5050;
}
.btn-light {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #ffffff;
  --ar-btn-border-color: #ffffff;
  --ar-btn-hover-bg: #e6e6e6;
  --ar-btn-hover-border-color: #e6e6e6;
  --ar-btn-active-bg: #e6e6e6;
  --ar-btn-active-border-color: #e6e6e6;
  --ar-btn-disabled-bg: #ffffff;
  --ar-btn-disabled-border-color: #ffffff;
}
.btn-outline-light {
  --ar-btn-color: #ffffff;
  --ar-btn-border-color: #ffffff;
  --ar-btn-hover-bg: #ffffff;
  --ar-btn-hover-border-color: #ffffff;
  --ar-btn-active-bg: #ffffff;
  --ar-btn-active-border-color: #ffffff;
  --ar-btn-disabled-color: #ffffff;
  --ar-btn-disabled-border-color: #ffffff;
}
.btn-dark {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #21252b;
  --ar-btn-border-color: #21252b;
  --ar-btn-hover-bg: #080c12;
  --ar-btn-hover-border-color: #080c12;
  --ar-btn-active-bg: #080c12;
  --ar-btn-active-border-color: #080c12;
  --ar-btn-disabled-bg: #21252b;
  --ar-btn-disabled-border-color: #21252b;
}
.btn-outline-dark {
  --ar-btn-color: #21252b;
  --ar-btn-border-color: #21252b;
  --ar-btn-hover-bg: #21252b;
  --ar-btn-hover-border-color: #21252b;
  --ar-btn-active-bg: #21252b;
  --ar-btn-active-border-color: #21252b;
  --ar-btn-disabled-color: #21252b;
  --ar-btn-disabled-border-color: #21252b;
}
.accordion-button:not(.collapsed)::after {
  --ar-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23c76a2b'%3e%3cpath%20d='M.5%206.3c.6-.6%201.6-.6%202.3%200l9.3%209.3%209.3-9.3c.6-.6%201.6-.6%202.3%200%20.6.6.6%201.6%200%202.3L13.3%2018.8c-.6.6-1.6.6-2.3%200L.8%208.5c-.9-.8-.9-1.6-.3-2.2z'/%3e%3c/svg%3e");
}

/* Hausschrift wie live (2026-11-11): Myriad W05 SemiCondensed, selbst gehostetes Fonts.com-Paket
   (Monotype), Dateien unverändert aus dem alten Theme in /media/fonts, gleiche Familiennamen und
   @font-face ohne weight wie live (Überschriften 600 = synthetisch fett wie live). Das @import ist
   der Seitenaufruf-Zähler der Lizenz wie im alten Theme und muss erste Zeile bleiben
   (Consent-Dienst monotype_fonts). theme_font_url/theme_heading_font_url = custom. */
@font-face { font-family: "Myriad W05 Light SemiCondensed"; font-display: swap;
  src: url("/rath-gyn/media/fonts/78a8e2ff-08bc-40b4-a64d-e05b38434edb.woff2") format("woff2"), url("/rath-gyn/media/fonts/aa357381-7266-4b35-88e6-88bfbf9a7e8f.woff") format("woff"); }
@font-face { font-family: "Myriad W05 SemiCondensed"; font-display: swap;
  src: url("/rath-gyn/media/fonts/cac8140c-afbc-4e88-97a7-35dfda767278.woff2") format("woff2"), url("/rath-gyn/media/fonts/ed026784-7730-4444-88fe-096eb7d1ad46.woff") format("woff"); }
@font-face { font-family: "Myriad W05 Semibold SemiCond"; font-display: swap;
  src: url("/rath-gyn/media/fonts/a16e640a-908a-45e1-9e62-d24dc26c2ac5.woff2") format("woff2"), url("/rath-gyn/media/fonts/9a0e5a83-6cb1-41f3-8673-dc6d5cef93b3.woff") format("woff"); }
@font-face { font-family: "Myriad W05 Bold SemiCondensed"; font-display: swap;
  src: url("/rath-gyn/media/fonts/a00fc697-8117-4c07-af7c-8cf17bf50e1c.woff2") format("woff2"), url("/rath-gyn/media/fonts/27671818-16ed-48c4-99d1-66a5f57841c1.woff") format("woff"); }

/* rath-gyn custom CSS (= booost.theme_custom_css; keep byte-identical, push_css.py --check).
   Only what classes/registry cannot do. Colours identical to live (brief-52);
   light-only values scoped to [data-bs-theme=light] so dark mode keeps working. */

/* text rendering as live (2026-11-11): the legacy theme leaves font smoothing on auto, booost sets
   antialiased on html * - macOS then draws the light house font thinner than live */
html body, html body * { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }

/* running text: line-height like live */
body { line-height: 25.6px; }
/* semibold cut where live uses it: buttons, open accordion entry, footer headings */
.btn, .rg-accordion .accordion-button:not(.collapsed), .rg-footer :is(h2, h3, h4, .h5, .h6) { font-family: "Myriad W05 Semibold SemiCond", Arial, sans-serif; }

/* content width 1040 px like live (container 1064 incl. 2 x 12 px gutter) */
.container { max-width: 1064px; }

/* headings: uppercase, letter-spacing 1px, brand colour, Myriad Light at weight 600 like live */
#content h1, #content h2, #content h3 { text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
#content h1 { font-size: 36px; line-height: 1.2; }
#content h2 { font-size: 30px; line-height: 1.3; }
#content h3 { font-size: 26px; line-height: 1.2; }
/* 50 x 1 px rule under the section headings (live pi-has-short-border) */
.rg-heading .tile-heading::after {
  content: ""; display: block; width: 50px; height: 1px; margin: 25px auto 0; background: var(--ar-primary);
}

/* heading rows: heading 60 px below the band/hero, box 131 px below the heading top (live, 2026-11-11) */
.rg-head-row { padding-top: 60px !important; padding-bottom: 62px; }
.rg-heading .tile-header, .rg-heading .tile-heading.h1 { margin-bottom: 0; }
.rg-accordion-row .tile-heading { margin-bottom: 59px !important; }
.rg-accordion-row { padding-bottom: 60px !important; }
.rg-carousel-row { padding-bottom: 88px !important; }

/* bold in running text: brand colour, weight 500 (live typo.less) */
#content strong, #content b { color: var(--ar-primary); font-weight: 500; }

/* peach boxes #ffe6cd (.bg-secondary does not follow theme_secondary, findings C) */
.rg-peach { max-width: 1040px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
[data-bs-theme=light] .rg-peach { background-color: #ffe6cd; }
/* box columns like live from lg: 30 px inset, text 460 wide at x 230 (same line breaks as live) */
@media (min-width: 992px) {
  .rg-peach.px-2 { padding-left: 0 !important; padding-right: 0 !important; }
  .rg-peach > .mosaic-grid-cell { padding-left: 30px !important; padding-right: 30px !important; }
}
/* box images at their live width (scale "large" of the legacy site) */
.rg-img-384 img { max-width: 384px; }

/* accordion on the peach band, plain items, title uppercase brand 16 px (live elements.less) */
[data-bs-theme=light] .tile-template-accordion-view.accordion { background-color: #ffe6cd; padding: 10px; }
.rg-accordion.accordion-item { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.rg-accordion .accordion-header { font-size: 16px !important; letter-spacing: 1px; }
.rg-accordion .accordion-button { color: var(--ar-primary); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; font-weight: 600; background: transparent; box-shadow: none; padding: 7px 7px; line-height: 25px; }
.rg-accordion.accordion-item + .rg-accordion.accordion-item { margin-top: 0 !important; }
.rg-accordion .accordion-body { padding: 0 7px 20px; }

/* parallax bands 600 / 532 px at 1440 (live imagefullwidth), no extra padding */
.rg-band .position-relative.z-2 { padding: 0 !important; }
.rg-band-600 .ratio { --ar-aspect-ratio: 41.667%; }
.rg-band-532 .ratio { --ar-aspect-ratio: 36.944%; }

/* hero before the header: photo (= /media/start/dsc_0383), content from 40 % */
.rg-hero { background: url("/rath-gyn/resolveuid/67b8585e4b3a4848ac49efb084b39118/@@images/image/huge") center / cover no-repeat; align-items: flex-start; }
.rg-hero-content { padding-top: 110px !important; }
@media (min-width: 992px) { .rg-hero-content { margin-left: 40% !important; padding-left: 8px; } }
.rg-hero h1 { color: var(--ar-primary); font-size: 36px; line-height: 43.2px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 37px !important; }
.rg-hero .card.rg-news { background: transparent; border: 0; box-shadow: none; }
.rg-hero .rg-news .card-body { padding: 0 !important; margin: 0 !important; }
.rg-hero .rg-news .card-title { color: #21252b; font-size: 24px; font-weight: 600 !important; line-height: 1.3; text-transform: none; letter-spacing: 1px; }
[data-bs-theme=light] .rg-hero .rg-btn { border-color: #fff; }
.rg-hero .rg-btn { margin-top: 80px; font-size: 16px; font-weight: 400; padding: 8px 20px; letter-spacing: 1px; }

/* icon boxes: 60 px brand square with a white check, title uppercase brand 16 px */
.card.rg-iconboxes { border: 0; background: transparent; box-shadow: none; text-align: center; margin-bottom: 46px !important; }
.rg-iconboxes .card-body { padding: 0 !important; margin: 0 !important; }
.rg-iconboxes .card-body > .mb-3 { margin-bottom: 0 !important; }
.rg-iconboxes .bi { display: inline-flex !important; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 20px !important; border-radius: var(--ar-border-radius); background: var(--ar-primary); color: #fff !important; font-size: 32px; }
.rg-iconboxes .card-title { font-size: 16px !important; color: var(--ar-primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600 !important; }

/* footer: peach band, 1 px line #ffcd9a, headings 18 px semibold brand, text #21252b */
[data-bs-theme=light] .rg-footer { background-color: #ffe6cd !important; border-top: 1px solid #ffcd9a; color: #21252b; }
[data-bs-theme=light] .rg-footer p { color: #21252b; }
.rg-footer #ui-colophon { background: var(--ar-body-bg); margin-top: 40px; font-size: 18px; }
.rg-footer :is(h2, h3, h4, .h5, .h6) { color: var(--ar-primary); font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: 0; }
[data-bs-theme=light] .rg-footer strong { color: #21252b; }
.rg-footer strong { font-weight: 600; } /* live 600 on the Light cut = synthetic bold */

/* header nav: one line like live */
@media (min-width: 992px) {
  .navbar .nav-link { white-space: nowrap; padding-left: 15px !important; padding-right: 15px !important; }
  /* logo at x 200 and last nav text ending at 1225 like live (header gutter 12, no collapse padding) */
  header#header > .container { padding-left: 12px; padding-right: 12px; }
  header#header .navbar-collapse { padding-right: 0 !important; }
}

/* header 142 px like live; nav 16 px #21252b, hover brand */
@media (min-width: 992px) { header#header { min-height: 142px; } }
header#header .nav-link { font-size: 16px; }
[data-bs-theme=light] header#header .nav-link { color: #21252b; }
[data-bs-theme=light] header#header .nav-link:hover, [data-bs-theme=light] header#header .nav-link.active { color: var(--ar-primary); }
/* colophon: copyright #666e70, legal links #21252b (live) */
[data-bs-theme=light] .rg-footer #ui-colophon .colophon-tiles > div:first-child .nav-link { color: #666e70; }
[data-bs-theme=light] .rg-footer #ui-colophon .nav-item .nav-link { color: #21252b; }
.rg-footer #ui-colophon .border-end-lg { border: 0 !important; }
/* phones: hero text at x 20 / y 100 like live (the cell starts at -12), logo and menu button on one line (live mobile logo max 260 px) */
@media (max-width: 991.98px) {
  .rg-hero-content { padding-left: 32px !important; padding-right: 32px !important; padding-top: 100px !important; }
  .rg-hero .rg-btn { margin-top: 40px; }
  header#header .navbar-brand img { max-width: 230px; height: auto; }
}

body.template-folder_contents,
body[class*="controlpanel"],
body.template-sharing,
body.template-historyview {
  --ar-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ar-heading-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
#edit-zone { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
