@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;300;400;500&display=swap');

/* Circle floating image on top-right of right column */
.logo-img{
  height:70px;
}

/* Image under text (left column) */
.top-line-left {
   top: -40px; /* move image upwards */
  right: 0;
  width: 120px;
  height: auto;
  z-index: 2;
}
.col-lg-7 {
  position: relative;
}
.main {
  position: relative; /* Make sure this is set */
  overflow: visible;  /* Ensure images aren't cut off */
}
/* Chart image (main) */
.chart-img {
  top: -30px;
  right: -10px;
 
  height: auto;
  z-index: 3; /* above other elements */
}
.paycheck-graphic {
  position: relative;
  overflow: hidden;   
}
/*.circle-graphic {
  position: absolute;
  top: 0;                
  right: 50px;           

  z-index: 2;
}*/
.paycheck-trends {
  position: relative;
}
.circle-graphic {
  position: absolute;
  right: 0;  /* aligns with container right edge */
  top: 0;
}

.bottom-line-img {
  position: absolute;
  right: -44px;
  top: 366px;
  transform: rotate(180deg) scaleX(1);
  clip-path: inset(0 0 0 30%);
}
@media (max-width: 768px) {
  .bottom-line-img {
    display: none !important;
  }
}
/*.bottom-line-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
  height: auto;
  z-index: 1;
  transform: rotate(180deg) scaleX(1);
  clip-path: inset(0 0 0 30%);
}*/

.paycheck-heading{
  text-transform: none!important;
  font-size: 48px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600!important;
}
.paycheck-subtitle{
   text-transform: none!important;
  font-size: 20px;
  font-family: 'Work Sans', sans-serif;
}
/* filters */
.datalab-landing-content {
  background-color: #F8F8FB;
  padding: 60px 0;
}

.filter-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 4px 6px 7px rgba(0, 0, 0, 0.12);
}

.filter-title {
  font-weight: 600;
  font-size: 16px;
  color: #86878A;
   text-transform: none!important;

  font-family: 'Work Sans', sans-serif;
}

.clear-filter {
  font-size: 14px;
  color: #1EA97C;
  cursor: pointer;
}

.filter-buttons .filter-btn {
 font-family: 'Work Sans', sans-serif;
  border: 1px solid #86878A!important;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #86878A;
  cursor: pointer;
  font-weight: 400;
}

.filter-buttons{
  border-top:solid 1px #86878A;
  padding-top:25px;
}
.filter-btn.active {
  background-color: #1EA97C!important;
  color: #fff;
  border-color: #1EA97C!important;;
}
.filter-btn:hover {
  background-color: #1EA97C!important;
  color: #fff;
}
.report-card {
  background-color: #fff;
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
 padding: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);  /* soft shadow */
}
.report-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);  /* deeper on hover */
}

.report-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.read-more {
  font-weight: 600;
  color: #04A469;
  font-family: 'Work Sans', sans-serif;
  margin-top:10px;
  text-decoration: underline;
}
.read-more:hover{
  color: #04A469;
}
.section-heading {
  font-size: 30px;
  font-weight: 700;
  color: #333;
 /* margin-bottom: 10px;*/
  text-align: center;
   text-transform: none!important;
  font-family: 'Work Sans', sans-serif;
}
.separator-line {
  width: 100%;         /* take full width of parent on small screens */
  max-width: 360px;    /* don’t grow beyond 360px */
  height: auto;
  display: block;
  margin: 0 auto;
}
.card-title{
   text-transform: none!important;
  font-family: 'Work Sans', sans-serif;
   font-size: 24px;
  font-weight: 600;
}
.card-desc{
   font-family: 'Work Sans', sans-serif;
   font-size: 16px;
  font-weight: 400;
}

.report-card {
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .col-md-6.card-right-adjusted {
    width: calc(50% - 12px);  /* slightly less than 50% */
    margin-left: 12px;        /* creates the gap */
  }
}
.card-row-custom {
   display: flex;
  flex-wrap: wrap;
  gap: 24px;              /* wider gap between cards */
  padding-right: 40px;    /* space at far right */
}

.report-card-wrapper {
  flex: 1 1 calc(50% - 12px);
  min-width: 300px;
  max-width: 100%;
  margin-bottom: 24px;
}
.report-card {
  width: 100%;
  height: auto;
}
.bottom-line-img_bt {
  position: absolute;
  top: -26px;   /* Move it above the section by 60px */
  left: 0;
  height: auto;
  z-index: 1;
  transform: rotate(180deg);
}
.centered-image-section {
  /*background-color: #000;  */          
  position: relative;
  margin: 0 auto;                    /* Center the section horizontally */
  padding: 20px 0px;                /* Vertical and side padding */
  text-align: center;                /* Center image inside */
}

