/* Internal pages — extends ui.css; fixes hero title/wave overlap + tighter layout rhythm */

/* ---------- Scoped body (add class="page-internal" on internal pages) ---------- */

body.page-internal {
    background-color: #f5f7fa;
}

body.page-template:not(.home) section.hero-section.inner-page-hero,
body.blog:not(.home) section.hero-section.inner-page-hero,
body.single-post:not(.home) section.hero-section.inner-page-hero,
body.page-id-101:not(.home) section.hero-section.inner-page-hero {
    padding-top: clamp(7.5rem, 12vw, 2.5rem);
    padding-bottom: clamp(1.5rem, 12vw, 2.5rem);
}
body.page-template:not(.home) .section-wave,
body.blog:not(.home) .section-wave,
body.single-post:not(.home) .section-wave,
body.page-id-101:not(.home) .section-wave {
    display: none;
}
body.page-template:not(.home) .hero-section::before,
body.blog:not(.home) .hero-section::before,
body.single-post:not(.home) .hero-section::before,
body.page-id-101:not(.home) .hero-section::before {
        background-color: rgb(0 0 0 / 69%);
}
/* ---------- Inner hero: clear header + wave; override 75px title from ui.css ---------- */

.hero-section.inner-page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 0;
    padding-top: clamp(10.75rem, 19vw, 14rem);
    padding-bottom: clamp(6.5rem, 14vw, 9.5rem);
    background-attachment: scroll !important;
}

.hero-section.inner-page-hero .container {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    padding-top: clamp(0.75rem, 2.5vw, 1.75rem);
    padding-bottom: 0.5rem;
}

.hero-section.inner-page-hero .main-grid-bx {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    gap: 1rem;
}

.hero-section.inner-page-hero .text-block {
    max-width: 100%;
    padding-left: clamp(0.5rem, 3vw, 1.5rem);
    padding-right: clamp(0.5rem, 3vw, 1.5rem);
}

