/*
 Theme Name: Hospicjum Raciborz Divi Child
 Template: Divi
 Version: 1.0.1
 Description: Accessible Divi child theme for Hospicjum im. sw. Jozefa w Raciborzu.
*/

:root {
  --hosp-green-950: #12332f;
  --hosp-green-850: #18483f;
  --hosp-green-700: #286358;
  --hosp-teal-700: #2f5d62;
  --hosp-red-800: #7a2e3b;
  --hosp-yellow-500: #e5b321;
  --hosp-yellow-100: #fff3bf;
  --hosp-cream-50: #fffaf2;
  --hosp-mint-50: #f1f7f3;
  --hosp-ink: #152522;
  --hosp-muted: #52615e;
  --hosp-line: #dce7e1;
  --hosp-white: #ffffff;
  --hosp-shadow: 0 18px 55px rgba(18, 51, 47, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--hosp-ink);
  background: var(--hosp-white);
  font-size: 17px;
  line-height: 1.68;
}

body,
input,
textarea,
select,
button {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

a {
  color: var(--hosp-teal-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hosp-red-800);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--hosp-yellow-500) !important;
  outline-offset: 4px;
  box-shadow: none !important;
}

.hosp-skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100000;
  transform: translateY(-140%);
  padding: 12px 18px;
  color: var(--hosp-green-950);
  background: var(--hosp-yellow-100);
  border: 2px solid var(--hosp-green-950);
  border-radius: 8px;
  font-weight: 800;
}

.hosp-skip-link:focus {
  transform: translateY(0);
}

body.et_pb_layout-template-default:not(.et-vb-app-ancestor) #main-header,
body.et_pb_layout-template-default:not(.et-vb-app-ancestor) #main-footer {
  display: block !important;
}

body.et_pb_layout-template-default:not(.et-vb-app-ancestor) #page-container {
  padding-top: 96px !important;
}

#main-header {
  border-bottom: 1px solid rgba(220, 231, 225, 0.92);
  box-shadow: 0 10px 35px rgba(18, 51, 47, 0.08);
}

#main-header .container {
  width: 92%;
  max-width: 1240px;
}

#logo {
  max-height: 72px;
}

#top-menu li {
  padding-right: 12px;
}

#top-menu a {
  color: var(--hosp-green-950);
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0;
}

#top-menu li.current-menu-item > a,
#top-menu li.current-menu-ancestor > a,
#top-menu a:hover {
  color: var(--hosp-red-800);
}

.et_mobile_menu {
  border-top-color: var(--hosp-yellow-500);
}

.et_pb_section,
.et_block_row {
  padding-top: 0;
  padding-bottom: 0;
}

.et_block_row {
  width: 92%;
  max-width: 1180px;
}

.hosp-hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  background-color: var(--hosp-mint-50);
  background-position: 75% center;
  background-size: cover;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hosp-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.92) 38%, rgba(255, 250, 242, 0.38) 68%, rgba(255, 250, 242, 0.12) 100%),
    linear-gradient(180deg, rgba(18, 51, 47, 0.08) 0%, rgba(18, 51, 47, 0.02) 100%);
}

.hosp-hero__inner {
  position: relative;
  z-index: 3;
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 0 86px;
}

.hosp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--hosp-green-850);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hosp-kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hosp-yellow-500);
  box-shadow: 0 0 0 6px rgba(229, 179, 33, 0.18);
}

.hosp-hero h1,
.hosp-page-hero h1 {
  max-width: 780px;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 3.45rem;
  line-height: 1.06;
  font-weight: 850;
}

.hosp-hero__lead,
.hosp-page-hero__lead {
  max-width: 680px;
  margin-top: 22px;
  color: #293b37;
  font-size: 1.2rem;
  line-height: 1.72;
}

.hosp-hero__actions,
.hosp-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hosp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid var(--hosp-green-950);
  border-radius: 8px;
  color: var(--hosp-white);
  background: var(--hosp-green-950);
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.hosp-button:hover {
  color: var(--hosp-white);
  background: var(--hosp-red-800);
  border-color: var(--hosp-red-800);
}

.hosp-button--secondary {
  color: var(--hosp-green-950);
  background: rgba(255, 255, 255, 0.82);
}