.centered-img {
  display: inline-block;
  max-width: 100%;                   /* Responsive image */
  height: auto;
}
.report-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* On hover: scale up slightly */
.report-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.mid-data-container{
 background: url("../images/data-lab/Rectangle31.png") no-repeat center center;
  background-size: cover;
}
.mid-data {
  position: relative;
  display: flex;
  align-items: center;

  padding: 20px 20px 20px 40px; /* left padding to separate text from line */
  font-family: 'Work Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

/* White vertical line */
.mid-data::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;              /* space from top */
  bottom: 20px;           /* space from bottom */
  width: 2px;             /* thickness */
  background-color: #fff; /* line color */
  border-radius: 2px;     /* optional: softer edges */
}
.mrn-btm{
  margin-bottom:3.5rem;
}
.mid-data img {

  display: block;
  margin-right: 15px;   /*  space between line image and text */
}
.sponsor-sidebar {
  border: 2px solid #04A469;
  border-radius: 8px!important;       /* little rounded corners */
  overflow: hidden;         /* ensures header radius matches */
  background: #fff;
}

.sponsor-header {
  background: #04A469;
  padding: 16px;

}

.sponsor-header h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  text-transform: none;
}

.sponsor-body {
  padding: 16px;
  font-size: 15px;
  color: #333;
  font-family: 'Work Sans', sans-serif;
}

.sponsor-body p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.5;
    font-family: 'Work Sans', sans-serif;
    color:#434445;
}

.sponsor-body .form-label {
  font-size: 14px;
  color: #444;
}

.sponsor-body .form-control {
  border-radius: 4px!important;
   padding: 10px 8px!important;
  font-size: 14px!important;
}

.btn-sponsor {
  display: inline-block!important;
  margin-top: 8px!important;
  padding: 10px 20px!important;
  background: #fff!important;
  color: #04A469!important;
  border: 2px solid #04A469!important;
  border-radius: 30px!important;    /* pill shape */
  font-weight: 600!important;
  text-align: center!important;
  transition: all 0.2s ease-in-out!important;
}

.btn-sponsor:hover {
  background: #04A469;
  color: #fff;
}
.wpcf7 form input.btn-sponsor,
.sponsor-body form input.btn-sponsor {
  display: inline-block!important;
  margin-top: 8px!important;
  padding: 10px 10px!important;
  background: #fff!important;
  color: #04A469!important;
  border: 2px solid #04A469!important;
  border-radius: 30px!important;    /* pill shape */
  font-weight: 600!important;
  text-align: center!important;
  transition: all 0.2s ease-in-out!important;
  height:auto!important;
  width:60%!important;
}
.wpcf7 form input.btn-sponsor:hover,
.sponsor-body form input.btn-sponsor:hover {
    background: #04A469;
  color: #fff;
}
@media (max-width: 1140px) {
 

  .sponsor-sidebar .sponsor-header h3 {
    font-size: 25px;
  }

  .sponsor-sidebar .sponsor-body p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .sponsor-sidebar .form-label {
    font-size: 12px;
  }

  .sponsor-sidebar .form-control {
    font-size: 13px;
    padding: 13px 8px!important;
    height: 34px; /* tighter input */
  }

  .sponsor-sidebar .mb-3 {
    margin-bottom: 10px !important;
  }

  .sponsor-sidebar .btn-sponsor {
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 6px;
  }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .datalab-landing-content .col-lg-3 {
    flex: 0 0 33.3333%; /* 4/12 */
    max-width: 33.3333%;
  }
  .datalab-landing-content .col-lg-9 {
    flex: 0 0 66.6666%;
    max-width: 66.6666%;
  }
}
.row.g-6 {
  --bs-gutter-x: 4rem; /* 64px between cols */
}
.sponsor-body form {
  padding:0rem!important;
  box-shadow: none!important;
  background-color: none!important;
  
}
.sponsor-body .wpcf7 form:not(:has(.free-articles-prompt-intro)) {
  background: transparent !important;
}
.form-control {
    display: block;
    width: 100%;
    font-weight: 400;
    line-height: 1.25;
    color: #434445;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #BDBFC1!important;
    appearance: none;
}
@media (max-width: 990px) {
  .chart-img {
    display: none;
  }
  .mrn-btm{
    margin-bottom:2.5rem;
  }
  .wpcf7 form input.btn-sponsor, .sponsor-body form input.btn-sponsor{
    width:100%!important;
    font-size: 0.8rem!important;
  }
}
@media (max-width: 1200px) {
   .wpcf7 form input.btn-sponsor, .sponsor-body form input.btn-sponsor{
    width:100%!important;
    font-size: 0.8rem!important;
  }
}