/* =========================================================================
   RTR Mediencockpit — R Shiny edition
   Brand colors & layout ported from the original Flask/Tailwind stylesheet.
   ========================================================================= */

:root {
  --rtr-red:   #cd1236;
  --rtr-blue:  #0071d7;
  --rtr-gray:  #f3f4f6;
  --rtr-text:  #222;
}

body {
  background: var(--rtr-gray);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--rtr-text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h3 { color: var(--rtr-red); font-weight: 700; }
h1, h2, h3 { font-weight: 700; }

/* --- top navbar (red bar) ------------------------------------------------ */
.mc-nav {
  background: var(--rtr-red);
  color: #fff;
  padding: 6px 0;
}
.mc-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.mc-nav-links { display: flex; gap: 2rem; align-items: center; }
.mc-nav-links a {
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
}
.mc-nav-links a:hover     { text-decoration: underline; }
.mc-nav-links .mc-active  { font-weight: 700; text-decoration: underline; }
.mc-brand                  { font-weight: 700; }

/* --- header band (white, with logos) ------------------------------------- */
.mc-header {
  background: #fff;
  color: var(--rtr-red);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.mc-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.mc-header img { display: inline-block; vertical-align: middle; margin-right: 12px; }
.mc-header-inner {
  font-size: 1rem;
}
.mc-service {
  display: inline-flex;
  color: var(--rtr-red);
  border: 2px solid var(--rtr-red);
  font-weight: 700;
  padding: 0 15px;
  border-radius: 9px;
  line-height: 38px;
  font-size: 1rem;
  text-decoration: none;
}
.mc-service:hover { background: var(--rtr-red); color: #fff; }

/* --- main content -------------------------------------------------------- */
.mc-main {
  flex: 1;
}
.mc-page-title {
  background: #fff;
  color: var(--rtr-red);
  padding: 1rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid #eee;
}
.mc-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* --- index landing tiles ------------------------------------------------- */
.mc-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .mc-tiles { grid-template-columns: 1fr; }
}
.mc-tile {
  background: #fff;
  border: 1px solid var(--rtr-red);
  border-radius: 0.5rem;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--rtr-red);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.mc-tile:hover { background: var(--rtr-red); color: #fff; }

/* --- card wrappers ------------------------------------------------------- */
.mc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.mc-section-header {
  font-weight: 700;
  color: var(--rtr-red);
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.25rem;
  margin: 1rem 0 0.5rem 0;
}
.mc-list-item {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #f3f4f6;
}
.mc-list-item:hover { background: #f9fafb; }
.mc-link, .mc-list-item a {
  color: var(--rtr-red);
  text-decoration: underline;
}
.mc-link:hover, .mc-list-item a:hover { text-decoration: underline; }

/* --- buttons ------------------------------------------------------------- */
.btn-rtr, .mc-btn {
  background: var(--rtr-red);
  color: #fff;
  border: 1px solid var(--rtr-red);
  padding: 0.4rem 0.85rem;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-rtr:hover, .mc-btn:hover {
  background: #fff; color: var(--rtr-red);
}

/* --- footer -------------------------------------------------------------- */
.mc-footer {
  background: #fff;
  border-top: 1px solid #000;
  margin-top: 2rem;
}
.mc-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 0.95rem;
  line-height: 1.55;
  gap: 2rem;
}
.mc-footer-inner p { margin: 0; }
.mc-footer-inner ul { padding: 0; margin: 0; list-style: none; }
.mc-footer-inner li { margin-bottom: 0.3rem; }
.mc-footer-inner a { color: inherit; text-decoration: none; }
.mc-footer-inner a:hover { text-decoration: underline; }

/* --- collapsibleTree wrapper for the Beteiligungen tree ------------------ */
#d3-tree, .mc-tree {
  min-height: 400px;
}

/* --- DataTables tweaks --------------------------------------------------- */
.dataTables_wrapper { font-size: 0.9rem; }
table.dataTable thead th {
  background: #f3f4f6;
  color: #111;
  font-weight: 700;
  border-bottom: 1px solid #d1d5db !important;
}

/* --- tabs ---------------------------------------------------------------- */
.nav-tabs > li > a, .nav-tabs .nav-link {
  color: var(--rtr-text) !important;
}
.nav-tabs > li.active > a, .nav-tabs .nav-link.active {
  border-bottom-color: var(--rtr-red) !important;
  color: var(--rtr-red) !important;
  font-weight: 700;
}


/* Make Shiny tabsets look closer to the Flask app */
.nav-tabs { border-bottom: 1px solid #e5e7eb; margin-bottom: 1rem; }
.mc-tab-body { padding-top: 0.5rem; }
.nav-tabs > li > a, .nav-tabs .nav-link { border: 0 !important; background: transparent !important; }
.nav-tabs > li.active > a, .nav-tabs .nav-link.active { border-bottom: 2px solid var(--rtr-red) !important; background: transparent !important; }
.form-control, .selectize-input { border-radius: 0.35rem !important; border-color: #d1d5db !important; }

/* --- larger main nav, closer to Flask app ------------------------------- */
.mc-nav { padding: 4px 0; }
.mc-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.mc-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
}
.mc-nav-inner > a {
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}
.mc-nav-inner > a:hover { text-decoration: underline; }

/* --- broadcaster category chip layout ----------------------------------- */
.mc-chip-sections {
  padding-top: 1.35rem;
}
.mc-section-block {
  margin-bottom: 1.75rem;
}
.mc-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.8rem;
}
.mc-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
}
.mc-chip {
  display: inline-flex;
  align-items: center;
  background: var(--rtr-red);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 0.22rem;
  padding: 0.42rem 0.62rem;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.1;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}
.mc-chip:hover {
  background: #b80f30;
  color: #fff !important;
}
.mc-more-details {
  margin-top: 0.65rem;
}
.mc-more-details > summary {
  list-style: none;
}
.mc-more-details > summary::-webkit-details-marker {
  display: none;
}
.mc-more-link {
  display: inline-block;
  color: var(--rtr-red);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.95rem;
}
.mc-chip-wrap-more {
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .mc-brand,
  .mc-nav-links a,
  .mc-nav-inner > a {
    font-size: 0.95rem;
  }
}

/* EMFA app additions */
.mc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) { .mc-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mc-kpi-grid { grid-template-columns: 1fr; } }
.mc-kpi {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 5px solid var(--rtr-red);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.mc-kpi-label {
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mc-kpi-value {
  color: #111827;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.25rem;
}
.mc-note {
  color: #6b7280;
  font-size: 0.9rem;
}
.mc-intro {
  padding: clamp(1.25rem, 2vw, 2rem);
}
.mc-intro .mc-section-header {
  margin-bottom: 1rem;
}
.mc-intro-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.7rem) !important;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.mc-intro p,
.mc-intro li {
  color: var(--rtr-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
.mc-intro p {
  margin: 0;
}
.mc-intro p + p {
  margin-top: 0.55rem;
}
.mc-intro-title {
  margin-bottom: 0.9rem;
}
.mc-intro-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.4rem;
}
.mc-intro-list li {
  margin: 0.2rem 0;
}
.mc-intro-action {
  margin: 1rem 0 1.15rem !important;
  color: var(--rtr-text) !important;
  font-weight: 700;
}
.mc-intro-section {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #D8E6F5;
}
.mc-intro-section h3 {
  margin: 0 0 0.45rem;
  color: #005EAE;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}
.mc-intro a {
  color: #005EAE;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.mc-small {
  font-size: 0.85rem;
}

/* EMFA blue RTR scheme and wide layout overrides */
:root {
  --rtr-red: #005EAE;      /* keep legacy variable name for reused CSS */
  --rtr-blue: #005EAE;
  --rtr-blue-80: #337EBE;
  --rtr-blue-60: #669ECE;
  --rtr-blue-40: #99BFDF;
  --rtr-blue-20: #CCDFF0;
  --rtr-cyan: #42BDD4;
  --rtr-cyan-soft: #DDF3F7;
  --rtr-petrol: #216867;
  --rtr-ink: #213F7B;
  --rtr-gray: #F4F7FA;
  --rtr-text: #1F2937;
}

html, body, .container, .container-fluid {
  width: 100%;
  max-width: none !important;
}

.mc-nav {
  background: linear-gradient(90deg, #005EAE 0%, #337EBE 72%, #42BDD4 100%);
}
.mc-nav-inner,
.mc-header-inner,
.mc-page-title,
.mc-content,
.mc-footer-inner {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.mc-nav-inner,
.mc-header-inner,
.mc-footer-inner {
  padding-left: clamp(1rem, 2vw, 2.5rem);
  padding-right: clamp(1rem, 2vw, 2.5rem);
}
.mc-content,
.mc-page-title {
  padding-left: clamp(1rem, 2vw, 2.5rem);
  padding-right: clamp(1rem, 2vw, 2.5rem);
}
.mc-page-title {
  color: #005EAE;
}
.mc-header {
  color: #005EAE;
}
.mc-service {
  color: #005EAE;
  border-color: #005EAE;
}
.mc-service:hover {
  background: #005EAE;
  color: #fff;
}
.mc-card {
  border-color: #D8E6F5;
  border-radius: 0.7rem;
  box-shadow: 0 6px 18px rgba(0, 94, 174, 0.07);
}
.mc-section-header {
  color: #005EAE;
  margin: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
.mc-section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #D8E6F5;
}
.mc-button-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.btn-rtr, .mc-btn, .btn-rtr:focus {
  background: #005EAE;
  border-color: #005EAE;
  color: #fff;
  border-radius: 0.35rem;
  box-shadow: 0 1px 2px rgba(0, 94, 174, 0.14);
}
.btn-rtr:hover, .mc-btn:hover {
  background: #fff;
  color: #005EAE;
  border-color: #005EAE;
}
.btn-small {
  padding: 0.35rem 0.65rem;
  font-size: 0.88rem;
  line-height: 1.25;
}
.mc-kpi {
  border-color: #D8E6F5;
  border-left-color: #005EAE;
  box-shadow: 0 6px 18px rgba(0, 94, 174, 0.07);
}
.mc-kpi-value {
  color: #005EAE;
}
.mc-link, .mc-list-item a, .mc-more-link {
  color: #005EAE;
}
.nav-tabs > li.active > a, .nav-tabs .nav-link.active {
  border-bottom-color: #005EAE !important;
  color: #005EAE !important;
}
.nav-tabs > li.active > a, .nav-tabs .nav-link.active {
  border-bottom: 2px solid #005EAE !important;
}
.form-control:focus, .selectize-input.focus {
  border-color: #005EAE !important;
  box-shadow: 0 0 0 2px rgba(0, 94, 174, 0.12) !important;
}
.checkbox-inline, .checkbox label {
  color: #334155;
  font-weight: 600;
}
.mc-graph-card {
  padding: 0.9rem 0.9rem 0.4rem 0.9rem;
}
.mc-graph-help {
  color: #64748B;
  font-size: 0.9rem;
  margin: -0.25rem 0 0.65rem 0;
}
#owner_tree {
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFE 100%);
  border: 1px solid #E1ECF7;
  min-height: 680px;
}
.dataTables_wrapper { width: 100%; }
table.dataTable thead th {
  background: #EAF2FB;
  color: #1E3A5F;
}

@media (min-width: 1200px) {
  .mc-content .row > .col-sm-4,
  .mc-content .row > .col-md-4,
  .mc-content .row > .col-lg-4 {
    width: 25%;
  }
  .mc-content .row > .col-sm-8,
  .mc-content .row > .col-md-8,
  .mc-content .row > .col-lg-8 {
    width: 75%;
  }
}
@media (max-width: 768px) {
  .mc-section-toolbar { align-items: flex-start; flex-direction: column; }
  .mc-content, .mc-page-title { padding-left: 1rem; padding-right: 1rem; }
}

/* Additional EMFA table/filter alignment refinements */
.mc-filter-card {
  position: sticky;
  top: 0.75rem;
}
.mc-card .dataTables_wrapper,
.mc-card .dataTables_scroll,
.mc-card .dataTables_scrollHead,
.mc-card .dataTables_scrollBody,
.mc-card .dataTables_scrollFoot {
  width: 100% !important;
}
.mc-card .dataTables_scrollHeadInner,
.mc-card .dataTables_scrollHeadInner table,
.mc-card table.dataTable {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.mc-card .dataTables_filter {
  text-align: right;
}
.mc-card .selectize-control,
.mc-card .form-group {
  width: 100%;
}
.irs-grid-text, .irs-min, .irs-max, .irs-from, .irs-to, .irs-single {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Better date-range slider and compact Werbeeinnahmen dashboard */
.mc-card .form-group.shiny-input-container {
  max-width: 100%;
}

.irs--shiny .irs-line {
  height: 8px;
  background: #E5EDF6;
  border: 1px solid #CCDFF0;
  border-radius: 999px;
}
.irs--shiny .irs-bar {
  height: 8px;
  background: #005EAE;
  border-top: 1px solid #005EAE;
  border-bottom: 1px solid #005EAE;
}
.irs--shiny .irs-handle {
  width: 22px;
  height: 22px;
  top: 20px;
  border: 1px solid #8EA6C1;
  background: #D9E3EF;
  box-shadow: 0 2px 5px rgba(0, 94, 174, 0.18);
}
.irs--shiny .irs-from,
.irs--shiny .irs-to,
.irs--shiny .irs-single {
  background: #005EAE;
  color: #fff;
  border-radius: 0.2rem;
  font-weight: 700;
}
.irs--shiny .irs-min,
.irs--shiny .irs-max {
  color: #334155;
  background: transparent;
}
.irs--shiny .irs-grid-pol {
  background: #337EBE;
}
.irs--shiny .irs-grid-text {
  color: #334155;
}

.mc-kpi-grid-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}
.mc-kpi-grid-compact .mc-kpi {
  padding: 0.7rem 0.8rem;
  border-left-width: 4px;
}
.mc-kpi-grid-compact .mc-kpi-label {
  font-size: 0.72rem;
  line-height: 1.15;
}
.mc-kpi-grid-compact .mc-kpi-value {
  font-size: 1.35rem;
}
.mc-kpi-grid-compact .mc-note {
  font-size: 0.78rem;
  line-height: 1.2;
}
.mc-filter-card-compact {
  padding: 0.85rem;
}
.mc-filter-card-compact .form-group {
  margin-bottom: 0.8rem;
}
.mc-filter-card-compact label {
  font-size: 0.9rem;
}
@media (max-width: 1500px) {
  .mc-kpi-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mc-kpi-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mc-kpi-grid-compact { grid-template-columns: 1fr; }
}
.irs-slider {
  width: 22px;
  height: 22px;
  top: 20px;
  border: 1px solid #8EA6C1;
  background: #D9E3EF;
  box-shadow: 0 2px 5px rgba(0, 94, 174, 0.18);
}
.irs-bar-edge {
  background: #005EAE;
  border-color: #005EAE;
}


/* EMFA cumulative ownership, publication threshold and summary refinements */
.mc-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0 0.7rem 0;
}
.mc-summary-item {
  background: #F7FAFD;
  border: 1px solid #D8E6F5;
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  min-height: 70px;
}
.mc-summary-label {
  color: #64748B;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  margin-bottom: 0.2rem;
}
.mc-summary-value {
  color: #1E3A5F;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}
.mc-summary-source { margin-top: 0.25rem; }
.mc-status-yes { color: #216867; }
.mc-status-no { color: #A61B1B; }
.mc-status-neutral { color: #64748B; }
.mc-threshold-note,
.mc-threshold-legend {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #5B4A12;
  background: #FFF8E2;
  border: 1px solid #F4D58D;
  border-radius: 0.4rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.86rem;
  line-height: 1.25;
  margin: 0.3rem 0 0.65rem 0;
}
.mc-threshold-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 0.25rem;
  background: #F4D58D;
  border: 1px solid #D99A00;
}
.mc-top-company-card { margin-top: 0.25rem; }
#owner_tree { min-height: 760px; }

/* Keep the long labels in the Top-Medienunternehmen chart fully visible. */
#werbe_top_company_plot {
  min-height: 780px;
  width: 100% !important;
  overflow: visible;
}
.mc-top-company-card {
  overflow: visible;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}


/* Searchable selectors: visible instructions and a scrollable browse list. */
.mc-field-help {
  margin: -0.35rem 0 0.65rem 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.4;
}
.selectize-dropdown-content {
  max-height: 20rem;
}
.selectize-dropdown .option {
  white-space: normal;
  line-height: 1.35;
}

/* --- connected-component network ---------------------------------------- */
.mc-network-controls .form-group {
  margin-bottom: 0.85rem;
}
.mc-fit-button-wrap {
  display: flex;
  align-items: flex-end;
  min-height: 58px;
  padding-bottom: 0.15rem;
}
.mc-network-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.2rem;
  padding: 0.15rem 0 0.7rem 0;
  color: #475569;
  font-size: 0.86rem;
}
.mc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap;
}
.mc-legend-box {
  width: 1.35rem;
  height: 0.78rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(15, 23, 42, 0.28);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.mc-legend-media { background: #00467F; }
.mc-legend-owner { background: #005EAE; }
.mc-legend-natural { background: #213F7B; }
.mc-legend-line {
  display: inline-block;
  width: 2rem;
  border-top: 3px dashed #42BDD4;
}
#full_graph {
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFE 100%);
  border: 1px solid #E1ECF7;
  min-height: 620px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .mc-fit-button-wrap {
    min-height: 0;
    align-items: flex-start;
    padding-bottom: 0.75rem;
  }
  .mc-network-legend {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 1200px) {
  .mc-network-controls .row > .col-sm-4,
  .mc-network-controls .row > .col-md-4,
  .mc-network-controls .row > .col-lg-4 {
    width: 33.333333% !important;
  }
}


/* --- accessibility ------------------------------------------------------- */
.mc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


.mc-section-header {
  font-size: 1.18rem;
  line-height: 1.35;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.nav-tabs > li > a:focus-visible {
  outline: 3px solid #213F7B !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

.selectize-input.focus {
  outline: 3px solid #213F7B !important;
  outline-offset: 2px !important;
}


.mc-text-alternative-summary {
  margin: 0.65rem 0 0.8rem 0;
  color: #334155;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Beteiligte:r tab: complete media-company ownership trees */
.mc-owner-company-tree {
  margin-top: 1.25rem;
}
.mc-owner-company-title {
  margin: 0 0 0.5rem;
  color: var(--rtr-blue);
  font-size: 1.3rem;
  line-height: 1.3;
}
.mc-owner-company-table-title {
  margin: 1.25rem 0 0.65rem;
  color: var(--rtr-text);
  font-size: 1.05rem;
}


/* Version 13: typography aligned more closely with the RTR Open Data site */
.mc-nav-inner,
.mc-nav-inner > a {
  font-size: 1.05rem;
  line-height: 1.45;
}
.mc-header-inner {
  min-height: 64px;
}
.mc-service {
  font-size: 1.05rem;
}
.mc-footer-inner {
  font-size: 1rem;
}
@media (max-width: 600px) {
  .mc-footer-inner {
    font-size: 0.92rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
