/* Modest refinement of the existing GT Basic layout and teal palette. */
body { color: #50565a; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; letter-spacing: -.015em; }
.entry-content p, .entry-content li { line-height: 1.75; }
.wp-block-button__link, button, input[type="submit"] { border-radius: 4px; font-weight: 700; transition: background-color .18s ease, color .18s ease; }
.wp-block-button__link:not(.has-text-color) { color: #203235; }
.wp-block-button__link:hover, .wp-block-button__link:focus-visible { background-color: #315f65; color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #315f65; outline-offset: 3px; }
.entry-content .wp-block-image img { border-radius: 4px; }
.site-footer #footer-widgets a:hover, .site-footer #footer-widgets a:focus-visible { color: #a9d5da !important; text-decoration: underline; }
#footer-copyright, #footer-copyright .widget, #footer-copyright p { color: #c7cdcf; }
#footer-copyright p { margin-bottom: 0; }
.footer-widgets .widget-title { font-size: 1.125rem; }
@media (prefers-reduced-motion: reduce) { .wp-block-button__link, button, input[type="submit"] { transition: none; } }

/* Keep the existing mobile hero readable over its darker photo overlay. */
@media (max-width: 599px) {
  .entry-content h2 { font-size: 1.5rem; }
}

/* A white canvas, with the original contained width and quiet side borders. */
body.custom-background { background-color: #fff; padding-top: 0; padding-bottom: 0; }
#page.site { box-shadow: none; border-left: 1px solid gainsboro; border-right: 1px solid gainsboro; }
#masthead .header-main { padding-top: 1.25rem; padding-bottom: 1.25rem; }
#masthead .primary-navigation { background: #fff; border-top: 1px solid #e9eeee; border-bottom: 1px solid gainsboro; --gt-basic--navi-text-color: #293638; --gt-basic--navi-hover-color: #eef5f5; }
#site-navigation ul { font-size: 1rem; font-weight: 600; }
#site-navigation ul a { border-color: #e9eeee; }
#site-navigation ul li.current-menu-item > a, #site-navigation ul li.current-menu-ancestor > a { color: #315f65; text-decoration: none; background: #eef5f5; }
#site-navigation .menu-item.no-link > a { pointer-events: auto; }
#site-navigation ul ul li { background: #fff; }
#site-navigation ul ul a { font-size: .9rem; line-height: 1.5; }
#site-navigation .menu-toggle, #site-navigation .dropdown-toggle { color: #293638; }
#site-navigation .menu-toggle .icon, #site-navigation .dropdown-toggle .icon { fill: #293638; }
#site-navigation .menu-toggle:hover, #site-navigation .menu-toggle:focus { color: #293638; }
.entry-content { font-size: 1.0625rem; }
.entry-content h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.entry-content h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) { border: 0; background: #7ebec5; height: 4px; width: 64px; border-radius: 2px; box-shadow: none; opacity: 1; margin-top: 1.25rem; margin-bottom: 1.75rem; }
/* Native Cover/Group blocks preserve an editable hero, without spacer columns. */
.home-hero.wp-block-cover { min-height: 500px; padding: 2rem 2rem 0; align-items: flex-end; justify-content: flex-start; }
.home-hero .wp-block-cover__inner-container { width: 100%; }
.home-hero .tu-concrete-hero-panel { width: min(100%, 760px); max-width: 760px; margin: 0; background: #fff !important; padding: 1.75rem 2rem; color: #293638; }
.home-hero .tu-concrete-hero-panel h1 { color: #293638 !important; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.2; margin: 0 0 .75rem; }
.home-hero .tu-concrete-hero-panel p { color: #50565a; margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.65; }
.home-hero .tu-concrete-hero-panel .wp-block-buttons { margin: 0; }
.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus-visible { background-color: #315f65; color: #fff !important; }
.tu-concrete-breadcrumbs { padding: 1rem 2.5rem; border-bottom: 1px solid #e9eeee; font-size: .8rem; line-height: 1.6; }
.tu-concrete-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .6rem; list-style: none; margin: 0; padding: 0; }
.tu-concrete-breadcrumbs li { display: inline-flex; gap: .6rem; max-width: 100%; }
.tu-concrete-breadcrumbs li + li::before { content: '/'; color: #8c999b; }
.tu-concrete-breadcrumbs a { color: #315f65; text-decoration: none; }
.tu-concrete-breadcrumbs a:hover { text-decoration: underline; }
.tu-concrete-breadcrumbs span { overflow-wrap: anywhere; color: #50565a; }
#colophon.site-footer { padding-top: 2.75rem; background: #283134; }
#colophon .footer-widgets-columns { display: grid; grid-template-columns: 1.15fr 1.25fr 1fr; gap: 2.5rem; margin: 0; }
#colophon .footer-widget-column { float: none; width: auto; padding: 0; min-width: 0; }
#colophon .widget { margin-bottom: 2rem; }
#colophon .widget-title { font-size: 1rem; color: #a9d5da; margin-bottom: 1rem; }
#colophon .widget li { margin-bottom: .45rem; }
#colophon .widget a { font-size: .9rem; line-height: 1.65; }
#colophon .tu-concrete-footer-name { color: #fff; font-size: 1.05rem; line-height: 1.5; margin-bottom: .5rem; }
#colophon .tu-concrete-footer-description { color: #c7cdcf; font-size: .9rem; line-height: 1.65; }
#colophon address { font-size: .9rem; font-style: normal; line-height: 1.65; margin-bottom: 1.2rem; }
#colophon #footer-widgets .tu-concrete-footer-cta { display: inline-block; padding: .55rem .85rem; border: 1px solid #7ebec5; border-radius: 4px; font-weight: 700; }
#colophon #footer-copyright { text-align: left; margin: 0 2.5rem; padding: 1.2rem 0; border-top: 1px solid #526164; }
#colophon #footer-copyright p { text-align: left !important; }
@media (min-width: 880px) {
  #site-navigation { padding-inline: 1.25rem; }
  #site-navigation > ul > li > a { padding: 1rem 1.25rem; border-bottom: 3px solid transparent; }
  #site-navigation > ul > li.current-menu-item > a, #site-navigation > ul > li.current-menu-ancestor > a { border-bottom-color: #7ebec5; }
  #site-navigation .menu-item-has-children > a > .icon { top: 0; vertical-align: middle; fill: #315f65; }
  #site-navigation ul ul { border: 1px solid gainsboro; box-shadow: 0 6px 14px rgba(0,0,0,.08); }
}
@media (max-width: 879px) {
  .tu-concrete-breadcrumbs { padding: .8rem 1.5rem; }
  #colophon .footer-widgets-columns { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  #colophon .footer-widget-column:first-child { grid-column: 1 / -1; }
  #colophon #footer-copyright { margin-inline: 1.5rem; }
}
@media (max-width: 599px) {
  .home-hero.wp-block-cover { min-height: 540px; padding: 1rem 1rem 0; }
  .home-hero .tu-concrete-hero-panel { padding: 1.25rem; }
  .home-hero .tu-concrete-hero-panel h1 { font-size: 1.8rem; }
  #masthead .header-main { padding: 1rem 1.5rem; }
  #colophon .footer-widgets-columns { grid-template-columns: 1fr; }
  #colophon .footer-widget-column:first-child { grid-column: auto; }
}

/* Wider contained canvas with a single-row header and click-only navigation. */
body.custom-background { padding: 0; }
#page.site { max-width: 1360px; }
.post-image, .entry-content > .alignfull { width: min(calc(100vw - 2px), 1358px); max-width: none; margin-left: calc(50% - min(calc(100vw - 2px), 1358px)/2); margin-right: calc(50% - min(calc(100vw - 2px), 1358px)/2); }
#masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; padding: 1.1rem 2.5rem; border-bottom: 1px solid gainsboro; }
#masthead .header-main { flex: 0 0 auto; padding: 0; }
#masthead .custom-logo { width: 245px; height: auto; max-height: none; }
#masthead .primary-navigation { margin-left: auto; border: 0; position: static; }
#site-navigation { padding: 0; }
#site-navigation ul { font-size: .9rem; }
#site-navigation > ul > li > a, #site-navigation .tu-menu-section-toggle { padding: .95rem .85rem; border: 0; border-bottom: 2px solid transparent; font: inherit; font-weight: 600; color: #293638; text-align: left; background: transparent; border-radius: 0; }
#site-navigation .tu-menu-section-toggle { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
#site-navigation .tu-menu-section-toggle::after { content: ''; width: .4rem; height: .4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
#site-navigation .tu-menu-section-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px,-1px); }
#site-navigation > ul > li > a:hover, #site-navigation .tu-menu-section-toggle:hover, #site-navigation .tu-menu-section-toggle[aria-expanded="true"] { color: #315f65; background: #eef5f5; }
#site-navigation .current-menu-ancestor > .tu-menu-section-toggle { border-bottom-color: #315f65; color: #315f65; }
#site-navigation.tu-click-navigation ul ul { display: none; left: auto; right: 0; }
#site-navigation.tu-click-navigation li.tu-open > ul { display: block; }
#site-navigation ul ul a { width: 19rem; max-width: 100%; padding: .8rem 1rem; }
.home-hero.wp-block-cover { min-height: 600px; }
#page article.has-post-thumbnail .post-image img { height: 380px; }
#page article.has-post-thumbnail .page-header { top: 125px; }
.wp-block-button .wp-block-button__link, #colophon #footer-widgets .tu-concrete-footer-cta { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border-radius: 0; background: #315f65; color: #fff !important; border: 1px solid #315f65; padding: .8rem 1.1rem; font-size: .95rem; font-weight: 600; text-decoration: none; }
.wp-block-button .wp-block-button__link::after, .tu-concrete-footer-cta::after { content: ''; flex: none; width: 1.1rem; height: 1rem; background: currentColor; clip-path: polygon(0 44%, 73% 44%, 48% 17%, 56% 9%, 100% 50%, 56% 91%, 48% 83%, 73% 56%, 0 56%); transition: transform .2s ease; }
.wp-block-button .wp-block-button__link:hover, #colophon #footer-widgets .tu-concrete-footer-cta:hover { background: #21484e; color: #fff !important; text-decoration: none; }
.wp-block-button__link:hover::after, .wp-block-button__link:focus-visible::after, .tu-concrete-footer-cta:hover::after, .tu-concrete-footer-cta:focus-visible::after { transform: translateX(4px); }
.tu-concrete-overview { list-style: none; padding: 0; margin: 1.5rem 0; }
.tu-concrete-overview li { border-bottom: 1px solid gainsboro; }
.tu-concrete-overview a { display: block; color: #315f65; padding: .8rem 0; text-decoration: none; font-weight: 600; }
.tu-concrete-overview a:hover { text-decoration: underline; }
@media (min-width: 1100px) {
  #site-navigation .menu-toggle { display: none; }
  #site-navigation > ul.menu { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; }
}
@media (max-width: 1099px) {
  #masthead { padding: 1rem 1.5rem; }
  #masthead .custom-logo { width: 220px; }
  #site-navigation .menu-toggle { display: flex; align-items: center; width: auto; padding: .7rem .5rem; gap: .4rem; }
  #site-navigation .menu-toggle .icon { margin: 0; }
  #masthead #site-navigation > ul.menu { display: none; position: absolute; top: 100%; right: 0; width: min(100%, 420px); background: #fff; border: 1px solid gainsboro; box-shadow: 0 6px 14px rgba(0,0,0,.08); z-index: 1000; }
  #masthead #site-navigation.toggled-on > ul.menu { display: block; }
  #site-navigation > ul > li > a, #site-navigation .tu-menu-section-toggle { width: 100%; padding: 1rem 1.25rem; border-bottom: 1px solid #e9eeee; }
  #site-navigation .tu-menu-section-toggle { justify-content: space-between; }
  #site-navigation.tu-click-navigation ul ul { position: static; width: 100%; padding: 0 .75rem; border: 0; box-shadow: none; }
  #site-navigation ul ul a { width: 100%; }
}
@media (max-width: 599px) {
  #masthead { padding: .9rem 1rem; gap: .5rem; }
  #masthead .custom-logo { width: 190px; }
  #site-navigation .menu-toggle { font-size: .9rem; }
  .home-hero.wp-block-cover { min-height: 590px; }
  #page article.has-post-thumbnail .post-image img { height: 320px; }
  #page article.has-post-thumbnail .page-header { top: 110px; }
  .wp-block-button .wp-block-button__link { max-width: 100%; gap: .6rem; padding: .8rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link::after, .tu-concrete-footer-cta::after, #site-navigation .tu-menu-section-toggle::after { transition: none; }
  .wp-block-button__link:hover::after, .wp-block-button__link:focus-visible::after, .tu-concrete-footer-cta:hover::after, .tu-concrete-footer-cta:focus-visible::after { transform: none; }
}

/* Override the theme's late custom-colour rule without changing its settings. */
#page .entry-content .wp-block-button .wp-block-button__link { background-color: #315f65; }
#page .entry-content .wp-block-button .wp-block-button__link:hover, #page .entry-content .wp-block-button .wp-block-button__link:focus-visible { background-color: #21484e; }
@media (max-width: 1099px) { #masthead #site-navigation > ul.menu { max-height: calc(100dvh - 120px); overflow-y: auto; } }

/* Align desktop menu tabs with the header border, while keeping mobile centred. */
@media (min-width: 1100px) {
  #masthead { padding-bottom: 0; align-items: flex-end; }
  #masthead .header-main { padding-bottom: 1.1rem; }
}
#page .entry-content .wp-block-button .wp-block-button__link, #colophon #footer-widgets .tu-concrete-footer-cta { font-size: .875rem; }

/* Mirror only the homepage photo, keeping the driveway clear of the text panel. */
.home-hero.wp-block-cover > .wp-block-cover__image-background { transform: scaleX(-1); object-position: center bottom; }

/* Keep native gallery captions readable on narrow screens. */
@media (max-width: 599px) {
  #page .entry-content .wp-block-gallery .wp-block-image { display: block; height: auto !important; align-self: flex-start; }
  #page .entry-content .wp-block-gallery .wp-block-image img { display: block; width: 100%; height: auto !important; flex: none; }
  #page .entry-content .wp-block-gallery .wp-block-image figcaption { position: static; max-height: none; overflow: visible; width: 100%; margin: 0; padding: .65rem .5rem; background: #283134; color: #fff; font-size: .8rem; line-height: 1.5; }
}
