/* ==========================================================
 page-pdp.css — Tuần 3 bước 3.C
 Source: template-pdp-prod.html (Mustache template đã pilot)
 Strategy: PORT 1:1 STRICT — chỉ extract phần PDP-specific.
 SKIP các phần đã có global.css: @font-face, :root, body reset,
 .nav__*, .breadcrumb, .btn-*, .footer__*, .nav__drawer, .nav__overlay
 ========================================================== */

/* === HERO PRODUCT === */
.hero-product { padding: 48px var(--pad-x) 64px; background: #fff; }
.hero-product__inner {
 max-width: var(--container); margin: 0 auto;
 display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}

/* === GALLERY === */
.gallery { position: sticky; top: 90px; }
.gallery__main { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); border-radius: 4px; margin-bottom: 16px; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__thumb { aspect-ratio: 1; overflow: hidden; background: var(--cream); border-radius: 3px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--terracotta); }
.gallery__thumb.is-active { border-color: var(--navy); }

/* === PRODUCT INFO === */
.pi__eyebrow { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; color: var(--terracotta-darker); margin-bottom: 12px; letter-spacing: 0.04em; }
.pi__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.875rem, 3.5vw, 2.5rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 16px; }
.pi__brand-block { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--cream); border-radius: 4px; margin-bottom: 28px; }
.pi__brand-flag { font-size: 1.5rem; }
.pi__brand-info { flex: 1; }
.pi__brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.pi__brand-meta { font-size: 0.8125rem; color: var(--gray-600); margin-top: 2px; }
.pi__brand-link { font-size: 0.8125rem; color: var(--terracotta-darker); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.pi__price-headline { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pi__price-meta { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 24px; }
.pi__short-desc { font-size: 1.0625rem; line-height: 1.7; color: var(--navy-darker); margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); }
/* D119: luật cho phần tử con của .pi__short-desc (wysiwyg) */
/* S5: bỏ "a" khỏi color: inherit — link dùng màu riêng (.pi__brand-link style) */
.pi__short-desc p,
.pi__short-desc li,
.pi__short-desc h3,
.pi__short-desc h4,
.pi__short-desc span { font-family: inherit; color: inherit; }
/* S5: link trong mô tả trông như link — đồng bộ với .pi__brand-link */
.pi__short-desc a { color: var(--terracotta-darker); border-bottom: 1px solid currentColor; }
.pi__short-desc p,
.pi__short-desc li { font-size: inherit; line-height: inherit; }
.pi__short-desc p { margin: 0 0 0.75em; }
.pi__short-desc > *:first-child { margin-top: 0; }
.pi__short-desc > *:last-child { margin-bottom: 0; }
.pi__short-desc h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--navy); margin: 1.25em 0 0.5em; }
.pi__short-desc h4 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.125rem; line-height: 1.35; color: var(--navy); margin: 1em 0 0.4em; }
.pi__short-desc ul,
.pi__short-desc ol { padding-left: 1.5em; margin: 0 0 0.75em; }
.pi__short-desc li { margin-bottom: 0.35em; }
.pi__short-desc li:last-child { margin-bottom: 0; }
.pi__short-desc img { max-width: 100%; height: auto; display: block; }
.pi__short-desc .aligncenter { margin-left: auto; margin-right: auto; }
.pi__short-desc .alignleft { float: left; margin: 0 1em 0.75em 0; }
.pi__short-desc .alignright { float: right; margin: 0 0 0.75em 1em; }
.pi__short-desc figure,
.pi__short-desc .wp-caption { max-width: 100%; }
.pi__short-desc iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; display: block; margin: 0.75em 0; }
/* D119-B6: video nhúng được bọc trong div.entry-content-asset — đặt khoảng cách ở khung bọc, iframe sát khung */
.pi__short-desc .entry-content-asset { margin: 0.75em 0; }
.pi__short-desc .entry-content-asset iframe { margin: 0; }
/* S6: clearfix — ảnh float trái/phải không tràn qua border-bottom */
.pi__short-desc::after { content: ''; display: table; clear: both; }
.pi__cta-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pi__contact-list { display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; color: var(--gray-600); }
.pi__contact-list strong { color: var(--navy); font-weight: 600; }

