

#guides, #guide, #guide-related { --gd-gutter: calc(8% + 20px); padding: 80px var(--gd-gutter); background: #fff; color: #30353A; }
#guide-related { background: #f4f4f4; }
#guides *, #guide *, #guide-related *, #guide-head * { box-sizing: border-box; }
#guides p, #guide p, #guide-related p { margin: 0; }

.gd-col { max-width: 720px; margin: 0 auto; }
.gd-wide { max-width: 1200px; margin: 0 auto; }
.gd-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #30353A; }


.gd-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gd-grid li { margin: 0; padding: 0; list-style: none; }
#guide-related h2 { margin: 0 0 32px; padding: 0; font-weight: 700; font-size: 32px; line-height: 1.25; color: #30353A; text-transform: none; letter-spacing: 0; }
@media only screen and (max-width: 991px) { .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media only screen and (max-width: 640px) { .gd-grid { grid-template-columns: minmax(0, 1fr); } }

.gd-card { display: flex; flex-direction: column; height: 100%; border: 1px solid #dce0e4; border-radius: 4px; overflow: hidden; background: #fff; color: #30353A; text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.gd-card:hover { border-color: #D8B98A; box-shadow: 0 10px 32px -18px rgba(30, 34, 38, 0.5); }
.gd-card:focus-visible { outline: 3px solid #D8B98A; outline-offset: 3px; }
.gd-card__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #f4f4f4; }
.gd-card__photo picture { display: block; width: 100%; height: 100%; }
.gd-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 0.3s ease; }
.gd-card:hover .gd-card__photo img { transform: scale(1.03); }
.gd-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 24px; }
.gd-card__service { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #30353A; }
.gd-card__title { font-family: 'Inter', Arial, sans-serif; font-weight: 700; font-size: 21px; line-height: 1.3; color: #30353A; }
.gd-card__desc { font-size: 16px; line-height: 1.55; color: #555b61; }
.gd-card__meta { margin-top: auto; padding-top: 8px; font-size: 14px; color: #555b61; }

.gd-empty { text-align: center; font-family: 'Inter', Arial, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; color: #30353A; }


#guide-head { position: relative; isolation: isolate; overflow: hidden; padding: 80px calc(8% + 20px); min-height: 360px; display: flex; align-items: flex-end; background: #30353A; color: #fff; }
#guide-head picture { position: absolute; inset: 0; z-index: -2; display: block; }
#guide-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; max-width: none; display: block; }
#guide-head .gh-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 34, 38, 0.88) 0%, rgba(30, 34, 38, 0.7) 55%, rgba(30, 34, 38, 0.45) 100%); }
#guide-head .gh-copy { width: 100%; max-width: 820px; }
#guide-head .gh-crumb { margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
#guide-head .gh-crumb a { color: #fff; text-decoration: underline; text-decoration-color: #D8B98A; text-decoration-thickness: 2px; text-underline-offset: 4px; }
#guide-head h1 { margin: 0 0 16px; padding: 0; font-weight: 800; font-size: 42px; line-height: 1.2; color: #fff; text-transform: none; letter-spacing: 0; }
#guide-head .gh-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; color: #fff; }


.gd-answer { margin: 0 0 32px; padding: 24px 28px; border-left: 4px solid #D8B98A; background: #f4f4f4; }
.gd-answer .gd-eyebrow { margin-bottom: 8px; }
.gd-answer p:last-child { font-size: 19px; line-height: 1.55; color: #30353A; }
.gd-answer a { color: #30353A; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }

.gd-toc { margin: 0 0 48px; padding: 24px 28px; border: 1px solid #dce0e4; border-radius: 4px; }
.gd-toc ol { margin: 0; padding: 0 0 0 22px; display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
.gd-toc li { margin: 0; padding: 0; list-style: decimal; }
.gd-toc a { color: #30353A; text-decoration: underline; text-decoration-color: #D8B98A; text-decoration-thickness: 2px; text-underline-offset: 3px; }


.gd-prose { font-size: 18px; line-height: 1.6; }
.gd-prose p { margin: 0 0 16px; }
#guide .gd-prose p { margin: 0 0 1em; }
#guide .gd-prose li p { margin: 0; }
.gd-prose h2 { margin: 48px 0 14px; padding: 0; font-weight: 800; font-size: 26px; line-height: 1.3; color: #30353A; text-transform: none; letter-spacing: 0; scroll-margin-top: 24px; }
.gd-prose h3 { margin: 28px 0 10px; padding: 0; font-weight: 700; font-size: 20px; line-height: 1.35; color: #30353A; text-transform: none; letter-spacing: 0; scroll-margin-top: 24px; }
.gd-prose ul, .gd-prose ol { margin: 0 0 16px; padding-left: 24px; }
.gd-prose ul li { list-style: disc; }
.gd-prose ol li { list-style: decimal; }
.gd-prose li { margin: 0 0 6px; padding: 0; }
.gd-prose a { color: #30353A; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.gd-prose a:hover { color: #000; }
.gd-prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid #D8B98A; }
.gd-prose blockquote p { margin: 0; font-style: italic; }
.gd-prose img { display: block; max-width: 100%; height: auto; margin: 24px 0; border-radius: 3px; }
.gd-prose figure { margin: 32px 0; }
.gd-prose figure img { width: 100%; margin: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.gd-prose figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #5b6168; }
.gd-prose table { display: block; width: 100%; margin: 24px 0; overflow-x: auto; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.gd-prose th, .gd-prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #dce0e4; }
.gd-prose th { background: #f4f4f4; font-weight: 700; }
.gd-prose hr { margin: 40px 0; border: 0; border-top: 1px solid #dce0e4; }
.gd-prose strong { font-weight: 700; }


@media only screen and (max-width: 980px) {
  #guides, #guide, #guide-related { --gd-gutter: 40px; padding: 60px var(--gd-gutter); }
  #guide-head { padding: 60px 40px; min-height: 300px; }
  #guide-head h1 { font-size: 34px; }
}
@media only screen and (max-width: 479px) {
  #guides, #guide, #guide-related { --gd-gutter: 24px; }
  #guide-head { padding: 48px 24px; }
  #guide-head h1 { font-size: 28px; }
  .gd-prose { font-size: 16px; }
  .gd-prose h2 { font-size: 22px; }
  .gd-prose h3 { font-size: 18px; }
  .gd-answer { padding: 20px; }
  .gd-answer p:last-child { font-size: 17px; }
  .gd-toc { padding: 20px; }
  #guide-related h2 { font-size: 26px; }
}
