/* MeredithRachel.com custom styling */

/* Remove the Cassiopeia header */
.container-header {
    display: none;
}

/* Give the page a clean full-width canvas */
body {
    margin: 0;
    padding: 0;
}

.site-grid {
    display: block;
}

main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* Remove Cassiopeia's content width restriction */
.container-component {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}
/* Hide Joomla article/page heading */
.page-header {
    display: none !important;
}
/* =========================
   Meredith Rachel homepage
   ========================= */

html,
body {
    min-height: 100%;
    background: #fff8f1;
}

.mr-home {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
    overflow: hidden;
    background: #fff8f1;
}

/* LEFT SIDE */

.mr-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 70px 50px 90px;
    background: #fff8f1;
}

.mr-heart {
    color: #ee6f6a;
    font-size: 46px;
    line-height: 1;
    margin-bottom: 35px;
    font-family: Georgia, serif;
}

.mr-name {
    margin: 0;
    line-height: 0.9;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    text-align: center;
}

.mr-name span {
    display: block;
}

.mr-meredith {
    color: #111827;
    font-size: clamp(64px, 6vw, 108px);
}

.mr-rachel {
    color: #ee6f6a;
    font-size: clamp(64px, 6vw, 108px);
}

.mr-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 34px 0 24px;
    color: #69bdb5;
}

.mr-divider > span:first-child,
.mr-divider > span:last-child {
    display: block;
    width: 55px;
    height: 1px;
    background: #69bdb5;
}

.mr-small-heart {
    font-size: 31px;
    line-height: 1;
}

.mr-welcome {
    color: #69bdb5;
    font-family: "Segoe Script", "Bradley Hand", cursive;
    font-size: clamp(22px, 2vw, 33px);
    line-height: 1.25;
    margin-bottom: 27px;
}

.mr-coral-line {
    width: 105px;
    height: 3px;
    background: #ee6f6a;
    border-radius: 999px;
    margin-bottom: 30px;
}

.mr-description {
    margin: 0;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.65;
    letter-spacing: 0.02em;
}

.mr-sun {
    color: #ee6f6a;
    font-size: 42px;
    margin-top: 35px;
    line-height: 1;
}

/* RIGHT SIDE */

.mr-art {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #fff8f1;
}

.mr-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* soft blend from cream into the artwork */
.mr-art::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    bottom: 0;
    width: 18%;
    background: linear-gradient(
        to right,
        #fff8f1 0%,
        rgba(255, 248, 241, 0.85) 25%,
        rgba(255, 248, 241, 0) 100%
    );
    pointer-events: none;
}

/* MOBILE */

@media (max-width: 800px) {
    .mr-home {
        grid-template-columns: 1fr;
    }

    .mr-text {
        min-height: auto;
        padding: 55px 24px 50px;
    }

    .mr-art {
        min-height: 52vh;
    }

    .mr-art::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 18%;
        background: linear-gradient(
            to bottom,
            #fff8f1 0%,
            rgba(255, 248, 241, 0.8) 30%,
            rgba(255, 248, 241, 0) 100%
        );
    }

    .mr-heart {
        margin-bottom: 24px;
    }

    .mr-divider {
        margin-top: 26px;
    }
}