/*
 * 50 Page dream sensor.
 * Load order: content-style.css -> css/05-header.css -> css/05-footer.css -> css/10-content-patterns.css -> css/11-tabs-block.css -> css/15-woocommerce.css -> css/20-page-patterns.css -> css/20-support-pages.css -> style.css -> css/pages/50-page-*.css.
 * Purpose: Dream Sensor page-only section overrides loaded on page ID 15514.
 * Related files: content-style.css holds tokens/base utilities; css/10-content-patterns.css holds reusable components.
 * Scope: these rules were moved from style.css and editor-style.css, targeting .dmax-dream-* and .dmax-dream-opensensor-* classes.
 */

/* ============================================================
   Dream Sensor — Frontend
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.dmax-dream-hero-section {
    background: #000000;
}

.dmax-dream-hero-title {
    max-width: 680px;
}

.dmax-dream-report {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.5;
}

.dmax-dream-report a {
    color: var(--dmax-sky);
    font-weight: 700;
}

/* .dmax-dream-spec-tabs {...} */

.dmax-dream-hero-image img {
    width: min(100%, 520px);
    max-height: 760px;
    object-fit: contain;
    margin-inline: auto; }

.dmax-dream-hero-buttons {
    margin-top: 28px;
}

/* ── Benefits ─────────────────────────────────────────────── */
.dmax-dream-benefits-section {
    background: #fff;
}

