/* Scoped extension of Amberdo's Corretto typography and existing review palette. */
.amb-profile-page .eltdf-content { margin-top: 0 !important; }
.dp { --dp-teal:#002526; --dp-cream:#ebe2d1; --dp-ink:#212121; --dp-gold:#8a6d12; background:var(--dp-cream); color:var(--dp-ink); padding-block:150px 60px; position:relative; isolation:isolate; font-size:16px; line-height:1.85; }
/* Page-owned band beneath the transparent desktop header; native header stays intact. */
.dp::before { content:""; position:absolute; inset:0 0 auto; height:120px; background:var(--dp-teal); z-index:-1; }
.dp *, .dp *::before, .dp *::after { box-sizing:border-box; }
.dp ::selection { background:var(--dp-teal); color:var(--dp-cream); }
.dp-wrap { min-width:0; width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.dp h1, .dp h2, .dp h3 { color:var(--dp-teal); font-weight:400; text-wrap:balance; }
.dp h1 { font-size:clamp(2.5rem, 7vw, 5.5rem); line-height:1.12; margin:0 0 24px; }
.dp h2 { font-size:clamp(1.8rem, 4vw, 2.7rem); line-height:1.3; margin:0 0 28px; }
.dp h3 { font-size:1.4rem; line-height:1.5; margin:0 0 16px; }
.dp p { margin:0 0 20px; max-width:70ch; }
.dp a { color:var(--dp-teal); text-decoration:underline; text-underline-offset:.22em; overflow-wrap:anywhere; }
.dp a:focus-visible { outline:2px solid var(--dp-teal); outline-offset:5px; }
.dp figure, .dp dl, .dp dd { margin:0; }
.dp img { display:block; width:100%; height:auto; }
.dp-hero { display:grid; gap:32px; align-items:center; padding-block:42px 28px; }
.dp-hero > * { min-width:0; }
.dp-hero figure { max-width:480px; width:100%; justify-self:center; }
.dp-hero img { height:clamp(260px, 65vw, 520px); object-fit:contain; }
.dp .dp-tagline { font-size:clamp(1.15rem, 2.5vw, 1.55rem); line-height:1.65; color:var(--dp-teal); }
.dp-section { padding-block:36px 8px; border-top:1px solid var(--dp-gold); margin-block-start:32px; }
.dp-composition { display:grid; gap:40px; align-items:start; }
.dp table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:.9rem; text-align:start; }
.dp th, .dp td { padding:16px 8px; text-align:start; vertical-align:top; border-bottom:1px solid var(--dp-gold); overflow-wrap:anywhere; }
.dp th { font-weight:600; color:var(--dp-teal); }
.dp th:first-child { width:23%; }
.dp thead th:nth-child(2) { width:30%; }
.dp thead th { padding-block-start:0; }
.dp-chart { border:1px solid var(--dp-gold); padding:24px; }
.dp-chart figcaption { color:var(--dp-teal); font-size:1.2rem; margin-block-end:24px; }
.dp-measure { margin-block-end:20px; }
.dp-measure dt { color:var(--dp-teal); font-weight:600; }
.dp-measure dd { font-variant-numeric:tabular-nums; }
.dp-measure svg { width:100%; height:8px; display:block; margin-block:10px; direction:ltr; }
.dp-measure path { stroke:var(--dp-teal); stroke-width:8; }
.dp-measure .dp-track { stroke:var(--dp-gold); stroke-width:1; }
.dp-measure small { display:block; text-align:start; }
.dp .dp-small, .dp figcaption { font-size:.8rem; line-height:1.8; }
.dp-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.dp-molecule { width:clamp(90px, 22vw, 200px); flex-shrink:0; color:var(--dp-gold); margin-block-end:24px; }
.dp-cards { display:grid; gap:16px; }
.dp-card { border:1px solid var(--dp-gold); padding:20px 24px; font-size:.94rem; line-height:1.7; }
.dp-card p:last-child { margin-bottom:0; }
.dp-wellbeing ul { padding:0; margin:0 0 24px; list-style:none; }
.dp-wellbeing li { margin:0; }
.dp-gallery { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:24px 16px; }
.dp-gallery figure:first-child { grid-column:1 / -1; }
.dp-gallery img, .dp-gallery .dp-placeholder { aspect-ratio:4 / 3; height:auto; object-fit:contain; }
.dp-gallery figcaption { margin-block-start:12px; overflow-wrap:anywhere; }
.dp-placeholder { width:100%; min-height:180px; display:grid; place-items:center; border:1px solid var(--dp-gold); }
.dp-placeholder svg { width:55%; max-width:260px; fill:none; stroke:var(--dp-gold); stroke-width:1.5; }
.dp-sources ol { padding-inline-start:24px; }
.dp-sources li { margin-bottom:12px; overflow-wrap:anywhere; }
.dp-nav { display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px; padding-block:40px 0; margin-block-start:40px; border-top:1px solid var(--dp-gold); }
.dp [dir=ltr], .dp bdi { unicode-bidi:isolate; }
@media (min-width:768px) {
  .dp-hero { grid-template-columns:1.1fr 1fr; gap:60px; }
  .dp-hero figure { grid-column:2; grid-row:1; }
  .dp-hero > div { grid-column:1; grid-row:1; }
  .dp-composition { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); }
  .dp-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dp-gallery { grid-template-columns:repeat(6,minmax(0,1fr)); gap:24px; }
  .dp-gallery figure { grid-column:span 2; }
  .dp-gallery figure:first-child, .dp-gallery figure:nth-child(2) { grid-column:span 3; }
}
@media (max-width:1024px) {
  .dp { padding-block-start:24px; }
  .dp::before { display:none; }
}
@media (max-width:767px) {
  .dp { padding-block-end:32px; font-size:15px; line-height:1.7; }
  .dp-wrap { width:calc(100% - 40px); }
  .dp-home { display:inline-flex; align-items:center; min-height:44px; }
  .dp-hero { gap:20px; padding-block:8px 16px; }
  .dp-hero figure { max-width:280px; }
  .dp-hero img { height:auto; max-height:327px; }
  .dp h1 { margin-bottom:16px; }
  .dp h2 { margin-bottom:20px; }
  .dp h3 { font-size:1.16rem; margin-bottom:10px; }
  .dp p { margin-bottom:16px; }
  .dp-section { margin-block-start:24px; padding-block:28px 0; }
  .dp-composition { gap:20px; }
  /* Keep table semantics in markup while presenting complete, readable row cards. */
  .dp table, .dp tbody { display:block; }
  .dp thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .dp tbody { display:grid; gap:10px; }
  .dp tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:8px 16px; border:1px solid var(--dp-gold); padding:14px 16px; }
  .dp tbody th, .dp tbody td { display:block; width:auto; min-width:0; padding:0; border:0; overflow-wrap:normal; }
  .dp .dp-amount { text-align:end; font-variant-numeric:tabular-nums; }
  .dp .dp-note { grid-column:1 / -1; font-size:.82rem; line-height:1.65; }
  .dp-chart { padding:18px; }
  .dp-chart figcaption { margin-bottom:16px; }
  .dp-measure { margin-bottom:14px; }
  .dp-card { padding:16px 18px; font-size:.9rem; }
  .dp-molecule { width:80px; margin-bottom:20px; }
  .dp-gallery { display:flex; gap:16px; max-width:100%; min-width:0; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding-bottom:16px; scrollbar-color:var(--dp-gold) var(--dp-cream); scrollbar-width:thin; }
  .dp-gallery figure { flex:0 0 88%; min-width:0; scroll-snap-align:start; }
  .dp-gallery figcaption { margin-top:8px; }
  .dp-gallery:focus-visible { outline:2px solid var(--dp-teal); outline-offset:4px; }
  .dp-sources { font-size:.82rem; line-height:1.65; }
  .dp-nav { gap:12px; margin-top:24px; padding-top:20px; }
  .dp-nav a { display:flex; align-items:center; min-height:44px; }
}
@media (hover:hover) and (pointer:fine) {
  .dp a { transition:opacity 160ms ease; }
  .dp a:hover { opacity:.75; }
}
@media (prefers-reduced-motion:reduce) { .dp a { transition:none; } }
