/* TogetherCare — End of Life Care page */
#end-of-life-page {
  --eol-burgundy: #721830;
  --eol-burgundy-dark: #531022;
  --eol-teal: #246b6b;
  --eol-teal-dark: #164b4b;
  --eol-sage: #dfe9e3;
  --eol-cream: #f8f4ed;
  --eol-ink: #263f43;
  --eol-muted: #5f7072;
  --eol-white: #fff;
  color: var(--eol-ink);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.7;
  overflow: hidden;
}

#end-of-life-page * { box-sizing: border-box; }
#end-of-life-page img { display: block; max-width: 100%; }
#end-of-life-page p { margin: 0 0 1.25rem; }
#end-of-life-page h1,
#end-of-life-page h2,
#end-of-life-page h3 {
  color: var(--eol-burgundy);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
}
#end-of-life-page h1 { font-size: clamp(2.8rem, 4.1vw, 4.65rem); font-weight: 600; }
#end-of-life-page h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); }
#end-of-life-page h3 { font-size: 1.3rem; letter-spacing: -.015em; }
#end-of-life-page a { color: var(--eol-burgundy); }

.tc-eol-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.tc-eol-eyebrow {
  color: var(--eol-teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
  margin-bottom: 1.05rem !important;
  text-transform: uppercase;
}
.tc-eol-eyebrow-light { color: #b9dcce; }
.tc-eol-section-heading { max-width: 760px; margin-bottom: 3rem; }
.tc-eol-section-heading > p:last-child { color: var(--eol-muted); font-size: 1.06rem; }

.tc-eol-button {
  align-items: center;
  background: var(--eol-burgundy);
  border: 2px solid var(--eol-burgundy);
  border-radius: 9px;
  color: #fff !important;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 54px;
  padding: .75rem 1.45rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tc-eol-button:hover { background: var(--eol-burgundy-dark); border-color: var(--eol-burgundy-dark); transform: translateY(-2px); }
.tc-eol-button-secondary { background: transparent; color: var(--eol-burgundy) !important; }
.tc-eol-button-secondary:hover { background: #f1e6e9; }

.tc-eol-hero { background: var(--eol-cream); }
.tc-eol-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 650px; }
.tc-eol-hero-copy { align-self: center; margin-left: max(24px, calc((100vw - 1180px) / 2)); max-width: 610px; padding: 5.7rem 4.5rem 5.7rem 0; }
.tc-eol-lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.7; max-width: 590px; }
.tc-eol-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.35rem; }
.tc-eol-hero-note { border-left: 3px solid #b79879; color: var(--eol-muted); font-size: .86rem; line-height: 1.55; margin: 0 !important; max-width: 580px; padding-left: 1rem; }
.tc-eol-hero-image { min-height: 650px; position: relative; }
.tc-eol-hero-image::after { background: linear-gradient(90deg, rgba(114,24,48,.08), transparent 30%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.tc-eol-hero-image img { height: 100%; object-fit: cover; object-position: 52% center; width: 100%; }

.tc-eol-trust { background: var(--eol-burgundy); color: #fff; padding: 1.7rem 0; }
.tc-eol-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tc-eol-trust-item { border-right: 1px solid rgba(255,255,255,.25); padding: .35rem 1.6rem; }
.tc-eol-trust-item:first-child { padding-left: 0; }
.tc-eol-trust-item:last-child { border: 0; }
.tc-eol-trust-item strong, .tc-eol-trust-item span { display: block; }
.tc-eol-trust-item strong { font-size: .98rem; margin-bottom: .25rem; }
.tc-eol-trust-item span { color: #efdfe4; font-size: .78rem; line-height: 1.45; }

.tc-eol-intro { padding: 7rem 0; }
.tc-eol-intro-grid { align-items: start; display: grid; gap: 7rem; grid-template-columns: 1.35fr .65fr; }
.tc-eol-intro-grid > div > p:not(.tc-eol-eyebrow) { font-size: 1.08rem; }
.tc-eol-definition { background: var(--eol-sage); border-radius: 22px; padding: 2.3rem; }
.tc-eol-definition h2 { font-size: 1.65rem !important; }
.tc-eol-definition a, .tc-eol-home a, .tc-eol-planning a { font-weight: 800; }

.tc-eol-person { background: #f1f5f2; padding: 7rem 0; }
.tc-eol-person-grid { display: grid; gap: 6rem; grid-template-columns: .78fr 1.22fr; }
.tc-eol-person-copy { align-self: center; }
.tc-eol-preference-list { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 20px; background: #c9d9d0; }
.tc-eol-preference-list > div { background: #fff; min-height: 170px; padding: 2rem; }
.tc-eol-preference-list strong, .tc-eol-preference-list span { display: block; }
.tc-eol-preference-list strong { color: var(--eol-burgundy); font-size: 1.03rem; margin-bottom: .55rem; }
.tc-eol-preference-list span { color: var(--eol-muted); font-size: .92rem; line-height: 1.55; }

.tc-eol-home { background: var(--eol-teal-dark); color: #eff8f4; padding: 7rem 0; position: relative; }
.tc-eol-home::before { border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -160px; top: -180px; width: 420px; }
.tc-eol-home-grid { display: grid; gap: 7rem; grid-template-columns: 1fr 1fr; position: relative; }
.tc-eol-home h2, .tc-eol-home h3 { color: #fff !important; }
.tc-eol-home a { color: #c6e6d9 !important; }
.tc-eol-home-list { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 2.6rem; }
.tc-eol-home-list h3 { font-size: 1.5rem !important; }
.tc-eol-home-list ul { columns: 2; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.tc-eol-home-list li { break-inside: avoid; border-bottom: 1px solid rgba(255,255,255,.12); padding: .65rem 0 .65rem 1.35rem; position: relative; }
.tc-eol-home-list li::before { color: #b9dcce; content: "✓"; font-weight: 800; left: 0; position: absolute; }

.tc-eol-support { padding: 7rem 0; }
.tc-eol-support-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.tc-eol-support-grid article { border: 1px solid #e4dbd4; border-radius: 18px; box-shadow: 0 12px 35px rgba(42,44,42,.05); padding: 2rem; }
.tc-eol-support-grid article > span { color: #b1848f; display: block; font-size: .76rem; font-weight: 800; letter-spacing: .15em; margin-bottom: 2.3rem; }
.tc-eol-support-grid article h3 { margin-bottom: .7rem !important; }
.tc-eol-support-grid article p { color: var(--eol-muted); font-size: .91rem; margin: 0 !important; }

.tc-eol-boundaries { background: var(--eol-cream); padding: 7rem 0; }
.tc-eol-boundary-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.tc-eol-boundary-grid > article { background: #fff; border-radius: 22px; padding: 3rem; }
.tc-eol-check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.tc-eol-check-list li { border-top: 1px solid #e9dfd8; padding: .8rem 0 .8rem 1.55rem; position: relative; }
.tc-eol-check-list li::before { color: var(--eol-teal); content: "✓"; font-weight: 800; left: 0; position: absolute; }
.tc-eol-alert { background: #f4e9eb; border-left: 4px solid var(--eol-burgundy); margin-top: 1.8rem; padding: 1rem 1.1rem; }
.tc-eol-alert strong, .tc-eol-alert span { display: block; }
.tc-eol-alert span { font-size: .88rem; margin-top: .2rem; }

.tc-eol-partnership { padding: 7rem 0; }
.tc-eol-partnership-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.tc-eol-partner-card { border: 1px solid #dfe8e3; border-radius: 22px; padding: 2.5rem; }
.tc-eol-tag-list, .tc-eol-area-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.tc-eol-tag-list span, .tc-eol-area-tags span { background: var(--eol-sage); border-radius: 999px; color: var(--eol-teal-dark); font-size: .78rem; font-weight: 700; padding: .45rem .8rem; }

.tc-eol-overnight { background: #f1f5f2; }
.tc-eol-overnight-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; }
.tc-eol-overnight-image { min-height: 730px; }
.tc-eol-overnight-image img { height: 100%; object-fit: cover; width: 100%; }
.tc-eol-overnight-copy { align-self: center; max-width: 670px; padding: 6rem clamp(2rem, 6vw, 7rem); }
.tc-eol-night-options { margin-top: 2rem; }
.tc-eol-night-options > div { border-top: 1px solid #cbdad2; padding: 1.15rem 0; }
.tc-eol-night-options strong, .tc-eol-night-options span { display: block; }
.tc-eol-night-options strong { color: var(--eol-burgundy); }
.tc-eol-night-options span { color: var(--eol-muted); font-size: .9rem; margin-top: .25rem; }

.tc-eol-urgent { background: var(--eol-cream); padding: 7rem 0; }
.tc-eol-urgent-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.tc-eol-urgent-grid article { background: #fff; border-radius: 20px; padding: 2.5rem; }
.tc-eol-urgent-note { background: #eadfe1; border-radius: 12px; color: var(--eol-burgundy-dark); font-weight: 700; margin: 1.5rem 0 0 !important; padding: 1.2rem 1.5rem; text-align: center; }

.tc-eol-planning { background: var(--eol-burgundy-dark); color: #f7eaf0; padding: 7rem 0; }
.tc-eol-planning-grid { align-items: center; display: grid; gap: 6rem; grid-template-columns: 1.1fr .9fr; }
.tc-eol-planning h2 { color: #fff !important; }
.tc-eol-planning aside { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 2.5rem; }
.tc-eol-planning aside > strong { color: #fff; font-size: 1.25rem; }
.tc-eol-planning ul { margin: 1rem 0 1.5rem; padding-left: 1.2rem; }
.tc-eol-planning a { color: #fff !important; }

.tc-eol-why { padding: 7rem 0; }
.tc-eol-why-grid { display: grid; gap: 6rem; grid-template-columns: 1.2fr .8fr; }
.tc-eol-check-columns { columns: 2; column-gap: 2rem; }
.tc-eol-check-columns li { break-inside: avoid; }
.tc-eol-area-card { background: var(--eol-teal-dark); border-radius: 22px; color: #eaf5f1; padding: 2.6rem; }
.tc-eol-area-card h2 { color: #fff !important; font-size: 2rem !important; }
.tc-eol-area-card .tc-eol-area-tags span { background: rgba(255,255,255,.12); color: #fff; }
.tc-eol-small { color: #c9dcd5; font-size: .8rem; line-height: 1.55; margin: 1.5rem 0 0 !important; }

.tc-eol-related { background: #f1f5f2; padding: 7rem 0; }
.tc-eol-related-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: #cbd8d1; border-radius: 20px; overflow: hidden; }
.tc-eol-related-grid a { background: #fff; min-height: 145px; padding: 2rem; text-decoration: none; transition: background .2s ease; }
.tc-eol-related-grid a:hover { background: var(--eol-cream); }
.tc-eol-related-grid strong, .tc-eol-related-grid span { display: block; }
.tc-eol-related-grid strong { font-size: 1.12rem; margin-bottom: .4rem; }
.tc-eol-related-grid span { color: var(--eol-muted); font-size: .86rem; }

.tc-eol-faq { padding: 7rem 0; }
.tc-eol-faq-grid { align-items: start; display: grid; gap: 6rem; grid-template-columns: .7fr 1.3fr; }
.tc-eol-faq-intro { position: sticky; top: 120px; }
.tc-eol-faq-list details { border-top: 1px solid #d9d0ca; padding: 1.25rem 0; }
.tc-eol-faq-list details:last-child { border-bottom: 1px solid #d9d0ca; }
.tc-eol-faq-list summary { color: var(--eol-burgundy); cursor: pointer; font-size: 1.05rem; font-weight: 800; list-style: none; padding: 0 2rem 0 0; position: relative; }
.tc-eol-faq-list summary::-webkit-details-marker { display: none; }
.tc-eol-faq-list summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; position: absolute; right: .25rem; top: -.25rem; }
.tc-eol-faq-list details[open] summary::after { content: "−"; }
.tc-eol-faq-list details p { color: var(--eol-muted); margin: .8rem 2rem 0 0 !important; }

.tc-eol-cta { background: var(--eol-teal-dark); color: #e9f4f0; padding: 6rem 0; }
.tc-eol-cta-inner { align-items: center; display: grid; gap: 5rem; grid-template-columns: 1.25fr .75fr; }
.tc-eol-cta h2 { color: #fff !important; }
.tc-eol-cta-actions { align-items: stretch; display: flex; flex-direction: column; gap: .7rem; }
.tc-eol-button-light { background: #fff; border-color: #fff; color: var(--eol-burgundy) !important; }
.tc-eol-button-light:hover { background: var(--eol-cream); border-color: var(--eol-cream); }
.tc-eol-button-outline-light { background: transparent; border-color: rgba(255,255,255,.75); }
.tc-eol-button-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.tc-eol-cta-actions > a:last-child { color: #fff !important; font-size: .85rem; font-weight: 700; text-align: center; }
.tc-eol-image-note { background: #edf1ef; color: #687675; padding: 1.2rem 0; text-align: center; }
.tc-eol-image-note p { font-size: .75rem; margin: 0 !important; }

@media (max-width: 1080px) {
  .tc-eol-hero-grid { grid-template-columns: 1fr 1fr; }
  .tc-eol-hero-copy { padding-right: 2.5rem; }
  .tc-eol-trust-grid { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .tc-eol-trust-item:nth-child(2) { border-right: 0; }
  .tc-eol-intro-grid, .tc-eol-person-grid, .tc-eol-home-grid, .tc-eol-planning-grid, .tc-eol-why-grid, .tc-eol-faq-grid { gap: 3.5rem; }
}

@media (max-width: 860px) {
  .tc-eol-hero-grid { grid-template-columns: 1fr; }
  .tc-eol-hero-copy { margin: 0 auto; max-width: 760px; padding: 4.5rem 24px; width: 100%; }
  .tc-eol-hero-image { min-height: 480px; }
  .tc-eol-intro-grid, .tc-eol-person-grid, .tc-eol-home-grid, .tc-eol-boundary-grid, .tc-eol-partnership-grid, .tc-eol-overnight-grid, .tc-eol-urgent-grid, .tc-eol-planning-grid, .tc-eol-why-grid, .tc-eol-faq-grid, .tc-eol-cta-inner { grid-template-columns: 1fr; }
  .tc-eol-support-grid, .tc-eol-related-grid { grid-template-columns: 1fr 1fr; }
  .tc-eol-overnight-image { min-height: 500px; }
  .tc-eol-overnight-copy { max-width: 100%; padding: 5rem 24px; }
  .tc-eol-faq-intro { position: static; }
}

@media (max-width: 620px) {
  .tc-eol-container { width: min(100% - 32px, 1180px); }
  #end-of-life-page h1 { font-size: 2.65rem; }
  #end-of-life-page h2 { font-size: 2rem; }
  .tc-eol-hero-copy { padding: 3.5rem 20px; }
  .tc-eol-hero-image { min-height: 340px; }
  .tc-eol-actions, .tc-eol-actions .tc-eol-button { width: 100%; }
  .tc-eol-trust-grid, .tc-eol-preference-list, .tc-eol-support-grid, .tc-eol-related-grid { grid-template-columns: 1fr; }
  .tc-eol-trust-item { border-bottom: 1px solid rgba(255,255,255,.2); border-right: 0; padding: .7rem 0; }
  .tc-eol-trust-item:last-child { border-bottom: 0; }
  .tc-eol-intro, .tc-eol-person, .tc-eol-home, .tc-eol-support, .tc-eol-boundaries, .tc-eol-partnership, .tc-eol-urgent, .tc-eol-planning, .tc-eol-why, .tc-eol-related, .tc-eol-faq { padding: 4.5rem 0; }
  .tc-eol-definition, .tc-eol-home-list, .tc-eol-boundary-grid > article, .tc-eol-partner-card, .tc-eol-urgent-grid article, .tc-eol-planning aside, .tc-eol-area-card { padding: 1.6rem; }
  .tc-eol-home-list ul, .tc-eol-check-columns { columns: 1; }
  .tc-eol-overnight-image { min-height: 340px; }
  .tc-eol-overnight-copy { padding: 4.5rem 16px; }
  .tc-eol-cta { padding: 4.5rem 0; }
}