.hero-section.inner-page-hero .text-block h1,
.hero-section.inner-page-hero .text-block h2 {
    font-size: clamp(2rem, 5.5vw, 3.35rem) !important;
    line-height: 1.12 !important;
    margin: 0 0 0.65rem !important;
    color: #fff !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-section.inner-page-hero .text-block h1 span,
.hero-section.inner-page-hero .text-block h2 span {
    display: inline-block;
    margin-top: 0.1em;
}

.hero-section.inner-page-hero .text-block p {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    font-size: clamp(1rem, 2.2vw, 1.125rem) !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Shorter wave on inner pages so it does not cover headline copy */
.hero-section.inner-page-hero .section-wave {
    z-index: 1;
    pointer-events: none;
}

.hero-section.inner-page-hero .section-wave svg {
    height: clamp(56px, 10vw, 88px) !important;
    transform: rotate(180deg);
    display: block;
    width: 100%;
}

/* ---------- Content sections ---------- */

.page-intro {
    background-color: #fff;
}

.page-intro .section-title {
    margin-bottom: 1.25rem;
}

.page-intro .section-title h2 {
    text-align: center;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 0;
    padding: 0 0.25rem;
}

.page-intro > .container > .row > [class*="col-"] > p:first-of-type,
.page-intro > .container > p.lead-sub {
    margin-top: 0;
}

.page-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: #3d3d3d;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* .page-intro p + p {
    margin-top: 1.1rem;
} */

.internal-panel .lead-sub {
    text-align: left;
    margin-bottom: 1.35rem;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    max-width: none;
}

/* Content band behind forms / FAQ */
.page-content-band {
    background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
    /* border-top: 1px solid #e8ecf1; */
}

.internal-panel {
    background: #fff;
    border: 1px solid #e4e9ef;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.internal-panel .section-title {
    margin-bottom: 0.75rem;
}

.internal-panel .section-title h2 {
    text-align: left;
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    line-height: 1.2;
}

.internal-panel .section-title.text-center h2 {
    text-align: center;
}

.internal-panel > p.text-center {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.internal-panel > p:first-of-type {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.65;
}

/* About / product: breathing room around main-about titles */
body.page-internal .main-about .section-title h2,
body.page-internal .new-about .section-title h2 {
    line-height: 1.18;
    margin-bottom: 0.35rem;
}

body.page-internal .main-about .left-bx > p:first-of-type {
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

/* Product spec list (about-product — replaces table) */
.product-spec-stack {
    margin: 2rem auto 0;
    max-width: 52rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-spec-row {
    display: grid !important;
    grid-template-columns: minmax(9rem, 28%) 1fr;
    gap: 0.75rem 1.5rem;
    align-items: baseline;
    margin: 0;
    padding: 1.1rem 1.25rem 1.15rem;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-left: 4px solid #1c71d5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.product-spec-row:nth-child(even) {
    border-left-color: #2e8b57;
}

.product-spec-row dt {
    margin: 0;
    font-family: "Funnel Sans", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #155a9e;
    line-height: 1.35;
}

.product-spec-row dd {
    margin: 0;
    font-family: "Funnel Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    color: #333;
}

/* Block pattern rows: wp:columns with class product-spec-row */
.product-spec-row > .wp-block-column:first-child > * {
    margin: 0;
    font-family: "Funnel Sans", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #155a9e;
    line-height: 1.35;
}

.product-spec-row > .wp-block-column:nth-child(2) > * {
    margin: 0;
    font-family: "Funnel Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    color: #333;
}

@media (max-width: 575.98px) {
    .product-spec-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
    .product-spec-row dt {
        margin-bottom: 0.15rem;
    }

    .product-spec-row > .wp-block-column:first-child > * {
        margin-bottom: 0.15rem;
    }
}

.internal-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 28px 24px;
    height: 100%;
}

.internal-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #000;
}

.internal-card p {
    margin-bottom: 0;
    color: #444;
    font-size: 16px;
}

/* ---------- Forms ---------- */

.internal-form label {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    margin-bottom: 6px;
    display: block;
}

.internal-form .form-control,
.internal-form .form-select {
    border-radius: 0;
    border: 1px solid #c5ccd4;
    padding: 11px 14px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.internal-form .form-control:focus,
.internal-form .form-select:focus {
    border-color: #1c71d5;
    box-shadow: 0 0 0 2px rgba(28, 113, 213, 0.2);
}

.internal-form .form-text {
    font-size: 14px;
    color: #666;
}

.internal-form .invalid-feedback,
.internal-form .valid-feedback {
    font-size: 14px;
}

.internal-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.internal-form .form-check-input {
    border-radius: 0;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.2em;
}

.internal-form .form-check-label {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.45;
    padding-left: 0.25rem;
}

.internal-form .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.internal-form .error {
color: #ffffff;
    font-size: 14px;
    display: block;
    margin-top: 0;
    background-color: #b02a37;
    padding-left: 7px;
}

.internal-form .root-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 14px;
    color: #666;
}

.internal-form .charc_txt {
    margin-left: auto;
}

.contact-page.page-intro > .container > .wp-block-columns {
    margin-top: 0;
}

.contact-page.page-intro p.lead-sub {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* ---------- FAQ ---------- */

.faq-page-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.faq-page-head .section-title h2 {
    margin-bottom: 0.5rem;
}

.faq-page-head p {
    margin: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.6;
}

.faq-accordion .accordion-item {
    border-radius: 0;
    border: 1px solid #d8dee6;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-accordion .accordion-button {
    border-radius: 0;
    font-family: "Funnel Sans", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    background-color: #f0f4f8;
    color: #111;
    white-space: normal;
    padding: 1rem 3.25rem 1rem 1.15rem;
    box-shadow: none;
    position: relative;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #1c71d5;
    color: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-button:focus {
    box-shadow: inset 0 0 0 2px rgba(28, 113, 213, 0.35);
    border-color: transparent;
}

.faq-accordion .accordion-body {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    padding: 1.1rem 1.25rem 1.25rem;
    border-top: 1px solid #e8ecf1;
}

.faq-accordion .accordion-body a {
    color: #1c71d5;
    font-weight: 600;
}

.faq-accordion .wp-block-details .accordion-body {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.faq-accordion .wp-block-details .accordion-body a {
    color: #1c71d5;
    font-weight: 600;
}

.faq-accordion .wp-block-details {
    border-radius: 0;
    border: 1px solid #d8dee6;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-accordion .wp-block-details summary {
    border-radius: 0;
    font-family: "Funnel Sans", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    background-color: #f0f4f8;
    color: #111;
    white-space: normal;
    padding: 1rem 3.25rem 1rem 1.15rem;
    box-shadow: none;
    position: relative;
    list-style: none;
    cursor: pointer;
}

.faq-accordion .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.faq-accordion .wp-block-details summary::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-accordion .wp-block-details[open] summary {
    background-color: #1c71d5;
    color: #fff;
    box-shadow: none;
}

.faq-accordion .wp-block-details[open] summary::after {
    filter: brightness(0) invert(1);
    transform: translateY(-20%) rotate(-135deg);
}

.faq-accordion .wp-block-details summary:focus {
    box-shadow: inset 0 0 0 2px rgba(28, 113, 213, 0.35);
    outline: none;
}

.faq-accordion .wp-block-details .wp-block-details__content {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    padding: 1.1rem 1.25rem 1.25rem;
    border-top: 1px solid #e8ecf1;
}

.faq-accordion .wp-block-details .wp-block-details__content a {
    color: #1c71d5;
    font-weight: 600;
}

/* ---------- Contact aside ---------- */

.contact-aside .site-btn1 {
    margin-top: 0.5rem;
    background: #fff;
    color: #1c71d5;
}

.contact-aside .site-btn1:hover {
    background: #2E8B57;
    color: #fff;
}

.contact-aside {
    background: linear-gradient(165deg, #1c71d5 0%, #155a9e 100%);
    border: none;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    height: 100%;
    color: #fff;
    box-shadow: 0 16px 40px rgba(28, 113, 213, 0.25);
}

.contact-aside h3 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 1.25rem;
    color: #fff;
}

.contact-aside .contact-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    font-size: 16px;
    line-height: 1.5;
}

.contact-aside .contact-line strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.15rem;
}

.contact-aside .contact-line i {
    color: #b8dcff;
    margin-top: 4px;
    font-size: 1.1rem;
}

.contact-aside a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-aside a:hover {
    color: #e8f4ff;
}

/* ---------- Utilities ---------- */

.internal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dde3ea, transparent);
    margin: 2rem 0;
}

@media (max-width: 767.98px) {
    .hero-section.inner-page-hero {
        padding-top: clamp(8.25rem, 20vw, 10.5rem);
        padding-bottom: clamp(5.5rem, 16vw, 7.5rem);
    }
    .hero-section.inner-page-hero .text-block h1,
    .hero-section.inner-page-hero .text-block h2 {
        font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    }
}

@media (max-width: 991.98px) {
    .internal-panel .section-title h2 {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
    }

    .page-intro .section-title h2 {
        font-size: clamp(1.65rem, 5vw, 2.25rem);
    }

    .contact-aside {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .internal-card {
        padding: 1.25rem 1.1rem;
    }

    .internal-card h3 {
        font-size: 1.25rem;
    }

    .faq-accordion .accordion-button {
        padding-right: 2.75rem;
        font-size: 0.9375rem;
    }
}

/* ---------- Blog listing & detail ---------- */

.blog-index-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-list-page .main-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.1rem 1.25rem 1.35rem;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 2px 2px 2px #ccc;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-index-card-link:hover .main-card,
.blog-index-card-link:focus-visible .main-card {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    border-color: #dde3ea;
}

.blog-list-page > .container > .row.g-4 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    justify-content: center;
}

.blog-list-page > .container > .row.g-4 > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

.blog-list-page .main-card .img {
    margin: -1.1rem -1.25rem 0.75rem -1.25rem;
    overflow: hidden;
    min-height: 220px;
}

.blog-list-page .main-card .img img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.blog-index-card-link:focus-visible {
    outline: 2px solid #1c71d5;
    outline-offset: 3px;
}

.blog-index-meta {
    font-family: "Funnel Sans", sans-serif;
    font-size: 0.8125rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.blog-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    font-family: "Funnel Sans", sans-serif;
}

.blog-breadcrumb a {
    color: #1c71d5;
    font-weight: 600;
}

.blog-detail-page .blog-detail-article {
    scroll-margin-top: clamp(5.5rem, 14vw, 7.5rem);
}

.blog-detail-body p:last-child,
.blog-detail-body ol:last-child {
    margin-bottom: 0;
}

.blog-detail-lead {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-detail-body {
    font-size: 17px;
    line-height: 1.7;
    color: #3d3d3d;
}

.blog-list-page .main-card .card-text h3 {
    font-family: "Caprasimo", serif;
    font-weight: 400;
}

.blog-list-page.page-intro {
    text-align: left;
}

.blog-list-page.page-intro .main-card .card-text p,
.blog-list-page.page-intro .main-card p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    margin-bottom: 0 !important;
}

.blog-list-page .row {
    justify-content: center;
}

.blog-list-page .main-card .card-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-top: 0.15rem;
}

