body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body .top-bar,
html .top-bar {
  background: #000 !important;
  color: #fff !important;
  line-height: 1.4em;
}

body p {
  line-height: 1.4em;
}

body h2 {
  font-size: 40px !important;
}

body h3 {
  font-size: 22px !important;
  margin-bottom: 10px !important;
}


@layer reset,astra-base, child-theme, child-final;

/* 1. Reset (lowest priority) */
@layer reset {
  * { margin: 0; padding: 0; box-sizing: border-box; }
}

/* 2. Base + Astra parent */
@layer base {
  :root {
    --header-height: 80px;
    --nav-gap: clamp(1rem, 4vw, 2rem);
  }
}

@layer astra {
  /* Let Astra's existing styles load here */
}

@layer child-final {
  :root {
    --ast-heading-color: #000000 !important; /* Your color */
  }
  
  /* Also direct override for entry-content */
  .entry-content :where(h1, h2, h3, h4, h5, h6) {
    color: var(--ast-heading-color);
  }
}


.tonyHtheme h1 {
  color: white;
}

#home_top p,
#home_top p strong {
  color: white;
  line-height: 1.4em;
  font-size: 20px;
}

#home_top h1 {
  color: white;
  font-size: 50px;
  line-height: 1.1em;
}

.ast-single-post.ast-page-builder-template .site-main > article,
.ast-page-builder-template .post-navigation {
  padding-top: 0;
}



.stats_area_single {
  display: flex;
  flex-direction: column;
  color: white;
  align-items: flex-start;
  background-image: url('../images/icon_check.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 24px 24px;
  padding-left: 30px;
  min-height: 24px;
}

.stats_area_single .row1 {
  display: flex;
  padding-right: 7.305px;
  align-items: center;
  align-self: stretch;
  color: white;
  font-weight: bold;
  font-size: 20px;

}

.stats_area_single .row2 {
  display: flex;
  align-items: center;
  align-self: stretch;
  font-size: 13px;
}

.curved img {
  border-radius: 12px;
}

#home_intro {
  background-color: red;
}

#home_intro #col2 {
  border-radius: 16px;
  border-left: 8px solid #E7000B;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

#home_intro #col2 ul {
  list-style: none;
  padding: 0;
}

#home_intro #col2 ul li {
  position: relative;
  padding-left: 56px;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 40px;
  font-size: 18px;
}


#home_intro #col2 ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #E7000B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home_intro #col2 ul li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url('../images/icon_check_white.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

/* Tatsu buttons - red scheme */
.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration: none;
}

.tatsu-module-button .ts-button-wrapper,
.tatsu-module-button .ts-button {
  background-color: #E7000B !important;
  border-color: #E7000B !important;
  color: white !important;
  transition: all 0.2s ease !important;
  text-decoration: none;
}

.tatsu-module-button .ts-button:hover {
  background-color: #c60009 !important;
  border-color: #c60009 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(231, 0, 11, 0.3) !important;
}

.tatsu-module-button .ts-button:hover,
.tatsu-module-button .ts-button:hover * {
  color: white !important;
}


/* Services */
.icon_services {
  margin-bottom: 10px;
}

.icon_services img {
  width: 70px;
  height: 70px;
  background-color: red;
  border-radius: 50% !important;
  overflow: hidden !important;
  padding: 10px;
}


/* Header styles */
.main-header-bar {
  background: var(--header-bg, #fff);
  height: var(--header-height);
  padding-inline: var(--nav-gap);
}

.main-header-nav {
  display: flex;
  gap: var(--nav-gap);
}

.main-header-menu li a {
  transition: all 0.3s ease;
}

.main-header-menu li a:hover {
  color: #dc2626 !important;
}

.top-bar {
  background: #000;
  color: #fff;
  padding: clamp(0.5rem, 1vh, 0.8rem);
  position: relative;
  z-index: 1000;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  align-items: center;
}

.top-phone {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 20px 0px;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.15px;
}

.top-phone:hover {
  color: #dc2626;
}

.site-title a {
  color: #E91313 !important;
  font-family: Inter;
  font-size: 30.876px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.top-button {
  background: #dc2626;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.top-button:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  color: white;
}


  /*Astra specific*/
  .ast-single-post.ast-page-builder-template .site-main > article,
.ast-page-builder-template .post-navigation {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link{
font-weight: bold;
  color: #b91c1c;
}

 .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link{
  color: #1b2028;
}

#footer_get_intouch{
  color: #ffffff;

}
#footer_get_intouch p{
  color: #ffffff;

}

#footer_get_intouch div.wpforms-container-full .wpforms-field-label, 
#footer_get_intouch .wp-core-ui div.wpforms-container-full .wpforms-field-label{
  color: white;
}