.dmax-dream-benefits-title {
    max-width: 620px;
    padding-top: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dmax-dream-benefits-form {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ── Cover image + comfort list ───────────────────────────── */
@media (max-width: 767px) {
    .dmax-cover-image {
        min-height: 280px;
    }
}

.dmax-cover-image {
    height: 100%;
}

.dmax-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dmax-comfort-list {
    list-style: none;
    padding-left: 0;
}

.dmax-comfort-list li {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.875rem;
    display: flex;
    align-items: center;
}

.dmax-comfort-list li::before {
    content: "";
    height: 0.625rem;
    width: 0.625rem;
    background-color: var(--dmax-sky);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 1.3125rem;
}

/* ── Experts / logos ──────────────────────────────────────── */
.dmax-dream-experts-section .dmax-section-title {
    text-align: center;
}

.dmax-dream-experts-yt {
    max-width: 800px;
    margin: 0 auto 5.3125rem;
}

.dmax-dream-experts-blurb {
    max-width: 666px;
    margin: 0 auto 5.3125rem;
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.45;
    color: #000;
}

.dmax-dream-experts-logos {
    justify-content: center;
    align-items: center;
}

.dmax-dream-experts-logos .wp-block-kadence-column {
    flex-basis: auto;
    max-width: 200px;
}

.dmax-expert-logo {
    text-align: center;
    margin: 0 auto;
}

.dmax-expert-logo img {
    max-height: 100px;
    width: auto;
    display: inline-block;
}

@media (max-width: 767px) {
    .dmax-expert-logo img {
        max-height: 85px;
    }
}

.dmax-expert-logo a:hover img {
    opacity: 0.8;
}

/* ── Open Sensor CTA section (on Dream Sensor page) ──────── */
.dmax-dream-opensensor-section {
    align-items: center;
    background: linear-gradient(90deg, var(--dmax-navy) 19.38%, #000 58.68%);
    min-height: 592px;
    padding: 0;
}

.dmax-dream-opensensor-section .kt-row-column-wrap {
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dmax-dream-opensensor-section .kadence-columndreamopensensorc1 .kt-inside-inner-col {
    padding-left: var(--theme-gutter, 13.8888888889vw);
    padding-right: 5rem;
}

.dmax-dream-opensensor-title {
    color: #fff;
    max-width: 620px;
    margin-bottom: 18px;
}

.dmax-dream-opensensor-copy {
    color: #fff;
    font-size: clamp(16px, 1.5vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 36px;
}

.dmax-dream-opensensor-buttons {
    margin-top: 0;
}

.dmax-dream-opensensor-buttons .button-style-secondary, .dmax-dream-opensensor-buttons .button-style-secondary:visited {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.dmax-dream-opensensor-buttons .button-style-secondary:hover, .dmax-dream-opensensor-buttons .button-style-secondary:focus {
    background: var(--dmax-sky);
    border-color: var(--dmax-sky);
    color: #000;
}

.dmax-dream-opensensor-image img {
    width: min(100%, 622px);
    height: auto;
    margin-inline: auto; }

@media (max-width: 767px) {
    .dmax-dream-opensensor-section {
        min-height: 0;
        padding: 64px 0 0;
    }

    .dmax-dream-opensensor-section .kadence-columndreamopensensorc1 .kt-inside-inner-col {
        padding-left: var(--theme-gutter, 33px);
        padding-right: var(--theme-gutter, 33px);
        padding-bottom: 48px;
    }

    .dmax-dream-opensensor-image img {
        width: 100%;
        max-width: 400px;
    }
}

/* ============================================================
   Dream Sensor — Editor
   ============================================================ */

.editor-styles-wrapper .dmax-dream-hero-section {
    background: #000000;
}

.editor-styles-wrapper .dmax-dream-hero-title {
    max-width: 680px;
}

.editor-styles-wrapper .dmax-dream-report {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.5;
}

.editor-styles-wrapper .dmax-dream-report a {
    color: var(--dmax-sky);
    font-weight: 700;
}

.editor-styles-wrapper .dmax-dream-hero-image img {
    width: min(100%, 520px);
    max-height: 760px;
    object-fit: contain;
    margin-inline: auto;
}

.editor-styles-wrapper .dmax-dream-hero-buttons {
    margin-top: 28px;
}

.editor-styles-wrapper .dmax-dream-benefits-section {
    background: #ffffff;
}

.editor-styles-wrapper .dmax-dream-benefits-title {
    max-width: 620px;
    padding-top: 30px;
    margin-bottom: 30px;
}

.editor-styles-wrapper .dmax-cover-image {
    height: 100%;
}

.editor-styles-wrapper .dmax-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-styles-wrapper .dmax-comfort-list {
    list-style: none;
    padding-left: 0;
}
.editor-styles-wrapper .dmax-comfort-list li {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.875rem;
    display: flex;
    align-items: center;
}
.editor-styles-wrapper .dmax-comfort-list li::before {
    content: "";
    height: 0.625rem;
    width: 0.625rem;
    background-color: var(--dmax-sky);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 1.3125rem;
}

.editor-styles-wrapper .dmax-dream-opensensor-section {
    align-items: center;
    background: linear-gradient(90deg, var(--dmax-navy) 19.38%, #000 58.68%);
    min-height: 592px;
    padding: 0;
}
.editor-styles-wrapper .dmax-dream-opensensor-section .kt-row-column-wrap {
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.editor-styles-wrapper .dmax-dream-opensensor-section .kadence-columndreamopensensorc1 .kt-inside-inner-col {
    padding-left: var(--theme-gutter, 13.8888888889vw);
    padding-right: 5rem;
}
.editor-styles-wrapper .dmax-dream-opensensor-title {
    color: #fff;
    max-width: 620px;
    margin-bottom: 18px;
}
.editor-styles-wrapper .dmax-dream-opensensor-copy {
    color: #fff;
    font-size: clamp(16px, 1.5vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 36px;
}
.editor-styles-wrapper .dmax-dream-opensensor-buttons {
    margin-top: 0;
}
.editor-styles-wrapper .dmax-dream-opensensor-buttons .button-style-secondary,
.editor-styles-wrapper .dmax-dream-opensensor-buttons .button-style-secondary:visited {
    background: transparent;
    border-color: #fff;
    color: #fff;
}
.editor-styles-wrapper .dmax-dream-opensensor-buttons .button-style-secondary:hover,
.editor-styles-wrapper .dmax-dream-opensensor-buttons .button-style-secondary:focus {
    background: var(--dmax-sky);
    border-color: var(--dmax-sky);
    color: #000;
}
.editor-styles-wrapper .dmax-dream-opensensor-image img {
    width: min(100%, 622px);
    height: auto;
    margin-inline: auto;
}