/* === SECTIONS === */
.section { padding: 72px var(--pad-x); }
.section__inner { max-width: 1080px; margin: 0 auto; }
.section__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 12px; text-align: center; }
.section__lead { font-size: 1rem; line-height: 1.6; color: var(--gray-600); text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* === STORY SECTION === */
.story { background: var(--cream); }
.story__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.story__eyebrow { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; color: var(--terracotta-darker); margin-bottom: 20px; }
.story__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.25rem); line-height: 1.2; color: var(--navy); margin-bottom: 24px; }
.story__body { font-size: 1.0625rem; line-height: 1.8; color: var(--navy-darker); text-align: left; }
.story__body p { margin-bottom: 18px; }
.story__body p:last-child { margin-bottom: 0; }
.story__body strong { color: var(--navy); }

/* === SPEC GRID === (Fixed P6.2 21/05/2026 — each row is independent grid, bullet-proof against zigzag) */
.spec-grid { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--gray-200); }
.spec-grid__row { display: grid; grid-template-columns: 180px 1fr; gap: 0; border-bottom: 1px solid var(--gray-200); align-items: start; }
.spec-grid__row:last-child { border-bottom: none; }
.spec-grid__label { padding: 14px 18px; font-size: 0.9375rem; background: var(--cream); font-weight: 600; color: var(--navy); }
.spec-grid__value { padding: 14px 18px; font-size: 0.9375rem; color: var(--navy-darker); }

/* === PRICING TABLE === */
.pricing { background: var(--navy); color: #fff; }
.pricing__inner { max-width: 980px; margin: 0 auto; }
.pricing .section__title { color: #fff; }
.pricing .section__lead { color: rgba(255,255,255,0.75); }
.pricing-table { background: rgba(255,255,255,0.04); border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.pricing-table__row { display: grid; grid-template-columns: 2fr 1.2fr 1fr; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); align-items: center; font-size: 0.9375rem; }
.pricing-table__row:last-child { border-bottom: none; }
.pricing-table__row--header { background: rgba(255,255,255,0.06); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.8125rem; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; text-transform: uppercase; }
.pricing-table__variant { font-weight: 500; }
.pricing-table__variant-meta { display: block; font-size: 0.8125rem; color: rgba(255,255,255,0.6); font-weight: 400; margin-top: 2px; }
.pricing-table__price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.125rem; color: #fff; }
.pricing-table__action { text-align: right; }
.pricing-table__cta { display: inline-block; padding: 8px 16px; background: var(--terracotta); color: #fff; border-radius: 3px; font-size: 0.8125rem; font-weight: 500; transition: background 0.2s ease; }
.pricing-table__cta:hover { background: var(--terracotta-darker); }
.pricing-note { margin-top: 24px; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.65); font-style: italic; }

/* === POLICY GRID === */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.policy-card { text-align: center; padding: 32px 24px; background: #fff; border: 1px solid var(--gray-200); border-radius: 4px; transition: transform 0.2s ease, border-color 0.2s ease; }
.policy-card:hover { transform: translateY(-2px); border-color: var(--terracotta); }
.policy-card__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.policy-card__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.0625rem; color: var(--navy); margin-bottom: 8px; }
.policy-card__text { font-size: 0.875rem; line-height: 1.55; color: var(--gray-600); }

/* === BOOKING CTA === */
.booking { background: var(--navy); color: #fff; }
.booking__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.booking__eyebrow { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; color: var(--terracotta); margin-bottom: 16px; }
.booking__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.75rem, 3.5vw, 2.25rem); color: #fff; margin-bottom: 16px; }
.booking__lead { font-size: 1.0625rem; line-height: 1.65; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.booking__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === RELATED === */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.related-card { display: block; background: var(--cream); border-radius: 4px; overflow: hidden; transition: transform 0.2s ease; }
.related-card:hover { transform: translateY(-2px); }
.related-card__media { aspect-ratio: 4/3; overflow: hidden; }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { padding: 18px 18px 22px; }
.related-card__brand { font-size: 0.75rem; color: var(--terracotta-darker); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.related-card__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.related-card__price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.9375rem; color: var(--navy); }

/* === STICKY CTA MOBILE === */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--gray-200); padding: 12px 16px; z-index: 90; box-shadow: 0 -4px 12px rgba(0,0,0,0.06); }
.sticky-cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
 .hero-product__inner { grid-template-columns: 1fr; gap: 32px; }
 .gallery { position: static; }
}
@media (max-width: 720px) {
 .hero-product { padding: 32px 20px 48px; }
 .pi__title { font-size: 1.625rem; }
 .pi__price-headline { font-size: 1.5rem; }
 .section { padding: 56px 20px; }
 .spec-grid__row { grid-template-columns: 1fr; }
 .spec-grid__label { padding-bottom: 4px; }
 .spec-grid__value { padding-top: 0; padding-bottom: 14px; }
 .pricing-table__row { grid-template-columns: 1fr; gap: 8px; text-align: left; }
 .pricing-table__row--header { display: none; }
 .pricing-table__action { text-align: left; }
 .policy-grid { grid-template-columns: 1fr; }
 .booking__actions { flex-direction: column; }
 .booking__actions .btn { width: 100%; }
 .sticky-cta { display: block; }
 body { padding-bottom: 80px; }
}