.blog-list-page .main-card .card-text .site-btn1,
.blog-list-page .main-card .card-text .btn-block,
.blog-list-page .main-card .card-text .wp-block-buttons {
    margin-top: auto;
}

/* ---------- Testimonials (internal full page) ---------- */

body.page-internal .review-section .customers-grid {
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    justify-items: stretch;
    align-items: stretch;
}

body.page-internal .review-section .inner-review-bx {
    width: 100%;
}

body.page-internal .review-section .customers-grid p {
    max-width: none;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
}

body.page-internal .review-section .customers-grid .card-head {
    width: 100%;
    max-width: none;
}

body.page-internal .review-section .faq-page-head {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.contact-aside .wp-block-button.site-btn1 .wp-block-button__link {
    text-decoration: none;
}
@media (max-width: 991.98px) {
    .blog-list-page > .container > .row.g-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .blog-list-page > .container > .row.g-4 {
        grid-template-columns: 1fr;
    }
}

.blog-detail-page.page-intro {
    text-align: left;
}

.blog-detail-page.page-intro .blog-breadcrumb {
    text-align: left;
}

.blog-detail-page.page-intro .internal-panel p,
.blog-detail-page.page-intro .blog-detail-body p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.blog-detail-page.page-intro .blog-detail-lead {
    text-align: center;
}
.hero-section .section-wave .section-wave-image img, .hero-section .section-wave img {
        height: clamp(56px, 10vw, 88px) !important;
}
.site-header .wp-block-navigation .wp-block-navigation-item__content, .site-header:not(.scrolled) .wp-block-navigation .wp-block-navigation-item__label {
    outline: none !important;
}

.blog-breadcrumb.mb-4,
.blog-detail-lead 
{
    display: none;
}
.ul-list li {
    position: relative;
}
.ul-list li::marker {
    font-size: 0;
}
.ul-list li:before {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1c71d5;
box-shadow: 0 0 0 3px rgb(28 113 213 / 24%);
    flex-shrink: 0;
    top: 7px;
    left: -27px;
}
p:empty {
    display: none;
}

.blog-detail-featured-img img {
    border: 1px solid #e4e9ef;
    background: #fff;
    box-shadow: 0 0 5px rgb(227 227 227 / 65%);
    padding: 15px;
    height: auto;
    width: 100%;
    object-fit: cover;
    float: inline-start;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 563px;
    max-height: initial !important;
    float: right;
}
.custom-logo-link:focus {
    outline: none !important;
}


.page-id-9 .inner-page-hero {
    background-image: url(https://develop.stackblue.com/drhydration/wp-content/uploads/2026/05/Frequently-Asked.jpg);
}

.blog .inner-page-hero {
 background-image: url(https://develop.stackblue.com/drhydration/wp-content/uploads/2026/05/Our-Blog.jpg);
}

.page-id-11 .inner-page-hero {
     background-image: url(https://develop.stackblue.com/drhydration/wp-content/uploads/2026/05/Contact-Us.jpg);
}
.page-id-12 .inner-page-hero {
         background-image: url(https://develop.stackblue.com/drhydration/wp-content/uploads/2026/05/DealerInquiry.jpg);
}

.single-post .inner-page-hero {
     background-image: url(https://develop.stackblue.com/drhydration/wp-content/uploads/2026/05/Our-Blog.jpg);
}