/*
 * case-study-archive.css — Scoped to .case-study-cpt-wrapper
 */
*{
  font-family: 'Source Sans Pro';
  letter-spacing:0 !important;
}

a{
text-decoration:none !important;
}

.top-header-left .link p{
margin-top:8px;
 
}
.top-header-left .link.m-hov-1{
margin-top:7px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0 !important;
  text-transform: none !important;
  letter-spacing:0px !important;
}

.case-study-cpt-wrapper a {
  text-decoration: none !important;
}

.case-study-cpt-wrapper *,
.case-study-cpt-wrapper *::before,
.case-study-cpt-wrapper *::after {
  box-sizing: border-box;
}

/* ── Typography Standards ────────────────────────────────────────── */
.case-study-cpt-wrapper h1,
.case-study-cpt-wrapper h2,
.case-study-cpt-wrapper h3,
.case-study-cpt-wrapper h4,
.case-study-cpt-wrapper h5,
.case-study-cpt-wrapper h6 {
  font-family: "Source Sans Pro", sans-serif;
}

/* ── Hero Section ────────────────────────────────────────────────── */
.case-study-cpt-wrapper .case-study-hero-section {
  padding: 140px 0 0px 0;
  height: 450px;
  background-image: url("https://360smsapp.com/wp-content/uploads/2026/03/Header-1.png");
  background-size: cover;
  background-position: center;
  /*border-radius: 0 0 50% 50% / 0 0 70px 70px;*/
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.case-study-cpt-wrapper .hero-title {
  font-family: "Montserr", sans-serif !important;
  color: #fff;
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 800;
  
}

.case-study-cpt-wrapper .search-form-container {
  max-width: 750px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-study-cpt-wrapper .search-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.case-study-cpt-wrapper .case-study-search-input {
  border: none !important;
  box-shadow: none !important;
  font-size: 1.7rem;
  padding: 8px 5px !important;
  color: #1e3a5f;
  background: #fff;
}

.case-study-cpt-wrapper .btn-search {
  background-color: #0c436d;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1.7rem;
}

/* Popular Tags Styling — Updated to match glassmorphism image */
.case-study-cpt-wrapper .popular-tags-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.case-study-cpt-wrapper .tags-label {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}

.case-study-cpt-wrapper .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-study-cpt-wrapper .tag-item {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.case-study-cpt-wrapper .tag-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ── Case Study Main Content (Sidebar + Grid) ───────────────────────── */
.case-study-cpt-wrapper .case-study-main-content {
  background-color: #f8fafc;
  font-family: "Outfit", sans-serif;
  padding-bottom: 120px;
}

/* Sidebar Styles */
.case-study-cpt-wrapper .case-study-sidebar {
  position: sticky;
  top: 100px;
}

.case-study-cpt-wrapper .filter-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a3353;
  margin-bottom: 30px;
}

.case-study-cpt-wrapper .industry-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-study-cpt-wrapper .industry-item {
  font-size: 1.5rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none !important;
  padding: 15px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-study-cpt-wrapper .industry-item:hover {
  color: #0c436d;
}

.case-study-cpt-wrapper .industry-item span {
  opacity: 0.5;
  font-size: 1.8rem;
}

.case-study-cpt-wrapper .industry-item.active {
  background-color: #1a3353;
  color: #ffffff !important;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 700;
  border-bottom: none;
  margin: 5px 0;
}

.case-study-cpt-wrapper .industry-item.active span {
  opacity: 1;
}

/* Need Help Box */
.case-study-cpt-wrapper .need-help-box {
  background-color: #f0f7ff;
  border: 1px solid #e2e8f0 !important;
  margin-top: 20px;
}

.case-study-cpt-wrapper .filter-subtitle {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a3353;
  /* letter-spacing: 0.8px; */
}

.case-study-cpt-wrapper .btn-contact-us {
  color: #0c436d;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none !important;
  padding-top: 15px;
}

.case-study-cpt-wrapper .btn-contact-us:hover {
  color: #ff7a59;
}

/* Grid & New Card Styles */
.case-study-cpt-wrapper .case-study-new-card {
  background: #ffffff;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #f1f5f9 !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

.case-study-cpt-wrapper .case-study-new-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.case-study-cpt-wrapper .category-badge {
  top: 25px;
  left: 25px;
  background-color: #1a3353;
  color: #ffffff;
  padding: 3px 18px;
  font-size: 1.1rem;
  /*font-weight: 800;*/
  border-radius: 6px;
  /* letter-spacing: 0.8px; */
  z-index: 10;
  text-tranform:none !important;
}

.case-study-cpt-wrapper .case-study-new-card .card-title {
  color: #1a3353;
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform:none !important;
}

.case-study-cpt-wrapper .case-study-new-card .card-text {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.case-study-cpt-wrapper .read-full-link {
  color: #ff7a59 !important;
  font-size: 1.4rem;
  font-weight: 700;
  /* letter-spacing: 0.5px; */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  
  border-top: 1px solid #f1f5f9;
  width: 100%;
}

.case-study-cpt-wrapper .read-full-link:hover {
  color: #e56a4b !important;
  gap: 12px;
}

.case-study-cpt-wrapper .load-more-btn {
  border: 2.5px solid #1a3353 !important;
  color: #1a3353 !important;
  background: transparent !important;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.case-study-cpt-wrapper .load-more-btn:hover {
  background-color: #1a3353 !important;
  color: #ffffff !important;
  transform: scale(1.02);
}

/* ── Contact Section UI (Preserved) ─────────────────────────────────── */
.case-study-cpt-wrapper .contact-form-section {
  padding: 0px 0;
  background-color: #fff;
}

.case-study-cpt-wrapper .contact-form-section h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.case-study-cpt-wrapper .contact-form-section .shadow-sm {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

/* ── Single Case Study Page Styles ── */
.case-study-cpt-wrapper.case-study-single-page .single-hero-section {
  background:
    linear-gradient(
      90deg,
      rgba(3, 116, 192, 1) 0%,
      rgba(34, 82, 142, 1) 50%,
      rgba(120, 174, 229, 0) 100%,
      transparent 100%
    ),
    url("https://360smsapp.com/wp-content/uploads/2026/03/hero-bg-1.png") center
      center/cover no-repeat;
  background-position: center;
  padding: 140px 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 550px;
}

.case-study-cpt-wrapper.case-study-single-page .hero-category-pill {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  /* letter-spacing: 1px; */
  font-size: 1.1rem;
  padding: 8px 24px !important;
  border-radius: 50px !important;
  text-transform: none;
  font-weight: 700;
  margin-bottom: 2.5rem !important;
}

.case-study-cpt-wrapper.case-study-single-page .hero-content h1 {
  /* letter-spacing: -0.5px; */
  line-height: 1.15;
  font-size: clamp(3rem, 4vw, 5.2rem);
  font-weight: 800;
  margin-bottom: 2rem !important;
  margin-top: 2.5rem !important;
  text-transform: none;
}

.case-study-cpt-wrapper.case-study-single-page .hero-excerpt p {
  font-size: 1.8rem !important;
  line-height: 1.5 !important;
  opacity: 0.9;
  max-width: 90%;
}

.case-study-cpt-wrapper.case-study-single-page .hero-logo-box {
  padding: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 227px;
  height: 220px;
  margin-left: auto;
}

@media (max-width: 991px) {
  .case-study-cpt-wrapper.case-study-single-page .hero-excerpt p {
    margin-left: auto;
    margin-right: auto;
  }

  .case-study-cpt-wrapper.case-study-single-page .single-hero-section {
    padding: 80px 0;
    min-height: auto;
  }

  .case-study-cpt-wrapper.case-study-single-page .hero-logo-box {
    width: auto;
    height: auto;
    max-width: 180px;
    padding: 24px;
    margin-left: auto;
    margin-right: auto;
  }
}

.case-study-cpt-wrapper.case-study-single-page .single-main-content {
  background-color: #f8fafc;
  padding: 50px 0 100px 0 !important;
  z-index: 0;
}

/* Sections Styling */
.case-study-cpt-wrapper .section-title {
  color: #1a3353;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.case-study-cpt-wrapper .section-desc {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #4b5563;
}

.case-study-cpt-wrapper .mini-stat {
  padding: 15px 0;
  border-top: 1px solid #f1f5f9;
}

.case-study-cpt-wrapper .outcome-card h3 {
  font-size: 3rem;
  font-weight: 900;
}

.case-study-cpt-wrapper .case-study-cta-banner h2 {
  font-size: 3.5rem;
}

.case-study-cpt-wrapper .case-study-cta-banner .btn-light:hover {
  transform: scale(1.05);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.case-study-cpt-wrapper.case-study-single-page .entry-content p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 25px;
}

.case-study-cpt-wrapper.case-study-single-page .entry-content h2,
.case-study-cpt-wrapper.case-study-single-page .entry-content h3 {
  color: #1a3353;
  font-weight: 800;
  margin: 40px 0 25px 0;
}

/* Fix for sticky sidebar: sticky only works if all ancestors have overflow: visible */
/* Specifically targeting common theme wrappers that block position: sticky */
.single-case_study .layout-fullwidth,
.single-case_study #page,
.single-case_study .site-content,
.single-case_study .container-fullwidth,
.single-case_study #main {
  overflow: visible !important;
}

.single-sidebar .sidebar-form-wrapper form .row {
 
}

.case-study-cpt-wrapper.case-study-single-page .single-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  z-index: 1020;
  height: auto;
  align-self: flex-start; /* Important: prevents the element itself from stretching to container height */
}

.case-study-cpt-wrapper.case-study-single-page .sidebar-form-card {
  background-color: #fff;
  border: none !important;
}

.case-study-cpt-wrapper.case-study-single-page .sidebar-form-card h3 {
  color: #b55a3c;
  font-size: 2.6rem;
  line-height: 1.2;
}

.case-study-cpt-wrapper.case-study-single-page .sidebar-form-card p {
  font-size: 1.4rem;
  color: #94a3b8;
}

.case-study-cpt-wrapper.case-study-single-page
  .sidebar-form-card
  input[type="submit"] {
  background-color: #00bcd4 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px !important;
  font-weight: 800;
  width: 100% !important;
  text-transform: none;
}

/* ── Mobile Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .case-study-cpt-wrapper .case-study-sidebar {
    margin-bottom: 50px;
  }
  .case-study-cpt-wrapper .contact-form-section .form-content-wrapper {
    padding-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .case-study-cpt-wrapper .contact-form-section .hidden-mob-img {
    display: none !important;
  }
}

/* ── Newsletter Subscription Section ─────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

.case-study-cpt-wrapper .newsletter-subscription-section {
  background: linear-gradient(90deg, #113d77 0%, #001c3d 100%);
  margin-top: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.case-study-cpt-wrapper .newsletter-subscription-section * {
  font-family: "Montserrat", sans-serif !important;
}

.case-study-cpt-wrapper .newsletter-form-wrapper {
  max-width: 580px;
  margin-left: auto;
}

.case-study-cpt-wrapper .newsletter-input-container {
  background: #ffffff;
  border-radius: 50px;
  padding: 6px 6px 6px 30px;
  display: flex;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.case-study-cpt-wrapper .newsletter-input-container input::placeholder {
  color: #888888;
  font-size: 1.1rem;
}

.case-study-cpt-wrapper .newsletter-input-container input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 1.1rem;
  padding: 12px 0;
  width: 100%;
  color: #333;
}

.case-study-cpt-wrapper .newsletter-input-container input:focus {
  box-shadow: none !important;
}

.case-study-cpt-wrapper .newsletter-submit-btn {
  background-color: #0c436d !important;
  color: white !important;
  border: none !important;
  padding: 14px 45px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  /* letter-spacing: 0.5px !important; */
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-cpt-wrapper .newsletter-submit-btn:hover {
  background-color: #0d66a4 !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(15, 117, 188, 0.4);
}

@media (max-width: 991px) {
  .case-study-cpt-wrapper .newsletter-form-wrapper {
    margin-left: 0;
    margin-top: 30px;
  }
  .case-study-cpt-wrapper .newsletter-subscription-section {
    text-align: center;
  }
  .case-study-cpt-wrapper .newsletter-input-container {
    padding: 4px 4px 4px 20px;
  }
  .case-study-cpt-wrapper .newsletter-submit-btn {
    padding: 12px 30px !important;
    min-width: 120px;
    font-size: 0.9rem !important;
  }
}

/* ── Meta Stats Bar & Segmented Blocks Responsiveness ── */
.case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item h6,
.case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item p {
    word-wrap: break-word;
}

@media (max-width: 767px) {
    .case-study-cpt-wrapper .meta-stats-bar-segmented,
    .case-study-cpt-wrapper .about-block-segmented,
    .case-study-cpt-wrapper .outcomes-block-segmented {
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 30px 15px !important;
    }

    .case-study-cpt-wrapper .meta-stats-bar-segmented {
        /* If still using flex instead of grid */
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item {
        flex: 0 0 50% !important;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .case-study-cpt-wrapper .meta-stats-bar-segmented .stat-divider {
        display: none !important;
    }

    .case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item h6 {
        font-size: 1.6rem !important;
    }

    .case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item p {
        font-size: 1.3rem !important;
    }

    /* About block adjustment */
    .case-study-cpt-wrapper .about-block-segmented h2 {
        font-size: 1.8rem !important;
    }
    .case-study-cpt-wrapper .about-block-segmented p {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item {
        flex: 0 0 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .case-study-cpt-wrapper .meta-stats-bar-segmented .stat-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}