.hosp-button--secondary:hover {
  color: var(--hosp-green-950);
  background: var(--hosp-yellow-100);
  border-color: var(--hosp-yellow-500);
}

.hosp-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin-top: 44px;
}

.hosp-fact {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 231, 225, 0.96);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 51, 47, 0.08);
}

.hosp-fact strong {
  display: block;
  color: var(--hosp-green-950);
  font-size: 1.08rem;
  line-height: 1.24;
}

.hosp-fact span {
  display: block;
  margin-top: 6px;
  color: var(--hosp-muted);
  font-size: 0.95rem;
}

.hosp-section {
  padding: 76px 0;
}

.hosp-section--soft {
  background: linear-gradient(180deg, var(--hosp-mint-50), #ffffff);
}

.hosp-section--cream {
  background: var(--hosp-cream-50);
}

.hosp-section__inner,
.hosp-page-hero__inner {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.hosp-section h2,
.hosp-content h2 {
  color: var(--hosp-green-950);
  font-size: 2.05rem;
  line-height: 1.2;
  font-weight: 820;
}

.hosp-content h2 {
  font-size: 1.55rem;
  line-height: 1.28;
}

.hosp-section__intro {
  max-width: 780px;
  margin-top: 14px;
  color: var(--hosp-muted);
  font-size: 1.08rem;
}

.hosp-section__header {
  max-width: 860px;
}

.hosp-card-grid,
.hosp-contact-grid,
.hosp-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.hosp-card,
.hosp-contact-card,
.hosp-doc-card,
.hosp-quote {
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: var(--hosp-shadow);
}

.hosp-card,
.hosp-contact-card,
.hosp-doc-card {
  padding: 24px;
}

.hosp-card h3,
.hosp-contact-card h2,
.hosp-doc-card a {
  color: var(--hosp-green-950);
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 830;
}

.hosp-card p,
.hosp-contact-card p,
.hosp-doc-card p {
  color: var(--hosp-muted);
}

.hosp-contact-card--email {
  display: flex;
  flex-direction: column;
}

.hosp-contact-card--email p:last-child {
  margin-top: auto;
  padding-top: 18px;
}

.hosp-contact-card--email a {
  overflow-wrap: anywhere;
}

.hosp-home-programs {
  border-top: 1px solid rgba(220, 231, 225, 0.72);
  border-bottom: 1px solid rgba(220, 231, 225, 0.72);
}

.hosp-program-grid,
.hosp-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.hosp-program-card,
.hosp-video-card {
  overflow: hidden;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(18, 51, 47, 0.1);
}

.hosp-program-card {
  display: grid;
  grid-template-rows: 190px 1fr;
}

.hosp-program-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(241, 247, 243, 0.84), rgba(255, 250, 242, 0.72)),
    var(--hosp-white);
  border-bottom: 1px solid var(--hosp-line);
}

.hosp-program-card__logo-wrap img {
  display: block;
  width: auto;
  max-width: 72%;
  max-height: 136px;
  object-fit: contain;
}

.hosp-program-card__logo-wrap--wide img {
  max-width: 94%;
  max-height: 96px;
}

.hosp-program-card__body,
.hosp-video-card__body {
  padding: 24px;
}

.hosp-program-card__eyebrow {
  margin: 0 0 10px;
  color: var(--hosp-teal-700);
  font-size: 0.92rem;
  font-weight: 830;
  line-height: 1.35;
}

.hosp-program-card h3,
.hosp-video-card h3 {
  margin: 0;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.28rem;
  line-height: 1.36;
  font-weight: 820;
}

.hosp-program-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 18px;
  padding: 7px 12px;
  color: var(--hosp-green-950);
  background: var(--hosp-yellow-100);
  border: 1px solid rgba(229, 179, 33, 0.45);
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.2;
}

.hosp-home-support {
  background: var(--hosp-green-950);
}

.hosp-support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 0;
  overflow: hidden;
  background: var(--hosp-white);
  border-radius: 8px;
}

.hosp-support-panel__media {
  min-height: 330px;
  padding: 28px;
  background: var(--hosp-cream-50);
}

.hosp-support-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.hosp-support-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 46px;
}

.hosp-support-panel__content h2 {
  margin: 0;
}

.hosp-support-panel__content p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--hosp-muted);
  font-size: 1.08rem;
}