/* === OUTLET DISCOUNT PATTERN (Tier 3) === */
.pi__discount-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 12px;
}
.pi__price-original {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.pi__price-original s {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  color: var(--gray-500);
}
.pi__price-block--outlet .pi__price-headline {
  color: var(--terracotta-darker);
}

/* ============================================================
 * P6.3 Product Gallery — Option A Layout
 * Mobile (<= 980px): GIỮ NGUYÊN existing layout (no override)
 * Tablet (981-1023px): GIỮ 2-col grid hiện tại (transitional zone)
 * Desktop (>= 1024px): OVERRIDE thành stacked vertical, hero 70% width, max 1100px
 * 
 * Anh chair confirmed Option A sau review mockup HTML
 * Reference mockup: pdp_layout_mockup.html
 * Updated: 2026-05-21
 * 
 * Class names match từ Phase 1 BT1 verify (5/5 PDPs consistent):
 * .hero-product — section wrapper
 * .hero-product__inner — grid 2-col container (sẽ override)
 * .gallery — gallery container (sticky hiện tại, sẽ override)
 * .gallery__main — hero image wrap
 * .gallery__thumbs — thumbnails container (grid 4-col hiện tại, sẽ override)
 * .gallery__thumb — individual thumbnail
 * .product-info — product info column (sẽ trở thành full-width dưới gallery)
 * ============================================================ */

@media (min-width: 1024px) {
 
 /* === Override 2-col grid → stacked vertical === */
 .hero-product__inner {
 display: flex !important;
 flex-direction: column;
 align-items: center;
 gap: 56px;
 max-width: 100%;
 grid-template-columns: none !important;
 }
 
 /* === Gallery container: bỏ sticky, set 70% width === */
 .gallery {
 position: static !important;
 top: auto !important;
 width: 70%;
 max-width: 1100px;
 display: flex;
 flex-direction: column;
 gap: 14px;
 }
 
 /* === Hero image: aspect ratio elegant cho desktop === */
 .gallery__main {
 aspect-ratio: 16 / 11;
 margin-bottom: 0;
 border-radius: 4px;
 overflow: hidden;
 }
 
 .gallery__main img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
 .gallery__main:hover img {
 transform: scale(1.02);
 }
 
 /* === Thumbnails: horizontal scroll row thay vì grid 4-col === */
 .gallery__thumbs {
 display: flex !important;
 grid-template-columns: none !important;
 gap: 10px;
 overflow-x: auto;
 scrollbar-width: thin;
 scrollbar-color: rgba(26, 26, 26, 0.2) transparent;
 padding-bottom: 4px;
 }
 
 .gallery__thumbs::-webkit-scrollbar {
 height: 6px;
 }
 
 .gallery__thumbs::-webkit-scrollbar-track {
 background: transparent;
 }
 
 .gallery__thumbs::-webkit-scrollbar-thumb {
 background: rgba(26, 26, 26, 0.2);
 border-radius: 3px;
 }
 
 .gallery__thumb {
 flex: 0 0 auto;
 width: 110px;
 height: 110px;
 border-radius: 4px;
 overflow: hidden;
 cursor: pointer;
 border: 2px solid transparent;
 transition: all 0.2s ease;
 }
 
 .gallery__thumb img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 }
 
 .gallery__thumb:hover {
 transform: translateY(-2px);
 }
 
 .gallery__thumb.is-active {
 border-color: #B85742; /* terracotta brand BTM */
 }
 
 /* === Product info: same 70% width, centered === */
 .product-info {
 width: 70%;
 max-width: 1100px;
 margin: 0 auto;
 }
}