#footer_get_intouch input{

  border-radius: 10px;
  border: 1px solid #4f4f4f;
  width: 100% !important;
}




/* WPForms 100% width - Tatsu/Astra perfect */
.wpforms-container-full .wpforms-form input,
.wpforms-container-full .wpforms-form select,
.wpforms-container-full .wpforms-form textarea,
.wpforms-container-full .wpforms-field-row {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}
.wpforms-container-full .wpforms-form input[type="checkbox"],#footer_get_intouch input[type="checkbox"]{ 
    /* Stays normal size - NOT affected */
    max-width: none !important;
    width: auto !important;
}
.wpforms-field-checkbox label.wpforms-field-label-inline, label.wpforms-field-label-inline{
  color: white;
}
.privacy_consent .wpforms-field-label{
  display: none;
}
.privacy_consent .wpforms-field-label-inline{
  font-size: smaller !important;
}

/* Mobile spacing */
@media (max-width: 767px) {
    .wpforms-field {
        margin-bottom: 20px;
        padding: 15px;
    }
}

#astra-footer-menu .menu-item > a, .ast-footer-copyright p{
  color: white !important;
   
}
.ast-footer-copyright.site-footer-focus-item{
  color: white !important;
}

#block_contact_phone .tatsu-text-inner{
  content: '';
  background-image: url('../images/icon_phone.svg'); /* Your icon */
  background-size: 24px;
  background-repeat: no-repeat;
}
#block_contact_phone a, #block_contact_email a{
  color: white;
  text-decoration: none;
}

#block_contact_email .tatsu-text-inner{
  content: '';
  background-image: url('../images/icon_envolepe.svg'); /* Your icon */
  background-size: 24px;
  background-repeat: no-repeat;
}
#block_contact_address .tatsu-text-inner{
  content: '';
  background-image: url('../images/icon_location.svg'); /* Your icon */
  background-size: 24px;
  background-repeat: no-repeat;
}
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message){
      background: #0c1418;
    border: 1px solid #0c1418;
    box-sizing: border-box;
}
 #tony-pricing p a{
  color: white;
  text-decoration: underline;

 }

 /* Tony Hart Pricing Module - Perfect Layout */
 .recent-pricing-col.right 
 {
  float: none;
 }
.recent-pricing-col.right .qt {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 80px 20px 20px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  
}

.recent-pricing-col.right .qt.highlighted {
 
  border: 1px solid rgba(8, 200, 81, 1);
  background: rgba(8, 200, 81, 0.05) !important;
  box-shadow: 0 8px 25px rgba(8, 200, 81, 0.2);  /*  bottom glow */
  
}



/* Image left aligned */
.pricing_pic {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #343b47 !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(52, 59, 71,0.3);
}

.recent-pricing-col.right .qt.highlighted .pricing_pic{
  background: #00C9504D !important;
  
}

.pricing_pic img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

/* Text container on right */
.media-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Title first */
.media-text .line1 {
  font-size: 20px !important;
  font-weight: normal;
  margin: 0 0 8px 0;
  color: white;
  font-size: 15px;
}

/* Description second */
.media-text p:not(.line1):not(.price) {
  font-size: 14px;
  font-weight: normal;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

/* Price FAR RIGHT - RED */
.media-text .price {
  position: absolute;
  top: 20px; right: 20px;
  font-size:  20px !important;
  font-weight: bold;
  color: #dc3545 !important;
  margin: 0;
  text-align: right;
  order: 3;
  
}

/* Mobile stack */
@media (max-width: 767px) {
  .recent-pricing-col.right .qt {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .media-text .price {
    text-align: center;
    order: 3;
  }
}

#ast-scroll-top{
  background-color: #E7000B;

}
#our_cars_when .tatsu-text-inner{
  background-image: url('../images/icon_book_red.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  padding-left: 60px;
  background-position: 24px 24px;
  min-height: 24px;


}
#our_cars_theory .tatsu-text-inner{
    background-image: url('../images/icon_pad_red.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
    padding-left: 60px;
  background-position: 24px 24px;
  min-height: 24px;
}

a.icon_link{
 background-image: url('../images/icon_link.svg');
  background-repeat: no-repeat;
  background-size: 20px 20px;
    padding-left: 25px;
  background-position: left center;
  min-height: 24px;
}

p.icon_call{
   background-image: url('../images/icon_call.svg');
  background-repeat: no-repeat;
  background-size: 20px 20px;
    padding-left: 25px;
  background-position: left top;
  min-height: 24px;
}