.hosp-krs-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  padding: 14px 16px;
  color: var(--hosp-white);
  background: var(--hosp-green-950);
  border-radius: 8px;
}

.hosp-krs-box span {
  color: var(--hosp-yellow-100);
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hosp-krs-box strong {
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hosp-video-card {
  display: flex;
  flex-direction: column;
}

.hosp-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07100e;
}

.hosp-video-frame iframe,
.hosp-video-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hosp-video-frame video {
  object-fit: cover;
}

.hosp-content {
  color: var(--hosp-ink);
  font-size: 1.02rem;
}

.hosp-content > p,
.hosp-content > ul,
.hosp-content > ol,
.hosp-content > h2,
.hosp-content > h3,
.hosp-content > h4 {
  max-width: 900px;
}

.hosp-content > * + * {
  margin-top: 1rem;
}

.hosp-content p,
.hosp-content li {
  line-height: 1.78;
}

.hosp-content p > strong:only-child,
.hosp-content p > b:only-child {
  font-weight: inherit;
}

.hosp-content h2,
.hosp-content h3,
.hosp-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  padding: 0;
}

.hosp-content h3 {
  color: var(--hosp-teal-700);
  font-size: 1.45rem;
  font-weight: 790;
}

.hosp-content h2 em,
.hosp-content h2 i,
.hosp-content h3 em,
.hosp-content h3 i {
  font-style: normal;
}

.hosp-content img {
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(18, 51, 47, 0.12);
}

.hosp-content table {
  width: 100%;
  display: table;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  background: var(--hosp-white);
}

.hosp-content th,
.hosp-content td {
  padding: 14px 16px;
  border: 1px solid var(--hosp-line);
  vertical-align: top;
}

.hosp-content th {
  color: var(--hosp-green-950);
  background: var(--hosp-mint-50);
  font-weight: 820;
}

.hosp-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hosp-mint-50), #ffffff 54%, var(--hosp-cream-50));
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid var(--hosp-line);
}

.hosp-page-hero--galeria {
  background-position: right 72%;
}

.hosp-page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.94) 38%, rgba(255, 250, 242, 0.76) 62%, rgba(255, 250, 242, 0.24) 100%);
}

.hosp-page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 58px;
}

.hosp-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.hosp-history-main,
.hosp-history-aside {
  display: grid;
  gap: 20px;
}

.hosp-history-aside {
  position: sticky;
  top: 112px;
}

.hosp-history-block,
.hosp-history-callout,
.hosp-history-founder-card,
.hosp-history-facts,
.hosp-history-quote,
.hosp-history-notes {
  margin: 0;
  padding: 28px;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(18, 51, 47, 0.09);
}

.hosp-history-block--lead {
  background: linear-gradient(135deg, var(--hosp-mint-50), #ffffff 62%, var(--hosp-cream-50));
}

.hosp-history-block h2,
.hosp-history-facts h2 {
  margin: 0 0 1rem;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.55rem;
  line-height: 1.22;
  font-weight: 850;
}

.hosp-history-block p,
.hosp-history-callout p,
.hosp-history-quote p,
.hosp-history-founder-card figcaption,
.hosp-history-facts dd,
.hosp-history-notes li {
  line-height: 1.72;
}

.hosp-history-block p:last-child,
.hosp-history-callout p:last-child,
.hosp-history-quote p:last-child {
  margin-bottom: 0;
}

.hosp-history-lead {
  color: var(--hosp-green-850);
  font-size: 1.2rem;
  font-weight: 720;
}

.hosp-history-callout {
  color: var(--hosp-white);
  background: var(--hosp-green-950);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(18, 51, 47, 0.18);
}

.hosp-history-callout strong {
  color: var(--hosp-yellow-100);
}

.hosp-history-timeline {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-left: 22px;
  border-left: 3px solid var(--hosp-yellow-500);
}

.hosp-history-timeline__item {
  position: relative;
}

.hosp-history-timeline__item::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: -31px;
  width: 15px;
  height: 15px;
  background: var(--hosp-yellow-500);
  border: 3px solid var(--hosp-white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--hosp-yellow-500);
}

.hosp-history-timeline__item span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--hosp-red-800);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0;
}

.hosp-history-timeline__item p {
  margin: 0;
}

