:root {
  --gt-blue: #009cff;
  --gt-black: #050505;
  --gt-ink: #000000;
  --gt-white: #ffffff;
  --gt-border: #dfe7ee;
}

html,
body {
  background-color: var(--gt-black) !important;
}

body {
  background-image: url("https://goodtimesrestoration.com/wp-content/uploads/2026/09/exec-46ffda19-1cc6-4fcc-930b-1970e1e6a4ec.png") !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-size: 100% auto !important;
  background-attachment: fixed !important;
}

.wp-site-blocks,
main.wp-block-group.has-background {
  background-color: transparent !important;
}

main {
  padding-bottom: clamp(40px, 6vw, 90px);
}

.wp-block-post-title {
  max-width: 1180px;
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 58px) 24px !important;
  background: rgba(5, 5, 5, 0.92) !important;
  color: var(--gt-blue) !important;
  border-bottom: 3px solid var(--gt-blue);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.wp-block-post-content {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: clamp(28px, 4vw, 56px) auto !important;
  padding: clamp(28px, 5vw, 64px) !important;
  background: var(--gt-white) !important;
  color: var(--gt-ink) !important;
  border: 1px solid rgba(0, 156, 255, 0.24);
  border-radius: 22px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.wp-block-post-content,
.wp-block-post-content p,
.wp-block-post-content li,
.wp-block-post-content dt,
.wp-block-post-content dd,
.wp-block-post-content blockquote,
.wp-block-post-content figcaption,
.wp-block-post-content label,
.wp-block-post-content input,
.wp-block-post-content textarea,
.wp-block-post-content select {
  color: var(--gt-ink) !important;
}

.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6,
.wp-block-post-content h1 *,
.wp-block-post-content h2 *,
.wp-block-post-content h3 *,
.wp-block-post-content h4 *,
.wp-block-post-content h5 *,
.wp-block-post-content h6 * {
  color: var(--gt-blue) !important;
}

.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3 {
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin-top: 1.25em;
  margin-bottom: 0.55em;
}

.wp-block-post-content > h1:first-child,
.wp-block-post-content > h2:first-child {
  margin-top: 0;
}

.wp-block-post-content p,
.wp-block-post-content li {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.72;
}

.wp-block-post-content a {
  color: #007fd1 !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.wp-block-post-content hr {
  border: 0;
  height: 2px;
  margin: 36px 0;
  background: linear-gradient(90deg, var(--gt-blue), rgba(0, 156, 255, 0.08));
}

.wp-block-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(7, 26, 40, 0.18);
}

.wp-block-post-content figure {
  margin-top: 28px;
  margin-bottom: 32px;
}

.wp-block-post-content .alignright {
  margin: 4px 0 24px 32px;
}

.wp-block-post-content .alignleft {
  margin: 4px 32px 24px 0;
}

.wp-block-post-content .wp-block-columns {
  gap: clamp(22px, 3vw, 42px);
}

.wp-block-post-content .wp-block-column,
.wp-block-post-content .wp-block-group.has-background {
  border-radius: 16px;
}