/* === END P6.3 Option A === */


/* ============================================================
 * P6.3c v4 — FINAL FIX (Mobile Hero Edge-to-Edge)
 * 
 * Root cause v3 fail: WP/Kadence core CSS có rule global
 * .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) }
 * (vốn dành cho WP gallery shortcode/block)
 * → Class name collision với .gallery của theme BTM
 * → P6.3c v3 set width/min-width nhưng KHÔNG override display:grid
 * → Hero + thumbs render 2-col side-by-side trên mobile
 * 
 * Fix v4: Add !important cho .gallery { display: block }
 * + grid-template-columns: none defensive
 * 
 * Updated: 2026-05-21
 * Verified via BT1 capture computed styles + RULES APPLY live mobile 414px
 * ============================================================ */

@media (max-width: 980px) {
  
  /* 1. Container reset: bỏ horizontal padding */
  .hero-product {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* 2. Hero inner: flex column */
  .hero-product__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
  }
  
  /* 3. ★ Gallery: OVERRIDE WP/Kadence core grid → block stack vertical */
  .gallery {
    display: block !important;             /* override WP/Kadence core display: grid */
    grid-template-columns: none !important;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  
  /* 4. Hero ảnh: edge-to-edge */
  .gallery__main {
    margin-bottom: 14px;
    border-radius: 0;
    aspect-ratio: 4/3;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  
  .gallery__main img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 5. Thumbs: flex row scroll trong padding container */
  .gallery__thumbs {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    padding-bottom: 4px;
    min-width: 0;
    max-width: 100%;
  }
  
  .gallery__thumbs::-webkit-scrollbar {
    height: 4px;
  }
  
  .gallery__thumbs::-webkit-scrollbar-thumb {
    background: rgba(26, 26, 26, 0.15);
    border-radius: 2px;
  }
  
  .gallery__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    aspect-ratio: 1/1;
  }
  
  /* 6. Product info: padding container */
  .product-info {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    min-width: 0;
    max-width: 100%;
  }
}

/* === END P6.3c v4 — fixed WP/Kadence .gallery collision === */

/* ============ BRAND STORY (copied from page-brand.css v1.0.16) ============ */
.intro-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--navy);
  line-height: 1.6;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--terracotta);
  margin: 0 0 48px;
}
.section-h2 {
  font-size: var(--fs-h2);
  margin: 48px 0 20px;
  line-height: 1.25;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.section-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--terracotta);
  flex-shrink: 0;
  min-width: 36px;
  padding-top: 6px;
}
.section-h2:first-of-type { margin-top: 0; }

