/* ================= LOCAL FONTS ================= */

/* ================= LOCAL FONTS ================= */

/* Raleway */

@font-face {
    font-family: 'Raleway';
    src: url('assets/fonts/raleway-v37-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('assets/fonts/raleway-v37-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('assets/fonts/raleway-v37-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('assets/fonts/raleway-v37-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Corinthia */

@font-face {
    font-family: 'Corinthia';
    src: url('assets/fonts/corinthia-v13-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Corinthia';
    src: url('assets/fonts/corinthia-v13-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ================= BASE ================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #1f1f1f;
    background: #f6f4ef;
}

a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover,
a:focus {
    color: #000000;
    text-decoration-thickness: 2px;
}

img {
    border: 0;
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, p {
    margin-top: 0;
}

.container {
    width: 94%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

/* ================= GDPR POPUP ================= */

.gdpr-popup {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 360px;
    max-width: calc(100% - 30px);
    background: rgba(33, 34, 36, 0.96);
    color: #ffffff;
    z-index: 1000000;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.gdpr-popup-inner {
    padding: 22px 22px 18px 22px;
}

.gdpr-popup h2 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.gdpr-popup p {
    margin: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.6em;
    color: #ffffff;
}

.gdpr-popup a {
    color: #ffffff;
    text-decoration: underline;
}

.gdpr-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gdpr-btn {
    border: 0;
    cursor: pointer;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
}

.gdpr-btn-accept {
    background: #8a6a45;
    color: #ffffff;
}

.gdpr-btn-reject {
    background: #d8d2c8;
    color: #1f1f1f;
}

.gdpr-btn:hover,
.gdpr-btn:focus {
    opacity: 0.92;
}

@media screen and (max-width: 640px) {
    .gdpr-popup {
        right: 15px;
        left: 15px;
        bottom: 15px;
        width: auto;
        max-width: none;
    }

    .gdpr-buttons {
        flex-direction: column;
    }

    .gdpr-btn {
        width: 100%;
    }
}

/* ACCESSIBILITY */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000000;
    color: #ffffff;
    padding: 10px 14px;
    z-index: 99999;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid #8a6a45;
    outline-offset: 2px;
}

/* links that should not look like content links */

.nav a,
.menu-toggle,
.submenu-toggle,
.phone-button,
.cta-button,
.offer-link,
.wishlist-link,
.search-button,
.top-offer-link a,
.memorial-card-link {
    text-decoration: none;
}

/* ================= HEADER ================= */

.site-header {
    background: #ffffff;
    position: relative;
    z-index: 1000;
}

.header-top {
    padding: 8px 0 10px 0;
    background: #ffffff;
}

.header-top-inner {
    display: grid;
    grid-template-columns: 360px 420px 420px;
    column-gap: 70px;
    align-items: center;
    justify-content: center;
}

.header-logo {
    padding-top: 0;
}

.site-logo {
    width: 200px;
    height: 116px;
    margin: 0 auto;
}

.header-middle {
    text-align: left;
    padding-top: 0;
}

.wishlist-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1f1f1f;
    margin-bottom: 10px;
    line-height: 1;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 46px;
    width: 342px;
    margin: 0;
}

.search-box {
    height: 42px;
    line-height: 42px;
    padding: 0 16px;
    border: 1px solid #cfcfcf;
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #1f1f1f;
    background: #f8f6f1;
    box-sizing: border-box;
}

.search-box::placeholder {
    color: #555555;
    opacity: 1;
}

.search-button {
    height: 42px;
    border: 0;
    background: #3f4345;
    color: #ffffff;
    font-size: 19px;
    cursor: pointer;
    line-height: 42px;
    padding: 0;
}

.header-right {
    text-align: left;
    padding-top: 0;
}

.top-email {
    display: inline-block;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.phone-button {
    display: inline-block;
    width: 285px;
    background: #3f4345;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 18px;
    border-radius: 2px;
    box-sizing: border-box;
    line-height: 1;
}

/* ================= NAV ================= */

.navbar {
    background: #3f4345;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.menu-toggle {
    display: none;
    background: #3f4345;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    border: 0;
    width: 100%;
    text-align: left;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 54px;
    gap: 0;
    flex-wrap: nowrap;
    position: relative;
    z-index: 99999;
}

.nav > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav > li > a {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 22px;
    white-space: nowrap;
    line-height: 18px;
}

.nav > li.active > a,
.nav > li > a:hover,
.nav > li > a:focus {
    background: #2d2f31;
}

.has-submenu {
    position: relative;
}

.nav-link-row {
    display: flex;
    align-items: stretch;
}

.nav-link-row > a {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 18px 18px 22px;
    white-space: nowrap;
    line-height: 18px;
    text-decoration: none;
}

.has-submenu.active .nav-link-row > a,
.nav-link-row > a:hover,
.nav-link-row > a:focus {
    background: #2d2f31;
}

.submenu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #ffffff;
    padding: 18px 14px 18px 8px;
    cursor: pointer;
    font: inherit;
    line-height: 18px;
}

.submenu-toggle:hover,
.submenu-toggle:focus {
    background: #2d2f31;
}

.nav-arrow {
    font-size: 9px;
    line-height: 1;
    display: inline-block;
}

.has-submenu > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #3f4345;
    z-index: 100000;
}

.has-submenu:hover > ul,
.has-submenu:focus-within > ul {
    display: block;
}

.has-submenu > ul > li {
    width: 260px;
}

.has-submenu > ul > li > a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 400;
    background: #3f4345;
    color: #ffffff;
    text-decoration: none;
}

.has-submenu > ul > li > a:hover,
.has-submenu > ul > li > a:focus {
    background: #000000;
}

/* ================= HERO ================= */

.hero {
    height: 370px;
    background: url('assets/images/BannerI_1.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    width: 100%;
    height: 370px;
    background: rgba(0, 0, 0, 0.20);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0;
    padding-top: 125px;
    color: #ffffff;
    font-family: 'Corinthia', cursive;
    font-size: 76px;
    font-weight: 700;
}

/* ================= TOP SPECIAL OFFER LINK ================= */

.top-offer-link {
    text-align: center;
    padding: 14px 0 10px 0;
    background: #f6f4ef;
    position: relative;
    z-index: 1;
}

.top-offer-link a {
    font-size: 16px;
    font-weight: 700;
    color: #6a4f2a;
}

.top-offer-link a:hover,
.top-offer-link a:focus {
    text-decoration: underline;
}

/* ================= ABOUT PAGE ================= */

.about-points {
    margin: 26px 0 26px 0;
    padding: 20px 22px;
    background: #f8f8f8;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
}

.about-points ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.about-points li {
    margin-bottom: 10px;
    color: #2f2f2f;
    font-size: 17px;
    line-height: 1.6em;
}

.about-points li:last-child {
    margin-bottom: 0;
}

/* ================= HOME CONTENT BOX ================= */

.home-content-shell {
    background: #f6f4ef;
    padding: 42px 0 55px 0;
}

.home-content-box {
    max-width: 1240px;
    background: #ffffff;
    border: 2px solid #c2b8aa;
    padding: 36px;
    box-sizing: border-box;
}

.home-content-box .intro-section,
.home-content-box .memorial-grid-section,
.home-content-box .copy-section,
.home-content-box .special-offers-section {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}

.home-content-box .intro-section {
    padding-top: 0;
}

.home-content-box .special-offers-section {
    padding-bottom: 0;
}

/* ================= INTRO ================= */

.intro-section {
    padding: 38px 0 20px 0;
    text-align: left;
    font-size: 16px;
    line-height: 25px;
    background: #f6f4ef;
}

.lead {
    width: 1120px;
    margin: 0 auto 18px auto;
    font-size: 16px;
    color: #2f2f2f;
}

.home-content-box .lead {
    width: 100%;
    max-width: 1120px;
}

/* content links */

.intro-section a,
.copy-section a,
.page-content a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.intro-section a:hover,
.copy-section a:hover,
.page-content a:hover,
.intro-section a:focus,
.copy-section a:focus,
.page-content a:focus {
    color: #000000;
    text-decoration-thickness: 2px;
}

/* ================= MEMORIAL GRID ================= */

.memorial-grid-section {
    padding: 10px 0 26px 0;
    background: #f6f4ef;
}

.memorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 30px;
    align-items: stretch;
}

.memorial-card {
    border: 1px solid #ddd3b4;
    background: #ffffff;
    height: 100%;
}

.memorial-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.memorial-image-wrap {
    height: 292px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
}

.memorial-image-wrap img {
    width: 100%;
    height: 292px;
    object-fit: contain;
    background: #ffffff;
}

.memorial-caption {
    background: #232427;
    color: #ffffff;
    text-align: center;
    padding: 22px 12px 18px 12px;
    height: 235px;
    box-sizing: border-box;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.memorial-caption h3,
.memorial-caption h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 14px;
    color: #ffffff;
    flex-shrink: 0;
}

.caption-line {
    width: 92%;
    height: 1px;
    background: #d7d7d7;
    margin: 0 auto 14px auto;
    flex-shrink: 0;
}

.memorial-caption p {
    font-size: 17px;
    line-height: 1.5em;
    margin: 0;
    color: #f5f5f5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* ================= LONG COPY ================= */

.copy-section {
    background: #f6f4ef;
    padding: 10px 0 36px 0;
    text-align: center;
}

.copy-section p {
    color: #2f2f2f;
}

/* ================= SPECIAL OFFERS ================= */

.special-offers-section {
    background: #f6f4ef;
    padding: 22px 0 40px 0;
    text-align: center;
}

.special-offers-section h2 {
    font-size: 34px;
    color: #2f2f2f;
    font-weight: 400;
    margin-bottom: 12px;
}

.special-intro {
    font-size: 18px;
    color: #2f2f2f;
    margin-bottom: 35px;
}

.offers-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 20px;
    justify-content: center;
}

.offer-item {
    position: relative;
}

.offer-link {
    display: block;
    color: inherit;
}

.offer-thumb {
    position: relative;
    border: 1px solid #bdb7a6;
    background: #ffffff;
    padding: 20px 20px 0 20px;
    height: 360px;
    box-sizing: border-box;
}

.offer-thumb img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.offer-link:hover .offer-thumb,
.offer-link:focus .offer-thumb {
    border-color: #8a6a45;
}

.offer-link:hover img,
.offer-link:focus img {
    transform: scale(1.05);
}

.offer-search {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: #2f3d43;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.offer-badge {
    position: absolute;
    top: -18px;
    right: -8px;
    width: 92px;
    height: 92px;
    border-radius: 46px;
    background: #8a3f7e;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.1em;
    text-align: center;
    padding-top: 24px;
    box-sizing: border-box;
    font-weight: 600;
}

.offer-title {
    border: 1px solid #bdb7a6;
    border-top: 0;
    background: #e9e6e1;
    color: #2f2f2f;
    font-size: 22px;
    line-height: 1.3em;
    padding: 16px 8px;
    min-height: 56px;
    box-sizing: border-box;
}

.offer-link:hover .offer-title,
.offer-link:focus .offer-title {
    background: #dcd6cc;
}

/* ================= CTA STRIP ================= */

.cta-strip {
    background: #212224;
    color: #ffffff;
    padding: 34px 0;
}

.cta-left {
    float: left;
    width: 70%;
}

.cta-left h3,
.cta-left h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #ffffff;
}

.cta-left p {
    font-size: 18px;
    line-height: 1.5em;
    margin: 0;
    color: #ffffff;
}

.cta-right {
    float: right;
    width: 28%;
    text-align: right;
    padding-top: 8px;
}

.cta-button {
    display: inline-block;
    background: #8a6a45;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 24px;
    border-radius: 4px;
}

.cta-button:hover,
.cta-button:focus {
    background: #000000;
    color: #ffffff;
}

/* ================= FOOTER ================= */

.site-footer {
    background: url('assets/images/footer-bg.jpg') center center no-repeat;
    background-size: cover;
    color: #ffffff;
}

.footer-overlay {
    background: rgba(0, 0, 0, 0.72);
    padding: 72px 0 28px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 420px 420px 420px;
    gap: 28px;
}

.footer-col h4,
.footer-col h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 48px;
    color: #ffffff;
}

.footer-col p {
    font-size: 18px;
    line-height: 1.55em;
    margin-bottom: 22px;
    color: #ffffff;
}

.footer-col strong {
    font-weight: 700;
}

.footer-col a,
.footer-links li a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-col a:hover,
.footer-col a:focus,
.footer-links li a:hover,
.footer-links li a:focus {
    text-decoration-thickness: 2px;
}

.footer-links li {
    border-bottom: 1px solid rgba(255,255,255,0.30);
    padding: 0;
}

.footer-links li a {
    display: block;
    font-size: 18px;
    padding: 12px 0;
}

.footer-bottom {
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    padding-top: 40px;
}

/* ================= RESPONSIVE ================= */

@media screen and (max-width: 1600px) {
    .container {
        width: 96%;
    }

    .lead {
        width: 90%;
    }

    .header-top-inner {
        grid-template-columns: 28% 30% 30%;
        column-gap: 4%;
    }

    .site-logo {
        margin: 0 auto;
        width: 200px;
        height: 116px;
    }

    .search-form {
        width: 100%;
        max-width: 342px;
    }

    .phone-button {
        width: 100%;
        max-width: 285px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-content-box {
        max-width: 1240px;
    }
}

@media screen and (max-width: 1360px) {
    .nav > li > a,
    .nav-link-row > a {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 12px;
    }

    .submenu-toggle {
        padding-right: 12px;
        padding-left: 6px;
    }
}

@media screen and (max-width: 1200px) {
    .memorial-grid,
    .offers-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-left,
    .cta-right {
        float: none;
        width: 100%;
        text-align: left;
    }

    .cta-right {
        padding-top: 20px;
    }

    .memorial-card-link {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
        color: inherit;
    }

    .memorial-card-link:hover .memorial-caption,
    .memorial-card-link:focus .memorial-caption {
        background: #1e1f21;
    }
}

@media screen and (max-width: 800px) {
    .header-top-inner {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .header-middle,
    .header-right,
    .header-logo {
        text-align: center;
    }

    .search-form {
        margin: 0 auto;
    }

    .phone-button {
        margin: 0 auto;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 99999;
    }

    .nav {
        display: none;
        width: 100%;
        min-height: 0;
        height: auto;
        background: #3f4345;
        flex-direction: column;
    }

    .nav.mobile-open {
        display: flex;
    }

    .nav > li {
        display: block;
        width: 100%;
    }

    .nav > li > a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        box-sizing: border-box;
        border-top: 1px solid rgba(255,255,255,0.08);
        white-space: normal;
    }

    .nav-link-row {
        display: flex;
        width: 100%;
    }

    .nav-link-row > a {
        flex: 1;
        padding: 14px 18px;
        box-sizing: border-box;
        border-top: 1px solid rgba(255,255,255,0.08);
        white-space: normal;
    }

    .submenu-toggle {
        display: block;
        width: 52px;
        min-width: 52px;
        background: #3f4345;
        border: 0;
        color: #ffffff;
        padding: 0;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .submenu-toggle:hover,
    .submenu-toggle:focus {
        background: #2d2f31;
    }

    .has-submenu > ul {
        display: none;
        position: static;
        width: 100%;
        background: #2f3133;
    }

    .has-submenu.open > ul {
        display: block;
    }

    .has-submenu > ul > li {
        width: 100%;
    }

    .has-submenu > ul > li > a {
        padding: 12px 30px;
        font-size: 13px;
        background: #2f3133;
    }

    .hero h1 {
        font-size: 56px;
        padding-top: 135px;
    }

    .home-content-box {
        padding: 24px;
    }

    .memorial-grid,
    .offers-row {
        grid-template-columns: 1fr;
    }

    .site-logo {
        width: 200px;
    }
}

@media screen and (max-width: 640px) {
    .home-content-shell {
        padding: 34px 0 40px 0;
    }

    .home-content-box {
        padding: 20px;
    }

    .hero h1 {
        font-size: 44px;
        padding-top: 145px;
    }

    .lead {
        width: 100%;
        font-size: 16px;
    }

    .special-offers-section h2 {
        font-size: 28px;
    }

    .special-intro,
    .cta-left p,
    .footer-col p,
    .footer-links li a {
        font-size: 16px;
    }

    .offer-title {
        font-size: 18px;
    }

    .cta-left h3,
    .cta-left h2,
    .footer-col h4,
    .footer-col h2 {
        font-size: 24px;
    }

    /* ===== submenu arrow patch ===== */

    .submenu-toggle {
        background: transparent;
        border: 0;
        box-shadow: none;
        color: #ffffff;
        padding: 0 10px 0 0;
        margin: 0;
        width: auto;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .submenu-toggle:hover,
    .submenu-toggle:focus {
        background: transparent;
    }

    .nav-link-row {
        display: flex;
        align-items: center;
    }

    .nav-link-row > a {
        padding-right: 8px;
    }

    .nav-arrow {
        display: inline-block;
        width: 6px;
        height: 6px;
        font-size: 0;
        line-height: 0;
        border-right: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        transform: rotate(45deg);
        margin-top: -3px;
    }

    .has-submenu:hover .nav-arrow,
    .has-submenu:focus-within .nav-arrow,
    .has-submenu.open .nav-arrow {
        transform: rotate(225deg);
        margin-top: 1px;
    }
}