/* Dedicated service pages only; the home page's galleries and theme stay unchanged. */
body.service-detail-page .site-header { max-width: 840px; }
body.service-detail-page .service-detail-main {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 122px 20px 32px;
}
body.service-detail-page .service-detail-panel {
  --ink: #29211e;
  --muted: #6e645d;
  --line: #e8ded5;
  padding: 22px 28px 24px;
  border: 1px solid #eadfd5;
  border-radius: 25px;
  background: linear-gradient(160deg, #fffdfa, #fff8f1);
  color: #29211e;
  color-scheme: light;
  box-shadow: 0 8px 30px #29211e0a;
}
body.service-detail-page .service-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  color: #655c55;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.service-detail-page .service-back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
body.service-detail-page .service-back:hover { color: #29211e; text-decoration: underline; text-underline-offset: 4px; }
body.service-detail-page .service-page-heading { margin: 8px auto 24px; text-align: center; }
body.service-detail-page .service-page-heading h1 {
  color: #29211e;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -1.2px;
  overflow-wrap: anywhere;
}
body.service-detail-page .service-examples-heading { margin: 26px 0 15px; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; }
body.service-detail-page .service-photo-grid { column-count: 2; column-gap: 12px; }
body.service-detail-page .service-photo-item { min-width: 0; margin: 0 0 12px; break-inside: avoid; }
body.service-detail-page .service-photo-grid .photo-open { display: block; width: 100%; height: auto; min-height: 44px; padding: 0; border-radius: 14px; }
body.service-detail-page .service-photo-grid .photo-open img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: none;
}
body.service-detail-page .service-photo-expand {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffffb3;
  border-radius: 50%;
  background: #171411c9;
  color: #fff;
  pointer-events: none;
}
body.service-detail-page .service-photo-expand .icon { width: 21px; height: 21px; }
body.service-detail-page .service-video-section { min-width: 0; }
body.service-detail-page #video-gallery .video-carousel-arrow { color: #29211e; background: #fffdf9; border-color: #d8cec4; box-shadow: none; }
body.service-detail-page #video-gallery .video-carousel-arrow:hover { color: #29211e; background: #f3eae1; }
body.service-detail-page #video-page-count { color: #6e645d; }
body.service-detail-page .service-page-empty { padding: 32px 15px; color: #6e645d; font-size: 15px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
body.service-detail-page .service-whatsapp { display: flex; width: 100%; min-height: 56px; margin-top: 24px; padding: 14px 20px; border-radius: 18px; text-align: center; }
body.service-detail-page .service-whatsapp span { min-width: 0; overflow-wrap: anywhere; }
body.service-detail-page .service-whatsapp .icon { width: 24px; height: 24px; }
body.service-detail-page .service-detail-footer { margin-top: 19px; text-align: center; color: #6e645d; }
body.service-detail-page .service-detail-footer small { font-size: 11px; }
body.service-detail-page .service-sample-note,
body.service-detail-page .service-media-credit { margin: 9px auto 0; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
body.service-detail-page .service-media-credit a { text-decoration: underline; text-underline-offset: 3px; }
body.service-detail-page .service-detail-panel a:focus-visible,
body.service-detail-page .service-detail-panel button:focus-visible { outline-color: #66574c; }
body.service-detail-page .service-photo-grid .photo-open:focus-visible { outline-offset: -4px; }
@media (max-width: 820px) {
  body.service-detail-page .service-detail-main { padding-top: 110px; }
}
@media (max-width: 600px) {
  body.service-detail-page .service-detail-main { padding: calc(max(12px, env(safe-area-inset-top)) + 94px) 12px max(20px, env(safe-area-inset-bottom)); }
  body.service-detail-page .service-detail-panel { padding: 12px 12px 18px; border-radius: 22px; }
  body.service-detail-page .service-back { font-size: 13px; }
  body.service-detail-page .service-page-heading { margin: 7px auto 20px; }
  body.service-detail-page .service-page-heading h1 { font-size: 30px; letter-spacing: -.9px; }
  body.service-detail-page .service-photo-grid { column-gap: 8px; }
  body.service-detail-page .service-photo-item { margin-bottom: 8px; }
  body.service-detail-page .service-photo-grid .photo-open { border-radius: 10px; }
  body.service-detail-page .service-photo-expand { right: 7px; bottom: 7px; width: 29px; height: 29px; }
  body.service-detail-page .service-photo-expand .icon { width: 18px; height: 18px; }
  body.service-detail-page .service-examples-heading { margin-top: 22px; font-size: 20px; }
  body.service-detail-page .service-whatsapp { min-height: 54px; margin-top: 20px; padding: 13px 14px; font-size: 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.service-detail-page .service-photo-grid .photo-open img { transition: none; }
}

/* Information pages keep the established detail-page layout. */
.information-guides ul { display: grid; gap: 12px; padding: 0; margin: 24px 0; list-style: none; }
.information-guides a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; background: #fffaf5; }
.information-guides .icon { flex: none; width: 18px; height: 18px; }
.information-guides a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.information-page .service-page-description + .service-page-description { margin-top: 18px; }

/* Readable guides use the existing detail-page typography and colors. */
.blog-cards ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.information-guides.blog-cards a { display: block; height: 100%; overflow: hidden; padding: 0; }
.blog-card-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f0e6dc; }
.blog-card-copy { padding: 20px; }
.blog-card-title { margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: -.4px; }
.blog-card-copy p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.blog-card-more { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-meta a { text-decoration: underline; text-underline-offset: 3px; }
.article-cover { margin: 26px 0; }
.article-cover img { width: 100%; height: auto; max-height: 460px; object-fit: contain; border-radius: 14px; background: #f0e6dc; }
.article-cover figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.article-toc { margin: 28px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff9f3; }
.article-toc > p { margin: 0 0 10px; font-weight: 600; }
.article-toc ol { margin: 0; padding-left: 22px; }
.article-toc a { display: inline-block; padding-block: 7px; color: var(--ink); font-size: 14px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.article-body { max-width: 70ch; margin-inline: auto; }
.article-body .service-page-description, .article-list { font-size: 16px; line-height: 1.85; }
.article-heading { margin: 34px 0 16px; font-size: 30px; line-height: 1.2; letter-spacing: -.5px; scroll-margin-top: 16px; }
.article-list { margin: 18px 0; padding-left: 24px; }
.article-list li + li { margin-top: 8px; }
.article-next { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.article-next p { margin-bottom: 10px; }
.article-next a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 20px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.article-next .icon { width: 16px; height: 16px; }
.article-related { margin-top: 38px; }
.article-related > h2 { font-size: 30px; line-height: 1.2; }
@media (max-width:600px) {
  .blog-cards ul { grid-template-columns: minmax(0,1fr); }
  .blog-card-title { font-size: 26px; }
  .article-toc { padding: 16px; }
  .article-heading { font-size: 27px; }
  .article-meta { justify-content: flex-start; text-align: left; }
}