.hosp-history-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 20px;
}

.hosp-history-service-grid article {
  padding-top: 16px;
  border-top: 3px solid var(--hosp-line);
}

.hosp-history-service-grid h3 {
  margin: 0 0 8px;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.06rem;
  line-height: 1.32;
  font-weight: 840;
}

.hosp-history-service-grid p {
  margin: 0;
  color: var(--hosp-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.hosp-history-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.hosp-history-check-list li {
  position: relative;
  padding-left: 30px;
  list-style: none !important;
}

.hosp-history-check-list li::marker {
  content: "";
  font-size: 0;
}

.hosp-history-check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--hosp-yellow-500);
  border: 3px solid var(--hosp-yellow-100);
  border-radius: 50%;
}

.hosp-history-quote {
  color: var(--hosp-green-950);
  background: var(--hosp-cream-50);
  border-left: 6px solid var(--hosp-yellow-500);
}

.hosp-history-quote p {
  font-size: 1.18rem;
  font-weight: 760;
}

.hosp-history-founder-card {
  overflow: hidden;
  padding: 0;
}

.hosp-history-founder-card__photo {
  padding: 18px;
  background: var(--hosp-cream-50);
  border-bottom: 1px solid var(--hosp-line);
}

.hosp-history-photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}

.hosp-history-photo-link:focus-visible {
  outline: 3px solid var(--hosp-yellow-500);
  outline-offset: 4px;
}

.hosp-history-founder-gallery.et_pb_gallery {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0;
}

.hosp-history-founder-gallery .et_pb_gallery_items,
.hosp-history-founder-gallery .et_pb_gallery_item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.hosp-history-founder-gallery .et_pb_gallery_image {
  overflow: hidden;
  border-radius: 8px;
}

.hosp-history-founder-gallery br {
  display: none;
}

.hosp-history-founder-gallery .et_pb_gallery_image a {
  display: block;
  cursor: zoom-in;
}

.hosp-history-founder-gallery .et_pb_gallery_title,
.hosp-history-founder-gallery .et_pb_gallery_pagination {
  display: none !important;
}

.hosp-history-founder-card img {
  display: block;
  width: 100%;
  aspect-ratio: 32 / 25;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: none;
}

.hosp-history-founder-card figcaption {
  display: grid;
  gap: 6px;
  padding: 22px;
  color: var(--hosp-muted);
  font-size: 0.96rem;
}

.hosp-history-founder-card strong {
  color: var(--hosp-green-950);
  font-size: 1.12rem;
  line-height: 1.3;
}

.hosp-history-founder-card span,
.hosp-history-founder-card small {
  display: block;
}

.hosp-history-founder-card small {
  color: var(--hosp-muted);
  font-size: 0.86rem;
}

.hosp-history-facts dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hosp-history-facts dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hosp-line);
}

.hosp-history-facts dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hosp-history-facts dt {
  color: var(--hosp-muted);
  font-weight: 750;
}

.hosp-history-facts dd {
  margin: 0;
  color: var(--hosp-green-950);
  font-weight: 850;
  text-align: right;
}

.hosp-history-notes {
  color: var(--hosp-muted);
  background: var(--hosp-mint-50);
  box-shadow: none;
}

.hosp-history-notes summary {
  cursor: pointer;
  color: var(--hosp-green-950);
  font-weight: 830;
}

.hosp-history-notes ol {
  margin: 18px 0 0;
  padding-left: 1.3rem;
}

.hosp-team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 28px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(241, 247, 243, 0.96), rgba(255, 255, 255, 0.98) 58%, rgba(255, 250, 242, 0.96)),
    var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(18, 51, 47, 0.09);
}

.hosp-team-intro__text h2 {
  max-width: 620px;
  margin: 0.75rem 0 1rem;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.68rem;
  line-height: 1.22;
  font-weight: 860;
}

.hosp-team-intro__text p {
  max-width: 680px;
  margin: 0;
  color: var(--hosp-green-850);
  font-size: 1.08rem;
  line-height: 1.72;
  font-weight: 650;
}

.hosp-team-intro__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  padding-top: 3px;
}

.hosp-team-intro__roles article {
  padding-top: 16px;
  border-top: 3px solid var(--hosp-yellow-500);
}

