/* jwbs (color) class, and default styling */
@import url("legacy-default.css");
@import url("legacy-jwbs.css");

body { font-family: "proxima-nova", sans-serif; color: #6F6A6A; font-size: 1.25rem; }
h1, .h1, h2, .h2, h3, .h3, h4, h5, h6 { font-family: "ltc-bodoni-175", serif; }
h1, #banner .h1 { font-size: 2.4rem; }
.h1 { font-size: 2rem; }
a:hover, a:focus { color: #866a3c; }
.btn { font-size: .8rem; text-transform: uppercase; }
.btn:not(.rounded-circle):not(.search-btn) { font-weight: bold; padding: 15px 30px; letter-spacing: 2px; }
.mr-eaves { font-family: "mr-eaves-modern", sans-serif; }
.mrs-eaves { font-family: "mrs-eaves-roman-all-small-ca", serif; }
.mrs-eaves.lead { font-size: 1.5rem; }
.ltc-bodoni { font-family: "ltc-bodoni-175", serif; }
.proxima-nova { font-family: "proxima-nova", sans-serif; }
#breadcrumbs, .woocommerce .woocommerce-breadcrumb { font-size: .9rem; }

.wp-block-gallery.w70x30 .blocks-gallery-item:first-of-type { width: calc(70% - 5px); }
.wp-block-gallery.w70x30 .blocks-gallery-item:last-of-type { width: calc(30% - 21px); }
.mt--65 { margin-top: -6.5rem; }
.p-6, .pt-6, .py-6 { padding-top: 3rem !important; }
.p-6, .pr-6, .px-6 { padding-right: 1.5rem !important; }
.p-6, .pb-6, .py-6 { padding-bottom: 3rem !important; }
.p-6, .pl-6, .px-6 { padding-left: 1.5rem !important; }

blockquote { font-family: "ltc-bodoni-175", serif; font-size: 1rem; width: 80%; margin: auto; min-width: 350px; font-style: italic; }
blockquote p:first-of-type:before { content: " "; display: inline-block; background: url('../images/Quote-Open.png') no-repeat 0 -8px / 24px; height: 30px; width: 30px; }
blockquote p:last-of-type:after { content: " "; display: inline-block; background: url('../images/Quote-Close.png') no-repeat 0 -8px / 24px; height: 30px; width: 30px; }
/* blockquote { background: url('../images/quotation.svg') no-repeat top center; } */
blockquote cite { font-style: normal; font-family: "proxima-nova", sans-serif; }
blockquote cite:before { content: "by"; font-family: "mrs-eaves-roman-all-small-ca", serif; padding-right: 7px; }

/* colors */
.text-cashmere { color: #CFB994; }   .bg-cashmere { background-color: #CFB994; }   .border-cashmere { border-color: #CFB994 !important; }   .full-width.bg-cashmere:before { border-left: 99rem solid #CFB994; box-shadow: 99rem 0 0 #CFB994; }
.text-gondola { color: #343434; }    .bg-gondola { background-color: #343434; }    .border-gondola { border-color: #343434 !important; }    .full-width.bg-gondola:before { border-left: 99rem solid #343434; box-shadow: 99rem 0 0 #343434; }
.text-dim-grey { color: #6F6A6A; }   .bg-dim-grey { background-color: #6F6A6A; }   .border-dim-grey { border-color: #6F6A6A !important; }   .full-width.bg-dim-grey:before { border-left: 99rem solid #6F6A6A; box-shadow: 99rem 0 0 #6F6A6A; }
.text-pablo { color: #7C745D; }      .bg-pablo { background-color: #7C745D; }      .border-pablo { border-color: #7C745D !important; }      .full-width.bg-pablo:before { border-left: 99rem solid #7C745D; box-shadow: 99rem 0 0 #7C745D; }
.text-swirl { color: #D1C5BD; }      .bg-swirl { background-color: #D1C5BD; }      .border-swirl { border-color: #D1C5BD !important; }      .full-width.bg-swirl:before { border-left: 99rem solid #D1C5BD; box-shadow: 99rem 0 0 #D1C5BD; }
.text-quill-grey { color: #CAC4BC; } .bg-quill-grey { background-color: #CAC4BC; } .border-quill-grey { border-color: #CAC4BC !important; } .full-width.bg-quill-grey:before { border-left: 99rem solid #CAC4BC; box-shadow: 99rem 0 0 #CAC4BC; }
.text-wan-white { color: #EBEAE8; }  .bg-wan-white { background-color: #EBEAE8; }  .border-wan-white { border-color: #EBEAE8 !important; }  .full-width.bg-wan-white:before { border-left: 99rem solid #EBEAE8; box-shadow: 99rem 0 0 #EBEAE8; }

.btn-cashmere { color: #343434 !important; background-color: #CFB994; border-color: #CFB994; }   .btn-outline-cashmere { color: #CFB994; background-color: transparent; background-image: none; border-color: #CFB994; }   .btn-outline-cashmere:hover { color: #343434; background-color: #CFB994; background-image: none; border-color: #CFB994; }
.btn-gondola { color: #fff !important; background-color: #343434; border-color: #343434; }       .btn-outline-gondola { color: #343434; background-color: transparent; background-image: none; border-color: #343434; }    .btn-outline-gondola:hover { color: #fff; background-color: #343434; background-image: none; border-color: #343434; }
.btn-dim-grey { color: #fff !important; background-color: #6F6A6A; border-color: #706B6A; }      .btn-outline-dim-grey { color: #6F6A6A; background-color: transparent; background-image: none; border-color: #6F6A6A; }   .btn-outline-dim-grey:hover { color: #fff; background-color: #6F6A6A; background-image: none; border-color: #706B6A; }
.btn-pablo { color: #fff !important; background-color: #7C745D; border-color: #7C745D; }         .btn-outline-pablo { color: #7C745D; background-color: transparent; background-image: none; border-color: #7C745D; }      .btn-outline-pablo:hover { color: #fff; background-color: #7C745D; background-image: none; border-color: #7C745D; }
.btn-swirl { color: #343434 !important; background-color: #D1C5BD; border-color: #D1C5BD; }      .btn-outline-swirl { color: #D1C5BD; background-color: transparent; background-image: none; border-color: #D1C5BD; }      .btn-outline-swirl:hover { color: #343434; background-color: #D1C5BD; background-image: none; border-color: #D1C5BD; }
.btn-quill-grey { color: #343434 !important; background-color: #CAC4BC; border-color: #CAC4BC; } .btn-outline-quill-grey { color: #CAC4BC; background-color: transparent; background-image: none; border-color: #CAC4BC; } .btn-outline-quill-grey:hover { color: #343434; background-color: #CAC4BC; background-image: none; border-color: #CAC4BC; }
.btn-wan-white { color: #343434 !important; background-color: #EBEAE8; border-color: #EBEAE8; }  .btn-outline-wan-white { color: #EBEAE8; background-color: transparent; background-image: none; border-color: #EBEAE8; }  .btn-outline-wan-white:hover { color: #343434; background-color: #EBEAE8; background-image: none; border-color: #EBEAE8; }

/* header */
header.fixed-top { max-width: 100vw; }
.navbar-brand { max-width: 500px; }
.fixed-top > div { display: none; }
[role="banner"]:not(.container) .row { margin-left: 0; margin-right: 0;}
.d-lg-none.bg-wan-white.full-width { z-index: 1030; }

/* nav */
nav.navbar { font-size: .9rem; }
.navbar-brand img { height: 95px; }
.dropdown-menu { font-size: .9rem; }

/* banner */
#banner { font-size: 1.15rem; }
#banner .carousel-item:after { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.2); content: " "; }
p.disclaimer { position: absolute; bottom: 1rem; right: 1rem; display: block; margin: 0; color: #4e4e4e; font-size: .9rem; z-index: 1030; }

/* accordions */
.accordions-head-title { font-weight: 700; text-transform: uppercase; }

/* alternating boxes */
#alternating_boxes .content_box.order-sm-first { flex-flow: row-reverse; }
#alternating_boxes .content_box .content_wrapper { max-width: 540px; padding-right: 2vw; }

/* pillars */
.cross-bg { gap: 0 !important; background: linear-gradient(to bottom, transparent calc(44% - 1px), #CCC calc(44% - 1px) calc(44% + 0px), transparent calc(44% + 0px) ), linear-gradient(to left, transparent calc(50% - 0px), #ccc calc(50% - 1px) calc(50% + 0px), transparent calc(50% + 1px) ); }
.cross-bg .align-self-center.align-self-md-start img { max-height: 75px; width: auto; }

/* collection slider carousel */
#collection_slider_carousel .carousel-item.active { right: -15px; }

/* collection owl carousel */
#collection_slider .disabled .owl-prev, #collection_slider .disabled .owl-next { display: block !important; background-color: none !important; }
#collection_slider .disabled .owl-prev { left: -40px }
#collection_slider .disabled .owl-next { right: -40px; }
#collection_slider .owl-item .sa_hover_container > p { position: absolute; top: 90%; left: 10%; right: 10%; color: #fff; font-family:"ltc-bodoni-175", serif; }

/* partner */
.left-center { height: 0; position: relative; top: -6rem; margin-bottom: 6rem; }

/* spotlight */
#design-partner-spotlight .nav-item img { filter: grayscale(.8); transition: all 1000ms; }
#design-partner-spotlight .nav-item.active img { filter: grayscale(0); transition: all 1000ms; }

/* cf-7 forms */
fieldset.row legend { margin-left: .75rem; }
input:not([type=submit]) { background: #ebeaeb; border-color: #cac4bc; }
textarea { border-color: #cac4bc; }
::placeholder { color: #6F6A6A !important; }
#mailing-list span.wpcf7-list-item-label { display: none; }
div[data-class="wpcf7cf_group"] { width: 100%; }

/* store finder */
#wpsl-search-wrap { font-size: .95rem; }

/* bedmatch tool */
.page-id-44 #breadcrumbs { display: none; }
.page-id-44 #banner a[href="#first"].btn { display: none; }
#bedmatch { padding-bottom: 100px; }
#bedmatch fieldset { max-height: calc(100vh - 100px) !important; position: relative; }
#bedmatch .previous, #bedmatch .next { position: absolute; left: calc(50% - 12px); width: 25px; height: 25px; padding: 0; }
#bedmatch .next#bedmatch-submit { display: inline-block !important; }
#bedmatch .previous { top: 10%; visibility: hidden; }
#bedmatch .next { bottom: 10%; }
#bedmatch .previous svg, #bedmatch .next svg { top: 3px;  position: relative; }
#bedmatch #bedmatch-submit { width: initial; height: initial; padding: .375rem .75rem; left: calc(50% - 71px); bottom: 0; }

/* category */
.woocommerce.archive h2.woocommerce-loop-category__title { font-family: 'proxima-nova', sans-serif; text-transform: uppercase; text-align: center; font-weight: 600; font-size: 1.2rem !important; color: #343434; }
.woocommerce.archive h2.woocommerce-loop-category__title:after {content: "LEARN MORE"; width: 100%; display: inline-block; padding-top: .75rem; font-weight: 100; color: #CFB994; }
.woocommerce.archive h2.woocommerce-loop-product__title { font-family: 'proxima-nova', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 1.2rem !important; color: #343434; }
/* product */
  /* banner */
.product #banner .carousel-item { max-height: 33.33333vh; }
.product #banner .carousel-item img { position: relative; }
  /* image slider */
#product_carousel.show-neighbors { overflow: hidden; }
#product_carousel.show-neighbors .item__part:first-child, .show-neighbors .item__part:last-child { display: none; }
@media (min-width: 500px) {
  #product_carousel.show-neighbors .carousel-indicators { margin-right: 20%; margin-left: 20%; }
  #product_carousel.show-neighbors .carousel-control-prev, #product_carousel.show-neighbors .carousel-control-next { background: rgba(255, 255, 255, 0.66); width: 10%; z-index: 11; }
  #product_carousel.show-neighbors .carousel-inner { width: 180%; left: -40%; }
  #product_carousel.show-neighbors .carousel-item-next:not(.carousel-item-left), #product_carousel.show-neighbors .carousel-item-right.active { -webkit-transform: translate3d(33%, 0, 0); transform: translate3d(33%, 0, 0); }
  #product_carousel.show-neighbors .carousel-item-prev:not(.carousel-item-right), #product_carousel.show-neighbors .carousel-item-left.active { -webkit-transform: translate3d(-33%, 0, 0); transform: translate3d(-33%, 0, 0); }
  #product_carousel.show-neighbors .item__part { display: block !important; float: left; position: relative; width: 33.33333333%; }
}
#product_carousel .carousel-control-prev-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%237C745D' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"); }
#product_carousel .carousel-control-next-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%237C745D' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"); }
  /* accordion */
#product_accordion .btn { font-size: 1rem; line-height: 2rem; font-family: "proxima-nova", sans-serif; letter-spacing: initial; }
#product_accordion .card-body h2 { display: none; }

/* media dashboard */
#document-nav .nav-link.active { position: relative; }
#document-nav .nav-link.active:after { content:''; position: absolute; top: 100%; left: 50%; margin-left: -10px; width: 0; height: 0; border-top: solid 10px #bfa271; border-left: solid 10px transparent; border-right: solid 10px transparent; }

/* footer */
footer { font-size: .9rem; }
#widget-upper-footer .widget.col-12 p { margin: 0; }
footer .menu { padding-inline-start: 0; list-style: none; }
footer .menu a { color: #6F6A6A; }

/* media queries */
/* Extra Small Devices, Phones */
@media only screen and (min-width : 576px) {
  /* full width */
  .full-width { position: relative; }
  .full-width:before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: -75rem; z-index: -1; }

  .left-center { height: 0; position: relative; top: 0; bottom: 0; left: -7rem; margin: auto; }
  #bedmatch fieldset { background: linear-gradient(#CFB994, #CFB994) no-repeat center/2px 100%; }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  h1, #banner .h1 { font-size: 3.4rem; }
  .h1 { font-size: 2.5rem; }
  .p-6, .pt-6, .py-6 { padding-top: 5rem !important; }
  .p-6, .pr-6, .px-6 { padding-right: 5rem !important; }
  .p-6, .pb-6, .py-6 { padding-bottom: 5rem !important; }
  .p-6, .pl-6, .px-6 { padding-left: 5rem !important; }
  .navbar-brand img { height: 125px; }
  .carousel-caption { right: 0; left: 0; }
  .cross-bg { background: none; }
  .page-id-44 #banner a[href="#first"].btn { display: inline-block; }
  #bedmatch .previous { visibility: visible; }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  .fixed-top > div { display: block; }
  .carousel-caption { right: 15%; left: 15%; }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  .breakout { width: calc( 100vw - 50px); margin-left: calc( ( (100vw - 50px) - 100%) / -2); }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1300px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1240px; }
}

/* breakout failsafe */
@media only screen and (min-width : 1650px) {
  .breakout { max-width: 1600px; margin-left: calc( ( 1600px - 100% ) / -2 ); }
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
}

.legacy-banner {
    padding: 80px 0;
}

.legacy-banner .mrs-eaves {
    font-family: "Mrs Eaves", serif; /* Ensure you have the font-face loaded */
    font-size: 3.5rem;
}

.legacy-banner .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Match the gold button in your screenshot */
.btn-jwbs {
    background-color: #d1b894; /* Approximate gold color from image */
    color: #000;
    border: none;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn-jwbs:hover {
    background-color: #bfa57e;
    color: #000;
}

/* This targets the main content area specifically on legacy pages */
.shifman-legacy-layout #primary, 
.shifman-legacy-layout main {
    padding: 150px 150px 0px !important;
}

body{
	overflow-x: hidden;
}

/* Good Bed DOW */

h1.h-where-craft-meets-credibility,
body.page-id-4983 h3.h1,
#h-luxury-measured{
	font-family: "baskerville-display-pt", serif;
	color: #222321;
}

body.page-id-4983 div.carousel-item.active {
  height: 1000px;
}

body.page-id-4983 p#breadcrumbs.small,
body.page-id-5479 p#breadcrumbs.small{
  display: none;
}

body.page-id-4983 .carousel-caption{
  margin-top: 100px;
  justify-content: start;
}


body.page-id-4983 wp-image-4985{
  margin-top: 290px !important;
}

@media (min-width: 768px) {
    /* For devices above 767px */
    body.page-id-4983 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
        margin-top: -380px;
    }
}

@media (max-width: 768px) {
    /* For devices 767px and below */
    body.page-id-4983 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
        margin-top: -250px;
    }

    .shifman-legacy-layout #primary, 
    .shifman-legacy-layout main {
        padding: 150px 10px 0px 10px !important;
    }
}

@media (max-width: 410px) {
    /* For devices 410px and below */
    body.page-id-4983 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
        margin-top: -215px;
    }
}

/* Desktop + default styles */
body.page-id-4983 #alternating_boxes .row:nth-of-type(2) {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 50px;
  background-color: #EBDDD8;
}

/* Mobile override */
@media (max-width: 767px) {
  body.page-id-4983 #alternating_boxes .row:nth-of-type(2) {
    padding: 15px;
  }
}


/* Adjust width for mobile devices */
@media (max-width: 768px) {
  .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
    width: 80% !important;  /* Adjust width to be more suitable for smaller screens */
  }
}

@media (max-width: 768px) {
  body.page-id-4983 .wp-block-buttons > .wp-block-button.wp-block-button__width-25{
    padding: 15px 5px;
  }
}

/* Timeless */

 @media only screen and (min-width: 768px) {
	body.page-id-5288 .p-6{
		padding: 0 !important;
		
	}
	 
	 body.page-id-5288 .img_box{
		 align-content: center;
	 }
}

body.page-id-5288 p#breadcrumbs.small{
  display: none;
}

body.page-id-4983 p:not(:has(a)),
body.page-id-5288 p:not(:has(a)),
body.page-id-5479 p:not(:has(a)){
  font-family: Georgia, serif;
  font-size: 1rem;
	color: #222321;
  line-height: 1.4;
}

body.page-id-5288 h2{
  line-height: 0.8;
  color: #231F1F;
}

body.page-id-5288 p ,
body.page-id-5288 p a,
body.page-id-5479 p a,
body.page-id-5479 #h-explore-the-collection{
  margin-top: 10px;
  line-height: 0.9;
  color: #231F1F;
}

body.page-id-5288 p a:hover,
body.page-id-5479 p a:hover{
  text-decoration: none;
}

body.page-id-5288 .h-auto {
  height: auto !important;
} 

@media only screen and (min-width: 992px) {
    body.page-id-5288 .carousel-caption {
        left: 10%;
    }
}

/* Desktop: margin-top 75px, margin-left and margin-right 150px */
body.page-id-5288 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
  margin: 75px 150px 1rem;
}

/* 1893 Page */
body.page-id-5479 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
  margin: 75px 150px 1rem;
}

/* Override margin for tablets and mobile */
@media (max-width: 1024px) {
  body.page-id-5479 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
    margin: 0;
  }
}

/* Tablet: divide the 150px margin by 2 (75px) */
@media (min-width: 768px) and (max-width: 1023px) {
  body.page-id-5288 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
    margin: 50px 75px 1rem; /* Divide the margin-right and margin-left by 2 */
  }
}

/* Mobile: set margin-left and margin-right to 0 */
@media (max-width: 767px) {
  body.page-id-5288 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
    margin: 25px 0 1rem; /* Set margin-right and margin-left to 0 for mobile */
  }
  
/* Tablet: set margin-left and margin-right to 0 */
  @media only screen and (min-width: 768px) {
    body.page-id-5288 div.col-sm-6.order-sm-first.d-flex.align-items-center.p-6.content_box{
     padding: 0 !important;
    }
  }
  
  body.page-id-5288 #alternating_boxes .row:nth-of-type(2) .img_box {
  order: 2;
  padding-right: 15px;
  padding-left: 15px
  }
}

body.page-id-5288 #alternating_boxes .row:nth-of-type(2) {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 25px;
  background-color: #A67577;
}

#h-tailored-to-you,
#h-built-to-last,
#h-no-fillers-only-substance,
#h-engineered-with-purpose,
#h-a-legacy-beneath-it-all,
#h-sleeps-cooler,
#h-edge-support,
#h-consistent-comfort{
  font-family: "proxima-nova", sans-serif;
  color: #231F1F;
  font-size: 1.25rem;
  font-weight: bolder;
}




body.page-id-5288 .mrs-eaves.lead,
body.page-id-5288 div.content_wrapper h3.h1,
body.page-id-5288 div.content_wrapper p,
body.page-id-5479 div.content_wrapper h3.h1,
body.page-id-5479 div.content_wrapper p{
  color: white !important;
}

body.page-id-5288 .mrs-eaves.lead{
  font-family: 'hv-florentino', serif;
  font-size: 2rem;
	margin-bottom: -5px;
}

a.wp-block-button__link:hover {
  text-decoration: none !important;
}

.full-width.bg-light-red {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden; /* Prevents any child overflow issues */
  z-index: 0;
}

.full-width.bg-light-red::after {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
  background-image: url('https://shifmanmattresses.com/wp-content/uploads/2025/08/shifman-timeless-bg-image-cta.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.full-width.bg-light-red::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1; 
}

.full-width.bg-light-red > * {
  position: relative;
  z-index: 2;
}

.full-width.bg-light-red h4,
.full-width.bg-light-red p{
  color: white;
}

.hero-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background-color: #fff;
  padding: 0;
}

.hero-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  max-width: 100%;
  min-height: 600px; /* Sets an ideal hero height */
}

.hero-left {
  background: linear-gradient(to right, #EBDFD8 0%, #EBDFD8 95%, #EBDFD8 100%);
  padding: 1rem;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 245px;
  height: auto;
  margin-bottom: 1rem;
}

.hero-heading-italic {
  font-family: 'hv-florentino', serif;
  font-size: 2.7rem;
  margin: 0.5rem 0;
  margin-bottom: -5px;
}

.hero-heading {
  font-family: 'Baskerville Display PT', serif;
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.hero-description {
  max-width: 500px;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.25 !important
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, #EBDFD8 100%);
  margin-left: -1px; /* Adjusts the left margin */
}



.hero-image {
  width: 100%;
  height: 100%;
  max-height: 600px; /* Restricts overly tall images */
  object-fit: cover;
  display: block;
}

/* Desktop styles */
@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
  }

  .hero-left {
    width: 35%;
    align-items: flex-start;
    text-align: left;
    padding-left: 30px;
  }

  .hero-right {
    width: 65%;
  }

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

@media (min-width: 1024px) {
  .hero-left {
    padding-left: 80px;
  }
}
/* Desktop */
@media (min-width: 1024px) {
  .two-columns-icon {
    margin-left: 180px;
    margin-right: 180px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .two-columns-icon {
    margin-left: 90px;
    margin-right: 90px;
  }
}


/******** 1893 Page ********/

body.page-id-5479 .with-bg-color{
	position: relative;
  width: 100vw;
	margin-top: -35px;
	margin-bottom: 0px;
  margin-left: calc(-50vw + 50%);
	padding: 50px;
  background-color: #231F1F;
}

body.page-id-5479 #alternating_boxes .row {
    margin-bottom: 25px;
    padding: 25px;
    background-color: #231F1F;
		position: relative;
		width: 100vw;
		margin-left: calc(-50vw + 50%);
}

body.page-id-5479 .border-box-col-svg{
  border: 1px solid;
  border-color: #EBD6B2;
  padding: 30px 15px 30px 15px
}

@media (min-width: 1024px) {
    /* For devices above 767px */
    body.page-id-5479 figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
        margin-top: -140px;
    }
}


/* Full-width hero section with background image */
.custom-hero-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  flex-direction: column; /* Stack content vertically */
}

/* Hero container */
.custom-hero-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content at the top by default */
  text-align: left;
  position: relative;
}

/* Left content styling */
.custom-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  justify-content: flex-start; /* Default: content starts at the top */
  position: absolute; /* Position this content inside the hero image */
  z-index: 2;
  padding: 0 15px;
  top: 50%; /* Center vertically inside the image */
  left: 10%; /* Align slightly to the left */
  transform: translateY(-50%); /* Center the content vertically */
  background-color: transparent; /* Default: no background for desktop */
	order: 2;
}

/* Styling for the logo */
.custom-hero-logo {
  max-width: 200px;
  height: auto;
}

/* Headings styling */
.custom-hero-heading {
  font-family: 'aw-conqueror-didot';
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

/* Paragraph styling */
.custom-hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin-top: 1rem;
}

/* Mobile and Tablet responsiveness adjustments */
@media (max-width: 1024px) {

  /* Remove background image for tablet and mobile */
  .custom-hero-container {
    background-image: none; /* Remove background image in tablet/mobile */
    justify-content: flex-start; /* Align content at the top */
    height: auto;
    margin-top: 0;
  }

  /* Move content below the image in mobile/tablet view */
  .custom-hero-left {
    position: relative; /* Make it a regular flow in mobile/tablet */
    top: auto; /* Remove absolute positioning */
    left: auto; /* Center in mobile view */
    transform: none; /* Remove the centering transformation */
    padding: 2rem 1rem; /* Adjust padding */
    background-color: #231F1F; /* Set background color on mobile/tablet */
    color: white; /* Text will be white on the dark background */
		align-items: center; /* to be tested */
  }

  /* Font size adjustment */
  .custom-hero-heading {
    font-size: 1.8rem; /* Smaller font for mobile */
  }

  .custom-hero-description {
    font-size: 1rem; /* Adjust paragraph font size on mobile */
  }

  .custom-hero-right img {
    width: 100%;
    height: auto; /* Make sure the image is full-width on mobile/tablet */
  }
}

@media (max-width: 767px) {
  .custom-hero-heading {
    font-size: 1.8rem; /* Smaller font for mobile */
  }

  .custom-hero-description {
    font-size: 1rem;
  }
}

.custom-hero-image{
	height: 85vh;
	width: 100%;
	object-fit: cover;
}

/* CTA BANNER 1893 */
.full-width.bg-dark-green {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden; /* Prevents any child overflow issues */
  z-index: 0;
}

.full-width.bg-dark-green::after {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
  background-image: url('https://shifmanmattresses.com/wp-content/uploads/2025/08/1893_pattern_findaretailer.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.full-width.bg-dark-green::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(91, 91, 59, 0.7);
  z-index: 1; 
}

.full-width.bg-dark-green > * {
  position: relative;
  z-index: 2;
}

.full-width.bg-dark-green h4,
.full-width.bg-dark-green p{
  color: white;
}

 body.page-id-5479 #alternating_boxes .row:nth-of-type(1) .img_box {
  order: 2;
  padding-right: 15px;
  padding-left: 15px;
  align-items: center;
 }


#h-just-right-just-for-you,
#h-luxury-on-repeat,
#h-only-what-s-worthy,
#h-performance-you-can-feel,
#h-made-to-carry-you{
  font-family: "proxima-nova", sans-serif;
  color: white;
  font-size: 1.25rem;
  font-weight: bolder;
}

body.page-id-5479 p.has-text-align-center{
	color: white;
}

body.page-id-5479 h3.h1{
	font-family: aw-conqueror-didot;
}

#h-i893-is-a-tribute-to-our-beginnings{
	font-family: aw-conqueror-didot;
	color: white;
	margin-top: 25px;
}

#p-1893-tribute-paragraph{
	max-width: 500px;
	margin: auto;
	color: white;
}