/* UZYTAK guides (SEO articles): /<lang>/<section>/<slug>/ and the section hubs. Prefix gd-.
   Sits on top of /media/photopack/photopack.css (pp- tokens and classes), like the app pages.
   Built by scripts/build-guides.mjs. */
.gd-page { --gd-text: #26324a; }
.gd-hero { padding-bottom: 28px; }
.gd-hero h1 { max-width: 24ch; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; }
.gd-crumbs { font-size: 14px; color: var(--pp-muted); margin: 0 0 6px; }
.gd-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gd-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--pp-faint); }
.gd-crumbs a { color: var(--pp-blue); font-weight: 600; text-decoration: none; }
.gd-crumbs a:hover { text-decoration: underline; }
.gd-crumbs [aria-current] { color: var(--pp-muted); }
.gd-meta { margin: 0; color: var(--pp-muted); font-size: 15px; }
.gd-hero .pp-eyebrow { margin: 10px 0 0; }

.gd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-bottom: 72px; }
.gd-layout > * { min-width: 0; }
.gd-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.gd-toc { background: var(--pp-card); border: 1px solid var(--pp-line); border-radius: 16px; padding: 16px 18px; }
.gd-toc summary { font-weight: 800; cursor: pointer; color: var(--pp-navy); }
.gd-toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; line-height: 1.4; }
.gd-toc a { color: var(--gd-text); text-decoration: none; }
.gd-toc a:hover { color: var(--pp-blue); text-decoration: underline; }

