
/* ==================================================
   MELINOE - THE SKIN LIBRARY
   SINGLE POST - CLEAN CSS
================================================== */

/* 01. FULL WIDTH ARTICLE BANNER */

.mel-single-banner {
    --mel-gold: #b58d2f;

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: none;
min-height: 50vh;
min-height: 50svh;
    margin: 0;
    padding: 65px 24px;

    overflow: hidden;
    background: #292521;
    text-align: center;
    font-family: "Arimo", Arial, sans-serif;
}

/* Dynamic featured image widget */

.mel-single-banner .mel-single-banner__image {
    position: absolute !important;
    inset: 0 !important;
    z-index: -2;

    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* WoodMart / Elementor image wrappers */

.mel-single-banner .mel-single-banner__image
.elementor-widget-container,
.mel-single-banner .mel-single-banner__image
.wd-post-img,
.mel-single-banner .mel-single-banner__image
.post-image,
.mel-single-banner .mel-single-banner__image
.post-img-wrapp,
.mel-single-banner .mel-single-banner__image
.wd-post-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0;
    overflow: hidden;
}

/* Image cover */

.mel-single-banner .mel-single-banner__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center;
    border-radius: 0;
}

/* Dark overlay */

.mel-single-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .38);
    pointer-events: none;
}

/* Editorial heading */

.mel-single-banner__heading {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    color: #fff;
	padding-top: 35px;
}

.mel-single-banner__eyebrow {
    color: #e4c990;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.5;
}

.mel-single-banner__title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.5vw, 78px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.1;
}

.mel-single-banner__title em {
    color: #e4c990;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
}

.mel-single-banner__line {
    display: block;
    width: 45px;
    height: 1px;
    background: #e4c990;
}

/* 02. ARTICLE CONTENT */

/* ARTICLE CONTENT - OVERLAP */

/* ARTICLE CONTENT - EDITORIAL OVERLAP */

.elementor-element.mel-single-content {
    position: relative;
    z-index: 10;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto -100px;
    padding: 0 20px 85px;

    transform: translateY(-100px);
    font-family: "Arimo", Arial, sans-serif;
}

.mel-single-content .wp-block-columns {
    align-items: flex-start;
}

.mel-single-content img {
    max-width: 100%;
    height: auto;
}

/* 03. ARTICLE FOOTER */

.mel-single-footer {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto 55px;
    padding: 25px 20px 0;
    border-top: 1px solid #e9e2da;
    font-family: "Arimo", Arial, sans-serif;
}

.mel-single-footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #171717;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .25s ease;
}

.mel-single-footer a:hover {
    color: #b58d2f;
}

/* 04. TABLET */

@media (max-width: 1024px) {

    .mel-single-banner {
        min-height: 42svh;
        padding: 55px 24px;
    }
	
    .mel-single-banner__heading {
        padding-top: 20px;
    }

    .mel-single-banner__title {
        font-size: clamp(42px, 6vw, 64px);
    }
}

/* 05. MOBILE */

@media (max-width: 767px) {

    .mel-single-banner {
        min-height: 320px;
        padding: 45px 20px;
    }

    .mel-single-banner__heading {
		padding-top: 10px;
        gap: 14px;
    }

    .mel-single-banner__eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .mel-single-banner__title {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1px;
    }

    .elementor-element.mel-single-content {
        transform: translateY(-35px);
        margin-bottom: -35px;
        padding: 0 16px 35px;
    }

    .mel-single-content .wp-block-group {
        max-width: 100%;
    }

    .mel-single-footer {
        margin-bottom: 35px;
        padding: 20px 16px 0;
    }
}
