/*
Theme Name: Tima Care
Theme URI: https://timacare-pflegedienst.de
Author: Tima Care UG (haftungsbeschränkt)
Description: Barrierearmes, responsives WordPress-Theme für Tima Care mit editierbaren Seiten, mehrsprachigen Patienteninformationen, Kontakt- und Bewerbungsformularen.
Version: 4.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: tima-care
License: Proprietary
*/

:root {
  --navy: #062b5f;
  --navy-dark: #031c3e;
  --gold: #c9a24d;
  --gold-dark: #8a6928;
  --ink: #253044;
  --muted: #5f6b7a;
  --blue-light: #eef3f8;
  --cream: #f8f7f3;
  --line: #d9e0e8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { margin-bottom: 1.15rem; font-size: clamp(1.85rem, 3.3vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p, li { font-size: 1.02rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: clamp(4.2rem, 8vw, 7rem); }
.section-blue { background: var(--blue-light); }
.eyebrow { margin-bottom: .75rem; color: var(--gold-dark); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #f1d58f; }
.large { color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.35rem); }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 300; padding: .65rem 1rem; color: white; background: var(--navy); }
.skip-link:focus { top: 10px; }

.opening-banner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 2.4rem; padding: .4rem 20px; color: var(--navy); background: #f6f1e5; border-bottom: 1px solid #e4d6b5; font-size: .8rem; font-weight: 700; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 22px rgba(6,43,95,.05); backdrop-filter: blur(10px); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 1.5rem; }
.tc-brand { flex: 0 0 auto; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.custom-logo-link { flex: 0 0 auto; display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 180px; max-height: 76px; object-fit: contain; }
.tc-brand-logo { width: 160px; height: auto; direction: ltr; }
.tc-brand-monogram { display: flex; justify-content: center; align-items: baseline; gap: 2px; font-size: 2.25rem; font-weight: 900; letter-spacing: -.08em; }
.tc-brand-t { color: var(--gold); }
.tc-brand-c { color: var(--navy); }
.tc-brand-name { display: flex; justify-content: center; gap: 5px; margin-top: 2px; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.tc-brand-logo small { margin-top: 5px; color: var(--navy-dark); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tc-brand-heartline { display: flex; align-items: center; gap: 6px; width: 100%; color: var(--gold); }
.tc-brand-heartline i { flex: 1; height: 1px; background: currentColor; }
.tc-brand-heart { position: relative; display: block; width: 6px; height: 6px; margin-top: -1px; background: var(--gold); transform: rotate(45deg); border-radius: 1px 0 2px; }
.tc-brand-heart::before, .tc-brand-heart::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.tc-brand-heart::before { left: -3px; top: 0; }
.tc-brand-heart::after { left: 0; top: -3px; }
.desktop-nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.desktop-nav .tc-menu { display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.desktop-nav .tc-menu > li { position: relative; }
.desktop-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .48rem; color: var(--navy); font-size: .88rem; font-weight: 700; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.desktop-services { position: relative; }
.desktop-nav .menu-item-has-children > a::before { content: ""; width: 8px; height: 8px; order: 2; margin: -.2rem 0 0 .45rem; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(45deg); }
.desktop-nav .sub-menu { position: absolute; top: calc(100% + 14px); left: -14px; z-index: 30; width: min(640px, 75vw); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; margin: 0; padding: .8rem; visibility: hidden; opacity: 0; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(6,43,95,.18); list-style: none; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.desktop-nav .sub-menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 16px; }
.desktop-nav .menu-item-has-children:hover > .sub-menu,
.desktop-nav .menu-item-has-children:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.desktop-nav .sub-menu a { min-height: 42px; display: flex; padding: .62rem .72rem; border-radius: 9px; font-size: .84rem; line-height: 1.25; }
.desktop-nav .sub-menu a:hover,
.desktop-nav .sub-menu a:focus-visible { background: var(--blue-light); }
.desktop-nav .sub-menu a::after { display: none; }
.services-trigger { gap: .35rem; }
.chevron { width: 8px; height: 8px; display: inline-block; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transform-origin: center; transition: transform .2s ease; }
.services-trigger .chevron { margin-left: .18rem; color: var(--gold-dark); }
.desktop-services:hover .services-trigger .chevron, .desktop-services:focus-within .services-trigger .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.services-dropdown { position: absolute; top: calc(100% + 14px); left: -14px; z-index: 30; width: min(640px, 75vw); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: .8rem; visibility: hidden; opacity: 0; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(6,43,95,.18); transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.services-dropdown::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 16px; }
.desktop-services:hover .services-dropdown, .desktop-services:focus-within .services-dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.desktop-nav .services-dropdown a { min-height: 42px; padding: .62rem .72rem; border-radius: 9px; font-size: .84rem; line-height: 1.25; }
.desktop-nav .services-dropdown a:hover, .desktop-nav .services-dropdown a:focus-visible { background: var(--blue-light); }
.desktop-nav .services-dropdown a::after { display: none; }
.desktop-nav .services-dropdown .services-all { grid-column: 1 / -1; color: white; background: var(--navy); }
.desktop-nav .services-dropdown .services-all:hover, .desktop-nav .services-dropdown .services-all:focus-visible { color: var(--navy); background: #f6f1e5; }
.language-switcher { position: relative; flex: 0 0 auto; }
.language-switcher summary { min-height: 46px; display: grid; grid-template-columns: auto auto auto; align-items: center; column-gap: .48rem; padding: .45rem .78rem; color: var(--navy); background: white; border: 1px solid #cbd4df; border-left: 3px solid var(--gold); border-radius: 10px; cursor: pointer; list-style: none; box-shadow: 0 5px 16px rgba(6,43,95,.06); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover { border-color: var(--gold); box-shadow: 0 8px 22px rgba(6,43,95,.1); }
.language-switcher .chevron { margin-left: .1rem; color: var(--gold-dark); }
.language-switcher[open] summary .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.language-globe { position: relative; width: 18px; height: 18px; display: inline-block; border: 1.8px solid var(--gold-dark); border-radius: 50%; }
.language-globe::before { content: ""; position: absolute; top: 2px; right: 4px; bottom: 2px; left: 4px; border-right: 1.4px solid var(--gold-dark); border-left: 1.4px solid var(--gold-dark); border-radius: 50%; }
.language-globe::after { content: ""; position: absolute; top: 7px; right: 1px; left: 1px; height: 2px; border-top: 1.4px solid var(--gold-dark); border-bottom: 1.4px solid var(--gold-dark); }
.language-label { min-width: 2ch; font-size: .82rem; letter-spacing: .04em; text-align: center; }
.language-switcher nav { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; min-width: 230px; display: grid; padding: .6rem; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(6,43,95,.18); }
.language-switcher nav a { min-height: 42px; display: flex; align-items: center; padding: .55rem .7rem; color: var(--navy); border-radius: 8px; font-weight: 800; text-decoration: none; }
.language-switcher nav a:hover, .language-switcher nav a:focus-visible { background: var(--blue-light); }
.language-switcher nav a[aria-current="page"] { color: white; background: var(--navy); }
.header-cta { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem 1.15rem; color: white; background: var(--navy); border-radius: 999px; font-size: .88rem; font-weight: 800; text-decoration: none; }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu > summary { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary span { width: 20px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.mobile-menu[open] > summary span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] > summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] > summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu > nav { position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100dvh - 120px); display: grid; overflow-y: auto; padding: .75rem 20px 1.1rem; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(6,43,95,.12); }
.mobile-menu .tc-mobile-menu { display: grid; margin: 0; padding: 0; list-style: none; }
.mobile-menu .tc-mobile-menu > li > a { min-height: 50px; display: flex; align-items: center; padding: .72rem .35rem; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .sub-menu { display: grid; margin: 0; padding: .35rem 0 .6rem .9rem; background: var(--cream); border-bottom: 1px solid var(--line); list-style: none; }
.mobile-menu .sub-menu a { min-height: 44px; display: flex; align-items: center; padding: .55rem .7rem; color: var(--navy); border-bottom: 1px solid #e6e1d6; font-size: .88rem; line-height: 1.3; text-decoration: none; }
.mobile-menu > nav > a { min-height: 50px; display: flex; align-items: center; padding: .72rem .35rem; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-services summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: .7rem .2rem; color: var(--navy); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; font-weight: 800; }
.mobile-services summary::-webkit-details-marker { display: none; }
.mobile-services summary .chevron { margin-right: .45rem; color: var(--gold-dark); }
.mobile-services[open] summary .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.mobile-services > div { display: grid; padding: .35rem 0 .6rem .9rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.mobile-menu nav .mobile-services a { min-height: 44px; display: flex; align-items: center; padding: .55rem .7rem; border-bottom: 1px solid #e6e1d6; font-size: .88rem; line-height: 1.3; }

.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("/tima/tima-care-home-hero-v1.webp") center/cover no-repeat; }
.hero-overlay { background: linear-gradient(90deg, rgba(3,28,62,.91) 0%, rgba(6,43,95,.7) 48%, rgba(6,43,95,.16) 78%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 6rem; }
.hero-content h1 { max-width: 850px; margin-bottom: 1.25rem; color: white; text-shadow: 0 3px 26px rgba(0,0,0,.25); }
.hero-lead { max-width: 650px; margin-bottom: 2rem; color: rgba(255,255,255,.92); font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy-dark); background: var(--gold); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.button-ghost { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.72); }
.button-outline { color: var(--navy); background: transparent; border-color: var(--navy); }
.text-link { display: inline-flex; gap: .5rem; color: var(--navy); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--gold); }

.page-hero { position: relative; min-height: 430px; display: flex; align-items: end; overflow: hidden; }
.page-hero > img, .page-hero-shade { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.page-hero-shade { background: linear-gradient(90deg, rgba(3,28,62,.93), rgba(6,43,95,.68) 56%, rgba(6,43,95,.08)); }
.page-hero-copy { position: relative; z-index: 2; padding-block: 7rem 4rem; }
.page-hero h1 { max-width: 900px; margin-bottom: .9rem; color: white; }
.page-hero-copy > p:last-child:not(.eyebrow) { max-width: 720px; margin: 0; color: rgba(255,255,255,.9); font-size: 1.18rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; padding-block: 1rem; color: var(--muted); font-size: .88rem; border-bottom: 1px solid var(--line); }
.breadcrumbs a { color: var(--navy); font-weight: 700; text-decoration: none; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-copy > p { color: var(--muted); font-size: 1.2rem; }
.two-column { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.two-column p:not(.eyebrow) { color: var(--muted); }
.rounded-image { margin: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 60px rgba(6,43,95,.17); }
.rounded-image img { min-height: 470px; object-fit: cover; }

.services { background: var(--cream); }
.section-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading > div { max-width: 720px; }
.section-heading > p { max-width: 390px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.15rem; }
.service-card { position: relative; min-height: 400px; display: flex; align-items: end; overflow: hidden; color: white; background: var(--navy); border-radius: 20px; box-shadow: 0 14px 36px rgba(6,43,95,.1); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(6,43,95,.18); }
.service-card:focus-visible { outline-offset: 5px; transform: translateY(-3px); }
.service-card > img, .service-shade { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.service-shade { background: linear-gradient(180deg, rgba(6,43,95,.02) 20%, rgba(6,43,95,.22) 48%, rgba(3,28,62,.96) 100%); }
.service-copy { position: relative; z-index: 2; padding: 1.45rem; color: white; }
.service-copy h3 { margin-bottom: .65rem; color: white; }
.service-copy p { margin-bottom: .85rem; color: rgba(255,255,255,.84); font-size: .92rem; line-height: 1.5; }
.service-copy strong { color: white; font-size: .9rem; font-weight: 800; }
.forward-arrow { position: relative; width: 18px; height: 18px; display: inline-block; margin-left: .35rem; vertical-align: -4px; border: 1px solid rgba(201,162,77,.72); border-radius: 50%; }
.forward-arrow::before { content: ""; position: absolute; top: 5px; left: 4px; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.forward-arrow::after { content: ""; position: absolute; top: 8px; left: 4px; width: 8px; height: 2px; background: currentColor; }
.service-copy .forward-arrow { color: #f1d58f; }
.section-action { display: flex; justify-content: center; margin-top: 2rem; }
.home-overview { background: var(--cream); }
.home-teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.15rem; }
.services-ribbon { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(230px,.75fr) 1.25fr; overflow: hidden; color: white; background: var(--navy); border: 1px solid var(--navy); border-radius: 18px; box-shadow: 0 14px 36px rgba(6,43,95,.12); }
.services-ribbon-title { display: flex; flex-direction: column; justify-content: center; padding: 1.35rem 1.5rem; color: white; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); text-decoration: none; }
.services-ribbon-title small { color: #f1d58f; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.services-ribbon-title strong { margin-top: .25rem; color: white; font-size: 1.4rem; }
.services-ribbon-title span { margin-top: .45rem; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 700; }
.services-ribbon > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.18); }
.services-ribbon > div a { min-height: 70px; display: flex; align-items: center; padding: .8rem 1rem; color: white; background: rgba(255,255,255,.07); font-size: .88rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.services-ribbon > div a:hover, .services-ribbon > div a:focus-visible { color: var(--navy-dark); background: var(--gold); }
.home-teaser { min-height: 230px; display: grid; grid-template-columns: 118px minmax(0,1fr); overflow: hidden; color: inherit; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgba(6,43,95,.07); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.home-teaser:hover, .home-teaser:focus-visible { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(6,43,95,.14); }
.home-teaser img { width: 100%; height: 100%; object-fit: cover; }
.home-teaser > span { display: flex; flex-direction: column; justify-content: center; padding: 1.2rem; }
.home-teaser small { color: var(--gold-dark); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.home-teaser strong { margin-top: .25rem; color: var(--navy); font-size: 1.28rem; line-height: 1.2; }
.home-teaser p { margin: .55rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.card-preview { display: block; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; color: var(--navy); font-size: .78rem; font-weight: 700; line-height: 1.45; transform: translateY(8px); transition: max-height .25s ease, margin-top .25s ease, opacity .2s ease, transform .25s ease; }
.card-preview b { color: var(--gold-dark); }
.home-teaser:hover .card-preview, .home-teaser:focus-visible .card-preview,
.service-card:hover .card-preview, .service-card:focus-visible .card-preview,
.job-card:hover .card-preview, .job-card:focus-visible .card-preview,
.article-card:hover .card-preview, .article-card:focus-visible .card-preview { max-height: 8rem; margin-top: .7rem; opacity: 1; transform: translateY(0); }
.service-card .card-preview { color: rgba(255,255,255,.9); }
.service-card .card-preview b { color: #f1d58f; }

.center-heading { max-width: 820px; margin: 0 auto 2.8rem; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-grid article { position: relative; padding: 2.1rem 1.8rem; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 36px rgba(6,43,95,.06); }
.value-grid article > span { position: absolute; top: 1.3rem; right: 1.4rem; color: rgba(201,162,77,.32); font-size: 2rem; font-weight: 900; }
.value-grid article p { margin: 0; color: var(--muted); }
.career { color: white; background: var(--navy-dark); }
.career-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.career h2 { color: white; }
.career-card > div:first-child > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.78); }
.career-points { display: grid; gap: .8rem; padding: 2rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; }
.career-points p { margin: 0; padding: .85rem 1rem; color: white; background: rgba(255,255,255,.06); border-radius: 12px; font-weight: 700; }
.career-points span { margin-right: .7rem; color: var(--gold); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 2.5rem; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 46px rgba(6,43,95,.08); }
.cta-panel > div { max-width: 760px; }
.cta-panel p:last-child { color: var(--muted); }
.home-trust { padding-block: 3.2rem; color: white; background: var(--navy); }
.trust-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.trust-panel h2 { margin: 0; color: white; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.trust-points span { min-height: 72px; display: grid; place-items: center; padding: .9rem; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.17); border-radius: 14px; font-weight: 700; text-align: center; }

.readable { max-width: 820px; }
.readable.wide { max-width: 1000px; }
.readable h2:not(:first-child) { margin-top: 2.8rem; }
.readable a { color: var(--navy); font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.content-section { padding-block: 1.2rem; border-top: 1px solid var(--line); }
.check-list { display: grid; gap: .65rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 900; }
[dir="rtl"] .check-list li { padding-right: 1.7rem; padding-left: 0; }
[dir="rtl"] .check-list li::before { right: 0; left: auto; }
.sidebar-card { position: sticky; top: 130px; padding: 2rem; background: var(--navy); border-radius: 22px; box-shadow: 0 18px 46px rgba(6,43,95,.14); }
.sidebar-card h2, .sidebar-card p { color: white; }
.sidebar-card .eyebrow { color: #f1d58f; }
.sidebar-card .button, .sidebar-card .text-link { width: 100%; margin-top: .8rem; }
.sidebar-card .text-link { justify-content: center; color: white; border-color: var(--gold); }
.notice, .info-panel { margin-top: 2.5rem; padding: 1.5rem 1.7rem; background: #f6f1e5; border-left: 4px solid var(--gold); border-radius: 8px 18px 18px 8px; }
.notice p:last-child, .info-panel p:last-child { margin-bottom: 0; }
.info-panel { padding: 2rem; background: var(--blue-light); border-color: var(--navy); }

.leadership-grid, .quality-grid, .job-grid, .article-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.3rem; }
.profile-card, .quality-card, .job-card, .article-card { position: relative; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 36px rgba(6,43,95,.06); }
.profile-card { display: grid; grid-template-columns: 160px minmax(0,1fr); overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.profile-card:hover, .profile-card:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(6,43,95,.14); }
.profile-media { min-height: 320px; display: grid; place-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 30% 20%, rgba(201,162,77,.55), transparent 32%), linear-gradient(145deg, #174a7e, var(--navy-dark)); }
.profile-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.profile-media b { position: relative; z-index: 2; width: 86px; height: 86px; display: grid; place-items: center; background: rgba(6,43,95,.78); border: 2px solid rgba(255,255,255,.72); border-radius: 50%; font-size: 1.7rem; letter-spacing: .08em; }
.profile-copy { padding: 1.7rem 1.55rem; }
.profile-copy .eyebrow { display: block; }
.profile-card p:not(.eyebrow), .quality-card p, .job-card p, .article-card p { color: var(--muted); }
.profile-card .text-link { display: inline-flex; }
.org-heading { max-width: 820px; margin-top: 3rem; }
.org-chart { margin-top: 2.2rem; padding: clamp(1.2rem, 3vw, 2rem); background: var(--blue-light); border: 1px solid var(--line); border-radius: 26px; }
.org-level { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.org-tier-label { display: flex; justify-content: center; margin-bottom: .85rem; }
.org-tier-label span { padding: .34rem .9rem; color: var(--navy); background: #f6f1e5; border: 1px solid #e4d6b5; border-radius: 99px; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.org-chart .profile-card { grid-template-columns: 120px minmax(0,1fr); background: white; }
.org-chart .profile-media { min-height: 240px; }
.org-chart .profile-media b { width: 70px; height: 70px; font-size: 1.4rem; }
.org-chart .profile-copy { padding: 1.35rem; }
.org-chart .profile-copy p { margin-bottom: .7rem; font-size: .92rem; line-height: 1.5; }
.org-chart .staff-card { cursor: default; }
.org-chart .staff-card:hover { transform: none; box-shadow: 0 14px 36px rgba(6,43,95,.06); }
.org-branch { position: relative; height: 76px; }
.org-branch::before { content: ""; position: absolute; top: 0; bottom: 32px; left: 50%; width: 2px; background: var(--gold); transform: translateX(-50%); }
.org-branch::after { content: ""; position: absolute; right: 25%; bottom: 32px; left: 25%; height: 2px; background: var(--gold); }
.org-branch span::before, .org-branch span::after { content: ""; position: absolute; bottom: 0; width: 2px; height: 32px; background: var(--gold); }
.org-branch span::before { left: 25%; }
.org-branch span::after { right: 25%; }
.profile-detail { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.profile-portrait { position: sticky; top: 130px; min-height: 520px; display: grid; place-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 30% 20%, rgba(201,162,77,.55), transparent 30%), linear-gradient(145deg, #174a7e, var(--navy-dark)); border-radius: 24px; box-shadow: 0 20px 50px rgba(6,43,95,.17); }
.profile-portrait span { width: 118px; height: 118px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 3px solid rgba(255,255,255,.75); border-radius: 50%; font-size: 2.2rem; font-weight: 900; letter-spacing: .08em; }
.values-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; padding: 1.5rem; color: white; background: var(--navy); border-radius: 18px; }
.values-strip div { display: grid; text-align: center; }
.values-strip strong { color: #f1d58f; font-size: 1.1rem; }
.values-strip span { font-size: .9rem; }
.career-join { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding: 2rem; background: var(--blue-light); border: 1px solid var(--line); border-radius: 22px; }
.career-join > div { max-width: 690px; }
.career-join h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.career-join p:last-child { margin-bottom: 0; color: var(--muted); }
.career-join .button { flex: 0 0 auto; }
.quality-card, .job-card { padding: 2rem; }
.quality-card > span, .article-card > span { color: var(--gold-dark); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.quality-card h2, .article-card h2 { margin-top: .8rem; font-size: 1.5rem; }
.job-card { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.job-card:hover, .job-card:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(6,43,95,.14); }
.job-card h3 { margin-top: 0; }
.job-card .text-link { display: inline-flex; }
.job-facts { display: grid; gap: .25rem; margin-bottom: 2rem; padding: 1.2rem 1.4rem; background: var(--blue-light); border-left: 4px solid var(--gold); border-radius: 8px 16px 16px 8px; }
.job-facts strong { color: var(--navy); }
.quality-intro { max-width: 880px; margin-bottom: 2.8rem; }
.quality-cycle { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin-top: 2.5rem; overflow: hidden; color: white; background: rgba(255,255,255,.18); border-radius: 18px; }
.quality-cycle div { display: grid; gap: .35rem; padding: 1.5rem; background: var(--navy); }
.quality-cycle strong { color: #f1d58f; }
.quality-cycle span { font-size: .9rem; }
.article-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.article-card { display: grid; grid-template-rows: 175px 1fr; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover, .article-card:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(6,43,95,.14); }
.article-card > img { width: 100%; height: 175px; object-fit: cover; }
.article-copy { display: flex; flex-direction: column; padding: 1.55rem; }
.article-copy > small { color: var(--gold-dark); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.article-copy h2 { margin: .7rem 0; font-size: 1.42rem; }
.article-copy p { flex: 1; }
.article-copy .text-link { align-self: flex-start; margin-top: 1rem; }
.guide-updated { display: inline-flex; margin-bottom: 1.5rem; padding: .35rem .8rem; color: var(--navy); background: #f6f1e5; border-radius: 99px; font-size: .78rem; font-weight: 800; }
.official-links { margin-top: 2.5rem; padding: 1.6rem 1.8rem; background: var(--blue-light); border: 1px solid var(--line); border-radius: 18px; }
.official-links h2 { font-size: 1.45rem; }
.official-links a { color: var(--navy); font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-data { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-data p { display: grid; margin: 0; padding-left: 1rem; border-left: 3px solid var(--gold); }
.contact-data small { color: var(--muted); font-weight: 700; }
.contact-data a, .contact-data span { color: var(--navy); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.emergency-info { margin-top: 2rem; padding: 1rem 1.1rem; background: white; border: 1px solid #e4d6b5; border-radius: 14px; box-shadow: 0 10px 28px rgba(6,43,95,.06); }
.emergency-info h3 { margin-bottom: .7rem; font-size: 1.08rem; }
.emergency-info p { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .65rem; margin: .55rem 0; font-size: .84rem; line-height: 1.35; }
.emergency-info small { display: block; margin-top: .75rem; padding-top: .7rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.45; }
.emergency-number { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin-inline-end: .35rem; padding: .18rem .7rem; color: white !important; background: var(--navy); border-radius: 999px; font-weight: 900 !important; text-decoration: none !important; }
.emergency-number:hover, .emergency-number:focus-visible { background: var(--gold-dark); }
.emergency-112 { background: #b42318; }
.emergency-112:hover, .emergency-112:focus-visible { background: #7a271a; }
.emergency-116117 { color: var(--navy-dark) !important; background: #f2c94c; }
.emergency-116117:hover, .emergency-116117:focus-visible { background: var(--gold); }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 4vw, 2.3rem); background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 46px rgba(6,43,95,.11); }
.contact-form label { display: grid; gap: .4rem; color: var(--navy); font-size: .9rem; font-weight: 800; }
.contact-method { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.contact-method legend { padding: 0 .35rem; color: var(--navy); font-size: .9rem; font-weight: 800; }
.contact-method > p { margin: 0 0 .8rem; color: var(--muted); font-size: .8rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: .8rem .9rem; color: var(--ink); background: white; border: 1px solid #b9c4d1; border-radius: 10px; font: inherit; }
.contact-form .check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .6rem; color: var(--ink); font-weight: 400; }
.contact-form .check input { width: 18px; height: 18px; margin-top: .2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form > p { margin: 0; color: var(--muted); font-size: .78rem; }
.contact-form button { min-height: 50px; padding: .75rem 1.25rem; color: white; background: var(--navy); border: 0; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
.contact-form button:hover { background: var(--navy-dark); }
.contact-form .form-status { padding: .8rem 1rem; color: var(--navy); background: #f6f1e5; border-left: 3px solid var(--gold); border-radius: 7px; font-size: .88rem; font-weight: 700; }
.writing-assistant { display: grid; gap: .55rem; padding: .85rem; background: var(--blue-light); border: 1px solid var(--line); border-radius: 12px; }
.writing-assistant > strong { color: var(--navy); font-size: .82rem; }
.writing-assistant > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.contact-form .writing-assistant button { min-height: 36px; padding: .42rem .7rem; color: var(--navy); background: white; border: 1px solid #b9c4d1; border-radius: 9px; box-shadow: none; font-size: .76rem; font-weight: 700; line-height: 1.3; text-align: start; }
.contact-form .writing-assistant button:hover, .contact-form .writing-assistant button:focus-visible { color: var(--navy-dark); background: #f6f1e5; border-color: var(--gold); }
.map-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 2rem; background: var(--cream); border: 1px solid var(--line); border-radius: 24px; }
.map-privacy { color: var(--muted); font-size: .9rem; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.map-actions button { font: inherit; cursor: pointer; }
.map-frame { min-height: 340px; overflow: hidden; background: var(--navy); border-radius: 18px; }
.map-frame iframe { width: 100%; height: 340px; display: block; border: 0; }
.map-placeholder { width: 100%; min-height: 340px; display: grid; place-content: center; gap: .25rem; padding: 2rem; color: white; background: radial-gradient(circle at 65% 25%, rgba(201,162,77,.28), transparent 22%), linear-gradient(135deg, var(--navy), #174a7e); border: 0; font: inherit; text-align: center; cursor: pointer; }
.map-placeholder:hover, .map-placeholder:focus-visible { background: radial-gradient(circle at 65% 25%, rgba(201,162,77,.4), transparent 24%), linear-gradient(135deg, var(--navy-dark), #174a7e); }
.map-pin { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto .7rem; color: var(--gold); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); border-radius: 50% 50% 50% 0; font-size: 1.1rem; transform: rotate(-45deg); }
.map-pin::first-letter { transform: rotate(45deg); }
.map-placeholder strong { color: #f1d58f; font-size: 1.45rem; }
.map-placeholder small { display: inline-flex; justify-content: center; margin-top: .8rem; padding: .35rem .75rem; color: var(--navy-dark); background: var(--gold); border-radius: 999px; font-weight: 800; }

.language-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 2rem; padding: 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; }
.language-nav strong { color: var(--navy); }
.language-nav a { padding: .35rem .7rem; color: var(--navy); border: 1px solid var(--line); border-radius: 99px; font-weight: 700; text-decoration: none; }
.language-nav a[aria-current="page"] { color: white; background: var(--navy); border-color: var(--navy); }
.patient-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.mini-card { position: relative; display: grid; grid-template-columns: 132px minmax(0,1fr); min-height: 150px; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; }
.mini-card img { width: 100%; height: 100%; object-fit: cover; }
.mini-card > div { padding: 1.1rem; }
.mini-card span { color: var(--gold-dark); font-size: .75rem; font-weight: 900; }
.mini-card h3 { margin: .4rem 0 0; font-size: 1.1rem; }
.mini-card p { margin: .45rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.request-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--blue-light); border: 1px solid var(--line); border-radius: 24px; }
.request-intro { position: sticky; top: 130px; }
.request-intro > p:last-child { color: var(--muted); }
.request-form { box-shadow: none; }
.field-help { color: var(--muted); font-size: .78rem; font-weight: 400; line-height: 1.45; }
.german-home-link { margin-top: 1.5rem; }
[dir="rtl"] { font-family: Arial, Helvetica, sans-serif; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }

.legal h2 { font-size: 1.65rem; }
.not-found { min-height: 60vh; display: grid; align-items: center; background: var(--blue-light); }
.footer { padding-top: 4rem; color: var(--ink); background: linear-gradient(135deg, #f7f9fc, #e8edf4); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr .8fr; gap: 2rem; }
.footer-grid > div:first-child > p { max-width: 310px; margin-top: 1.2rem; color: var(--muted); }
.footer h3 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a { color: var(--navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:hover, .footer-grid a:focus-visible { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.footer-address { margin-top: .8rem; font-size: .9rem; line-height: 1.55; }
.footer-grid p { color: var(--muted); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.25rem; color: var(--muted); border-top: 1px solid #cbd4df; font-size: .8rem; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold); background: rgba(6,43,95,.96); border: 1px solid rgba(201,162,77,.65); border-radius: 12px; box-shadow: 0 10px 24px rgba(3,28,62,.24); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.back-to-top:hover, .back-to-top:focus-visible { color: white; background: var(--navy-dark); transform: translateY(-3px); }
.up-arrow { width: 11px; height: 11px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }

@media (max-width: 1180px) {
  .desktop-nav, .header-cta { display: none; }
  .language-switcher { margin-left: auto; }
  .mobile-menu { display: block; margin-left: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-teaser-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .services-ribbon { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .opening-banner { display: block; min-height: auto; font-size: .72rem; }
  .opening-banner span { display: block; }
  .header-inner { min-height: 78px; gap: .6rem; }
  .tc-brand-logo { width: 124px; }
  .tc-brand-monogram { font-size: 1.9rem; }
  .tc-brand-logo small { font-size: .44rem; letter-spacing: .1em; }
  .language-switcher summary { min-height: 42px; gap: .38rem; padding: .46rem .62rem; }
  .language-switcher nav { right: -54px; left: auto; width: min(320px, calc(100vw - 28px)); min-width: 0; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .language-switcher nav a { justify-content: center; text-align: center; }
  .mobile-menu > summary { width: 44px; height: 44px; }
  .hero { min-height: 610px; align-items: end; }
  .hero-image { background-position: 68% top; }
  .hero-overlay { background: linear-gradient(180deg, transparent 0%, rgba(6,43,95,.08) 24%, rgba(6,43,95,.65) 60%, rgba(3,28,62,.95) 100%); }
  .hero-content { padding-block: 10rem 2.5rem; }
  .hero-content h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .page-hero { min-height: 390px; }
  .page-hero-shade { background: linear-gradient(180deg, rgba(3,28,62,.1), rgba(3,28,62,.93)); }
  .page-hero-copy { padding-block: 8rem 2.5rem; }
  .actions { display: grid; }
  .intro-grid, .two-column, .career-card, .contact-grid, .article-layout, .map-panel, .trust-panel { grid-template-columns: 1fr; }
  .profile-detail { grid-template-columns: 1fr; }
  .profile-portrait { position: static; min-height: 380px; }
  .rounded-image img { min-height: 350px; }
  .section-heading { display: block; }
  .service-grid, .value-grid, .leadership-grid, .quality-grid, .job-grid, .article-grid, .patient-service-grid, .form-row { grid-template-columns: 1fr; }
  .home-teaser-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .home-teaser { grid-template-columns: 105px minmax(0,1fr); min-height: 170px; }
  .services-ribbon > div { grid-template-columns: 1fr 1fr; }
  .trust-points { grid-template-columns: 1fr; }
  .trust-points span { min-height: 54px; }
  .cta-panel { display: grid; padding: 1.5rem; }
  .sidebar-card { position: static; }
  .values-strip { grid-template-columns: 1fr; }
  .career-join { display: grid; padding: 1.4rem; }
  .career-join .button { width: 100%; }
  .quality-cycle { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .back-to-top { right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 11px; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-media { min-height: 270px; }
  .org-chart .profile-card { grid-template-columns: 92px minmax(0,1fr); }
  .org-chart .profile-media { min-height: 220px; }
  .org-level { grid-template-columns: 1fr; }
  .org-branch { height: 54px; }
  .org-branch::before { bottom: 0; }
  .org-branch::after, .org-branch span::before, .org-branch span::after { display: none; }
  .map-actions { align-items: stretch; }
  .map-actions .button, .map-actions .text-link { justify-content: center; }
  .emergency-info p { grid-template-columns: 1fr; }
  .mini-card { grid-template-columns: 112px minmax(0,1fr); }
  .request-panel { grid-template-columns: 1fr; }
  .request-intro { position: static; }
}

@media (max-width: 390px) {
  .tc-brand-logo { width: 114px; }
  .language-switcher summary { padding-inline: .55rem; }
  .services-ribbon > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* WordPress editor and production integration */
.entry-content { max-width: 1180px; }
.entry-content > * { max-width: 920px; }
.entry-content > .alignwide,
.entry-content > .service-grid,
.entry-content > .services-ribbon,
.entry-content > .home-teaser-grid,
.entry-content > .quality-grid,
.entry-content > .quality-cycle,
.entry-content > .job-grid,
.entry-content > .article-grid,
.entry-content > .patient-service-grid,
.entry-content > .request-panel,
.entry-content > .map-panel,
.entry-content > .org-chart,
.entry-content > .values-strip,
.entry-content > .wp-block-columns { max-width: 1180px; }
.entry-content > h2 { margin-top: clamp(2.4rem, 5vw, 4.5rem); }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content > .wp-block-buttons { margin-top: 1.4rem; }
.wp-block-button__link { min-height: 50px; display: inline-flex; align-items: center; padding: .75rem 1.35rem; color: white; background: var(--navy); border-radius: 999px; font-weight: 800; text-decoration: none; }
.wp-block-button.button-gold .wp-block-button__link { color: var(--navy-dark); background: var(--gold); }
.home-content .entry-content > .eyebrow { margin-bottom: .75rem; }
.home-content .entry-content > .services-ribbon { margin-top: 2rem; }
.home-content .home-teaser-grid { margin-top: 1.15rem; }
.home-content .trust-panel { max-width: 1180px; margin-top: 3.5rem; padding: 2rem; color: white; background: var(--navy); border-radius: 22px; }
.home-content .trust-panel h2 { color: white; }
.home-content .entry-content > .wp-block-buttons:last-child { margin-bottom: 0; }
.tc-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tc-form-notice { position: sticky; top: 94px; z-index: 95; padding: .9rem 20px; color: white; text-align: center; font-weight: 800; }
.tc-form-notice.success { background: #18794e; }
.tc-form-notice.error { background: #b42318; }
.contact-form input:invalid:not(:placeholder-shown) { border-color: #b42318; }
.contact-form select:invalid { color: var(--muted); }
.map-frame iframe { width: 100%; min-height: 340px; border: 0; }
.profile-media:has(img) { position: relative; }
.entry-content [dir="rtl"] { text-align: right; }
.entry-content [dir="rtl"] h1,
.entry-content [dir="rtl"] h2,
.entry-content [dir="rtl"] h3 { text-align: right; }
.entry-content .contact-form { margin-top: 2rem; }
.entry-content .request-panel .contact-form { margin-top: 0; }
.entry-content > .contact-data,
.entry-content > .emergency-info { max-width: 760px; }

@media (max-width: 760px) {
  .entry-content > * { max-width: 100%; }
  .custom-logo { max-width: 140px; max-height: 64px; }
  .home-content .trust-panel { padding: 1.3rem; }
  .tc-form-notice { top: 78px; }
}
