/* Blog post: a short photo strip under the header, then the article as a full-width sheet with the reading column and index centred inside and a next-step card beside it. */
:root { --pt-overlap: clamp(80px, 30px + 5vw, 120px); }
.page-banner { min-height: calc(var(--header-height) + var(--pt-overlap) + clamp(40px, 5vw, 88px)); padding-bottom: var(--pt-overlap); }

.pt, .pt-more { --ink: #1f2b3d; --muted: #5c6878; --line: #dce6f1; --ice: #f5faff; --cyan: #02b6f8; color: var(--ink); }
.pt :where(h2, h3, p, ol, ul, figure) { margin: 0; }
.pt-more :where(h2, h3, ul) { margin: 0; }
.pt :focus-visible, .pt-more :focus-visible { outline: 3px solid #1f74d3; outline-offset: 3px; }

.pt { padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); background: var(--ice); }
.pt-sheet { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 38rem) minmax(0, 18rem); justify-content: center; gap: clamp(2rem, 6.67vw, 6rem); margin-top: calc(-1 * var(--pt-overlap)); padding: clamp(24px, 4vw, 56px); border-radius: 20px; background: #fff; box-shadow: 0 40px 80px -40px rgb(0 36 80 / .45), 0 0 0 1px rgb(0 45 95 / .06); }

.pt-title { margin: 0; font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.7rem); line-height: 1.12; letter-spacing: -.03em; color: var(--navy); }
.pt-meta { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-family: "Poppins", sans-serif; font-size: .9rem; color: var(--muted); }
.pt-meta svg { width: 16px; height: 16px; }

.pt-cover { margin-top: 24px; }
.pt-cover img { display: block; width: 100%; height: auto; border-radius: 16px; }
.pt-body { margin-top: 20px; font-size: 1.125rem; line-height: 1.8; }
.pt-cover + .pt-body { margin-top: 32px; }
.pt-cover + .pt-toc-m { margin-top: 24px; }
.pt-body > * + * { margin-top: 1.1em; }
.pt-body > p:first-child { font-size: 1.25rem; line-height: 1.7; }
.pt-body h2 { margin-top: 2.1em; font-family: "Open Sans", Arial, sans-serif; font-size: clamp(1.5rem, 1.2rem + .9vw, 1.95rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); scroll-margin-top: 24px; }
.pt-body h3 { margin-top: 1.8em; font-family: "Poppins", sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.4; color: var(--navy); }
.pt-body :is(h2, h3) + * { margin-top: .6em; }
.pt-body > :first-child { margin-top: 0; }
.pt-body :is(ul, ol) { padding-left: 1.4em; }
.pt-body li + li { margin-top: .4em; }
.pt-body ul > li::marker { color: var(--cyan); }
.pt-body ol > li::marker { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--blue); }
.pt-body strong { color: var(--navy); }
.pt-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pt-body img { display: block; width: 100%; height: auto; border-radius: 14px; }
.pt-body .pt-tip { margin-top: 1.8em; }
.pt-body .pt-tip li { font-family: "Poppins", sans-serif; font-size: 1.15rem; line-height: 1.45; color: var(--navy); }
.pt-body .pt-tip strong { font-weight: 600; }
.pt-body .pt-tip + p { margin-top: .6em; }

.pt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pt-share p { margin-right: 6px; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--navy); }
.pt-share a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #c9d8e8; border-radius: 10px; font-family: "Poppins", sans-serif; font-size: .92rem; color: var(--navy); transition: border-color .15s ease; }
.pt-share a:hover { border-color: var(--navy); }
.pt-share svg { width: 18px; height: 18px; color: #16a34a; }

.pt-side { position: sticky; top: 24px; align-self: start; display: grid; gap: 32px; }
.pt-toc__title { font-family: "Poppins", sans-serif; font-size: .95rem; font-weight: 600; color: var(--navy); }
.pt-toc ol { margin-top: 12px; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.pt-toc a { display: block; margin-left: -2px; padding: 9px 0 9px 16px; border-left: 2px solid transparent; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.pt-toc a:hover { color: var(--navy); }
.pt-toc a[aria-current] { border-left-color: var(--cyan); font-weight: 600; color: var(--navy); }
.pt-toc-m { display: none; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; }
.pt-toc-m summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 18px; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.pt-toc-m summary::-webkit-details-marker { display: none; }
.pt-toc-m summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid #1f74d3; border-bottom: 2px solid #1f74d3; transform: rotate(45deg); transition: transform .2s ease; }
.pt-toc-m[open] summary::after { transform: rotate(225deg); }
.pt-toc-m ol { padding: 0 18px 12px; list-style: none; }
.pt-toc-m a { display: block; padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.4; color: var(--ink); }

.pt-next { padding: 24px; border-radius: 16px; background: var(--navy); color: #fff; }
.pt-next h2 { font-family: "Open Sans", Arial, sans-serif; font-size: 1.3rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.pt-next p { margin-top: 8px; font-size: .95rem; line-height: 1.55; color: rgb(255 255 255 / .82); }
.pt-next__cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin-top: 20px; padding: 0 16px; border-radius: 10px; background: #fff; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--navy); text-align: center; transition: background-color .2s ease; }
.pt-next__cta:hover { background: #eaf5ff; }
.pt-next__cta svg { width: 20px; height: 20px; color: #16a34a; }
.pt-next__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-size: .9rem; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pt-next__wa svg { width: 18px; height: 18px; color: #4ade80; }
.pt-next :focus-visible { outline-color: #fff; }

.pt-more { padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0; }
.pt-more__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; }
.pt-more h2 { font-family: "Open Sans", Arial, sans-serif; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.028em; color: var(--navy); }
.pt-more__all { display: inline-flex; align-items: center; min-height: 44px; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 28px; padding: 0; list-style: none; }
.pt-card a { display: block; color: inherit; }
.pt-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.pt-card h3 { margin-top: 16px; font-family: "Poppins", sans-serif; font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--navy); }
.pt-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .pt-sheet { grid-template-columns: minmax(0, 1fr); }
  .pt-article, .pt-side { width: 100%; max-width: 38rem; margin-inline: auto; }
  .pt-side { position: static; }
  .pt-toc { display: none; }
  .pt-toc-m { display: block; }
  .pt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .pt-title { font-size: 1.85rem; }
  .pt-sheet { padding: 22px 18px 26px; border-radius: 16px; }
  .pt-body { font-size: 1.0625rem; line-height: 1.75; }
  .pt-body > p:first-child { font-size: 1.15rem; }
  .pt-cards { grid-template-columns: minmax(0, 1fr); }
}
