/*
Theme Name: Express Bus Service Blocks Child
Template: blocksy
Theme URI: https://expressbusservice.com
Author: Samson
Author URI: https://expressbusservice.com
Description: Editable Blocksy child theme for Express Bus Service. Designed and developed by Samson.
Version: 1.0.0
Text Domain: express-bus-service-blocks-child
*/

:root{
  --ebs-green:#0e6b43;
  --ebs-green-dark:#0a5132;
  --ebs-red:#d9362b;
  --ebs-dark:#0f1722;
  --ebs-dark-2:#162131;
  --ebs-cream:#f5f2ec;
  --ebs-light:#f7f7f5;
  --ebs-text:#1b1b1b;
  --ebs-muted:#667085;
  --ebs-radius:18px;
  --ebs-shadow:0 18px 50px rgba(12,18,28,.12);
}

body{
  color:var(--ebs-text);
}

.ebs-home .entry-content > *,
.ebs-page .entry-content > *{
  margin-block-start:0;
  margin-block-end:0;
}

.ebs-hero-cover{
  position:relative;
}
.ebs-hero-cover .wp-block-cover__inner-container{
  width:min(1280px, calc(100% - 40px));
  margin-inline:auto;
}
.ebs-eyebrow{
  display:inline-block;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:700;
  color:#f4c8c4;
  margin-bottom:12px;
}
.ebs-kicker{
  display:inline-block;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--ebs-red);
  margin-bottom:10px;
}
.ebs-hero-heading{
  font-size:clamp(2.4rem, 4vw, 4.4rem);
  line-height:.95;
  font-weight:800;
  letter-spacing:-.02em;
  color:#fff;
}
.ebs-hero-copy{
  font-size:1.1rem;
  line-height:1.7;
  color:rgba(255,255,255,.84);
  max-width:760px;
}
.ebs-home .wp-block-button__link,
.ebs-page .wp-block-button__link{
  border-radius:8px;
  padding:.95rem 1.35rem;
  font-weight:700;
}
.ebs-button-red .wp-block-button__link{
  background:var(--ebs-red);
  color:#fff;
}
.ebs-button-dark .wp-block-button__link{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
}
.ebs-button-green .wp-block-button__link{
  background:var(--ebs-green);
  color:#fff;
}
.ebs-button-outline .wp-block-button__link{
  background:transparent;
  color:var(--ebs-text);
  border:1px solid rgba(27,27,27,.18);
}
.ebs-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:rgba(255,255,255,.78);
  font-size:.92rem;
}
.ebs-section{
  padding:92px 0;
}
.ebs-section-compact{
  padding:70px 0;
}
.ebs-bg-cream{
  background:var(--ebs-cream);
}
.ebs-bg-dark{
  background:var(--ebs-dark);
  color:#fff;
}
.ebs-bg-green{
  background:var(--ebs-green);
  color:#fff;
}
.ebs-heading{
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.02em;
  margin:0 0 18px;
}
.ebs-subheading{
  font-size:1.1rem;
  line-height:1.7;
  color:var(--ebs-muted);
}
.ebs-card{
  border-radius:var(--ebs-radius);
  box-shadow:var(--ebs-shadow);
  overflow:hidden;
  border:1px solid rgba(27,27,27,.06);
}
.ebs-card.is-dark{
  background:var(--ebs-dark-2);
  color:#fff;
  border-color:rgba(255,255,255,.08);
}
.ebs-card-title{
  font-size:2rem;
  line-height:1.05;
  margin:0 0 10px;
  font-weight:800;
}
.ebs-route-label{
  display:inline-block;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  background:var(--ebs-red);
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
}
.ebs-route-label.green{
  background:var(--ebs-green);
}
.ebs-feature-card{
  background:#fff;
  border:1px solid rgba(27,27,27,.07);
  border-radius:16px;
  box-shadow:var(--ebs-shadow);
  height:100%;
}
.ebs-mini-card{
  background:#fff;
  border:1px solid rgba(27,27,27,.08);
  border-radius:14px;
  padding:18px;
  height:100%;
}
.ebs-mini-card h4{
  margin:0 0 8px;
  font-size:1.05rem;
}
.ebs-faq details{
  background:#fff;
  border:1px solid rgba(27,27,27,.08);
  border-radius:14px;
  padding:18px 20px;
}
.ebs-faq details + details{
  margin-top:12px;
}
.ebs-faq summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
.ebs-faq summary::-webkit-details-marker{
  display:none;
}
.ebs-footer-note{
  font-size:.82rem;
  line-height:1.7;
  color:rgba(255,255,255,.76);
}
.ebs-table table{
  border-collapse:collapse;
  width:100%;
}
.ebs-table th{
  background:var(--ebs-green);
  color:#fff;
}
.ebs-table th,
.ebs-table td{
  border:1px solid rgba(27,27,27,.1);
  padding:12px 14px;
}
.ebs-page-banner{
  background:linear-gradient(120deg, rgba(15,23,34,.92), rgba(15,23,34,.7)), url('assets/images/skyline-routes.jpg') center/cover no-repeat;
  color:#fff;
  padding:110px 0 78px;
}
.ebs-page-banner .wp-block-group__inner-container{
  width:min(1180px, calc(100% - 40px));
  margin-inline:auto;
}
.ebs-route-list{
  margin:0;
  padding-left:20px;
}
.ebs-route-list li{
  margin-bottom:8px;
}
.ebs-cta-band{
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(135deg, var(--ebs-dark), #1b2a3d);
  color:#fff;
  padding:38px;
}
.ebs-quote{
  font-size:1.04rem;
  line-height:1.75;
}

@media (max-width: 781px){
  .ebs-section{padding:62px 0;}
  .ebs-section-compact{padding:48px 0;}
  .ebs-hero-cover .wp-block-cover__inner-container,
  .ebs-page-banner .wp-block-group__inner-container{
    width:min(100% - 28px, 100%);
  }
  .ebs-card-title{font-size:1.7rem;}
}
