/* Local corrections after the complete-page visual review on 5 November 2026. */

/* The shared navigation provides the dropdown mode and keyboard behaviour. */
.urologikum .desktop-nav.is-dropdown .mega-panel { width: 19rem; }
.urologikum .desktop-nav.is-dropdown .mega-inner { border-radius: 6px; box-shadow: 0 8px 24px #00000014; }
.urologikum .desktop-nav.is-dropdown .mega-grid > li > a { font-weight: 600; }
.urologikum .desktop-nav.is-dropdown .mega-subgroup { margin: 0 12px 8px; padding: 0 0 0 12px; border-left: 1px solid #deded8; }
.urologikum .desktop-nav.is-dropdown .mega-subgroup a { display: flex; align-items: center; min-height: 44px; padding: 8px 4px; }
.urologikum .desktop-nav.is-dropdown .mega-grid a:hover { background: #f1f1ed; color: #2b292e; }

html:has(body.urologikum) { scroll-padding-top: var(--uro-scroll-offset, 180px); }
.uro-page .uro-section,
.uro-page [id] { scroll-margin-top: 0; }

/* Original team composition: lead beside two separate two-column card groups.
 * The import dropped .e-con flex/align behaviour and absolute image transforms.
 * Restore those properties here, without changing the shared layout primitives. */
.uro-page .u-39f8959 {
  display: block;
  width: 100%;
  padding: 120px 0;
}
.uro-page .u-39f8959 .u-3d53214 {
  width: 100%;
  max-width: none;
  padding: 10px;
  margin-inline: auto !important;
}
.uro-page .u-39f8959 .u-3d53214 > .uro-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1140px;
}
.uro-page .u-39f8959 .u-a7665d4 {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-self: flex-start;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 10px;
  /* The omitted source spacer contributed 40px between heading and action. */
  gap: 60px;
}
.uro-page .u-39f8959 .u-a7665d4 .wp-block-heading {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1;
}
.uro-page .u-39f8959 .u-061c82a {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  /* Absorb the source's 50px overhang into this column, preserving card widths. */
  width: calc(65% + 50px);
  max-width: none;
  padding: 10px;
  margin: 0 !important;
}
.uro-page .u-39f8959 .u-061c82a > :is(.u-6d95ff2, .u-dad0ebb) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-flow: row;
  align-items: stretch;
  /* Source: 20px gap + 50px margin on right-hand cards. Keep this inside the grid. */
  gap: 20px 70px;
  width: 100%;
  min-width: 0;
  padding: 10px;
  margin: 0 !important;
}
.uro-page .u-39f8959 .uro-card-services {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 185px;
  margin: 0 !important;
  padding: 1em;
  overflow: visible;
  border: 1px solid #0000001a;
  border-radius: 15px;
  background: #fcfcf7;
  font-size: 1.125rem;
}
.uro-page .u-39f8959 .uro-card-services > .uro-boxed {
  display: block;
  position: relative;
  inset: auto;
  transform: none;
  width: 100%;
  max-width: none;
  padding: 0 0 0 50px;
  margin: 0 !important;
}
.uro-page .u-39f8959 .uro-card-services > .uro-boxed > .uro-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  grid-template-columns: none;
  grid-template-rows: none;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0 !important;
}
.uro-page .u-39f8959 .uro-card-services > .uro-boxed .uro-w {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none;
}
.uro-page .u-39f8959 .uro-card-services .wp-block-heading {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1;
  overflow-wrap: anywhere;
  word-break: normal;
}
.uro-page .u-39f8959 .uro-card-services .uro-widget-text-editor { font-size: 1.125rem; line-height: 1.6; font-weight: 600; }
.uro-page .u-39f8959 .uro-card-services .wp-block-button__link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #545454;
  font-size: 1.125rem;
  text-decoration: none;
  text-underline-offset: 3px;
}
.uro-page .u-39f8959 .uro-card-services .wp-block-button__link:hover { text-decoration: underline; }
.uro-page .u-39f8959 .uro-card-services > .uro-widget-image {
  position: absolute;
  inset: 18% auto auto 0;
  transform: translateX(-50%);
  width: 120px;
  max-width: 120px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  box-shadow: 0 0 10px #00000080;
}
.uro-page .u-39f8959 .uro-card-services > .uro-widget-image img {
  width: 120px;
  height: 120px !important;
  max-width: 100%;
  max-height: none;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
/* Retain the unnamed slot so the original desktop/tablet pairs do not shift. */
.uro-page .u-39f8959 .u-0701018:not(:has(.wp-block-heading)) { visibility: hidden; }

/* Original service icons are 72 × 72 pixels; do not upscale them. */
.uro-page .u-99d4249 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.uro-page .u-99d4249 > .uro-card-plain {
  width: 100%;
  max-width: none;
  padding: 24px;
  border: 1px solid #deded8;
  border-radius: 12px;
  box-shadow: 0 2px 6px #0000000d;
}
.uro-page .u-99d4249 .uro-card-plain > .uro-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.uro-page .u-99d4249 .uro-widget-image-box .wp-block-image img {
  width: 64px;
  height: 64px !important;
  max-width: 64px;
  object-fit: contain;
  margin-inline: auto;
}
.uro-page .u-99d4249 .wp-block-heading { margin-block: 16px 12px; }

/* Only these two photo banners need the dark reading surface. */
.uro-page :is(.u-68ec9cc, .u-e888407) {
  position: relative;
  padding: clamp(48px, 5vw, 80px) 24px;
  isolation: isolate;
  background-size: cover;
}
.uro-page :is(.u-68ec9cc, .u-e888407)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  opacity: .68;
}
.uro-page :is(.u-b120696, .u-71cb560) {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  padding: 0;
  margin-inline: auto !important;
}
.uro-page :is(.u-b120696, .u-71cb560) > .uro-inner { position: relative; z-index: 1; }
.uro-page :is(.u-b120696, .u-71cb560) :is(.u-5780da8, .u-ec5dc4f) {
  width: 100%;
  max-width: 720px;
  padding: 0;
  margin-inline: auto !important;
}
.uro-page :is(.u-b120696, .u-71cb560) .wp-block-heading,
.uro-page :is(.u-b120696, .u-71cb560) .uro-widget-text-editor,
.uro-page :is(.u-b120696, .u-71cb560) p { color: #fff; }
.uro-page :is(.u-ba0f2bb, .u-751fa46) .wp-block-button__link {
  border: 1px solid #fff;
  background: #fff;
  color: #2b292e;
}
.uro-page :is(.u-ba0f2bb, .u-751fa46) .wp-block-button__link:hover { background: #efefea; color: #2b292e; }
.uro-page .u-5f10326 .wp-block-button__link { border: 1px solid #fff; background: transparent; color: #fff; }
.uro-page .u-5f10326 .wp-block-button__link:hover { background: #ffffff1a; color: #fff; }
.uro-page :is(.u-b120696, .u-71cb560) :focus-visible { outline-color: #fff; }

/* Preserve each service's original background, with a compact title area. */
.uro-page .u-c31d2a6 { min-height: 0; padding: 80px 24px; }
.uro-page .u-c31d2a6 > .uro-inner { min-height: 0; }

/* Keep the existing diagnostic cards, with the same quieter shadow as home. */
.uro-page.uro-route-f8dbc76dbf .uro-card-plain { box-shadow: 0 2px 6px #0000000d; }

.urologikum .site-footer a:hover,
.urologikum .site-footer a.footer-powered-by-link:hover { color: #2b292e; text-decoration: underline; }
.urologikum .site-footer :is(a, button):focus-visible { outline: 3px solid #545454; outline-offset: 4px; }

@media (max-width: 1024px) {
  .uro-page .u-39f8959 .u-3d53214 > .uro-inner { flex-direction: column; }
  .uro-page .u-39f8959 .u-a7665d4 { align-items: center; text-align: center; }
  .uro-page .u-39f8959 .u-061c82a { width: 90%; }
  .uro-page .u-39f8959 .uro-card-services { font-size: 1rem; }
  .uro-page .u-99d4249 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* The source's 90% column leaves room for this 50px extension within the page. */
  .uro-page .u-39f8959 .u-061c82a > :is(.u-6d95ff2, .u-dad0ebb) { width: calc(100% + 50px); max-width: none; }
  .uro-page .u-39f8959 .uro-card-services { padding: 1rem; }
}
@media (max-width: 767px) {
  .uro-page .u-39f8959 { padding: 40px 0; }
  .uro-page .u-39f8959 .u-061c82a { width: 100%; }
  .uro-page .u-39f8959 .u-061c82a > :is(.u-6d95ff2, .u-dad0ebb) { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; }
  .uro-page .u-39f8959 .u-a7665d4 .wp-block-heading { font-size: 1.375rem; }
  .uro-page .u-39f8959 .uro-card-services .wp-block-heading { font-size: 1.25rem; }
  .uro-page .u-39f8959 .uro-card-services .uro-widget-text-editor,
  .uro-page .u-39f8959 .uro-card-services .wp-block-button__link { font-size: 1rem; }
  .uro-page .u-39f8959 .uro-card-services > .uro-widget-image { inset: -5% auto auto -3%; transform: none; width: 70px; max-width: 70px; }
  .uro-page .u-39f8959 .uro-card-services > .uro-widget-image img { width: 70px; height: 70px !important; }
  .uro-page .u-39f8959 .u-0701018:not(:has(.wp-block-heading)) { display: none; }
  .uro-page .u-99d4249 { grid-template-columns: minmax(0, 1fr); }
  .uro-page .u-c31d2a6 { padding: 56px 20px; }
}
