/* ==========================================================
   Elegant Heading Widgets — ehw.css
   ========================================================== */

/* ── Shared reset ── */
.ehw-centred-wrap *,
.ehw-centred-wrap *::before,
.ehw-centred-wrap *::after,
.ehw-split-wrap *,
.ehw-split-wrap *::before,
.ehw-split-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================
   STYLE 1 — Centred heading with lines on both sides
   ========================================================== */

.ehw-centred-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: inherit;
}

/* Row: line — heading — line */
.ehw-centred-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
    margin-bottom: 28px;
}

.ehw-centred-line {
    display: block;
    width: 48px;
    height: 1px;
    background: #5a4a3a;
    flex-shrink: 0;
}

.ehw-centred-heading {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3d2e26;
    line-height: 1.15;
    text-align: center;
    font-family: inherit;
}

.ehw-centred-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #5a4a3a;
    text-align: center;
    max-width: 680px;
    font-family: inherit;
}

/* ==========================================================
   STYLE 2 — Left dash + heading beside description
   ========================================================== */

.ehw-split-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    font-family: inherit;
}

/* Left column: dash + heading stacked inline */
.ehw-split-heading-col {
    flex: 0 0 45%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.ehw-split-dash {
    display: block;
    width: 36px;
    height: 1px;
    background: #5a4a3a;
    flex-shrink: 0;
    margin-top: 0.6em; /* vertically align dash with first text line */
}

.ehw-split-heading {
    font-size: clamp(24px, 3.2vw, 44px);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3d2e26;
    line-height: 1.2;
    font-family: inherit;
}

/* Right column: description */
.ehw-split-desc-col {
    flex: 0 0 calc(55%);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ehw-split-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #5a4a3a;
    font-family: inherit;
}

.ehw-split-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #a07840;
    text-decoration: none;
    transition: opacity 200ms ease;
    align-self: flex-start;
}

.ehw-split-link:hover { opacity: 0.7; }

/* ==========================================================
   MOBILE  ≤ 767px
   ========================================================== */
@media (max-width: 767px) {

    /* Style 1 */
    .ehw-centred-heading {
        font-size: clamp(22px, 6vw, 32px);
    }

    .ehw-centred-line {
        width: 28px;
    }

    .ehw-centred-desc {
        font-size: 14px;
    }

    /* Style 2 — stack vertically on mobile */
    .ehw-split-wrap {
        flex-direction: column;
        gap: 24px;
    }

    .ehw-split-heading-col,
    .ehw-split-desc-col {
        flex: none;
        width: 100%;
    }

    .ehw-split-heading {
        font-size: clamp(20px, 5vw, 30px);
    }

    .ehw-split-desc {
        font-size: 14px;
    }
}

/* ==========================================================
   TABLET  768px – 1024px
   ========================================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    .ehw-centred-heading {
        font-size: clamp(24px, 3.5vw, 38px);
    }

    .ehw-split-heading {
        font-size: clamp(20px, 2.8vw, 34px);
    }

    .ehw-split-wrap {
        gap: 32px;
    }
}