.wp-block-post-content .cta {
  padding: 24px !important;
  background: linear-gradient(135deg, #006eb8, var(--gt-blue)) !important;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 156, 255, 0.24);
}

.wp-block-post-content .cta,
.wp-block-post-content .cta * {
  color: #ffffff !important;
}

.wp-block-post-content .wp-element-button,
.wp-block-post-content button,
.wp-block-post-content input[type="submit"] {
  background: var(--gt-blue) !important;
  color: #ffffff !important;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 156, 255, 0.24);
}

.wp-block-post-featured-image,
main > .wp-block-group > figure {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 32px auto !important;
}

.wp-block-post-featured-image img,
main > .wp-block-group > figure img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

@media (max-width: 782px) {
  body {
    background-size: auto 100vh !important;
    background-position: center top !important;
  }
  .wp-block-post-content {
    width: calc(100% - 24px);
    padding: 26px 20px !important;
    border-radius: 16px;
  }
  .wp-block-post-title {
    padding: 28px 18px !important;
  }
  .wp-block-post-content .alignright,
  .wp-block-post-content .alignleft {
    float: none;
    display: block;
    margin: 24px auto;
  }
}

/* Homepage professional white-card layout */
body.home main > .wp-block-group:not(:first-child),
body.home main > .wp-block-columns,
body.home main > h1,
body.home main > p {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #ffffff !important;
  color: var(--gt-ink) !important;
}

body.home main > .wp-block-group:not(:first-child),
body.home main > .wp-block-columns {
  margin-top: 34px !important;
  margin-bottom: 34px !important;
  padding: clamp(28px, 5vw, 62px) !important;
  border: 1px solid rgba(0, 156, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

body.home main > h1 {
  margin-top: 36px !important;
  margin-bottom: 0 !important;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 5vw, 60px) 14px !important;
  border-radius: 22px 22px 0 0;
  color: var(--gt-blue) !important;
  line-height: 1.1;
}

body.home main > p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 7px clamp(24px, 5vw, 60px) !important;
  color: var(--gt-ink) !important;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

body.home main > p:nth-of-type(4) {
  padding-bottom: clamp(34px, 5vw, 58px) !important;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.32);
}

body.home main > .wp-block-group:not(:first-child) p,
body.home main > .wp-block-group:not(:first-child) li,
body.home main > .wp-block-columns p,
body.home main > .wp-block-columns li {
  color: var(--gt-ink) !important;
}

body.home main > .wp-block-group:not(:first-child) h1,
body.home main > .wp-block-group:not(:first-child) h2,
body.home main > .wp-block-group:not(:first-child) h3,
body.home main > .wp-block-group:not(:first-child) h4,
body.home main > .wp-block-group:not(:first-child) h5,
body.home main > .wp-block-group:not(:first-child) h6,
body.home main > .wp-block-columns h1,
body.home main > .wp-block-columns h2,
body.home main > .wp-block-columns h3,
body.home main > .wp-block-columns h4,
body.home main > .wp-block-columns h5,
body.home main > .wp-block-columns h6 {
  color: var(--gt-blue) !important;
}

body.home main img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(7, 26, 40, 0.17);
}

body.home main .wp-element-button {
  background: var(--gt-blue) !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 156, 255, 0.24);
}

body.home main > .wp-block-group:first-child:empty {
  display: none;
}

@media (max-width: 782px) {
  body.home main > .wp-block-group:not(:first-child),
  body.home main > .wp-block-columns,
  body.home main > h1,
  body.home main > p {
    width: calc(100% - 24px);
  }
  body.home main > .wp-block-group:not(:first-child),
  body.home main > .wp-block-columns {
    padding: 26px 20px !important;
    border-radius: 16px;
  }
}