.hosp-team-intro__roles span {
  display: block;
  margin-bottom: 7px;
  color: var(--hosp-green-950);
  font-weight: 850;
}

.hosp-team-intro__roles p {
  margin: 0;
  color: var(--hosp-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hosp-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hosp-team-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 184px;
  padding: 18px;
  overflow: hidden;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(18, 51, 47, 0.11);
}

.hosp-team-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 126px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--hosp-green-950);
  background: linear-gradient(135deg, var(--hosp-mint-50), var(--hosp-cream-50));
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  font-size: 1.45rem;
  font-weight: 850;
}

.hosp-team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

.hosp-team-card__photo--placeholder {
  min-height: 158px;
}

.hosp-team-card__body {
  min-width: 0;
}

.hosp-team-card__body h3 {
  margin: 0 0 0.55rem;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.14rem;
  line-height: 1.25;
  font-weight: 840;
}

.hosp-team-card__body p {
  margin: 0 0 0.55rem;
  color: var(--hosp-muted);
  font-size: 0.97rem;
  line-height: 1.52;
}

.hosp-team-card__body strong,
.hosp-team-card__body b {
  color: var(--hosp-green-950);
  font-size: 1.12rem;
}

.hosp-story-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hosp-mint-50), #ffffff 62%, var(--hosp-cream-50));
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(18, 51, 47, 0.09);
}

.hosp-story-intro--hope {
  background: linear-gradient(135deg, #ffffff, var(--hosp-cream-50) 58%, var(--hosp-mint-50));
}

.hosp-story-intro__text h2 {
  max-width: 720px;
  margin: 0.75rem 0 1rem;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.76rem;
  line-height: 1.2;
  font-weight: 860;
}

.hosp-story-intro__text p {
  max-width: 780px;
  margin: 0;
  color: var(--hosp-green-850);
  font-size: 1.09rem;
  line-height: 1.72;
  font-weight: 650;
}

.hosp-story-intro__facts {
  display: grid;
  gap: 12px;
  align-content: center;
}

.hosp-story-intro__facts div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
}

.hosp-story-intro__facts strong,
.hosp-story-intro__facts span {
  display: block;
}

.hosp-story-intro__facts strong {
  color: var(--hosp-green-950);
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 850;
}

.hosp-story-intro__facts span {
  margin-top: 4px;
  color: var(--hosp-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.hosp-story-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.hosp-story-card,
.hosp-story-feature,
.hosp-story-docs {
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(18, 51, 47, 0.09);
}

.hosp-story-card {
  padding: 24px;
  border-top: 5px solid var(--hosp-yellow-500);
}

.hosp-story-card h2,
.hosp-story-feature h2 {
  margin: 0 0 0.8rem;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.24rem;
  line-height: 1.28;
  font-weight: 850;
}

.hosp-story-card p,
.hosp-story-feature p {
  margin: 0;
  color: var(--hosp-muted);
  line-height: 1.68;
}

.hosp-story-feature {
  margin: 28px 0;
  padding: 28px;
  background: linear-gradient(135deg, var(--hosp-green-950), var(--hosp-green-850));
  color: var(--hosp-white);
}

.hosp-story-feature h2,
.hosp-story-feature p,
.hosp-story-feature strong {
  color: var(--hosp-white);
}

.hosp-story-feature .hosp-kicker {
  color: var(--hosp-yellow-100);
}

.hosp-story-docs {
  margin: 30px 0;
  padding: 28px;
}

.hosp-story-docs .hosp-doc-grid {
  margin-top: 22px;
}

.hosp-gallery-section {
  margin-top: 34px;
}

body.page-id-115 .et_builder_inner_content > .et_pb_section:last-child,
body.page-id-116 .et_builder_inner_content > .et_pb_section:last-child,
body.page-id-117 .et_builder_inner_content > .et_pb_section:last-child {
  padding-bottom: 92px !important;
}

.hosp-native-gallery.et_pb_gallery {
  width: 92%;
  max-width: 1180px;
  margin: 24px auto 0;
}

.hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_item {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_image,
.hosp-native-gallery.et_pb_gallery_fullwidth .et_pb_gallery_image {
  overflow: hidden;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 51, 47, 0.10);
}

.hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_image a {
  display: block;
}

.hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_image:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.hosp-native-gallery.et_pb_gallery .et_overlay {
  border: 0;
  background: rgba(18, 51, 47, 0.18);
}

.hosp-native-gallery--documents.et_pb_gallery_grid .et_pb_gallery_image img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--hosp-white);
}

