/*
 * Shared content components: styles for page content extracted from the live site, after
 * src/templates/content.php has rewritten the builder elements. Everything is scoped
 * under .wp-content so it never affects the header, footer or homepage sections.
 * Colors and fonts come from the variables in style.css.
 */

/* ---------- Text ---------- */
.wp-content{font-size:16px;line-height:1.75;color:var(--ink);overflow-wrap:break-word}
/* Very long unbroken strings (bare URLs, rows of dashes) may break rather than widen the page. */
.wp-content :is(p,li,a,span,td,th){overflow-wrap:anywhere}
.wp-content::after{content:'';display:table;clear:both}
.wp-content [hidden]{display:none!important}
/* style.css styles every <footer> as the dark site footer; content has its own (e.g. post entry footers). */
.wp-content footer{padding:0;background:none;color:inherit}
/* Enfold's per-screen-size visibility, with its breakpoints (elements hidden on all sizes get `hidden`). */
@media(min-width:990px){.wp-content .av-desktop-hide{display:none!important}}
@media(min-width:768px) and (max-width:989px){.wp-content .av-medium-hide{display:none!important}}
@media(min-width:480px) and (max-width:767px){.wp-content .av-small-hide{display:none!important}}
@media(max-width:479px){.wp-content .av-mini-hide{display:none!important}}
.wp-content p{margin:0 0 1em}
.wp-content p+p{margin-top:0}
.wp-content :is(h1,h2,h3,h4,h5,h6){margin:1.5em 0 .5em;line-height:1.2;letter-spacing:-.015em;color:var(--ink)}
.wp-content :is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
.wp-content :is(h1,h2,h3,h4,h5,h6) :is(strong,b){font-weight:inherit}
.wp-content h1{font:400 clamp(34px,3.3vw,50px)/1.12 var(--serif);letter-spacing:-.03em}
.wp-content h2{font:400 clamp(27px,2.4vw,36px)/1.18 var(--serif);letter-spacing:-.025em}
.wp-content h3{font:400 clamp(22px,1.8vw,26px)/1.25 var(--serif)}
.wp-content h4{font-size:19px;font-weight:700}
.wp-content :is(h5,h6){font-size:16px;font-weight:700}
.wp-content a:not(.button){color:#86601d;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.wp-content a:not(.button):hover{color:var(--ink)}
.wp-content :is(ul,ol){margin:0 0 1.2em;padding-left:1.3em}
.wp-content li{margin-bottom:.4em}
.wp-content li::marker{color:#a07c33}
.wp-content strong{font-weight:700}
.wp-content blockquote{margin:1.6em 0;padding:4px 0 4px 24px;border-left:2px solid var(--gold);font:italic 20px/1.6 var(--serif)}
.wp-content .c-table{margin:1.5em 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.wp-content table{width:100%;border-collapse:collapse;margin:1.5em 0;font-size:15px}
.wp-content .c-table>table{margin:0}
.wp-content :is(td,th){overflow-wrap:normal}
@media(max-width:600px){.wp-content table{font-size:14px}.wp-content :is(th,td){padding:8px 10px}}
.wp-content :is(th,td){border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.wp-content th{background:#eeeae1;font-weight:700}

/* ---------- Images and media ---------- */
.wp-content img{height:auto;max-width:100%;object-fit:contain}
.wp-content .aligncenter{margin-inline:auto}
.wp-content .alignleft{float:left;margin:4px 28px 16px 0}
.wp-content .alignright{float:right;margin:4px 0 16px 28px}
.wp-content :is(figure,.wp-caption){margin:1.5em 0;max-width:100%}
.wp-content :is(figcaption,.wp-caption-text){margin-top:8px;font-size:13px;color:var(--muted)}
.wp-content .avia-image-container{margin:28px 0}
.wp-content .avia-image-container.avia-align-center img{margin-inline:auto}
.wp-content .avia-image-container .image-overlay{display:none}
.wp-content iframe{max-width:100%}
.wp-content iframe:is([src*="youtube"],[src*="vimeo"]){display:block;width:100%;height:auto;aspect-ratio:16/9;border:0}
/* Self-hosted videos keep their own shape (the clips on /videos/ are portrait), at most 75% of the window high. */
.wp-content video{display:block;width:100%;height:auto;max-height:75vh;margin-inline:auto;border:0}

/* ---------- Before/after comparison slider ---------- */
.wp-content .c-compare{--pos:50%;margin:28px auto;width:100%}
.wp-content .c-compare-frame{position:relative;overflow:hidden;background:#eeeae1;user-select:none;-webkit-user-select:none}
.wp-content .c-compare-frame img{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;pointer-events:none}
.wp-content .c-compare-before{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.wp-content .c-compare-after{position:absolute;inset:0}
.wp-content .c-compare-label{position:absolute;top:14px;z-index:2;padding:5px 11px;background:#191a18c7;color:#fff;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1.4;pointer-events:none;transition:opacity .2s}
.wp-content .c-compare-label--before{left:14px}
.wp-content .c-compare-label--after{right:14px}
.wp-content .c-compare.is-before-hidden .c-compare-label--before,.wp-content .c-compare.is-after-hidden .c-compare-label--after{opacity:0}
.wp-content .c-compare-handle{position:absolute;top:0;bottom:0;left:var(--pos);z-index:2;width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 6px #0006;pointer-events:none}
.wp-content .c-compare-handle::before{content:'';position:absolute;top:50%;left:-1%;width:46px;height:46px;margin:-23px 0 0 -23px;border:2px solid #fff;border-radius:50%;background:#191a18b3;box-shadow:0 2px 10px #0005}
.wp-content .c-compare-handle::after{content:'‹ ›';position:absolute;top:50%;left:50%;transform:translate(-45%,-52%);color:#fff;font:400 22px/1 Georgia,serif;letter-spacing:4px;white-space:nowrap}
.wp-content .c-compare-range{position:absolute;inset:0;z-index:3;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y;-webkit-appearance:none;appearance:none}
.wp-content .c-compare-frame:has(.c-compare-range:focus-visible){outline:3px solid #a87922;outline-offset:4px}

/* ---------- Builder layout: columns, spacing, headings ---------- */
.wp-content .flex_column{float:left;margin-left:6%;min-height:1px}
.wp-content .flex_column.first{clear:left;margin-left:0}
.wp-content .av_one_full{width:100%;margin-left:0}
.wp-content .av_one_half{width:47%}
.wp-content .av_one_third{width:29.333%}
.wp-content .av_two_third{width:64.667%}
.wp-content .av_one_fourth{width:20.5%}
.wp-content .av_three_fourth{width:73.5%}
.wp-content .av_one_fifth{width:15.2%}
.wp-content .av_two_fifth{width:36.4%}
.wp-content .av_three_fifth{width:57.6%}
.wp-content .av_four_fifth{width:78.8%}
.wp-content .flex_column_table{display:flex;clear:both}
.wp-content .flex_column_table>.flex_column{float:none}
/* Enfold's equal-height rows: cells marked "align middle/bottom" on the live site. */
.wp-content .flex_column_table>.av-align-middle{align-self:center}
.wp-content .flex_column_table>.av-align-bottom{align-self:flex-end}
/* A column's first and last items sit flush with the column (no extra space above or below). */
.wp-content .flex_column>:first-child{margin-top:0}
.wp-content .flex_column>:last-child{margin-bottom:0}
.wp-content .column-top-margin{margin-top:40px}
/* Layout grid (flex_cell): cells side by side with no gutter, as in Enfold; 14 cells on 7 pages. */
.wp-content .flex_cell{float:left;padding:8px}
.wp-content .flex_cell.av_one_full{width:100%}
.wp-content .flex_cell.av_one_half{width:50%}
.wp-content .flex_cell.av_one_third{width:33.333%}
.wp-content .flex_cell.av_two_third{width:66.667%}
.wp-content .flex_cell.av_one_fourth{width:25%}
.wp-content .flex_cell.av_three_fourth{width:75%}
.wp-content .flex_cell.av_one_fifth{width:20%}
.wp-content .flex_cell.av_two_fifth{width:40%}
.wp-content .flex_cell.av_three_fifth{width:60%}
.wp-content .flex_cell.av_four_fifth{width:80%}
.wp-content .flex_cell .c-compare{margin:0 auto}
.wp-content .av_textblock_section+.av_textblock_section{margin-top:4px}
.wp-content .av-special-heading{margin:0 0 20px}
.wp-content .av-special-heading .av-special-heading-tag{margin:0}
.wp-content .av-subheading{font-size:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#86601d}
.wp-content .av-subheading p{margin:6px 0 0}
.wp-content .hr{clear:both;height:1px;margin:36px 0;background:var(--line)}
.wp-content .hr *{display:none}
.wp-content .hr.hr-invisible{height:0;margin:14px 0;background:none}
@media(max-width:767px){
  .wp-content .flex_column{float:none;width:auto;margin-left:0}
  .wp-content .flex_cell[class]{float:none;width:auto;padding:0 0 16px}
  .wp-content .flex_column+.flex_column{margin-top:28px}
  .wp-content .flex_column_table{display:block}
  .wp-content :is(.alignleft,.alignright){float:none;margin:16px auto}
}

/* ---------- FAQ (toggles): same look as the homepage FAQ ---------- */
.wp-content .c-faq{margin:28px 0 36px;clear:both}
.wp-content .c-faq summary{color:var(--ink)}
/* style.css sizes every span in a FAQ summary as the +/- icon; the question text needs normal width. */
.wp-content .c-faq summary>.c-faq-question{flex:1;width:auto;height:auto;position:static}
.wp-content .c-faq-question>:is(p,h2,h3,h4,strong){margin:0;font:inherit}
.wp-content .c-faq-answer{padding-top:14px;font-size:15px;color:var(--muted)}
.wp-content .c-faq-answer>:last-child{margin-bottom:0}
.wp-content .c-faq-answer p{margin:0 0 .8em;font-size:15px}

/* ---------- Post cards (content sliders) ---------- */
.wp-content .c-cards{clear:both;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:32px 26px;margin:32px 0}
.wp-content .c-card{display:flex;flex-direction:column;min-width:0}
.wp-content .c-card-image{display:block;overflow:hidden;background:#eeeae1}
.wp-content .c-card-image img{display:block;width:100%;aspect-ratio:1.4;object-fit:cover;transition:transform .4s}
.wp-content .c-card-image:hover img{transform:scale(1.035)}
.wp-content .c-card-body{padding-top:16px}
.wp-content .c-card-title{margin:0;font:400 19px/1.3 var(--serif);letter-spacing:-.01em}
.wp-content .c-card-title a:not(.button){color:var(--ink);text-decoration:none}
.wp-content .c-card-title a:not(.button):hover{color:#86601d}
.wp-content .c-card-meta{margin:8px 0 0;font-size:13px;color:var(--muted)}
.wp-content .c-card-excerpt{margin-top:10px;font-size:14px;color:var(--muted)}
.wp-content .c-cards-wrap{clear:both;margin:32px 0}
.wp-content .c-cards-wrap>.c-cards{margin:0}
.wp-content .c-cards-pages{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:20px;font-size:15px}
.wp-content .c-cards-pages .current{font-weight:700}
@media(max-width:700px){
  .wp-content .c-cards{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;gap:18px}
  .wp-content .c-card{scroll-snap-align:start}
}

/* ---------- Call-to-action band (promo boxes) ---------- */
.wp-content .c-promo{clear:both;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;margin:40px 0;padding:34px 40px;background:var(--dark);color:#e7e3da}
.wp-content .c-promo-text{flex:1 1 320px}
.wp-content .c-promo-text :is(h1,h2,h3,h4,h5){margin:0;color:#fff;font:400 clamp(22px,2vw,29px)/1.3 var(--serif);letter-spacing:-.015em}
.wp-content .c-promo-text :is(h1,h2,h3,h4,h5)+*{margin-top:10px}
.wp-content .c-promo-text p{margin:0;color:#d9d3c5;font-size:15px}
.wp-content .c-promo-text a:not(.button){color:#e8c47d}
.wp-content .c-promo-actions{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:600px){.wp-content .c-promo{padding:28px 24px}}

/* ---------- Buttons ---------- */
.wp-content .c-button{clear:both;margin:24px 0}
.wp-content .c-button--center{text-align:center}
.wp-content .c-button--right{text-align:right}

/* ---------- Side cards (widget areas, sidebars) and the LeadConnector form ---------- */
.wp-content .c-widgets{margin-bottom:24px}
.wp-content .widget{margin:0 0 24px}
.wp-content .widget .seperator{display:none}
.wp-content :is(.widgettitle,.widget-title){margin:0 0 14px;font:700 13px/1.4 Manrope,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#86601d}
.wp-content .widget ul{list-style:none;margin:0;padding:0}
.wp-content .widget li{margin:0;border-bottom:1px solid var(--line)}
.wp-content .widget li a:not(.button){display:block;padding:9px 0;color:var(--ink);text-decoration:none;font-size:15px}
.wp-content .widget li a:not(.button):hover{color:#86601d}
.wp-content .widget img{display:block;margin:14px auto;max-width:min(100%,240px)}
.wp-content .c-lead-form{margin:16px 0;padding:24px 22px 12px;background:#eeeae1;border-top:2px solid var(--gold)}
.wp-content .c-lead-form .contact-form-header{margin:0 0 14px;font:400 24px/1.25 var(--serif);letter-spacing:-.015em;color:var(--ink)}
.wp-content .c-lead-form iframe{display:block;width:100%;background:transparent}

/* ---------- "Helpful Remodeling Resources" (internal links block on posts) ---------- */
.wp-content .ub-internal-links{clear:both;margin:48px 0;padding:36px 40px;background:#eeeae1}
/* Its top margin was used up by the clearance when floated WordPress columns came before it (2026-11-17: the gap was 0
   on most posts), so an empty clearing element is put right before it (content.php) and its margin works again. */
.wp-content .c-clear{clear:both;height:0}
.wp-content .ub-internal-links>h2{margin:0 0 22px;font-size:clamp(24px,2vw,30px)}
.wp-content .ub-internal-links__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px 48px}
.wp-content .ub-internal-links h3{margin:0 0 10px;font:700 13px/1.4 Manrope,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#86601d}
.wp-content .ub-internal-links ul{list-style:none;margin:0;padding:0}
.wp-content .ub-internal-links li{margin:0;border-bottom:1px solid #d8d0c0}
.wp-content .ub-internal-links li a:not(.button){display:flex;justify-content:space-between;gap:16px;padding:10px 0;color:var(--ink);text-decoration:none;font-size:15px}
.wp-content .ub-internal-links li a:not(.button)::after{content:'→';color:#a07c33}
.wp-content .ub-internal-links li a:not(.button):hover{color:#86601d}
@media(max-width:600px){.wp-content .ub-internal-links{padding:28px 22px}}

/* ---------- Images that fill their column (layouts add .c-fill-images; images marked in content.php) ---------- */
.c-fill-images img.c-flow-img{display:block;float:none;width:100%;max-width:100%;height:auto;margin-inline:0;object-fit:cover}
/* Portrait photos are cropped to a square (user's choice "1:1 for now", 2026-11-12). */
.c-fill-images img.c-flow-img--portrait{aspect-ratio:1/1}
.c-fill-images :is(.wp-caption,figure,a,.avia-image-container-inner,.avia-image-overlay-wrap):has(img.c-flow-img){display:block;float:none;width:auto!important;max-width:100%;margin-inline:0}

/* ---------- Column rows (content.php, wrap_column_row / wrap_rows) ---------- */
/* Rows of Enfold columns side by side from 768px (Enfold's breakpoint). Feature rows centre
   their columns; the article + side column row (.c-row--side) stretches both to the same height,
   so the quote card can stick below the site header until the row ends. */
.wp-content .c-row{clear:both}
@media(min-width:768px){
  .wp-content .c-row{display:flex;align-items:center}
  .wp-content .c-row--side{align-items:stretch}
  .wp-content .c-row>.flex_column{float:none}
  /* The four badges that stick with the card sit in a compact 2x2 grid, so the group fits on screen. */
  :is(.wp-content .c-row--side,.svc-sidebar) .c-side-sticky .textwidget{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-items:center;justify-items:center}
  :is(.wp-content .c-row--side,.svc-sidebar) .c-side-sticky .contact-form-container{display:contents}
  :is(.wp-content .c-row--side,.svc-sidebar) .c-side-sticky .textwidget p{margin:0;min-width:0}
  :is(.wp-content .c-row--side,.svc-sidebar) .c-side-sticky .widget img{width:auto;max-width:100%;max-height:110px;margin:0 auto}
}
/* Card + badges stick together when the window is tall enough to show the whole group (~540px
   below the header); on shorter windows only the card sticks, so nothing is cut off. */
@media(min-width:768px) and (min-height:700px){
  :is(.wp-content .c-row--side,.svc-sidebar) .c-side-sticky{position:sticky;top:calc(var(--site-header-height,100px) + 24px);z-index:2;background:var(--cream)}
}
@media(min-width:768px) and (max-height:699px){
  :is(.wp-content .c-row--side,.svc-sidebar) .c-side-sticky{display:contents}
  :is(.wp-content .c-row--side,.svc-sidebar) .c-quote-card{position:sticky;top:calc(var(--site-header-height,100px) + 24px);z-index:2}
}

/* ---------- Side column cards in place of the form box (partials/post-side-cards.php) ---------- */
.wp-content .c-tags-card{margin:0 0 28px;padding:30px 30px 28px;background:#fff;box-shadow:0 12px 32px #191a1814}
.wp-content .c-side-card-title{margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line);font:400 25px/1.2 var(--serif);letter-spacing:-.015em}
.wp-content .c-tags{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.wp-content .c-tags li{margin:0}
.wp-content .c-tags li::marker{content:none}
.wp-content .c-tags :is(a,span){display:inline-block;padding:7px 14px;border:1px solid var(--line);background:#f6f3ec;color:var(--muted);font-size:13px;line-height:1.4;text-decoration:none;transition:border-color .2s,color .2s,background .2s}
.wp-content .c-tags a:not(.button):hover{border-color:var(--gold);background:#fff;color:var(--ink)}
.wp-content .c-quote-card{position:relative;overflow:hidden;margin:0 0 32px;background:var(--dark);text-align:center}
.wp-content .c-quote-card .c-quote-card-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;opacity:.32}
.wp-content .c-quote-card-body{position:relative;padding:46px 30px 34px}
.wp-content .c-quote-card-title{margin:0 0 14px;color:#fff;font:400 clamp(28px,2.2vw,34px)/1.15 var(--serif);letter-spacing:-.02em}
.wp-content .c-quote-card p{margin:0 0 26px;color:#e7e3da;font-size:15px;line-height:1.7}
/* Same button as the rest of the site, in red. */
.wp-content .button.c-quote-button{width:100%;justify-content:center;min-height:56px;border-color:#c8243a;background:#c8243a;color:#fff;font-size:15px;letter-spacing:.02em}
.wp-content .button.c-quote-button:hover{border-color:#a51b2e;background:#a51b2e}

/* ---------- Form popup (partials/quote-dialog.php) ---------- */
.c-quote-dialog{width:min(560px,94vw);max-height:92vh;padding:0;border:0;background:var(--cream);color:var(--ink);box-shadow:0 30px 80px #0007}
.c-quote-dialog::backdrop{background:#191a18b8}
.c-quote-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 18px 16px 24px;background:var(--cream);border-bottom:2px solid var(--gold)}
.c-quote-dialog-head h2{margin:0;font:400 24px/1.25 var(--serif);letter-spacing:-.015em}
.c-quote-dialog-close{flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:26px;line-height:1;cursor:pointer}
.c-quote-dialog-close:hover{border-color:var(--gold)}
.c-quote-dialog-body{padding:14px 16px 20px}
.c-quote-dialog-body iframe{display:block;width:100%}
html:has(.c-quote-dialog[open]){overflow:hidden}

/* ---------- Check-mark list (Enfold icon circles; transform_icon_circles) ---------- */
.wp-content .c-checklist-logo img{margin:0 auto 18px;max-width:200px}
.wp-content .c-checklist{list-style:none;margin:0;padding:0}
.wp-content .c-checklist li{position:relative;margin:0;padding:12px 0 12px 34px;border-bottom:1px solid var(--line)}
.wp-content .c-checklist li::marker{content:none}
.wp-content .c-checklist li::before{content:'✓';position:absolute;left:4px;top:11px;color:#a07c33;font-weight:700}
.wp-content .c-checklist strong{display:block;font-size:14px;letter-spacing:.06em}
.wp-content .c-checklist-desc{margin-top:4px;color:var(--muted);font-size:14px}
.wp-content .c-checklist-desc p{margin:0}
/* "FREE Consultation" rows (photo beside the heading + check list; class c-consult from mark_consult_rows() in content.php,
   46 service pages; user's request 2026-11-19). From 1200px: side by side, the photo as tall as the text column, cropped to
   fill (object-fit: cover). Below 1200px: one column, photo above at its own shape, the list in two columns; one column
   again at 768px and below. */
@media(min-width:1200px){
  .wp-content .flex_column_table.c-consult>.c-consult-media{align-self:stretch;position:relative}
  .wp-content .c-consult-media .avia-image-container{position:absolute;inset:0;margin:0}
  .wp-content .c-consult-media :is(.avia-image-container-inner,.avia-image-overlay-wrap){height:100%}
  .wp-content.c-fill-images .c-consult-media img,
  .wp-content .c-consult-media img{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;aspect-ratio:auto;object-fit:cover}
}
/* A builder photo column beside text (option photo_fill_columns, .c-photo-fill; /kitchen-remodeling-houston/,
   2026-11-23, user's request): while the columns sit side by side (768px and up), the photo is at least 3:2 and grows
   to the text column's height when the text is taller, cropped to fill. Stacked on phones: the photo at its own shape. */
@media(min-width:768px){
  .wp-content :is(.flex_column_table,.c-row)>.flex_column.c-photo-fill{display:flex;flex-direction:column;align-self:stretch}
  .wp-content .c-photo-fill>.avia-image-container{position:relative;flex:1 0 auto;margin:0}
  .wp-content .c-photo-fill>.avia-image-container::before{content:"";display:block;padding-top:66.667%}
  /* In a service feature row (two halves) the shared 4:3 crop is the minimum (pages/service.css "Feature rows"). */
  .svc-content .c-row:not(.c-row--side)>.av_one_half.c-photo-fill>.avia-image-container::before{padding-top:75%}
  .wp-content .c-photo-fill :is(.avia-image-container-inner,.avia-image-overlay-wrap){position:static;margin:0}
  .wp-content.c-fill-images .c-photo-fill img,
  .wp-content .c-photo-fill img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;aspect-ratio:auto;object-fit:cover}
}
@media(max-width:1199px){
  .wp-content .flex_column_table.c-consult{display:block}
  .wp-content .flex_column_table.c-consult>.flex_column{float:none;width:auto;margin-left:0}
  .wp-content .flex_column_table.c-consult>.flex_column+.flex_column{margin-top:40px}
  .wp-content .c-consult-media .avia-image-container{margin:0}
  .wp-content .c-consult-media img{display:block;width:100%;height:auto}
  /* A portrait photo (consult-exterior) in a 4:3 frame while stacked, so it is not taller than the screen. */
  .wp-content.c-fill-images .c-consult-media img.c-consult-portrait,
  .wp-content .c-consult-media img.c-consult-portrait{max-height:none;aspect-ratio:4/3;object-fit:cover}
  .wp-content .c-consult .c-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
}
@media(max-width:768px){.wp-content .c-consult .c-checklist{display:block}}

/* ---------- Elements given a background photo by the extractor (inline style, class c-bg) ---------- */
.wp-content .c-bg{background-size:cover;background-position:center;background-repeat:no-repeat;min-height:280px}

/* ---------- Photo slideshow (transform_slideshows; buttons from assets/js/slideshow.js) ---------- */
.c-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wp-content .c-slideshow{position:relative;clear:both;margin:28px 0}
.wp-content .c-slideshow-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;background:#eeeae1}
.wp-content .c-slideshow-track::-webkit-scrollbar{display:none}
.wp-content .c-slide{flex:0 0 100%;scroll-snap-align:start;aspect-ratio:var(--slide-ratio,3/2);overflow:hidden}
.wp-content .c-slide :is(a,img){display:block;width:100%;height:100%}
.wp-content .c-slide img{max-width:none;margin:0;object-fit:cover}
.wp-content .c-slideshow :is(.c-slideshow-prev,.c-slideshow-next,.c-slideshow-dots){display:none}
.wp-content .c-slideshow.is-ready :is(.c-slideshow-prev,.c-slideshow-next){position:absolute;top:50%;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;padding:0;border:2px solid #fff;border-radius:50%;background:#191a18b3;color:#fff;cursor:pointer;box-shadow:0 2px 10px #0005}
.wp-content .c-slideshow.is-ready .c-slideshow-prev{left:14px}
.wp-content .c-slideshow.is-ready .c-slideshow-next{right:14px}
.wp-content .c-slideshow.is-ready .c-slideshow-prev::before{content:'‹';font:400 26px/1 Georgia,serif;margin-top:-3px}
.wp-content .c-slideshow.is-ready .c-slideshow-next::before{content:'›';font:400 26px/1 Georgia,serif;margin-top:-3px}
.wp-content .c-slideshow.is-ready .c-slideshow-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.wp-content .c-slideshow-dot{width:10px;height:10px;padding:0;border:1px solid #a07c33;border-radius:50%;background:transparent;cursor:pointer}
.wp-content .c-slideshow-dot[aria-current="true"]{background:#a07c33}
/* Slides of two photos side by side (Enfold logo sliders used as photo sliders, logo_slider_to_slideshow() in content.php;
   /houston-custom-home-builder/, 2026-11-20): each photo 3:2, the slide 3:1; no grey track behind the gap. */
.wp-content .c-slide--pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wp-content .c-slideshow-track:has(>.c-slide--pair){background:transparent}

/* Form fields in content (Contact Form 7 forms) never exceed their column; row columns may shrink. */
.wp-content :is(input,select,textarea){max-width:100%}
.wp-content .c-row>.flex_column{min-width:0}

/* ---------- YouTube videos: thumbnail + play button, player on click (js/video.js) ---------- */
.wp-content .c-video{position:relative;margin:28px 0;aspect-ratio:16/9;background:var(--dark);overflow:hidden}
.wp-content .flex_column>.c-video:first-child{margin-top:0}
.wp-content .c-video-play{position:absolute;inset:0;display:block}
.wp-content .c-video-play img{width:100%;height:100%;object-fit:cover;margin:0;transition:transform .4s,opacity .2s}
.wp-content .c-video-play:hover img{transform:scale(1.02);opacity:.92}
.wp-content .c-video-icon{position:absolute;left:50%;top:50%;width:76px;height:76px;border-radius:50%;background:#191a18cc;transform:translate(-50%,-50%);transition:background .2s}
.wp-content .c-video-icon::after{content:'';position:absolute;left:31px;top:24px;border-style:solid;border-width:14px 0 14px 22px;border-color:transparent transparent transparent #fff}
.wp-content .c-video-play:hover .c-video-icon,.wp-content .c-video-play:focus-visible .c-video-icon{background:#c8243a}
.wp-content .c-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- Photo grid (galleries) + lightbox (js/gallery.js) ---------- */
.wp-content .c-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.wp-content .c-gallery li{margin:0;padding:0}
.wp-content .c-gallery li::before{display:none}
.wp-content .c-gallery-item{display:block;overflow:hidden;background:#e7e2d7}
.wp-content .c-gallery-item img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;margin:0;transition:transform .4s}
.wp-content .c-gallery-item:hover img{transform:scale(1.04)}
@media(max-width:1199px){.wp-content .c-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.wp-content .c-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
/* Lightbox: styled like the homepage portfolio map lightbox (css/portfolio-map.css, .lightbox). */
.c-lightbox{inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;padding:0;border:0;background:#191a18f2;color:#fff;overflow:hidden}
.c-lightbox::backdrop{background:#191a18}
.c-lb-shell{height:100%;display:flex;flex-direction:column;gap:14px;padding:22px clamp(16px,4vw,56px)}
.c-lb-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0}
.c-lb-eyebrow{margin:0 0 4px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:#c9c3b3}
.c-lb-title{margin:0;font:400 24px/1.2 Georgia,serif;letter-spacing:0;color:#fff}
.c-lb-close,.c-lb-nav{display:grid;place-items:center;flex:none;width:48px;height:48px;padding:0;background:#25241fcc;color:#fff;border:1px solid #ffffff40;border-radius:var(--radius);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.c-lb-close:hover,.c-lb-close:focus-visible,.c-lb-nav:hover,.c-lb-nav:focus-visible{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.c-lb-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.c-lb-img{flex:0 1 auto;min-width:0;width:auto;height:auto;max-width:calc(100% - 128px);max-height:100%;margin:auto;border-radius:var(--radius);object-fit:contain;user-select:none;-webkit-user-drag:none;touch-action:pan-y}
.c-lb-bottom{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:15px;flex-shrink:0;min-height:50px;font-size:12px;color:#c9c3b3}
.c-lb-hint{text-align:right}
@media(max-width:900px){
  .c-lb-hint{display:none}
  .c-lb-shell{padding:16px 12px;gap:10px}
  .c-lb-title{font-size:19px}
  .c-lb-nav,.c-lb-close{width:44px;height:44px}
  .c-lb-stage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,2fr) minmax(0,1fr);gap:0 12px;align-items:center}
  .c-lb-img{grid-column:1/-1;grid-row:1/-1;align-self:center;justify-self:center;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
  .c-lb-prev,.c-lb-next{position:relative;z-index:2}
  .c-lb-prev{grid-column:1;grid-row:2;justify-self:start}
  .c-lb-next{grid-column:2;grid-row:2;justify-self:end}
}

/* A row of photos that received the side column's photos (move_side_photos_to_photo_row()):
   the photos share the width equally. */
@media(min-width:768px){
  .wp-content .c-row--photos{gap:3%;align-items:stretch}
  .wp-content .c-row--photos>.flex_column{flex:1 1 0;width:auto;margin-left:0}
}
.wp-content .c-row--photos img{width:100%;height:auto;aspect-ratio:var(--photo-ratio,auto);object-fit:cover}

/* Dark promo / call-to-action bands ("Professional Houston Home Remodeling & Renovations", "For a
   FREE Expert Evaluation ...") stretch their background to both edges of the window, like the
   statement section; their content keeps its width (user's request, 2026-11-13). The background is
   painted once, as a border image reaching 100vmax beyond both sides (ink overflow only), so the
   layout and scroll width do not change and there is no seam.
   Not where the band sits beside a side column (quote card, WordPress sidebar). */
.wp-content :is(.c-promo,.c-city-cta){background:none;border-image:linear-gradient(var(--dark),var(--dark)) fill 0/0/0 100vmax}
:is(.c-row--side,.svc-band--sidebar,.post-section--sidebar,.legacy-section.has-sidebar) :is(.c-promo,.c-city-cta){background:var(--dark);border-image:none}

/* Old Contact Form 7 forms still on some pages (e.g. /services/, the General Contractor page): the
   markup stays as live; CSS gives them the redesign's estimate form look (style.css .estimate-form):
   a panel, fields in two columns, the project description full width, the gold Submit button at
   the bottom right. !important only to beat the forms' inline floats and margins. */
.wp-content form.wpcf7-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0;padding:32px;background:var(--cream);box-shadow:0 0 0 1px var(--line);text-align:left}
.wp-content form.wpcf7-form>div{float:none!important;width:auto!important;min-width:0!important;margin:0!important}
.wp-content form.wpcf7-form>.hidden-fields-container{display:none}
.wp-content form.wpcf7-form>:is(.cf-turnstile,.wpcf7-response-output,div:has([name=project-description]),div:has([type=submit])){grid-column:1/-1}
.wp-content form.wpcf7-form>.cf-turnstile:empty,.wp-content form.wpcf7-form>.wpcf7-response-output:empty{display:none}
.wp-content form.wpcf7-form p{margin:0}
.wp-content form.wpcf7-form .wpcf7-form-control-wrap{display:block}
.wp-content form.wpcf7-form :is(input:not([type=submit]):not([type=checkbox]),select){display:block;width:100%;min-width:0;height:41px;padding:8px;border:1px solid #c6bfae;border-radius:var(--radius);background:transparent;color:var(--ink);font-size:14px}
.wp-content form.wpcf7-form ::placeholder{color:var(--muted);opacity:1}
.wp-content form.wpcf7-form div:has([type=submit]){display:flex;justify-content:flex-end;text-align:right!important}
.wp-content form.wpcf7-form input[type=submit]{min-height:43px;padding:10px 20px;border:1px solid var(--gold);background:var(--gold);color:var(--ink);font-size:14px;font-weight:700;cursor:pointer;transition:background .2s}
.wp-content form.wpcf7-form input[type=submit]:hover{background:#edc77c}
.wp-content .wpcf7 .screen-reader-response{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:700px){.wp-content form.wpcf7-form{grid-template-columns:minmax(0,1fr);gap:15px;padding:25px 20px}}
/* The heading right above those forms ("Contact Us For a Free Estimate! (713) 263-8138") is white
   inline on the live site, unreadable on the light background: dark text, the phone in the link
   colour (user's request, 2026-11-13). !important only to beat the inline colours. */
.wp-content :is(h1,h2,h3,h4,h5):has(+:is(.wpcf7,:has(.wpcf7),.wp-form-hoidden)),.wp-content :is(h1,h2,h3,h4,h5):has(+:is(.wpcf7,:has(.wpcf7),.wp-form-hoidden)) span{color:var(--ink)!important}
.wp-content :is(h1,h2,h3,h4,h5):has(+:is(.wpcf7,:has(.wpcf7),.wp-form-hoidden)) a{color:#86601d!important}
.wp-content :is(h1,h2,h3,h4,h5):has(+:is(.wpcf7,:has(.wpcf7),.wp-form-hoidden)) a:hover{color:var(--ink)!important}
.wp-content .flex_cell.c-cell-full{width:100%}
/* Counters (.c-counter, from Enfold's animated numbers; user's request 2026-11-13): styled like the
   homepage's credentials (.credentials in style.css): 45px serif gold number over a 14px label, the
   counters side by side 50px apart, left-aligned (wrapping on phones). The label is the live h2 in
   capitals, shown in sentence case. js/counter.js counts the number up. */
.wp-content :is(.flex_column_table,.c-row):has(>.flex_column>.c-counter){display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:24px 50px}
.wp-content :is(.flex_column_table,.c-row):has(>.flex_column>.c-counter)>.flex_column{flex:none;width:auto;margin:0}
.wp-content :is(.flex_column_table,.c-row):has(>.flex_column>.c-counter)>.av-flex-placeholder{display:none}
.wp-content .c-counter{display:flex;flex-direction:column;font-size:14px}
.wp-content .c-counter .avia-animated-number-title{display:block;font:400 45px var(--serif);color:#86601d;white-space:nowrap}
.wp-content .c-counter-run{display:inline-block;text-align:right}
.wp-content .c-counter .c-counter-final{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wp-content .c-counter .avia-animated-number-content :is(h1,h2,h3,h4,h5,h6,p){margin:0;font:400 14px/1.8 Manrope,Arial,sans-serif;letter-spacing:0;text-transform:lowercase;color:var(--ink)}
.wp-content .c-counter .avia-animated-number-content :is(h1,h2,h3,h4,h5,h6,p)::first-letter{text-transform:uppercase}
.wp-content .c-counter .avia-animated-number-content strong{font-weight:inherit}

/* Visually hidden, still read by screen readers and search engines (user's requests). */
.c-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* "Our Work" block (.We_transfer-container, 12 bathroom/kitchen service pages; user's request,
   2026-11-16). Styled like the homepage process section: heading and subtitle side by side, then
   the boxes as columns under a rule (no numbers, user's request). CSS only: markup, text and heading levels as on the
   live site; the headings show in sentence case. The same look is
   given to the plain two-column version of the items (.c-work-row/.c-work-item, transform_work_items()
   in content.php: luxury-kitchen, kitchen-remodeling-before-after, houston-homeowners-really-want-bathroom). */
.wp-content .We_transfer-container .kitchen-text{display:grid;gap:14px;margin-bottom:44px}
.wp-content .We_transfer-container .kitchen-text h2{margin:0;font:400 clamp(34px,3.35vw,53px)/1.12 var(--serif);letter-spacing:-.035em}
.wp-content .We_transfer-container .kitchen-text p{margin:0;max-width:440px;font-size:15px;line-height:1.8;color:var(--muted)}
@media (min-width:900px){.wp-content .We_transfer-container .kitchen-text{grid-template-columns:1fr 1fr;gap:12%;align-items:end;margin-bottom:56px}}
.wp-content :is(.We_transfer-parent,.c-work-row){display:grid;gap:36px;clear:both}
@media (min-width:768px){
  .wp-content .We_transfer-parent{grid-template-columns:repeat(3,minmax(0,1fr));gap:5%}
  .wp-content .c-work-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5%}
}
.wp-content .c-work-row>.c-work-item{float:none;width:auto;margin:0}
.wp-content :is(.We_transfer-box,.c-work-item){position:relative;min-width:0;padding-top:22px;border-top:1px solid var(--line)}
.wp-content :is(.We_transfer-box,.c-work-item)::before{content:'';position:absolute;top:-1px;left:0;width:40px;height:1px;background:var(--gold)}
.wp-content :is(.We_transfer-box,.c-work-item) h3{margin:0 0 14px;font:400 clamp(24px,2.1vw,30px)/1.2 var(--serif);letter-spacing:-.015em;text-transform:lowercase}
.wp-content :is(.We_transfer-box,.c-work-item) h3::first-letter{text-transform:uppercase}
.wp-content :is(.We_transfer-box,.c-work-item) p{margin:0;font-size:15px;line-height:1.85;color:var(--muted)}
.post-main.wp-content .c-work-row{margin-block:48px}

/* Two-column intro (.c-split-intro, transform_split_intros() in content.php; user's request,
   2026-11-16, /bathroom-remodeling-houston/bathroom-design/): heading, subheading and the small
   image left; the copy right, first paragraph as a serif lead. The band turns beige. */
.svc-band:has(.c-split-intro:not(.c-split-intro--photo)){background:#eeeae1}
.wp-content .c-split-intro{display:grid;gap:36px}
@media (min-width:900px){.wp-content .c-split-intro{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:7%;align-items:start}}
.wp-content .c-split-intro-head h2{margin:0;font:400 clamp(34px,3.35vw,50px)/1.12 var(--serif);letter-spacing:-.035em}
.wp-content .c-split-intro-head h3{margin:26px 0 0;padding-left:20px;border-left:2px solid var(--gold);font:400 clamp(19px,1.6vw,23px)/1.45 var(--serif);color:var(--muted)}
.wp-content .c-split-intro-head p{margin:36px 0 0}
.wp-content .c-split-intro-head img{float:none;width:auto;max-width:200px;height:auto;margin:0;mix-blend-mode:multiply}
.wp-content .c-split-intro-body>p{margin:0;font-size:15px;line-height:1.85;color:var(--muted)}
.wp-content .c-split-intro-body>p+p{margin-top:18px}
.wp-content .c-split-intro-body>p:first-child{font:400 clamp(19px,1.55vw,22px)/1.6 var(--serif);color:var(--ink)}
.wp-content .c-split-intro-body>p:first-child span{font-weight:inherit!important}
.wp-content .c-split-intro-body>h2:empty{display:none}
@media (min-width:900px){.wp-content .c-split-intro-body{padding:6px 0 0 40px;border-left:1px solid #d4c8b0}}
@media (max-width:899px){.wp-content .c-split-intro-head img{max-width:150px}.wp-content .c-split-intro-head p{margin-top:28px}}

/* Item grid (.flex_column.cards / .cards-main, /custom-cabinet/ "Your New Cabinets, Delivered &
   Installed." hardware list; user's request, 2026-11-16): white cards in a centered grid on a beige
   band (4 / 3 / 2 across), product photo at a fixed size, name in serif over a short gold rule, spec
   below. CSS only; the colon after each name is not shown (font-size 0 on its paragraph) and each
   spec starts with a capital (::first-letter). */
.svc-band:has(.cards-main){background:#eeeae1}
.svc-band.svc-band:has(.cards-main)+.svc-band.svc-band{padding-top:72px} /* full padding after the beige band */
.wp-content .flex_column.cards{float:none;width:auto;margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.wp-content .flex_column.cards>.av_textblock_section{display:flex;flex:0 0 calc((100% - 72px)/4);min-width:0;margin:0}
.wp-content .cards-main{flex:1;padding:32px 26px 30px;background:#fff;border:1px solid #e3dccd;text-align:center}
.wp-content .cards-main p{margin:0;text-align:center!important}
.wp-content .cards-main p:first-child{margin-bottom:22px}
.wp-content.c-fill-images .cards-main img.c-flow-img{width:132px;height:132px;max-width:100%;margin:0 auto;object-fit:contain}
.wp-content .cards-main p:nth-child(2){font-size:0;line-height:0}
.wp-content .cards-main p:nth-child(2) strong{display:block;font:400 21px/1.3 var(--serif);letter-spacing:-.01em;color:var(--ink)}
.wp-content .cards-main p:nth-child(2)::after{content:'';display:block;width:28px;height:1px;margin:14px auto 14px;background:var(--gold)}
.wp-content .cards-main p:nth-child(n+3){font-size:14.5px;line-height:1.75;color:var(--muted)}
.wp-content .cards-main p:nth-child(n+3)::first-letter{text-transform:uppercase}
@media (max-width:1100px){.wp-content .flex_column.cards>.av_textblock_section{flex-basis:calc((100% - 48px)/3)}}
@media (max-width:767px){
  .wp-content .flex_column.cards{gap:14px}
  .wp-content .flex_column.cards>.av_textblock_section{flex-basis:calc((100% - 14px)/2)}
  .wp-content .cards-main{padding:22px 14px 20px}
  .wp-content.c-fill-images .cards-main img.c-flow-img{width:96px;height:96px}
  .wp-content .cards-main p:nth-child(2) strong{font-size:18px}
  .wp-content .cards-main p:nth-child(n+3){font-size:14px}
  .wp-content .flex_column.cards>.av_textblock_section+.av_textblock_section{margin-top:0}
}

/* The line between the "FREE Consultation" heading and its checklist (45 pages): 8px above and below
   instead of the usual 36px (user's request, 2026-11-16). */
.wp-content .av-special-heading+.hr:has(+.c-checklist-wrap){margin:8px 0}

/* Carousels made from Enfold horizontal galleries (transform_slideshows()): each slide's live
   "Open image in lightbox" link (full-size photo) as a small expand button in the corner. */
.wp-content .c-slide:has(>.av-horizontal-gallery-link){position:relative}
.wp-content .c-slide>a.av-horizontal-gallery-link{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;background:#faf8f3e6;color:var(--ink);transition:background .2s}
.wp-content .c-slide>a.av-horizontal-gallery-link:is(:hover,:focus-visible){background:#fff}
.wp-content .c-slide>a.av-horizontal-gallery-link svg{display:block;width:14px;height:18px;fill:currentColor}
.wp-content .c-slideshow:has(.av-horizontal-gallery-link){max-width:860px;margin-inline:auto} /* same size as the other kitchen-page carousels */

/* Photo variant of the two-column intro (layout_photo_intro(); /home-entertainment-centers/,
   /luxury-closets/, /custom-home-library-room-addition/; user's request, 2026-11-16): the photo on
   the left at its own size (after the text in the page, CSS order), the H2, H3 and copy on the right. */
.wp-content .c-split-intro--photo .c-split-intro-head h1{margin:0;font:400 clamp(34px,3.35vw,50px)/1.12 var(--serif);letter-spacing:-.035em}
.wp-content.c-fill-images .c-split-intro--photo .c-split-intro-head img.c-flow-img{width:auto;max-width:100%;max-height:none;height:auto;margin:0;mix-blend-mode:normal}
.wp-content .c-split-intro--photo .c-split-intro-body>h3:first-child{margin-top:0}
@media (min-width:900px){.wp-content .c-split-intro--photo .c-split-intro-head{position:sticky;top:calc(var(--site-header-height,100px) + 24px)}}

/* A closing section of its own, centered (.c-center-band in .svc-band--center; layout_photo_intro()). */
.svc-band--center{background:#eeeae1}
.wp-content .c-center-band{max-width:760px;margin:0 auto;text-align:center}
.wp-content .c-center-band h3{margin:0 0 18px;font:400 clamp(28px,2.6vw,40px)/1.15 var(--serif);letter-spacing:-.025em}
.wp-content .c-center-band p{margin:0;font-size:16px;line-height:1.85}
.wp-content .c-center-band p+p{margin-top:16px}
.wp-content .c-split-intro--photo .c-split-intro-head{order:-1}
.wp-content .c-split-intro--photo .c-split-intro-body>h2:first-child{margin:0 0 22px;font:400 clamp(28px,2.6vw,40px)/1.18 var(--serif);letter-spacing:-.025em}
.wp-content .c-split-intro--photo .c-split-intro-head>p:first-child{margin-top:0}

/* "Serving Greater Houston" in the /the-woodlands/ "Proudly serving" design (transform_serving_areas();
   /exteriors/, user's request 2026-11-16): heading left, names in a row with gold dots between them
   (no dot starts a line: the list is shifted left and clipped). */
.wp-content .c-areas-block{text-align:left}
.wp-content .c-areas-block>h3{margin:0 0 .6em;color:var(--ink);font:400 clamp(22px,1.8vw,27px)/1.2 var(--serif);letter-spacing:-.015em}
.wp-content .c-areas-block>h3 strong{font-weight:inherit}
.wp-content .c-areas-block .c-city-area-list{display:flex;flex-wrap:wrap;row-gap:10px;margin:0 0 0 -32px;clip-path:inset(0 0 0 32px);font-size:15px;line-height:1.6;color:var(--ink)}
.wp-content .c-areas-block .c-city-area-list span{display:inline-flex;align-items:center}
.wp-content .c-areas-block .c-city-area-list span::before{content:'';flex:none;width:4px;height:4px;margin:0 14px;border-radius:50%;background:var(--gold)}
.wp-content .c-areas-block .c-city-area-list :is(strong,b){font-weight:inherit}
.wp-content .c-areas-block .c-city-area-list a{color:#86601d;text-decoration:none}
.wp-content .c-areas-block .c-city-area-list a:hover{color:var(--ink);text-decoration:underline}

/* Photo grids of more than 25 photos (js/gallery.js): 25 at a time behind "See more photos". */
.wp-content .c-gallery.is-paged>.c-gallery-later{display:none}
.wp-content .c-gallery-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 32px;margin-top:28px}
.wp-content .c-gallery-pager .c-gallery-less{border:0;border-bottom:1px solid #a18e68;background:none;padding:0 0 6px;margin:0;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}
.wp-content .c-gallery-pager [hidden]{display:none}
/* A gallery's side column without the quote card (/portfolio/room-second-story-additions-gallery/)
   stays in view while the photos scroll, as the quote card does on the other gallery pages. */
@media(min-width:768px) and (min-height:700px){
  .wp-content .c-row:not(.c-row--side):has(>.av_two_third>.c-gallery)>.av_one_third{position:sticky;top:calc(var(--site-header-height,100px) + 24px);align-self:flex-start}
}

/* A Google map in place of a map picture (replace_image_with_map(); /houston-storm-damage-restoration/). */
.wp-content .c-map{clear:both;margin:28px 0}
.wp-content .c-map iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;min-height:320px;max-height:560px;border:0}

/* Question accordion beside a photo (transform_qa_accordion(); /second-story-additions/, 2026-11-16):
   the section heading above it, left-aligned; question headings at summary size. */
.wp-content .c-qa-heading{margin:0 0 8px;text-align:left}
.wp-content .c-qa-heading strong{font-weight:inherit}
.wp-content .c-qa-accordion{margin:16px 0 0}
.wp-content .c-qa-accordion .c-faq-question>:is(h3,h4,h5){font:400 clamp(18px,1.5vw,21px)/1.35 var(--serif);letter-spacing:-.01em}
/* The Houzz and Rachael Ray Show logos in the badges (replace_badge_logos() in content.php; user's requests 2026-11-18):
   75% of the width they had filling their spot (the band cell, badge row cell or side column; "25% smaller"), height
   from their shape, centred. Class doubled to outrank the band/row/sticky badge rules (up to 0,4,1). */
.wp-content .widget img.c-badge-logo.c-badge-logo{display:block;width:75%;max-width:75%;height:auto;max-height:none;margin-inline:auto;object-fit:contain}
/* No Houzz or Rachael Ray link wider than 180px (user's request 2026-11-24). In the side cards and side columns the
   link (not only the logo) takes the logo's 75% and is capped at 180px, centred; before, on phones and in the wider
   city side columns, the link spanned the column and the logo reached 257px. The badge rows and the /contact-us/ row
   size their logos below. */
.wp-content .widget a:has(>img.c-badge-logo):not(.c-badge-row a,.c-contact-badges a){display:block;width:75%;max-width:180px;margin-inline:auto}
.wp-content .widget a:not(.c-badge-row a,.c-contact-badges a)>img.c-badge-logo.c-badge-logo{width:100%;max-width:100%}
/* In the badge band under the card (.c-quote-band, city pages and /services/; pages/service.css) the grid centres
   each paragraph at its content's width; it takes its grid cell, so the link's 75% (and the 180px cap) apply. */
.wp-content .c-quote-band .textwidget p:has(>a>img.c-badge-logo){justify-self:stretch}
/* In the badge rows (.c-badge-row: kitchen and room addition pages) the logos were capped by height (90px), not width:
   75% of that height (68px), and since 2026-11-24 at most 180px wide (the height follows the shape; they were 205px
   and 192px wide). */
.wp-content .c-badge-row .widget img.c-badge-logo.c-badge-logo{width:auto;max-width:180px;height:auto;max-height:68px}

/* ===== 4px corners (user's request 2026-11-20) =====
   Buttons with a fill or a full border, cards, form fields and photos use --radius (4px, style.css :root).
   Already set in their own rules: .fields inputs (style.css), CF7 fields and the lightbox buttons/photo (above),
   the mega menu photo and button and back-to-top (style.css), everything in portfolio-map.css.
   Kept as they were: circles (slideshow dots and arrows, avatars, icon rings, social icons, the video play icon),
   bands that run to the screen edge (.c-dark-band, .c-feature-band, full-width .c-promo/.c-city-cta, title banners)
   and full-width background photos (hero, statement, showroom, quote-card and statement backgrounds), logos. */
.button,.menu-toggle,.skip,.service-image>span,
.wp-content :is(.c-tags :is(a,span),.c-side-extras .widget_nav_menu li a:not(.button),input:is([type=submit],[type=button]),textarea){border-radius:var(--radius)}
.dropdown,.photo-note,.review,.estimate-form,.legacy-sidebar,.legacy-note,.process-media,.service-image,.about-photo>img,.design>img,
.wp-content :is(.c-card-image,.c-review,.c-quote-card,.c-tags-card,.ub-internal-links,.cards-main,.c-lead-form,.c-chip,.c-compare-label,.c-compare-frame,.c-slideshow-track,.c-video,.c-pair-item--contact,.c-map iframe,form.wpcf7-form,.c-style-card>.av_textblock_section p),
.c-contact-map iframe,
:is(.c-row--side,.svc-band--sidebar,.post-section--sidebar,.legacy-section.has-sidebar) :is(.c-promo,.c-city-cta),
.wp-content :is(img,video){border-radius:var(--radius)}
.wp-content :is(.c-quote-card-bg,.c-statement-bg){border-radius:0}
