/*
  Theme Name: Rae Auto Services
  Theme URI: https://raesautoservices.com
  Version: 1.0.0
  Template: Divi
  Author: Adworks
  Author URI: https://adworks.scot/
  Text Domain: rae-auto-services
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
.acf-opening-hours{
  display: grid;
  row-gap: 8px;
  width: 100%;
  max-width: 520px; /* optional */
}

.acf-opening-hours .oh-row{
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 28px;
  align-items: baseline;
}

.acf-opening-hours .oh-day,
.acf-opening-hours .oh-time{
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.acf-opening-hours .oh-time{
  text-align: right;
  white-space: nowrap;
}
.aw-featured-vehicle--bleed{
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;

  background: #f4f4f4;
  display: grid;
  grid-template-columns: 1fr 1fr; /* text area / image area */
  align-items: stretch;
}

/* LEFT column: pad from viewport edge to match centered 1080px container */
.aw-featured-vehicle__inner{
  display: flex;
  align-items: center; /* vertical center */
  padding-left: max(24px, calc((100vw - 1080px) / 2)); /* <-- key line */
  padding-right: 24px;
}

/* keep text within half the container */
.aw-featured-vehicle__text{
  width: 100%;
  max-width: 520px;
  padding: 60px 0;
}
.aw-featured-vehicle__text{
  padding:60px;
}

.aw-featured-vehicle__label{
  font-size:22px;
  letter-spacing:2px;
  font-weight:800;
  margin:0 0 28px;
  position:relative;
}

.aw-featured-vehicle__label:after{
  content:'';
  display:block;
  width:70px;
  height:3px;
  background:#c40000;
  margin-top:10px;
}

.aw-featured-vehicle__title{
  margin:0 0 12px;
  font-size:22px;
  font-weight:800;
  line-height:1.15;
}

.aw-featured-vehicle__title a{
  color:#000;
  text-decoration:none;
}

.aw-featured-vehicle__meta{
  margin:0 0 10px;
  font-size:16px;
  font-weight:600;
  color:#000;
}

.aw-featured-vehicle__price{
  margin:0 0 26px;
  font-size:20px;
  font-weight:800;
  color:#000;
}

.aw-featured-vehicle__button{
  display:inline-block;
  padding:14px 28px;
  border:2px solid #c40000;
  color:#000;
  text-decoration:none;
  font-weight:700;
  transition:all .25s ease;
}

.aw-featured-vehicle__button:hover{
  background:#c40000;
  color:#fff;
}

/* RIGHT column image bleeds */
.aw-featured-vehicle__image{
  display: block;
  min-height: 420px;
}

.aw-featured-vehicle__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile stack */
@media (max-width: 767px){
  .aw-featured-vehicle--bleed{
    grid-template-columns: 1fr;
  }

  .aw-featured-vehicle__inner{
    padding-left: 22px;
    padding-right: 22px;
  }

  .aw-featured-vehicle__text{
    max-width: none;
    padding: 28px 0;
  }

  .aw-featured-vehicle__image{
    min-height: 260px;
  }
}