.hosp-native-gallery.et_pb_gallery_fullwidth {
  padding: 0;
}

.hosp-native-gallery.et_pb_gallery_fullwidth .et_pb_gallery_image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hosp-native-gallery.et_pb_gallery_fullwidth .et_pb_gallery_image img {
  display: block;
  width: 100%;
  max-height: min(72vh, 700px);
  object-fit: contain;
  background: var(--hosp-white);
}

.hosp-native-gallery.et_pb_gallery_fullwidth .et-pb-arrow-prev,
.hosp-native-gallery.et_pb_gallery_fullwidth .et-pb-arrow-next {
  width: 48px;
  height: 48px;
  color: var(--hosp-white) !important;
  background: rgba(18, 51, 47, 0.9);
  border-radius: 50%;
  text-decoration: none;
}

.hosp-native-gallery.et_pb_gallery_fullwidth .et-pb-arrow-prev {
  left: 18px !important;
}

.hosp-native-gallery.et_pb_gallery_fullwidth .et-pb-arrow-next {
  right: 18px !important;
}

.hosp-gallery-grid,
.hosp-story-gallery,
.hosp-statut-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hosp-gallery-grid figure,
.hosp-story-gallery figure,
.hosp-statut-pages figure {
  margin: 0;
  overflow: hidden;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(18, 51, 47, 0.1);
}

.hosp-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.hosp-story-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--hosp-white);
  border-radius: 0;
  box-shadow: none;
}

.hosp-story-gallery--mosaic figure:first-child {
  grid-column: span 2;
}

.hosp-story-gallery--mosaic figure:first-child img {
  aspect-ratio: 8 / 3;
}

.hosp-statut-pages img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.hosp-gallery-grid figcaption,
.hosp-story-gallery figcaption,
.hosp-statut-pages figcaption {
  padding: 12px 14px;
  color: var(--hosp-muted);
  font-size: 0.94rem;
}

.hosp-doc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hosp-doc-card a {
  text-decoration: underline;
}

.hosp-doc-card__meta {
  color: var(--hosp-muted);
  font-size: 0.93rem;
}

.hosp-help-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(241, 247, 243, 0.96), rgba(255, 255, 255, 0.99) 58%, rgba(255, 250, 242, 0.96)),
    var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(18, 51, 47, 0.10);
}

.hosp-help-panel__content h2 {
  max-width: 680px;
  margin: 0.75rem 0 1rem;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.84rem;
  line-height: 1.2;
  font-weight: 860;
}

.hosp-help-panel__content p {
  max-width: 760px;
  margin: 0;
  color: var(--hosp-green-850);
  font-size: 1.08rem;
  line-height: 1.72;
  font-weight: 650;
}

.hosp-help-panel__note {
  display: grid;
  gap: 7px;
  max-width: 620px;
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-left: 5px solid var(--hosp-yellow-500);
  border-radius: 8px;
}

.hosp-help-panel__note strong {
  color: var(--hosp-green-950);
  font-size: 1rem;
  font-weight: 850;
}

.hosp-help-panel__note span {
  color: var(--hosp-muted);
  line-height: 1.58;
}

.hosp-help-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 34px 30px 30px;
  background: var(--hosp-green-950);
  color: var(--hosp-white);
  border-radius: 8px;
}

.hosp-help-quote::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 24px;
  color: rgba(248, 210, 72, 0.48);
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.hosp-help-quote p {
  position: relative;
  margin: 0;
  color: var(--hosp-white);
  font-size: 1.26rem;
  line-height: 1.58;
  font-weight: 720;
}

.hosp-help-quote cite {
  margin-top: 18px;
  color: var(--hosp-yellow-100);
  font-style: normal;
  font-weight: 820;
}

.hosp-bank-section {
  margin-top: 10px;
}

.hosp-bank-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.hosp-bank-box__item {
  padding: 24px;
  background: var(--hosp-green-950);
  color: var(--hosp-white);
  border-radius: 8px;
}

