/* Roofing guides (/guides/): only the parts the captured theme has no class for. Colours and
   fonts follow public/wp-content/uploads/amr-design.css: navy #162a54, red #cf0d0d, mist #eff4fb,
   line #dfe6f0, ink #24262b, Poppins, 4px button radius. Pages reuse the service-template ids
   (#section-2-46 banner, #section-9-46 body, #div_block-11-46 article, #div_block-12-46 sidebar)
   so the site's own design layer styles them; this file adds the guide-only pieces. */
:root { --gd-navy: #162a54; --gd-red: #cf0d0d; --gd-red-dark: #a80a0a; --gd-mist: #eff4fb; --gd-line: #dfe6f0; --gd-ink: #24262b; --gd-slate: #3b3c38; }

/* banner */
.gd-banner .gd-crumbs { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gd-banner .gd-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.gd-banner .gd-crumbs a:hover { opacity: 0.85; }
.gd-banner .gd-crumbs span[aria-hidden] { opacity: 0.7; }
#section-2-46.gd-banner .oxy-rich-text.gd-summary { font-size: 18px; line-height: 1.6; max-width: 760px; }
#section-2-46.gd-banner .gd-summary p { margin: 0; }
#section-2-46.gd-banner .oxy-rich-text.gd-meta { font-size: 15px; line-height: 1.6; margin-top: 16px; }
#section-2-46.gd-banner .gd-meta p { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
#section-2-46.gd-banner .gd-meta a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#section-2-46.gd-banner .gd-meta a.gd-chip { text-decoration: none; }
.gd-chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--gd-red); color: #fff; line-height: 1.4; }
.gd-chip-sm { font-size: 10px; padding: 2px 7px; margin-right: 8px; vertical-align: 2px; }
.gd-chip-link:hover { background: var(--gd-red-dark); }
.gd-sep { opacity: 0.7; }

/* article */
.gd-body .ct-section-inner-wrap { padding-top: 0; padding-bottom: 0; }
#div_block-11-46.gd-main { padding-left: 10px; padding-right: 10px; }
.gd-guide { width: 100%; max-width: 860px; color: var(--gd-ink); }
.gd-guide h2.ct-headline { font-size: min(7vw, 30px); scroll-margin-top: 110px; }
.gd-guide h3.ct-headline { font-size: min(5.5vw, 21px); margin: 22px 0 6px; }
.gd-guide .oxy-rich-text a, .gd-sources a, .gd-side a { color: var(--gd-navy); text-decoration: underline; text-underline-offset: 3px; }
.gd-guide .oxy-rich-text a:hover { color: var(--gd-red); }
.gd-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gd-navy); margin: 0 0 8px; }

/* short answer */
.gd-answer { background: var(--gd-mist); border-left: 4px solid var(--gd-red); border-radius: 0 6px 6px 0; padding: 20px 24px; margin: 0 0 22px; }
.gd-answer p:last-child { margin: 0; font-size: 18px; line-height: 1.65; color: var(--gd-ink); }