/* GoodTimes full-logo homepage cover */
body.home main::before {
  content: "";
  display: block;
  width: min(1180px, calc(100% - 32px));
  height: clamp(240px, 34vw, 470px);
  margin: 28px auto 32px;
  border: 2px solid #009CFF;
  border-radius: 22px;
  background-color: #05070a;
  background-image: url("https://goodtimesrestoration.com/wp-content/uploads/2026/09/new-goodtimes-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(92%, 1120px) auto;
  box-shadow: 0 18px 48px rgba(0,156,255,.2);
  box-sizing: border-box;
}
@media (max-width: 600px) {
  body.home main::before {
    width: calc(100% - 20px);
    height: 210px;
    margin: 18px auto 22px;
    border-radius: 16px;
    background-size: 94% auto;
  }
}

/* Requested homepage readability fixes */
.home .wp-block-post-template > .wp-block-post > .wp-block-group.has-background {
  background: #ffffff !important;
  color: #000000 !important;
}
.home .wp-block-post-template > .wp-block-post > .wp-block-group.has-background :is(p, a, time, .wp-block-post-author__name, .wp-block-post-excerpt__excerpt, h3, h3 a) {
  color: #000000 !important;
}
.home .wp-block-post-template .wp-block-post-date,
.home .wp-block-post-template .wp-block-post-title {
  background: transparent !important;
}
.home .wp-block-group.has-dark-color-background-color.has-background p {
  color: #ffffff !important;
}
.home .wp-block-column > .wp-block-group.has-light-color-background-color.has-background[style*="padding-top:12px"]:has(h3) p,
.home .wp-block-column > .wp-block-group.has-light-color-background-color.has-background[style*="padding-top:12px"]:has(h3) p a {
  color: #ffffff !important;
}

/* GoodTimes estimate form */
.home .wpcf7 label {
  display: block;
  color: #000000 !important;
  font-weight: 700;
  margin: 0 0 14px;
}
.home .wpcf7 input:not([type="submit"]),
.home .wpcf7 select,
.home .wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid #c9d4df;
  border-radius: 9px;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 16px;
}
.home .wpcf7 textarea { min-height: 120px; resize: vertical; }
.home .wpcf7 input[type="submit"] {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: #009cff;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}
.home .wpcf7 input[type="submit"]:hover { background: #007fd1; }


/* True-black text inside white fields */
.home .wpcf7 input:not([type="submit"]),
.home .wpcf7 select,
.home .wpcf7 textarea {
  color: #000000 !important;
}
.home .wpcf7 input::placeholder,
.home .wpcf7 textarea::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}


/* Unified white-box typography across the site */
:is(body.home, body.page, body.single) main
.wp-block-group.has-light-color-background-color.has-background:not([style*="padding-top:12px"]),
:is(body.home, body.page, body.single) main
.wp-block-group.has-background-background-color.has-background {
  background-color: #ffffff !important;
  color: #000000 !important;
}

:is(body.home, body.page, body.single) main
.wp-block-group.has-light-color-background-color.has-background:not([style*="padding-top:12px"])
:is(p, li, dt, dd, blockquote, figcaption, label, input:not([type="submit"]), textarea, select, time, .wp-block-post-author__name, .wp-block-post-excerpt__excerpt),
:is(body.home, body.page, body.single) main
.wp-block-group.has-background-background-color.has-background
:is(p, li, dt, dd, blockquote, figcaption, label, input:not([type="submit"]), textarea, select, time, .wp-block-post-author__name, .wp-block-post-excerpt__excerpt) {
  color: #000000 !important;
}

:is(body.home, body.page, body.single) main
.wp-block-group.has-light-color-background-color.has-background:not([style*="padding-top:12px"])
:is(h1, h2, h3, h4, h5, h6),
:is(body.home, body.page, body.single) main
.wp-block-group.has-background-background-color.has-background
:is(h1, h2, h3, h4, h5, h6) {
  color: #009cff !important;
}

/* Blog cards remain white with black titles and copy. */
.home .wp-block-post-template > .wp-block-post > .wp-block-group.has-background
:is(h1, h2, h3, h4, h5, h6, a, p, time, .wp-block-post-author__name, .wp-block-post-excerpt__excerpt) {
  color: #000000 !important;
}

/* Dark process and service cards keep white body text. */
.home .wp-block-group.has-dark-color-background-color.has-background
:is(p, li, a),
.home .wp-block-column > .wp-block-group.has-light-color-background-color.has-background[style*="padding-top:12px"]:has(h3)
:is(p, li, a) {
  color: #ffffff !important;
}

/* Buttons stay white on blue. */
:is(body.home, body.page, body.single) main
:is(.wp-element-button, input[type="submit"]) {
  color: #ffffff !important;
}


/* Strict dark-card exceptions */
body.home main .wp-block-group.has-background-background-color.has-background
.wp-block-group.has-dark-color-background-color.has-background
:is(p, li, a),
body.home main .wp-block-column >
.wp-block-group.has-light-color-background-color.has-background[style*="padding-top:12px"]:has(h3)
:is(p, li, a) {
  color: #ffffff !important;
}


/* GoodTimes inner-page flow system */
body:not(.home) .wp-block-post-content {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
.gt-flow-page {
  display: grid;
  gap: 28px;
}
.gt-flow-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0,156,255,.24);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.gt-flow-section.gt-image-left .gt-flow-media { order: -1; }
.gt-flow-copy :is(p,li,dt,dd) {
  color: #000000 !important;
  line-height: 1.72;
}
.gt-flow-copy :is(h1,h2,h3,h4,h5,h6) {
  color: #009cff !important;
  margin-top: 0.8em;
  margin-bottom: .45em;
  line-height: 1.14;
}
.gt-flow-copy > :first-child { margin-top: 0 !important; }
.gt-flow-media { margin: 0 !important; }
.gt-flow-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(5,20,32,.22);
}
.gt-flow-cta {
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
  background: #080808;
  border: 2px solid #009cff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,156,255,.18);
}
.gt-flow-cta :is(h2,h3) { color:#009cff !important; margin-top:0; }
.gt-flow-cta p { color:#ffffff !important; }
.gt-flow-cta a {
  display:inline-block;
  margin-top:10px;
  padding:14px 26px;
  border-radius:999px;
  background:#009cff;
  color:#ffffff !important;
  font-weight:800;
  text-decoration:none;
}
@media (max-width: 782px) {
  .gt-flow-section { grid-template-columns: 1fr; padding: 24px 20px; }
  .gt-flow-section .gt-flow-media { order: -1; }
}

/* GoodTimes universal page design system */
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) {
  --gt-page-pad: clamp(22px, 4.5vw, 54px);
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #000000;
  overflow: visible;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :not(style):not(script) {
  box-sizing: border-box;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: var(--gt-page-pad);
  padding-right: var(--gt-page-pad);
  background: #ffffff !important;
  color: #000000 !important;
  border-left: 1px solid rgba(0,156,255,.22);
  border-right: 1px solid rgba(0,156,255,.22);
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :first-child {
  padding-top: clamp(30px, 5vw, 54px);
  border-top: 1px solid rgba(0,156,255,.22);
  border-radius: 22px 22px 0 0;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :is(h2,h3) {
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: 14px;
  color: #009cff !important;
  line-height: 1.15;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > h2 {
  margin-top: 28px !important;
  border-top: 1px solid rgba(0,156,255,.22);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 45px rgba(0,0,0,.22);
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > h2:first-child {
  margin-top: 0 !important;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :is(p,ul,ol,blockquote,table,figure,a) {
  padding-top: 0;
  padding-bottom: 22px;
  line-height: 1.72;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) :is(p,li,td,th,blockquote) {
  color: #000000 !important;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) :is(h1,h2,h3,h4,h5,h6) {
  color: #009cff !important;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > p:empty {
  display: none;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :is(p,ul,ol,blockquote,table,figure,a,div):has(+ h2),
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :last-child {
  padding-bottom: clamp(30px, 5vw, 50px);
  border-bottom: 1px solid rgba(0,156,255,.22);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :is(p,a,figure):has(img) {
  padding-top: 24px;
  padding-bottom: 28px;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(5,20,32,.22);
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > div:not(.cta-button-container) {
  padding-top: clamp(26px, 4vw, 46px);
  padding-bottom: clamp(26px, 4vw, 46px);
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > .cta-button-container {
  margin: 28px 0 !important;
  padding: clamp(28px, 5vw, 50px) !important;
  background: #080808 !important;
  border: 2px solid #009cff !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 50px rgba(0,156,255,.18) !important;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > .cta-button-container :is(p,span,strong) {
  color: #ffffff !important;
}
body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) a:not(.wp-block-button__link) {
  color: #007fd1;
  font-weight: 700;
}
@media (max-width: 782px) {
  body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) {
    --gt-page-pad: 20px;
  }
  body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > h2 {
    margin-top: 20px !important;
  }
}

html body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) > :is(h2,h3),
html body.page:not(.home):not(.page-id-16):not(.page-id-1000529):not(.page-id-1002191) .wp-block-post-content:not(:has(.gt-flow-page)) :is(h2,h3,h4,h5,h6) {
  color: #009cff !important;
  -webkit-text-fill-color: #009cff !important;
}