.hosp-bank-box__item span {
  display: block;
  margin-bottom: 8px;
  color: var(--hosp-yellow-100);
  font-size: 0.95rem;
  font-weight: 800;
}

.hosp-bank-box__item strong {
  display: block;
  font-size: 1.32rem;
  line-height: 1.35;
  word-break: break-word;
}

.hosp-quote {
  margin-top: 28px;
  padding: 28px;
  border-left: 6px solid var(--hosp-yellow-500);
}

.hosp-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hosp-map-section {
  margin-top: 42px;
}

.hosp-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.hosp-map-card {
  overflow: hidden;
  background: var(--hosp-white);
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(18, 51, 47, 0.1);
}

.hosp-map-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 300px;
  background: var(--hosp-mint-50);
}

.hosp-map-card__frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hosp-map-card__body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.hosp-map-card__body h3 {
  margin: 0;
  padding: 0;
  color: var(--hosp-green-950);
  font-size: 1.2rem;
  line-height: 1.28;
  font-weight: 850;
}

.hosp-map-card__body p {
  margin: 0;
  color: var(--hosp-muted);
  line-height: 1.55;
}

.hosp-map-card__body .hosp-button {
  justify-self: start;
  margin-top: 6px;
}

.hosp-media-frame {
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid var(--hosp-line);
  border-radius: 8px;
  box-shadow: var(--hosp-shadow);
}

.hosp-media-frame iframe,
.hosp-media-frame video {
  display: block;
  width: 100%;
}

.hosp-source-note {
  margin-top: 26px;
  padding: 16px 18px;
  color: var(--hosp-muted);
  background: var(--hosp-mint-50);
  border-left: 5px solid var(--hosp-yellow-500);
  border-radius: 8px;
}

#main-footer {
  background: var(--hosp-green-950);
}

#footer-widgets {
  display: none;
}

#footer-widgets,
#footer-bottom {
  color: rgba(255, 255, 255, 0.86);
}

#footer-bottom a,
#footer-widgets a {
  color: var(--hosp-yellow-100);
}

#footer-info {
  float: none;
  max-width: 1180px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: left;
}

#footer-info a {
  color: var(--hosp-yellow-100);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#footer-bottom .et-social-icons,
#main-footer .et-social-icons {
  display: none !important;
}