/* in this guide */
.gd-toc { border: 1px solid var(--gd-line); border-radius: 6px; padding: 16px 20px; margin: 0 0 10px; }
.gd-toc ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.gd-toc li { font-size: 15px; line-height: 1.45; padding-left: 14px; position: relative; }
.gd-toc li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 2px; background: var(--gd-red); transform: rotate(45deg); }
.gd-toc a { color: var(--gd-navy); text-decoration: none; }
.gd-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* decision table: scrolls sideways inside its own frame on narrow screens */
.gd-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0 30px; border: 1px solid var(--gd-line); border-radius: 6px; max-width: 100%; }
.gd-tablewrap:focus-visible { outline: 3px solid var(--gd-red); outline-offset: 2px; }
.gd-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0; background: #fff; }
.gd-table caption { caption-side: top; text-align: left; font-weight: 700; font-size: 16px; color: var(--gd-navy); padding: 14px 16px 10px; background: var(--gd-mist); }
.gd-table th, .gd-table td { padding: 12px 14px; border-top: 1px solid var(--gd-line); vertical-align: top; text-align: left; }
.gd-table thead th { background: var(--gd-navy); color: #fff; font-weight: 600; border-top: 0; }
.gd-table tbody th { font-weight: 600; color: var(--gd-navy); background: #f7f9fc; width: 24%; }
.gd-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.gd-table a { color: var(--gd-navy); }

/* when to call a roofer */
.gd-callpro { background: #fff8f8; border: 1px solid #f1c9c9; border-left: 4px solid var(--gd-red); border-radius: 0 6px 6px 0; padding: 18px 22px; margin: 30px 0; scroll-margin-top: 110px; }
.gd-callpro .gd-label { color: var(--gd-red); }
.gd-callpro p:last-child { margin: 0; font-size: 16.5px; line-height: 1.7; }

/* faq, next step, sources */
.gd-faq h3.ct-headline { color: var(--gd-navy); font-weight: 600; }
.gd-faq .oxy-rich-text p { margin: 0 0 14px; }
.gd-next { background: linear-gradient(135deg, var(--gd-navy) 0%, #1e3a66 100%); color: #fff; border-radius: 6px; padding: 26px 28px; margin: 34px 0; }
.gd-next .gd-label { color: rgba(255, 255, 255, 0.78); }
.gd-next p { color: #fff; margin: 0 0 18px; font-size: 16px; line-height: 1.6; }
.gd-next-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gd-guide .ct-link-button.gd-btn, .gd-side .ct-link-button.gd-btn { background-color: var(--gd-red); border-color: var(--gd-red); color: #fff; border-radius: 4px; font-weight: 600; letter-spacing: 0.2px; padding: 12px 22px; font-size: 15px; text-decoration: none; display: inline-block; transition: background-color 0.15s ease, transform 0.15s ease; }
.gd-guide .ct-link-button.gd-btn:hover, .gd-side .ct-link-button.gd-btn:hover { background-color: var(--gd-red-dark); border-color: var(--gd-red-dark); transform: translateY(-1px); color: #fff; }
.gd-btn-outline { display: inline-block; padding: 11px 20px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 4px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.gd-btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.gd-sources ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
.gd-sources li { position: relative; padding: 0 0 8px 22px; font-size: 15px; line-height: 1.5; word-break: break-word; }
.gd-sources li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--gd-red); transform: rotate(45deg); }
.gd-reviewed { font-size: 14px; line-height: 1.6; color: #555; margin: 8px 0 0; }

/* sidebar */
#div_block-12-46.gd-side { padding-top: 10px; }
.gd-sidebox { background: var(--gd-mist); border-radius: 6px; padding: 22px 22px 20px; margin: 0 0 20px; width: 100%; box-sizing: border-box; }
.gd-sidebox p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: var(--gd-slate); }
.gd-sidebox .gd-hours { font-size: 14px; color: #555; }
.gd-sidebox ul { list-style: none; margin: 0; padding: 0; }
.gd-sidebox li { border-top: 1px solid rgba(22, 42, 84, 0.12); padding: 10px 0; line-height: 1.45; font-size: 15px; }
.gd-sidebox li:first-child { border-top: 0; padding-top: 0; }
.gd-sidebox li a { font-weight: 600; text-decoration: none; }
.gd-sidebox li a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* hub */
.gd-hub { width: 100%; padding: 50px 0 40px; }
.gd-grouphead { margin: 0 0 18px; }
.gd-grouphead h2.ct-headline { color: var(--gd-navy); font-weight: 700; margin: 0 0 4px; scroll-margin-top: 110px; }
.gd-grouphead p { color: #555; font-size: 17px; margin: 0; }
.gd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 44px; }
.gd-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gd-line); border-radius: 8px; box-shadow: 0 2px 4px rgba(22, 42, 84, 0.06), 0 12px 28px rgba(22, 42, 84, 0.08); padding: 22px 22px 20px; color: var(--gd-ink); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.gd-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22, 42, 84, 0.18); color: var(--gd-ink); }
.gd-card .gd-chip { align-self: flex-start; margin: 0 0 12px; }
.gd-card h3.ct-headline { font-size: 20px; line-height: 1.3; margin: 0 0 8px; color: var(--gd-navy); font-weight: 700; }
.gd-card p { font-size: 15px; line-height: 1.6; color: #555; margin: 0 0 14px; flex-grow: 1; }
.gd-card .gd-go { font-weight: 700; color: var(--gd-red); font-size: 14px; }
.gd-card .gd-go::after { content: " \2192"; }
.gd-hub-note { margin-top: 6px; }

@media (max-width: 1024px) { .gd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  #div_block-11-46.gd-main { padding-left: 10px; padding-right: 10px; }
  #div_block-12-46.gd-side { margin-top: 10px; }
}
@media (max-width: 767px) {
  .gd-cards { grid-template-columns: 1fr; gap: 14px; }
  .gd-hub { padding: 34px 0 24px; }
  .gd-toc ul { grid-template-columns: 1fr; }
  .gd-answer { padding: 16px 18px; }
  .gd-answer p:last-child { font-size: 17px; }
  .gd-next { padding: 22px 20px; }
  .gd-callpro { padding: 16px 18px; }
  .gd-table { min-width: 520px; font-size: 14px; }
  .gd-table th, .gd-table td { padding: 10px 12px; }
  #section-2-46.gd-banner .oxy-rich-text.gd-summary { font-size: 16px; }
  #section-2-46.gd-banner .oxy-rich-text.gd-meta { font-size: 14px; }
}