/* Article text */
.gd-body { font-size: 18px; line-height: 1.7; color: var(--gd-text); max-width: 760px; }
.gd-body > :first-child { margin-top: 0; }
.gd-body h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 44px 0 12px; color: var(--pp-ink); font-weight: 700; scroll-margin-top: 96px; }
.gd-body h3 { font-size: 21px; line-height: 1.3; margin: 30px 0 8px; color: var(--pp-ink); scroll-margin-top: 96px; }
.gd-body p { margin: 0 0 16px; }
.gd-body ul, .gd-body ol { margin: 0 0 18px; padding-left: 24px; }
.gd-body li { margin: 6px 0; }
.gd-body li > ul, .gd-body li > ol { margin: 6px 0 0; }
.gd-body a { color: var(--pp-blue); font-weight: 600; text-underline-offset: 3px; }
.gd-body strong { color: var(--pp-ink); }
.gd-body code { background: #e9edf5; border-radius: 6px; padding: 1px 6px; font-size: .9em; overflow-wrap: anywhere; }
.gd-body blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--pp-teal); background: #eaf7f6; border-radius: 0 12px 12px 0; color: var(--pp-ink); }
.gd-body blockquote p { margin: 0; }
.gd-body hr { border: 0; border-top: 1px solid var(--pp-line); margin: 36px 0; }
.gd-body .contains-task-list { list-style: none; padding-left: 4px; }
.gd-body .task-list-item input { width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: -3px; accent-color: var(--pp-teal-text); }
.gd-table-scroll { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--pp-line); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.gd-table-scroll table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.gd-table-scroll th, .gd-table-scroll td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--pp-line); vertical-align: top; }
.gd-table-scroll th { background: var(--pp-navy); color: #fff; font-weight: 700; }
.gd-table-scroll tr:last-child td { border-bottom: 0; }
.gd-faq-q { display: block; margin-top: 4px; }

/* App card (sidebar) and CTA box (end of the article) */
.gd-app { background: var(--pp-navy); color: #fff; border-radius: 18px; padding: 20px; display: grid; gap: 12px; }
.gd-app-head { display: flex; align-items: center; gap: 12px; }
.gd-app-head img { width: 48px; height: 48px; border-radius: 12px; flex: none; background: #fff; }
.gd-app-head strong { display: block; font-size: 17px; }
.gd-app-head span { display: block; color: #c5d0e6; font-size: 14px; line-height: 1.4; }
.gd-app p { margin: 0; color: #c5d0e6; font-size: 14px; line-height: 1.5; }
.gd-play { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--pp-blue); color: #fff; text-decoration: none; border-radius: 12px; padding: 13px 20px; font-weight: 800; }
.gd-play svg { width: 18px; height: 18px; flex: none; }
.gd-more { color: var(--pp-sky); font-weight: 700; text-decoration: none; font-size: 15px; }
.gd-more:hover, .gd-play:hover { text-decoration: underline; }
.gd-cta { margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--pp-navy), #15306e); color: #fff; border-radius: 24px; padding: 28px; }
.gd-cta > div:first-child { flex: 1 1 340px; }
.gd-cta h2 { margin: 0 0 8px !important; color: #fff !important; font-size: clamp(22px, 2.4vw, 28px) !important; }
.gd-cta p { margin: 0 0 8px; color: #c5d0e6; font-size: 16px; line-height: 1.55; }
.gd-cta .gd-cta-app { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.gd-cta .gd-cta-app img { width: 44px; height: 44px; border-radius: 11px; background: #fff; }
.gd-cta .gd-cta-app strong { color: #fff; font-size: 18px; }
.gd-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 230px; }
.gd-cta-actions .gd-more { text-align: center; }
.gd-company { font-size: 14px !important; font-style: italic; margin-top: 6px !important; }

.gd-sources { margin: 36px 0 0; padding: 22px 24px; background: #fff; border: 1px solid var(--pp-line); border-radius: 18px; font-size: 15px; line-height: 1.6; }
.gd-sources h2 { font-size: 20px !important; margin: 0 0 10px !important; }
.gd-sources ol { margin: 0; padding-left: 22px; }
.gd-sources li { margin: 4px 0; overflow-wrap: anywhere; }
.gd-sources a { color: var(--pp-blue); font-weight: 600; }
.gd-sources .gd-legal-state { margin: 12px 0 0; color: var(--pp-muted); font-size: 14px; }

/* Cards: related guides, hub list, app-page block */
.gd-related { margin: 44px 0 0; }
.gd-related h2 { font-size: clamp(22px, 2.4vw, 28px) !important; margin: 0 0 14px !important; }
.gd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gd-card { display: flex; flex-direction: column; gap: 10px; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--pp-line); border-radius: 18px; padding: 20px; color: var(--pp-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gd-card:hover, .gd-card:focus-visible { border-color: var(--pp-blue); box-shadow: 0 18px 40px -28px rgba(11, 21, 51, .45); }
.gd-card-app { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--pp-muted); text-transform: uppercase; letter-spacing: .05em; }
.gd-card-app img { width: 24px; height: 24px; border-radius: 6px; }
.gd-card strong { font-family: "Manrope Variable", "Segoe UI", sans-serif; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.gd-card p { margin: 0; color: var(--pp-muted); font-size: 15px; line-height: 1.5; flex: 1; }
.gd-card-go { color: var(--pp-blue); font-weight: 800; font-size: 15px; }
.gd-hub-lead { max-width: 64ch; }
.gd-hub-list { padding-bottom: 80px; }
.gd-app-guides .gd-all { display: inline-block; margin-top: 18px; color: var(--pp-blue); font-weight: 800; text-decoration: none; }
.gd-app-guides .gd-all:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .gd-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gd-side { position: static; order: -1; }
  .gd-side .gd-app { display: none; } /* the CTA box at the end of the article carries the same buttons */
  .gd-toc:not([open]) ol { display: none; }
}
@media (max-width: 640px) {
  .gd-body { font-size: 17px; }
  .gd-cta { padding: 22px; }
  .gd-cta-actions { min-width: 0; flex: 1 1 100%; }
  .gd-sources { padding: 18px; }
}
.gd-page h1, .gd-page h2, .gd-page h3, .gd-card strong { overflow-wrap: break-word; hyphens: auto; }