@media (max-width: 1100px) {
  .hosp-card-grid,
  .hosp-contact-grid,
  .hosp-doc-grid,
  .hosp-team-grid,
  .hosp-gallery-grid,
  .hosp-story-gallery,
  .hosp-statut-pages,
  .hosp-story-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosp-history-layout {
    grid-template-columns: 1fr;
  }

  .hosp-history-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosp-team-intro {
    grid-template-columns: 1fr;
  }

  .hosp-story-intro {
    grid-template-columns: 1fr;
  }

  .hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.et_pb_layout-template-default:not(.et-vb-app-ancestor) #page-container {
    padding-top: 88px !important;
  }

  #logo {
    max-height: 64px;
  }

  .hosp-hero {
    min-height: 600px;
    background-position: 76% center;
  }

  .hosp-hero::before {
    background: linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.91) 62%, rgba(255, 250, 242, 0.62) 100%);
  }

  .hosp-page-hero--image {
    min-height: 330px;
    background-position: 70% center;
  }

  .hosp-page-hero--galeria {
    background-position: 80% 70%;
  }

  .hosp-page-hero--image::before {
    background: linear-gradient(90deg, rgba(255, 250, 242, 0.99) 0%, rgba(255, 250, 242, 0.95) 58%, rgba(255, 250, 242, 0.7) 100%);
  }

  .hosp-hero h1,
  .hosp-page-hero h1 {
    font-size: 2.45rem;
  }

  .hosp-hero__facts,
  .hosp-help-panel,
  .hosp-bank-box {
    grid-template-columns: 1fr;
  }

  .hosp-program-grid,
  .hosp-video-grid,
  .hosp-support-panel {
    grid-template-columns: 1fr;
  }

  .hosp-support-panel__media {
    min-height: 260px;
    padding: 20px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .hosp-hero {
    background-position: 78% center;
  }

  .hosp-hero::before {
    background: linear-gradient(90deg, rgba(255, 250, 242, 0.99) 0%, rgba(255, 250, 242, 0.95) 48%, rgba(255, 250, 242, 0.52) 72%, rgba(255, 250, 242, 0.16) 100%);
  }

  .hosp-hero__inner {
    padding: 78px 0 58px;
  }

  .hosp-page-hero__inner {
    padding: 58px 0 42px;
  }

  .hosp-page-hero--image {
    min-height: 300px;
    background-position: 72% center;
  }

  .hosp-page-hero--galeria {
    background-position: 84% 72%;
  }

  .hosp-page-hero--image::before {
    background: linear-gradient(90deg, rgba(255, 250, 242, 0.99) 0%, rgba(255, 250, 242, 0.97) 70%, rgba(255, 250, 242, 0.82) 100%);
  }

  .hosp-section {
    padding: 54px 0;
  }

  body.page-id-115 .et_builder_inner_content > .et_pb_section:last-child,
  body.page-id-116 .et_builder_inner_content > .et_pb_section:last-child,
  body.page-id-117 .et_builder_inner_content > .et_pb_section:last-child {
    padding-bottom: 64px !important;
  }

  .hosp-hero h1,
  .hosp-page-hero h1 {
    font-size: 2.05rem;
  }

  .hosp-content h2 {
    font-size: 1.36rem;
  }

  .hosp-help-panel {
    padding: 24px;
  }

  .hosp-help-panel__content h2 {
    font-size: 1.45rem;
  }

  .hosp-help-quote {
    padding: 30px 24px 24px;
  }

  .hosp-help-quote p {
    font-size: 1.08rem;
  }

  .hosp-card-grid,
  .hosp-contact-grid,
  .hosp-doc-grid,
  .hosp-team-grid,
  .hosp-gallery-grid,
  .hosp-story-gallery,
  .hosp-statut-pages,
  .hosp-story-card-grid,
  .hosp-program-grid,
  .hosp-video-grid,
  .hosp-map-grid,
  .hosp-history-aside,
  .hosp-history-service-grid,
  .hosp-team-intro__roles {
    grid-template-columns: 1fr;
  }

  .hosp-native-gallery.et_pb_gallery_grid .et_pb_gallery_items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hosp-native-gallery.et_pb_gallery_fullwidth .et_pb_gallery_image img {
    max-height: 62vh;
  }

  .hosp-native-gallery.et_pb_gallery_fullwidth .et-pb-arrow-prev,
  .hosp-native-gallery.et_pb_gallery_fullwidth .et-pb-arrow-next {
    width: 42px;
    height: 42px;
  }

  .hosp-team-intro {
    padding: 24px;
  }

  .hosp-team-intro__text h2 {
    font-size: 1.38rem;
  }

  .hosp-story-intro,
  .hosp-story-card,
  .hosp-story-feature,
  .hosp-story-docs {
    padding: 22px;
  }

  .hosp-story-intro__text h2 {
    font-size: 1.4rem;
  }

  .hosp-story-gallery--mosaic figure:first-child {
    grid-column: auto;
  }

  .hosp-story-gallery--mosaic figure:first-child img {
    aspect-ratio: 4 / 3;
  }

  .hosp-history-block,
  .hosp-history-callout,
  .hosp-history-founder-card figcaption,
  .hosp-history-facts,
  .hosp-history-quote,
  .hosp-history-notes {
    padding: 22px;
  }

  .hosp-history-founder-card {
    padding: 0;
  }

  .hosp-team-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .hosp-team-card__photo {
    max-width: 104px;
  }

  .hosp-team-card__photo--placeholder {
    min-height: 130px;
  }

  .hosp-program-card {
    grid-template-rows: auto 1fr;
  }

  .hosp-program-card__logo-wrap {
    min-height: 150px;
    padding: 24px;
  }

  .hosp-program-card__body,
  .hosp-video-card__body {
    padding: 20px;
  }

  .hosp-support-panel__content {
    padding: 28px 22px;
  }

  .hosp-support-panel__media {
    padding: 14px;
  }

  .hosp-krs-box {
    width: 100%;
    justify-content: space-between;
  }

  .hosp-hero__actions,
  .hosp-action-row,
  .hosp-map-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hosp-button {
    width: 100%;
  }

  .hosp-map-card__body .hosp-button {
    justify-self: stretch;
  }

  .hosp-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
