/* v112: detail refinements. Keep the approved content, assets and section order. */
.layout-v105 {
  --detail-border: #deded6;
  --detail-muted: #58666e;
  --detail-surface: #f7f6f1;
}
.layout-v105 .section-heading h2,
.layout-v105 .visit-heading h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: .025em;
  line-height: 1.6;
}
.layout-v105 .section-heading p,
.layout-v105 .visit-description { line-height: 1.9; }
.layout-v105 .outline-button,
.layout-v105 .faq-more .button,
.layout-v105 .consultation-links a {
  box-shadow: none;
  border-width: 1px;
  border-radius: 3px;
}
.layout-v105 .consultation-box,
.layout-v105 .purpose-card {
  border: 1px solid #e8e6de;
  box-shadow: 0 3px 12px #17384c08;
  border-radius: 4px;
}
.layout-v105 .button,
.layout-v105 .solid-button,
.layout-v105 .outline-button,
.layout-v105 .consultation-links a,
.layout-v105 .purpose-links a {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.layout-v105 .journal-heading > a,
.layout-v105 .purpose-links a,
.layout-v105 .footer-nav-links a { min-height: 44px; }
.layout-v105 .journal-heading > a { display: inline-flex; align-items: center; }
.layout-v105 .purpose-copy { align-self: center; }
.layout-v105 .purpose-links { align-items: stretch; }
.layout-v105 .purpose-links a { align-items: center; line-height: 1.7; }
.layout-v105 .reason-card { border-radius: 3px; }
.layout-v105 .faq-item { border: 1px solid #e8e6de; border-radius: 3px; }
.layout-v105 .faq-item summary { align-items: center; line-height: 1.8; }
.layout-v105 .faq-item summary > .icon { flex-shrink: 0; }
.layout-v105 .payment-method h3 { flex-shrink: 0; }
.layout-v105 .payment-method { padding-inline: 8px; }
.layout-v105 .payment-guidance { line-height: 1.9; color: var(--detail-muted); }
.layout-v105 .payment-invoice > svg { flex-shrink: 0; }
.layout-v105 .footer-nav-links a { display: flex; align-items: center; font-size: 14px; }
.layout-v105 .footer-nav-links { gap: 2px; }

/* One framed feature with a quiet account column, rather than oversized posters. */
.layout-v105 .instagram-section {
  padding: 72px max(24px, 7.5%);
  background: var(--detail-surface);
}
.layout-v105 .instagram-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1088px;
  margin-inline: auto;
  padding: 36px;
  border: 1px solid var(--detail-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
.layout-v105 .instagram-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 0 28px;
}
.layout-v105 .instagram-heading h2 {
  font: 600 30px/1.3 var(--sans);
  letter-spacing: -.02em;
}
.layout-v105 .instagram-account {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  margin: 0;
  min-height: 48px;
}
.layout-v105 .instagram-account img { width: 38px; height: 38px; object-fit: contain; }
.layout-v105 .instagram-account small { font-size: 11px; line-height: 1.8; }
.layout-v105 .instagram-account strong { font-size: 15px; font-weight: 500; line-height: 1.8; }
.layout-v105 .instagram-account > span:last-child { margin: 0; font-size: 16px; }
.layout-v105 .instagram-selection { margin: 0 0 16px; font-size: 12px; line-height: 1.8; }
.layout-v105 .instagram-swipe { display: none; }
.layout-v105 .instagram-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 20px;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
  min-width: 0;
}
.layout-v105 .instagram-story { min-width: 0; }
.layout-v105 .instagram-story-cover {
  border-radius: 3px;
  background: #eeece7;
  aspect-ratio: 640 / 1136;
}
.layout-v105 .instagram-story-cover > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 640 / 1136;
  object-fit: contain;
}
.layout-v105 .instagram-story-cover:after { inset: 78% 0 0; background: linear-gradient(transparent, #0007); }
.layout-v105 .instagram-play {
  width: 34px; height: 34px;
  right: 12px; bottom: 12px;
  background: #fff;
  color: var(--navy);
  border: 0;
}
.layout-v105 .instagram-play svg { width: 18px; height: 18px; }
.layout-v105 .instagram-cover-caption { left: 12px; bottom: 19px; font-size: 11px; font-weight: 500; }
.layout-v105 .instagram-story-meta {
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--detail-muted);
}
.layout-v105 .instagram-story-meta > span:first-child { display: inline; }
.layout-v105 .instagram-view-count { font-variant-numeric: tabular-nums; }
.layout-v105 .instagram-story h3 {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}
.layout-v105 .instagram-story h3 a { gap: 8px; }
.layout-v105 .instagram-story h3 a > span { font-size: 14px; }
.layout-v105 .instagram-footer {
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--detail-border);
}
.layout-v105 .instagram-footer p { font-size: 13px; line-height: 1.9; }
.layout-v105 .instagram-footer small { font-size: 11px; line-height: 1.8; margin-top: 10px; }
.layout-v105 .instagram-follow-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #a9916b;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
  color: var(--navy);
}
.layout-v105 .instagram-follow-link > img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.layout-v105 .instagram-footer-action { flex-shrink: 0; }
.layout-v105 .instagram-footer .instagram-follow-note { margin-top: 8px; font-size: 11px; text-align: center; }
@media (min-width: 1100px) {
  .layout-v105 .instagram-panel {
    grid-template-columns: 198px minmax(0, 1fr);
    column-gap: 36px;
  }
  .layout-v105 .instagram-heading { grid-column: 1; grid-row: 1 / 3; display: block; margin: 0; }
  .layout-v105 .instagram-account { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; margin-top: 24px; }
  .layout-v105 .instagram-account img { width: 34px; height: 34px; }
  .layout-v105 .instagram-account small { font-size: 10px; }
  .layout-v105 .instagram-account strong { font-size: 14px; }
  .layout-v105 .instagram-account > span:last-child { display: none; }
  .layout-v105 .instagram-selection { grid-column: 2; grid-row: 1; }
  .layout-v105 .instagram-stories { grid-column: 2; grid-row: 2; }
  .layout-v105 .instagram-footer { grid-column: 1 / -1; }
}
@media (hover: hover) {
  .layout-v105 .outline-button:hover,
  .layout-v105 .consultation-links a:hover,
  .layout-v105 .purpose-links a:hover,
  .layout-v105 .faq-more .button:hover,
  .layout-v105 .instagram-follow-link:hover { opacity: 1; background: #f4f1e9; border-color: #80653e; }
  .layout-v105 .instagram-story-cover:hover { opacity: 1; }
  .layout-v105 .instagram-story-cover:hover .instagram-play { background: var(--navy); color: white; }
}
@media (max-width: 767px) {
  .layout-v105 .section-heading h2,
  .layout-v105 .visit-heading h2 { font-size: 24px; }
  .layout-v105 .section-heading p,
  .layout-v105 .visit-description,
  .layout-v105 .payment-method p { font-size: 14px; }
  .layout-v105 .journal-heading { display: flex; align-items: center; gap: 12px; }
  .layout-v105 .journal-heading h2 { font-size: 17px; }
  .layout-v105 .journal-heading > a { margin: 0; font-size: 12px; white-space: nowrap; }
  .layout-v105 .purpose-copy { width: 100%; padding: 28px 24px; }
  .layout-v105 .purpose-copy h3 { font-size: 21px; line-height: 1.75; }
  .layout-v105 .purpose-copy p,
  .layout-v105 .reason-card p,
  .layout-v105 .steps p { font-size: 14px; }
  .layout-v105 .purpose-links a { font-size: 14px; }
  .layout-v105 .steps { gap: 0; }
  .layout-v105 .steps li { display: grid; grid-template-columns: 24px 40px minmax(0,1fr); align-items: start; gap: 14px; text-align: left; padding: 24px 0; }
  .layout-v105 .step-number { width: 24px; height: 24px; font-size: 14px; margin: 7px 0 0; }
  .layout-v105 .steps li > .icon:not(.step-chevron) { width: 40px; height: 40px; margin: 0; }
  .layout-v105 .steps h3 { font-size: 17px; margin-bottom: 7px; }
  .layout-v105 .steps .step-chevron { display: none; }
  .layout-v105 .faq-item summary { padding: 18px 16px; }
  .layout-v105 .faq-item p { font-size: 14px; }
  .layout-v105 .payment-method { padding-inline: 0; }
  .layout-v105 .payment-guidance { font-size: 13px; }
  .layout-v105 .footer-nav-links a { justify-content: center; }
  .layout-v105 .instagram-section { padding: 48px 15px; }
  .layout-v105 .instagram-panel { padding: 24px 20px; border-radius: 5px; }
  .layout-v105 .instagram-heading { display: block; margin-bottom: 22px; }
  .layout-v105 .instagram-heading h2 { font-size: 28px; }
  .layout-v105 .instagram-account { margin-top: 18px; }
  .layout-v105 .instagram-selection { margin-bottom: 0; font-size: 12px; }
  .layout-v105 .instagram-stories { grid-template-columns: minmax(0,1fr); gap: 0; }
  .layout-v105 .instagram-story {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 8px 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--detail-border);
  }
  .layout-v105 .instagram-story:last-child { border: 0; padding-bottom: 0; }
  .layout-v105 .instagram-story-cover { grid-column: 1; grid-row: 1 / 3; }
  .layout-v105 .instagram-story h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 14px; line-height: 1.9; }
  .layout-v105 .instagram-story h3 a > span { display: none; }
  .layout-v105 .instagram-story-meta { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 12px; }
  .layout-v105 .instagram-play { width: 28px; height: 28px; bottom: 8px; right: 8px; }
  .layout-v105 .instagram-play svg { width: 16px; height: 16px; }
  .layout-v105 .instagram-cover-caption { display: none; }
  .layout-v105 .instagram-footer { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: 24px; padding-top: 22px; }
  .layout-v105 .instagram-footer p { font-size: 13px; }
  .layout-v105 .instagram-footer small { font-size: 10px; }
  .layout-v105 .instagram-follow-link { margin: 0; width: 100%; }
}
@media (max-width: 359px) {
  .layout-v105 .instagram-panel { padding: 22px 16px; }
  .layout-v105 .instagram-story { grid-template-columns: 82px minmax(0,1fr); column-gap: 14px; }
  .layout-v105 .journal-heading { flex-wrap: wrap; gap: 0; }
  .layout-v105 .steps li { grid-template-columns: 24px minmax(0,1fr); gap: 12px; }
  .layout-v105 .steps li > .icon:not(.step-chevron) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .layout-v105 .button,
  .layout-v105 .solid-button,
  .layout-v105 .outline-button,
  .layout-v105 .consultation-links a,
  .layout-v105 .purpose-links a { transition: none; }
}