.prose p {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: var(--fs-body-lg);
  line-height: 1.78;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose em { font-style: italic; color: var(--gray-600); }
.prose a {
  color: var(--terracotta);
  font-weight: 500;
  border-bottom: 1px solid rgba(184, 87, 66, 0.3);
  transition: border-color 0.2s, color 0.2s;
}
.prose a:hover {
  color: var(--terracotta-darker);
  border-bottom-color: var(--terracotta);
}
.prose ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prose ul li {
  padding-left: 24px;
  position: relative;
  color: var(--gray-700);
  font-size: var(--fs-body-lg);
  line-height: 1.7;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}
.highlight-card {
  background: var(--cream-darker);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0;
}
.highlight-card__icon {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.55;
}
.highlight-card__quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto;
}
.conclusion-block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--border-soft);
}
.conclusion-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
  display: inline-block;
}
.conclusion-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* D90-4: spec-grid — chuyển từ CSS bổ sung (giá trị cuối v6) */
.spec-grid {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}
.spec-grid__row {
  grid-template-columns: 1fr 1fr;
  max-width: 100%;
}
.spec-grid__label {
  text-align: left;
}
.spec-grid__value {
  text-align: left;
}

/* D90-4: prose justify — chuyển từ CSS bổ sung */
@media (min-width: 768px) {
  .prose p, .prose ul li {
    text-align: justify;
    text-justify: inter-word;
  }
}

/* D121: "Mô tả chi tiết" (pf_own_desc, ô soạn thảo) — dưới bảng giá trong .product-info.
   Cùng kiểu chữ với .pi__short-desc; cách bảng giá 32px. Không sửa luật cũ. */
.pi__detail-desc { font-size: 1.0625rem; line-height: 1.7; color: var(--navy-darker); margin-top: 32px; }
.product-info .pi__detail-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--navy); text-align: left; margin: 0 0 0.75em; padding: 0; }
.pi__detail-desc p,
.pi__detail-desc li,
.pi__detail-desc h3,
.pi__detail-desc h4,
.pi__detail-desc span { font-family: inherit; color: inherit; }
.pi__detail-desc a { color: var(--terracotta-darker); border-bottom: 1px solid currentColor; }
.pi__detail-desc p,
.pi__detail-desc li { font-size: inherit; line-height: inherit; }
.pi__detail-desc p { margin: 0 0 0.75em; }
.pi__detail-desc > *:first-child { margin-top: 0; }
.pi__detail-desc > *:last-child { margin-bottom: 0; }
.pi__detail-desc h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--navy); margin: 1.25em 0 0.5em; }
.pi__detail-desc h4 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.125rem; line-height: 1.35; color: var(--navy); margin: 1em 0 0.4em; }
.pi__detail-desc ul,
.pi__detail-desc ol { padding-left: 1.5em; margin: 0 0 0.75em; }
.pi__detail-desc li { margin-bottom: 0.35em; }
.pi__detail-desc li:last-child { margin-bottom: 0; }
.pi__detail-desc img { max-width: 100%; height: auto; display: block; }
.pi__detail-desc .aligncenter { margin-left: auto; margin-right: auto; }
.pi__detail-desc .alignleft { float: left; margin: 0 1em 0.75em 0; }
.pi__detail-desc .alignright { float: right; margin: 0 0 0.75em 1em; }
.pi__detail-desc figure,
.pi__detail-desc .wp-caption { max-width: 100%; }
.pi__detail-desc iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; display: block; margin: 0.75em 0; }
.pi__detail-desc .entry-content-asset { margin: 0.75em 0; }
.pi__detail-desc .entry-content-asset iframe { margin: 0; }
.pi__detail-desc::after { content: ''; display: table; clear: both; }
