/* Custom CSS */

/* Critical CSS for above-the-fold content */
.ctedu-blog .blog-hero {
  /* Prioritize hero section rendering */
  contain: layout style paint;
  /* Ensure smooth rendering */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Critical image optimizations */
.critical-image {
  /* Optimize for LCP */
  content-visibility: auto;
  /* Prevent layout shift */
  image-rendering: -webkit-optimize-contrast;
  /* Force hardware acceleration */
  transform: translateZ(0);
}

/* Hide scroll to top button */
.jupiterx-scroll-top {
    display: none;
}

/* Knowledgebase Navigation */

.knowledgebase-nav {
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
}

.knowledgebase-nav .current-category > .category-title,
.knowledgebase-nav .current-post > a {
  background-color: var(--e-global-color-secondary);
  font-weight: bold;
  color: var(--e-global-color-text);
  border-radius: 30px;
}

.knowledgebase-link {
  display: block;
  padding: 5px 20px;
  color: var(--e-global-color-text);
  margin: 5px 0;
}

.knowledgebase-posts a {
  color: var(--e-global-color-text) !important;
}

.knowledgebase-link:hover {
  background-color: var(--e-global-color-secondary);
  color: var(--e-global-color-text);
  border-radius: 30px;
}

.category-title {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
}

.kb-term.parent {
  padding-bottom: 10px;
}

.category-title::before {
  content: "\f054"; /* This is the Font Awesome chevron-right icon */
  font-family: "Font Awesome 5 Free";
  padding-right: 8px; /* Space between the chevron and the text */
  font-weight: 900;
  color: #000;
}

.category-title.expanded-category::before {
  content: "\f078"; /* This is the Font Awesome chevron-down icon */
}

.knowledgebase-nav ul.knowledgebase-posts {
  display: none; /* Hide all by default */
}

.knowledgebase-nav,
.knowledgebase-nav ul,
.knowledgebase-nav li {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}

/* Add indentation for child ul elements */
.knowledgebase-nav li ul {
  padding-left: 20px;
}

/* Apply further indentation for nested child lists if necessary */
.knowledgebase-nav li ul ul {
  padding-left: 40px;
}

/* CTEDU Accordion  */

.ctedu-custom-accordion--container {
  display: flex;
  justify-content: space-between;
}

.ctedu-accordion-icon {
  padding-top: 15px;
  font-size: 30px;
  position: absolute;
  right: 40px;
  top: 20px;
}

.ctedu-custom-accordion-title--container {
    margin-right: 70px;
}

.ctedu-custom-accordion-subtitle {
  display: block;
}

.ctedu-custom-accordion-content {
  display: none;
}

.accordion-open .ctedu-custom-accordion-content {
  display: block;
}

.accordion-open .ctedu-accordion-icon {
  transform: rotate(180deg);
  top: 40px;
}

.ctedu-custom-accordion-title {
  cursor: pointer;
}

/* CTEDU Event  */

.ctedu-event--container {
  display: flex;
  gap: 20px;
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
}

.ctedu-event-icon {
  padding-top: 15px;
  font-size: 30px;
  padding-top: 15px;
  font-size: 30px;
  position: absolute;
  right: 40px;
  top: 20px;
}

.ctedu-event-title--container {
    margin-right: 70px;
}

.ctedu-event-subtitle {
  display: block;
}

.ctedu-event-content {
  display: none;
}

.accordion-open .ctedu-event-content {
  display: block;
}

.accordion-open .ctedu-event-icon {
  transform: rotate(180deg);
  top: 40px;
}

.ctedu-event-title {
  cursor: pointer;
}

.ctedu-event-date--container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.ctedu-event-date--date {
  font-weight: bold;
  font-size: 1.2em;
}

.ctedu-event-date--time {
  font-size: 1em;
}

.ctedu-event-date-time--container {
  display: flex;
  flex-direction: column;
  gap: 0px;
  text-align: center;
}

/* CTEDU Upcoming Events Widget */

.custom-class-widget {
  padding: 20px;
}

.class-item {
  margin-bottom: 10px;
}

.toggle-more-dates {
  background-color: #fff;
  border: 1px solid #0073e6;
  border-radius: 5px;
  color: #0073e6;
  cursor: pointer;
  padding: 5px 10px;
}

.more-dates-list {
  margin-top: 10px;
}

/* YouTube Shortcode */
.youtube-video-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px; /* Add vertical margin */
  margin-bottom: 20px; /* Add vertical margin */
}

.youtube-video-wrapper img {
  width: 100%;
  height: auto;
  border: none;
  display: block;
}

.play-icon, .eicon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-icon::before, .eicon-play::before {
  content: '' !important;
  width: 0;
  height: 0;
  border-left: 25px solid var(--e-global-color-secondary);
  border-top: 12.5px solid transparent;
  border-bottom: 12.5px solid transparent;
}

.youtube-video-wrapper:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: rgba(255, 255, 255, 0.7);
}

/* Aspect ratio box for the iframe */
.aspect-ratio-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.aspect-ratio-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bg-primary-10 {
  background-color: #FFFBF0;
  padding: 20px !important;
  border-radius: 20px;
}

.wp-audio-shortcode {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Coach Directory */

.coach-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.coach-directory-title {
  width: 100%;
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.location-group {
  width: 30%;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-bottom: 20px;
}

.location-title {
  font-size: 20px;
  margin-bottom: 10px;
  padding-left: 10px;
  text-align: left;
}

.coach-list {
  list-style: none;
  padding: 0;
}

.coach-item {
  margin-bottom: 10px;
}

.coach-link {
  text-decoration: none;
  color: var(--e-global-color-primary);
  font-weight: bold;
  padding: 10px;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.coach-link:hover {
  background-color: var(--e-global-color-secondary);
  color: var(--e-global-color-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media query for smaller devices */
@media (max-width: 768px) {
  .location-group {
      width: 100%;
      margin-left: 20px;
      margin-right: 20px;
  }

  .coach-link {
      display: block;
  }
}

/* Coach Directory Social Media Widget */

.coach-social-media {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  color: #555;
  font-size: 30px;
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--e-global-color-primary);
}

.social-icon.linkedin:hover {
  color: #0077b5; /* LinkedIn blue */
}

.social-icon.facebook:hover {
  color: #3b5998; /* Facebook blue */
}

.social-icon.instagram:hover {
  color: #e1306c; /* Instagram pink */
}

.social-icon.email:hover {
  color: #ea4335; /* Email red */
}

.social-icon.phone:hover {
  color: #34a853; /* Phone green */
}

.social-icon.website:hover {
  color: #4285f4; /* Website blue */
}

/* Graduate Story Widget */

.graduate-story-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.graduate-story-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 20px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.graduate-stories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.graduate-story-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: visible;
  width: 30%;
  margin-bottom: 100px; /* Increased spacing between rows */
  text-align: center;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.graduate-story-image {
  position: absolute;
  top: -75px;
  left: calc(50% - 75px);
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 5px solid #fff;
}

.graduate-story-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 50%; 
}

.graduate-story-content {
  margin-top: 60px; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.graduate-story-content h3 {
  margin-top: 20px;
}

.watch-story-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 40px 10px 40px !important;
  background-color: #fff !important;
  color: var(--e-global-color-accent) !important;
  border: 2px solid var(--e-global-color-accent) !important;
  border-radius: 30px !important;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
}

.watch-story-button:hover {
  background-color: var(--e-global-color-accent) !important;
  color: #fff !important;
}

.read-more-button {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px !important;
  background-color: var(--e-global-color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  font-size: 12px !important;
  width: fit-content;
}

.read-more-button:hover {
  opacity: 0.8 !important;
}

.long-description-wrapper {
  max-height: 200px;
  overflow: hidden;
  position: relative;
  width: 100%;
  text-align: left;
}

.long-description-wrapper.expanded {
  max-height: none;
}

.long-description-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,251,240,0) 0%, #FFFBF0 100%);
  display: none;
}

.long-description-wrapper.show-gradient::after {
  display: block;
}

@media (max-width: 768px) {
  .graduate-story-card {
      width: 100%;
  }
}

/* Team Member Widget */
.team-members-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Align items to the start */
  gap: 20px; /* Add some space between the cards */
}

.team-member-card {
  width: calc(25% - 20px); /* Adjust the width to maintain a consistent gap */
  margin-bottom: 20px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-style: solid;
  position: relative;
  border-width: 1px; /* Default border width, can be overridden by settings */
  border-color: #ddd; /* Default border color, can be overridden by settings */
}

.team-member-card:hover {
  transform: translateY(-10px);
}

.team-member-card .headshot {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.team-member-card h3,
.team-member-card .position,
.team-member-card .location {
  margin: 5px 0;
}

.team-member-card:hover h3,
.team-member-card:hover .position,
.team-member-card:hover .location {
  color: inherit;
}

.team-member-card .read-bio-button-container {
  margin-top: auto;
}

.read-bio-button {
  margin-top: 10px; 
  padding-top: 20px; 
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read-bio-button:hover {
  background-color: #005bb5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .team-member-card {
      width: calc(50% - 20px); /* 2 cards per row for tablets */
  }
}

@media (max-width: 768px) {
  .team-member-card {
      width: 100%; /* 1 card per row for mobile devices */
      margin-bottom: 20px; /* Add spacing between cards */
  }
}

/* Blog Pagination */

/* Container for the pagination */
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  justify-content: center;
  align-items: center;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

/* Styling for each pagination link and span */
.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  text-decoration: none;
  color: var(--e-global-color-text);
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* Styling for the hover state */
.pagination .page-numbers:hover {
  background-color: var(--e-global-color-secondary);
  border-color: var(--e-global-color-text);
  color: var(--e-global-color-text);
}

/* Styling for the active page */
.pagination .current {
  background-color: var(--e-global-color-text);
  color: #fff;
  border-color: var(--e-global-color-text);
  cursor: default;
}

/* Styling for the active page hover*/
.pagination .current:hover {
  background-color: var(--e-global-color-text);
  color: #fff;
  border-color: var(--e-global-color-text);
  cursor: default;
}

/* Styling for the ellipsis and non-clickable elements */
.pagination .dots {
  color: #6c757d;
  cursor: default;
  border: none;
  background: none;
  padding: 0;
}

/* Styling for "Previous" and "Next" links */
.pagination .prev,
.pagination .next {
  font-weight: bold;
}

/* Additional styling for disabled state */
.pagination .page-numbers.disabled {
  color: #6c757d;
  border-color: #ddd;
  cursor: default;
}

/* Upcoming Sample Training Classes Widget */

.upcoming-sample-training-classes-widget {
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.upcoming-sample-training-classes-widget .class-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd; /* Default divider */
}

.upcoming-sample-training-classes-widget .class-item:last-child {
  border-bottom: none; /* Remove divider for last item */
}

.upcoming-sample-training-classes-widget .class-date {
  width: 60px;
  text-align: center;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upcoming-sample-training-classes-widget .class-month {
  font-size: 18px;
  font-weight: bold;
}

.upcoming-sample-training-classes-widget .class-day {
  font-size: 32px;
  font-weight: bold;
}

.upcoming-sample-training-classes-widget .class-details {
  flex: 1;
}

.upcoming-sample-training-classes-widget .class-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.upcoming-sample-training-classes-widget .class-time {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.upcoming-sample-training-classes-widget .register-link {
  font-weight: bold;
  text-decoration: none;
}

#desktop-header .sub-arrow {
  display: none !important;
}

/* Testimonial Carousel Widget */

.ctedu-testimonial-carousel {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.ctedu-testimonial-slide {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ctedu-testimonial-slide img {
  width: 100px;
  height: 100px;
  border-radius: 50%; 
  object-fit: cover; /* Ensures the image covers the circle */
  object-position: center; /* Centers the image within the circle */
  display: block;
  margin: 0 auto 10px; /* Center the image horizontally and add spacing below */
}

/* Ensure the picture and image follow the desired size */
.ctedu-testimonial-slide picture {
  display: block; /* Ensure it's treated as a block element */
  width: 100px; /* Desired width */
  height: 100px; /* Desired height */
}

.ctedu-testimonial-slide picture img {
  width: 100%; /* Make the image fill the parent container */
  height: 100%; /* Match the height of the parent container */
  border-radius: 50%; /* Circular image */
  object-fit: cover; /* Ensure the image fits within the circle */
  object-position: center; /* Focus on the center of the image */
}

/* Center the picture or image */
.ctedu-testimonial-slide picture,
.ctedu-testimonial-slide img {
    display: block; /* Treat the element as a block */
    margin: 0 auto; /* Center it horizontally */
}

.testimonial-text {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin: 10px 0;
}

.testimonial-author {
  font-size: 16px;
  font-weight: bold;
  color: #555;
}

.slick-slide {
  padding: 20px 10px; 
  margin: 0 10px;
}

/* Ensure the slick-track takes the full width and accounts for padding */
.slick-track {
  margin-left: -10px;
  margin-right: -10px;
}

.slick-dots button:active, .slick-dots button:focus, .slick-dots button:hover {
  background-color: transparent !important;
}

/* Mobile menu */
/* General Container Styling */
.mobile-menu-container {
  position: relative; /* Position relative to its parent */
  right: 0; /* Align to the right side */
  top: 0; /* Align to the top */
  z-index: 1000; /* Ensure it’s above other elements */
  padding: 10px; /* Optional padding */
}

/* Adjust the toggle button for right alignment */
.mobile-menu-toggle {
  background: none !important; /* Remove Elementor background color */
  font-family: inherit !important; /* Reset font family */
  font-size: 35px !important; /* Reset font size */
  font-weight: normal !important; /* Reset font weight */
  text-decoration: none !important; /* Remove text decoration */
  color: var(--e-global-color-primary) !important; /* Ensure hamburger icon is white */
  border: none !important; /* Remove borders */
  border-radius: 0 !important; /* Remove border radius */
  padding: 0 !important; /* Remove padding */
  cursor: pointer; /* Pointer cursor */
  display: block;
  text-align: center; /* Center alignment */
}

/* Ensure overlay covers the full viewport when open */
.mobile-menu-overlay {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 999; /* Behind the toggle */
  display: none;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.mobile-menu-overlay.open {
  display: flex;
}

/* Menu Styling */
.mobile-menu {
  text-align: center;
}

.mobile-menu-items {
  list-style: none; /* Remove bullets */
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-items li {
  margin: 25px 0; /* Add space between items */
}

.mobile-menu-items a {
  background: none !important; /* Remove Elementor background color */
  font-family: inherit !important; /* Reset font family */
  font-size: 18px !important; /* Adjust as needed */
  font-weight: normal !important; /* Reset font weight */
  text-decoration: none !important; /* Remove text decoration */
  color: white !important; /* Ensure links are white */
  border: none !important; /* Remove borders */
  border-radius: 0 !important; /* Remove border radius */
  padding: 0 !important; /* Remove padding */
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

/* Close button (X) */
.mobile-menu-close {
  background: none !important; /* Remove Elementor background color */
  font-family: inherit !important; /* Reset font family */
  font-size: 24px !important; /* Size of the X */
  font-weight: normal !important; /* Reset font weight */
  text-decoration: none !important; /* Remove text decoration */
  color: white !important; /* White color for the X */
  border: none !important; /* Remove borders */
  border-radius: 0 !important; /* Remove border radius */
  padding: 0 !important; /* Remove padding */
  position: absolute; /* Ensure it is positioned relative to the viewport */
  top: 20px; /* Place it at the top */
  right: 20px; /* Align to the right */
  cursor: pointer; /* Pointer cursor */
  text-align: center; /* Center the content */
}

/* Ensure no hover effects for buttons or links */
.mobile-menu-container button:hover,
.mobile-menu-container .mobile-menu-close:hover,
.mobile-menu-container a:hover {
  background: none !important; /* No background changes */
  text-decoration: none !important; /* No underline or effects */
  color: white !important; /* Ensure hover color is white */
}

.mobile-menu-container .mobile-menu-toggle:hover, 
.mobile-menu-container .mobile-menu-toggle:focus {
  color: var(--e-global-color-primary) !important;
}

/* Hubspot Forms */

.hubspot-form {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.hubspot-form .hs-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hubspot-form label:not(.hs-error-msg):not(.hs-form-booleancheckbox-display) {
  display: none;
}

.hubspot-form .hs-input:not(.hs-fieldtype-intl-phone):not([id*="sakari"]) {
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
  height: 54px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 400;
  padding: 0 18px;
  appearance: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hubspot-form .hs-input::placeholder {
  color: #a0a0a0;
  font-weight: 400;
  transition: all 0.25s ease;
}

.hubspot-form .hs-input:focus::placeholder {
  opacity: 0.5;
  transform: translateY(-2px);
}

.hubspot-form fieldset.form-columns-1 .hs-input:not([id*="sakari"]) {
  width: 100% !important;
}

.hubspot-form .hs-input[id*="sakari"] {
  margin-left: 10px;
}

.hubspot-form fieldset {
  max-width: 100% !important;
}

.hubspot-form .hs-input:focus {
  border-color: rgb(38, 37, 91);
  outline: none;
  box-shadow: 0 0 0 4px rgba(38, 37, 91, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.hubspot-form .hs-input:hover:not(:focus) {
  border-color: #d0d0d0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hubspot-form select.hs-input {
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  height: 54px;
  padding: 0 44px 0 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 400;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%236b6b6b' d='M1.41 0L7 5.58 12.59 0 14 1.41l-7 7-7-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hubspot-form select.hs-input:hover:not(:focus) {
  border-color: #d0d0d0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hubspot-form select.hs-input:focus {
  border-color: rgb(38, 37, 91);
  outline: none;
  box-shadow: 0 0 0 4px rgba(38, 37, 91, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.hubspot-form select.hs-input + .fa {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.25em;
  color: rgb(38, 37, 91);
}

.hubspot-form .hs-fieldtype-intl-phone.hs-input {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.hubspot-form .hs-phone .hs-fieldtype-intl-phone input[type="tel"] {
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  height: 54px;
  padding: 0 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 400;
  width: 50%;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hubspot-form .hs-phone .hs-fieldtype-intl-phone select.hs-input {
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  height: 54px;
  padding: 0 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 400;
  width: 50%;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hubspot-form .hs-phone .hs-fieldtype-intl-phone input[type="tel"]:hover:not(:focus),
.hubspot-form .hs-phone .hs-fieldtype-intl-phone select.hs-input:hover:not(:focus) {
  border-color: #d0d0d0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hubspot-form .hs-phone .hs-fieldtype-intl-phone input[type="tel"]:focus,
.hubspot-form .hs-phone .hs-fieldtype-intl-phone select.hs-input:focus {
  border-color: rgb(38, 37, 91);
  outline: none;
  box-shadow: 0 0 0 4px rgba(38, 37, 91, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.hubspot-form input[type="submit"],
.hubspot-form button {
  background-color: rgb(38, 37, 91);
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 1.25em;
  font-size: 1em;
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  width: 100%;
}

.hubspot-form input[type="submit"]:hover,
.hubspot-form input[type="submit"]:focus,
.hubspot-form input[type="submit"]:active,
.hubspot-form button:hover,
.hubspot-form button:focus,
.hubspot-form button:active {
  background-color: #005bb5;
  outline: none;
}

.hubspot-form .hs-error-msgs {
  list-style-type: none;
  padding: 0;
  margin: 5px 0;
  font-size: 0.9em;
  color: red;
}

.hubspot-form .hs-error-msgs .hs-error-msg {
  line-height: 1.4;
}

.hubspot-form .hs_sms_sakari_opt_in ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hubspot-form .hs_sms_sakari_opt_in .hs-form-booleancheckbox-display {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.hubspot-form .hs_sms_sakari_opt_in .hs-form-booleancheckbox-display:hover {
  background-color: rgba(38, 37, 91, 0.02);
}

.hubspot-form .hs_sms_sakari_opt_in input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  accent-color: rgb(38, 37, 91);
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 4px;
}

.hubspot-form .hs_sms_sakari_opt_in a {
  color: rgb(38, 37, 91);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hubspot-form .hs_sms_sakari_opt_in a:hover {
  color: rgb(48, 47, 111);
  text-decoration-thickness: 2px;
}

.hubspot-form .hs_sms_sakari_opt_in span {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #5a5a5a;
}

.hubspot-form .hs_sms_sakari_opt_in {
  margin-bottom: 1rem;
}

/*******************************************
 * Full-Width Hero Section (50/50 Split) with Full-Height Image
 *******************************************/

.single-post .jupiterx-main-content {
  padding-top: 0; /* Remove default padding */
}

/* ============================================
   CTEDU Blog Redesign Styles
   ============================================ */

/*******************************************
 * Text styling for blog and knowledgebase
 *******************************************/

.single-knowledgebase .jupiterx-main .knowledgebase-content p, 
.single-knowledgebase .jupiterx-main .knowledgebase-content li, 
.single-post .jupiterx-main p, 
.single-post .jupiterx-main li {
  font-family: var(--e-global-typography-29772b7-font-family), Sans-serif;
  font-size: var(--e-global-typography-29772b7-font-size);
  font-weight: var(--e-global-typography-29772b7-font-weight);
  line-height: var(--e-global-typography-29772b7-line-height);
  word-spacing: var(--e-global-typography-29772b7-word-spacing);
  color: var(--e-global-color-primary);
}

.single-knowledgebase .jupiterx-main .knowledgebase-content p,
.single-knowledgebase .jupiterx-main .knowledgebase-content li {
  color: inherit; 
}

/* CTEDU Reviews Widget */

.ctedu-reviews {
    padding: 20px;
}

.ctedu-reviews .ctedu-reviews-grid {
    display: grid;
    grid-template-columns: repeat(var(--reviews-per-row, 3), 1fr);
    gap: 20px;
}

.ctedu-reviews .review-card {
    padding: 20px;
}

.ctedu-reviews .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ctedu-reviews .reviewer-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.ctedu-reviews .reviewer-name {
    margin: 0;
}

.ctedu-reviews .review-date {
    font-size: 0.9em;
}

.ctedu-reviews .review-rating {
    margin-bottom: 10px;
}

/* Utility class to force white background on form fields */
.ctedu-force-white-bg .hs-input:not(.hs-fieldtype-intl-phone),
.ctedu-force-white-bg select.hs-input,
.ctedu-force-white-bg input[type="tel"],
.ctedu-force-white-bg input[type="text"],
.ctedu-force-white-bg input[type="email"],
.ctedu-force-white-bg textarea.hs-input {
    background: #fff !important;
}

/* Shared HubSpot Form Styles */
.ctedu-hs-form .hs-name-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ctedu-hs-form .hs-name-group .hs-first-name,
.ctedu-hs-form .hs-name-group .hs-last-name {
    flex: 1;
}

.ctedu-hs-form .ctedu-phone-field {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.ctedu-hs-form .ctedu-phone-field .iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 4px;
}

.ctedu-hs-form .ctedu-phone-field .iti__flag-container,
.ctedu-hs-form .ctedu-phone-field .iti__selected-flag {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.ctedu-hs-form .ctedu-phone-field input[type="tel"] {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    height: 54px;
    padding: 0 18px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 400;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ctedu-hs-form .ctedu-phone-field input[type="tel"]::placeholder {
    color: #a0a0a0;
}

.ctedu-hs-form .ctedu-phone-field input[type="tel"]:hover:not(:focus) {
    border-color: #d0d0d0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.ctedu-hs-form .ctedu-phone-field input[type="tel"]:focus {
    border-color: rgb(38, 37, 91);
    outline: none;
    box-shadow: 0 0 0 4px rgba(38, 37, 91, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.ctedu-hs-form button.loading {
    position: relative;
    opacity: 0.8;
    pointer-events: none;
}

.ctedu-hs-form button.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ctedu-spin 1s linear infinite;
}

@keyframes ctedu-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Subtle fade-in animation for form */
.hubspot-form .hs-form > * {
    animation: fadeInUp 0.4s ease backwards;
}

.hubspot-form .hs-form > *:nth-child(1) { animation-delay: 0.05s; }
.hubspot-form .hs-form > *:nth-child(2) { animation-delay: 0.1s; }
.hubspot-form .hs-form > *:nth-child(3) { animation-delay: 0.15s; }
.hubspot-form .hs-form > *:nth-child(4) { animation-delay: 0.2s; }
.hubspot-form .hs-form > *:nth-child(5) { animation-delay: 0.25s; }
.hubspot-form .hs-form > *:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hubspot-form .hs-form > * {
        animation: none;
    }
}

/* CTEDU Pricing Table Widget - Optimized */

/* Base */
.ctedu-pricing-table-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ctedu-pricing-toggle__option,
.ctedu-pricing-table-card {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Toggle */
.ctedu-pricing-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0 auto 56px;
    position: relative;
    background: #FFF;
    border: 2px solid #E8E6E1;
    border-radius: 100px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.04);
    width: fit-content;
}

.ctedu-pricing-toggle__option {
    position: relative;
    z-index: 2;
    padding: 14px 32px;
    margin: 0;
    color: #6B6B80;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 100px;
    white-space: nowrap;
    line-height: 1.4;
    text-align: center;
    display: block;
    width: 100%;
}

.ctedu-pricing-toggle__option:hover { 
    color: #4A4870;
}

.ctedu-pricing-toggle__option:focus {
    outline: none;
}

.ctedu-pricing-toggle__option:focus-visible {
    outline: 2px solid var(--e-global-color-primary);
    outline-offset: 2px;
}

.ctedu-pricing-toggle__option:active {
    transform: scale(0.97);
}

.ctedu-pricing-toggle__option.active { 
    color: #FFF; 
}

.ctedu-pricing-toggle__slider {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 50%;
    height: calc(100% - 16px);
    background: var(--e-global-color-primary);
    border-radius: 100px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(44,43,77,0.15), 0 4px 16px rgba(44,43,77,0.1);
}

.ctedu-pricing-table-wrapper[data-period="annual"] .ctedu-pricing-toggle__slider {
    left: 50%;
    right: 8px;
}

/* Savings Badge */
.ctedu-pricing-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

.ctedu-pricing-toggle-wrapper .ctedu-pricing-toggle { margin-bottom: 0; }

.ctedu-toggle-savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFF;
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(16,185,129,0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ctedu-toggle-savings-badge svg {
    width: 14px;
    height: 14px;
    animation: sparkle 4s ease-in-out 1s infinite;
}

.ctedu-pricing-table-wrapper[data-period="annual"] .ctedu-toggle-savings-badge {
    opacity: 0;
    transform: scale(0.9) translateY(-8px);
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.85; }
}

/* Grid */
.ctedu-pricing-table {
    display: grid;
    gap: 40px;
    width: 100%;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.ctedu-pricing-table--cards-1 { 
    grid-template-columns: 1fr;
    max-width: 100%;
}

.ctedu-pricing-table--cards-2 { 
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
}

.ctedu-pricing-table--cards-3 { 
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
}

/* Card */
.ctedu-pricing-table-card {
    background: linear-gradient(to bottom, #F8F6F3 0%, #FFF 100%);
    border: 2px solid rgba(44,43,77,0.12);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    height: 100%;
    min-height: 100%;
    animation: fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) backwards;
}

.ctedu-pricing-table-card:nth-child(1) { animation-delay: 0.1s; }
.ctedu-pricing-table-card:nth-child(2) { animation-delay: 0.2s; }
.ctedu-pricing-table-card:nth-child(3) { animation-delay: 0.3s; }

.ctedu-pricing-table-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.12);
    border-color: rgba(44,43,77,0.2);
}

.ctedu-pricing-table-card:focus-visible {
    outline: 3px solid var(--e-global-color-secondary);
    outline-offset: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.ctedu-pricing-table__header {
    background: var(--e-global-color-primary);
    padding: 56px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ctedu-pricing-table__plan-name {
    color: #FFF !important;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ctedu-pricing-table__plan-description {
    color: rgba(255,255,255,0.85) !important;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Content */
.ctedu-pricing-table__content {
    padding: 48px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    background: #FFF;
}

/* Pricing */
.ctedu-pricing-table__pricing {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(44,43,77,0.08);
}

.ctedu-pricing-table__price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.ctedu-pricing-table__price-amount {
    font-size: 72px;
    font-weight: 800;
    color: var(--e-global-color-text);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: opacity 0.3s;
}

.ctedu-pricing-table__currency {
    font-size: 0.5em;
    vertical-align: super;
    margin-right: 2px;
}

.ctedu-pricing-table__price-period {
    font-size: 18px;
    color: #6B7280;
    font-weight: 600;
    transition: opacity 0.3s;
}

.ctedu-pricing-table__pricing-badge {
    margin-top: 12px;
    min-height: 36px;
    position: relative;
}

.ctedu-pricing-badge {
    display: block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    transition: opacity 0.3s, transform 0.3s;
    text-align: center;
}

.ctedu-pricing-badge__icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -2px;
}

.ctedu-pricing-badge--hint {
    background: transparent;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    position: absolute;
    left: 0;
    right: 0;
}

.ctedu-pricing-badge--monthly,
.ctedu-pricing-badge--annual {
    opacity: 0;
    transform: translateY(-10px);
}

.ctedu-pricing-table-wrapper[data-period="monthly"] .ctedu-pricing-badge--monthly,
.ctedu-pricing-table-wrapper[data-period="annual"] .ctedu-pricing-badge--annual {
    opacity: 1;
    transform: translateY(0);
}

/* Features */
.ctedu-pricing-table__features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ctedu-pricing-table__feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(44,43,77,0.06);
}

.ctedu-pricing-table__features li:last-child { border-bottom: none; }

.ctedu-pricing-table__feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--e-global-color-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(44,43,77,0.2);
}

.ctedu-pricing-table__feature-text {
    color: #374151;
    font-weight: 500;
    line-height: 1.6;
}

/* CTA */
.ctedu-pricing-table__cta {
    text-align: center;
    margin-top: auto;
    padding: 32px 40px 40px;
    background: #FFF;
    border-top: 2px solid rgba(44,43,77,0.08);
}

.ctedu-pricing-table__button {
    display: block;
    width: 100%;
    padding: 14px 28px;
    border: 2px solid var(--e-global-color-primary);
    border-radius: 12px;
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-text);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    pointer-events: none;
}

.ctedu-pricing-table__button:hover,
.ctedu-pricing-table__button:focus {
    background: var(--e-global-color-primary);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,43,77,0.3);
}

.ctedu-pricing-table__button-additional-text {
    margin-top: 16px;
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 500;
}

/* Featured */
.ctedu-pricing-table__badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    background: linear-gradient(135deg, #FFB800 0%, #FFC940 100%);
    color: var(--e-global-color-text);
    font-weight: 800;
    font-size: 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255,184,0,0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(255,184,0,0.4); }
    50% { box-shadow: 0 6px 16px rgba(255,184,0,0.5); }
}

.ctedu-pricing-table-card--featured {
    border-color: rgba(255,184,0,0.4);
    box-shadow: 0 4px 12px rgba(255,184,0,0.15), 0 12px 32px rgba(255,184,0,0.1);
}

.ctedu-pricing-table-card--featured:hover {
    border-color: rgba(255,184,0,0.6);
    box-shadow: 0 8px 20px rgba(255,184,0,0.2), 0 16px 48px rgba(255,184,0,0.15);
}

.ctedu-pricing-table-card--featured .ctedu-pricing-table__button {
    background: linear-gradient(135deg, #FFB800 0%, #FFC940 100%);
    border-color: #FFB800;
    color: var(--e-global-color-text);
    box-shadow: 0 4px 12px rgba(255,184,0,0.4);
}

.ctedu-pricing-table-card--featured .ctedu-pricing-table__button:hover {
    background: var(--e-global-color-primary);
    color: #FFF;
    box-shadow: 0 6px 16px rgba(44,43,77,0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .ctedu-pricing-table--cards-3 { grid-template-columns: repeat(2, 1fr); }
    .ctedu-pricing-table--cards-3 .ctedu-pricing-table-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ctedu-pricing-table-wrapper { padding: 0 16px; }
    .ctedu-pricing-table { grid-template-columns: 1fr; gap: 32px; }
    .ctedu-pricing-table--cards-3 .ctedu-pricing-table-card:nth-child(3) { max-width: 100%; }
    .ctedu-pricing-toggle-wrapper { margin-bottom: 40px; }
    .ctedu-pricing-toggle { width: 100%; max-width: 400px; }
    .ctedu-pricing-toggle__option { padding: 12px 24px; font-size: 14px; }
    .ctedu-pricing-table__header { padding: 40px 32px 32px; }
    .ctedu-pricing-table__content { padding: 40px 32px 32px; gap: 32px; }
    .ctedu-pricing-table__cta { padding: 24px 32px 32px; }
}

@media (max-width: 480px) {
    .ctedu-pricing-table-wrapper { padding: 0 12px; }
    .ctedu-pricing-table { gap: 24px; }
    .ctedu-pricing-toggle-wrapper { gap: 12px; margin-bottom: 32px; }
    .ctedu-pricing-toggle { padding: 6px; }
    .ctedu-pricing-toggle__option { padding: 10px 20px; font-size: 13px; }
    .ctedu-pricing-table-card { border-radius: 20px; }
    .ctedu-pricing-table-card:hover { transform: translateY(-4px); }
    .ctedu-pricing-table__header { padding: 32px 24px 24px; }
    .ctedu-pricing-table__plan-name { font-size: 22px; }
    .ctedu-pricing-table__plan-description { font-size: 14px; }
    .ctedu-pricing-table__content { padding: 32px 24px 24px; gap: 28px; }
    .ctedu-pricing-table__pricing { padding-bottom: 24px; }
    .ctedu-pricing-table__price-amount { font-size: 56px; }
    .ctedu-pricing-table__feature { padding: 14px 0; gap: 12px; font-size: 14px; }
    .ctedu-pricing-table__feature-icon { width: 24px; height: 24px; font-size: 12px; }
    .ctedu-pricing-table__cta { padding: 24px; }
    .ctedu-pricing-table__button { padding: 12px 24px; font-size: 16px; }
    .ctedu-pricing-table__badge { font-size: 11px; padding: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ctedu-pricing-table-card,
    .ctedu-pricing-toggle__slider,
    .ctedu-pricing-badge,
    .ctedu-toggle-savings-badge { transition: none; animation: none; }
    .ctedu-pricing-table-card:hover { transform: none; }
}

/*******************************************
 * BLOG CARDS SHORTCODE STYLES
 *******************************************/

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-card-link {
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.blog-card-link:hover {
    transform: translateY(-4px);
}

.blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.blog-card-date {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
}

@media (max-width: 768px) {
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-card-image {
        min-height: 200px;
    }
}

/*******************************************
 * BLOG ARCHIVE PAGE STYLES
 *******************************************/

/* Two Column Layout */
.blog-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 40px;
    align-items: start;
}

.blog-archive-main {
    width: 100%;
}

.blog-archive-sidebar {
    width: 100%;
    position: sticky;
    top: 30px;
}

/* Featured Post (Large) - Uses related post card styling */
.blog-featured-card {
    margin-bottom: 40px;
    width: 100%;
}

.blog-featured-card .related-post-image-wrapper {
    height: 400px;
}

.blog-featured-card .related-post-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-featured-card .related-post-excerpt {
    font-size: 16px;
    line-height: 1.6;
}

.blog-featured-card .related-post-content {
    padding: 32px;
}

/* Blog Grid (2 columns) - Uses related post card styling */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Archive page uses the same card styles as related posts from single.php */
.blog-grid .related-post-card {
    margin-bottom: 0;
}

/* Ensure grid items have consistent height */
.blog-grid .related-post-link {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-grid .related-post-card {
    height: 100%;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.blog-sidebar-widget-title {
    color: var(--e-global-color-text);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--e-global-color-primary);
}

/* Search Widget */
.blog-search-form {
    width: 100%;
}

.blog-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    transition: all 0.2s ease;
    background: #ffffff;
    color: var(--e-global-color-text);
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 0 3px rgba(94, 46, 145, 0.1);
}

.blog-search-input::placeholder {
    color: #999999;
}

.blog-search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: #666666;
    cursor: pointer;
    padding: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    border-radius: 6px !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: inherit !important;
    font-weight: normal !important;
    line-height: 1 !important;
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.blog-search-button:hover {
    color: var(--e-global-color-primary) !important;
    background: rgba(94, 46, 145, 0.05) !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

.blog-search-button:focus {
    outline: 2px solid var(--e-global-color-primary);
    outline-offset: 2px;
    box-shadow: none !important;
}

.blog-search-button:active {
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

.blog-search-button svg {
    width: 18px;
    height: 18px;
}

/* Categories Widget */
.blog-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-item {
    border-bottom: 1px solid #f0f0f0;
}

.blog-category-item:last-child {
    border-bottom: none;
}

.blog-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    text-decoration: none;
    color: var(--e-global-color-text);
    transition: all 0.2s ease;
    border-radius: 6px;
}

.blog-category-link:hover {
    background: rgba(52, 152, 219, 0.1);
    padding-left: 12px;
}

.blog-category-name {
    font-weight: 500;
    font-size: 14px;
}

.blog-category-count {
    background: #f0f0f0;
    color: #6b6b6b;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.blog-category-link:hover .blog-category-count {
    background: var(--e-global-color-primary);
    color: #ffffff;
}

/* Recent Posts Widget */
.blog-recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-recent-post-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.blog-recent-post-link:hover {
    transform: translateX(4px);
}

.blog-recent-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.blog-recent-post-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.blog-recent-post-content {
    flex: 1;
    min-width: 0;
}

.blog-recent-post-title {
    color: var(--e-global-color-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.blog-recent-post-date {
    color: #999999;
    font-size: 12px;
    margin: 0;
}

/* Enhanced Blog Card Styles */
.blog-card-category {
    display: inline-block;
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b6b6b;
    margin: 12px 0;
}

.blog-card-separator {
    color: #d0d0d0;
}

.blog-card-author,
.blog-card-date,
.blog-card-reading-time {
    font-weight: 500;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    margin: 40px 0;
}

.no-posts-found p {
    font-size: 18px;
    color: #6b6b6b;
    margin: 0;
}

/* Responsive adjustments for archive header */
@media (max-width: 1200px) {
    .blog-archive-container {
        grid-template-columns: 70% 30%;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .blog-archive-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-archive-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-featured-card .related-post-image-wrapper {
        height: 250px;
    }
    
    .blog-featured-card .related-post-content {
        padding: 24px;
    }
    
    .blog-featured-card .related-post-title {
        font-size: 24px;
    }
    
    .blog-archive-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-archive-header {
        padding: 60px 16px 40px;
        margin-bottom: 30px;
    }
    
    .blog-header-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .blog-header-badge svg {
        width: 14px;
        height: 14px;
    }
    
    .blog-archive-title {
        font-size: 32px;
    }
    
    .blog-archive-description {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .blog-header-stats {
        gap: 16px;
        padding: 16px 20px;
    }
    
    .blog-stat {
        gap: 4px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .blog-archive-container {
        padding: 0 16px 40px;
    }
    
    .blog-featured-card .related-post-image-wrapper {
        height: 200px;
    }
    
    .blog-featured-card .related-post-content {
        padding: 20px;
    }
    
    .blog-featured-card .related-post-title {
        font-size: 22px;
    }
    
    .blog-grid-content {
        padding: 20px;
    }
    
    .blog-card-meta,
    .blog-featured-meta,
    .blog-grid-meta {
        flex-wrap: wrap;
        font-size: 13px;
    }
}

/*******************************************
 * SEARCH RESULTS PAGE STYLES
 *******************************************/

/* Simple search header */
.search-header-simple {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 32px 0;
    margin-bottom: 40px;
}

.search-header-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.search-title {
    color: var(--e-global-color-text);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    font-family: var(--e-global-typography-primary-font-family);
}

/* Search results container - full width */
.search-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.search-results-main {
    width: 100%;
}

/* Search refine form */
.search-refine-form {
    margin-top: 24px;
}

/* Archive description */
.archive-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 16px 0 0 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search results grid - full width 3 columns */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* No results state */
.search-no-results {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.no-results-icon {
    margin: 0 auto 24px;
    opacity: 0.3;
}

.search-no-results h2 {
    color: var(--e-global-color-text);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.search-no-results > p {
    color: #666666;
    font-size: 16px;
    margin: 0 0 32px 0;
}

.search-no-results strong {
    color: var(--e-global-color-primary);
}

.search-suggestions {
    max-width: 400px;
    margin: 0 auto 32px;
    text-align: left;
    background: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
}

.search-suggestions h3 {
    color: var(--e-global-color-text);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    color: #666666;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.search-suggestions li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--e-global-color-primary);
    font-weight: 700;
}

/* Responsive search results */
@media (max-width: 992px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-header-simple {
        padding: 24px 0;
        margin-bottom: 32px;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .search-results-container {
        padding: 0 20px 60px;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .search-no-results {
        padding: 60px 20px;
    }
    
    .search-no-results h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .search-header-simple {
        padding: 20px 0;
        margin-bottom: 24px;
    }
    
    .search-title {
        font-size: 18px;
    }
    
    .search-results-container {
        padding: 0 16px 40px;
    }
    
    .search-no-results {
        padding: 40px 16px;
    }
    
    .search-no-results h2 {
        font-size: 22px;
    }
    
    .search-suggestions {
        padding: 20px;
    }
}

/*******************************************
 * REDESIGNED SINGLE BLOG POST STYLES
 *******************************************/

/* Ensure the main container and grid allow sticky positioning */
main.ctedu-blog-redesign {
    overflow: visible;
    position: relative;
}

/* Override any theme containers that might prevent sticky */
.single-post .jupiterx-main,
.single-post .jupiterx-main-content,
.single-post #primary {
    overflow: visible !important;
    position: relative !important;
    height: auto !important;
}

body.single-post {
    overflow-y: scroll !important;
}

html {
    overflow-y: scroll !important;
}

/* Blog Post Header */
.ctedu-blog-redesign .blog-post-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 10px;
}

.ctedu-blog-redesign .blog-header-container {
    text-align: left;
}

/* Category and Reading Time Badges Row */
.ctedu-blog-redesign .blog-meta-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.ctedu-blog-redesign .post-category-tag {
    display: inline-block;
    background: var(--e-global-color-primary, #5E2E91);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ctedu-blog-redesign .reading-time-badge {
    display: inline-block;
    background: #E8E8E8;
    color: #666666;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ctedu-blog-redesign .blog-post-title {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--e-global-color-text, #1A1A1A);
    margin-bottom: 32px;
    max-width: 100%;
}

.ctedu-blog-redesign .blog-author-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ctedu-blog-redesign .author-headshot {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
}

.ctedu-blog-redesign .author-headshot:hover {
    transform: scale(1.05);
}

.ctedu-blog-redesign .author-headshot .author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.ctedu-blog-redesign .author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ctedu-blog-redesign .author-name {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--e-global-color-text, #1A1A1A);
    margin: 0;
}

.ctedu-blog-redesign .author-name-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.ctedu-blog-redesign .author-name-link:hover {
    color: var(--e-global-color-primary, #5E2E91);
}

.ctedu-blog-redesign .publish-date {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 14px;
    color: #666666;
}

/* Meta Row - Author and Share Buttons */
.ctedu-blog-redesign .blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Social Share Buttons */
.ctedu-blog-redesign .blog-share-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ctedu-blog-redesign .share-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E8E8E8;
    color: #666666;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.ctedu-blog-redesign .share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ctedu-blog-redesign .share-linkedin:hover {
    background: #0077B5;
    color: #ffffff;
}

.ctedu-blog-redesign .share-facebook:hover {
    background: #1877F2;
    color: #ffffff;
}

.ctedu-blog-redesign .share-email:hover {
    background: #666666;
    color: #ffffff;
}

/* Horizontal Separator Bar */
.ctedu-blog-redesign .blog-header-separator {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.ctedu-blog-redesign .blog-header-separator::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #E0E0E0;
}

/* Blog Content Wrapper */
.ctedu-blog-redesign .blog-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    gap: 40px;
    position: relative;
    /* Create a containing block for sticky positioning */
    height: fit-content;
}

/* Two Column Layout */
.ctedu-blog-redesign .blog-content-wrapper.two-column-layout {
    grid-template-columns: 280px 1fr;
}

/* Left Sidebar (contains TOC and CTA) */
.ctedu-blog-redesign .blog-left-sidebar {
    position: relative;
    height: 100%;
}

/* Sticky container for sidebar content */
.ctedu-blog-redesign .sidebar-sticky {
    /* JavaScript will handle positioning */
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 10;
}

/* TOC Section */
.ctedu-blog-redesign .blog-toc-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

/* Newsletter CTA Section */
.ctedu-blog-redesign .newsletter-cta-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

/* Three Column Layout */
.ctedu-blog-redesign .blog-content-wrapper.three-column-layout {
    grid-template-columns: 280px 1fr 260px;
}

/* Main Blog Content */
.ctedu-blog-redesign .blog-main-content {
    padding: 0;
    min-height: 800px; /* Ensure content is tall enough for sticky to work */
}

/* Sidebar containers - these are the sticky containers */
.ctedu-blog-redesign .blog-toc-sidebar,
.ctedu-blog-redesign .blog-newsletter-sidebar {
    /* Position relative so absolute positioning works for stopped state */
    position: relative;
    height: 100%;
    overflow: visible;
}

/* Table of Contents Sidebar */
.ctedu-blog-redesign .toc-sticky {
    /* JavaScript will handle positioning */
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    /* Force stacking context */
    z-index: 10;
}

.ctedu-blog-redesign .toc-title {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--e-global-color-text, #333);
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--e-global-color-primary, #3498db);
}

.ctedu-blog-redesign .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ctedu-blog-redesign .toc-item {
    margin-bottom: 6px;
    list-style: none;
}

.ctedu-blog-redesign .toc-sublist {
    list-style: none;
    margin: 6px 0 0 0;
    padding-left: 12px;
    display: none;
}

.ctedu-blog-redesign .toc-sublist.is-visible {
    display: block;
}

.ctedu-blog-redesign .toc-item.toc-level-h3 {
    margin-left: 12px;
}

.ctedu-blog-redesign .toc-link {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 14px !important;
    color: #555 !important;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    line-height: 1.4;
}

.ctedu-blog-redesign .toc-link.toc-level-h2 {
    font-size: 15px;
    font-weight: 600;
}

.ctedu-blog-redesign .toc-link.toc-level-h3 {
    font-size: 13px;
    padding-left: 22px;
    color: #666;
}

.ctedu-blog-redesign .toc-link:hover {
    background: rgba(52, 152, 219, 0.1);
    color: var(--e-global-color-primary, #3498db);
}

.ctedu-blog-redesign .toc-link.active {
    background: rgba(52, 152, 219, 0.15);
    color: var(--e-global-color-primary, #3498db);
    font-weight: 600;
}

/* Main Blog Content */
.ctedu-blog-redesign .blog-main-content {
    padding: 0;
    min-height: 800px; /* Ensure content is tall enough for sticky to work */
}

.ctedu-blog-redesign .entry-content h2 {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--e-global-color-text, #333);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    scroll-margin-top: 100px; /* For smooth anchor scrolling */
}

.ctedu-blog-redesign .entry-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.ctedu-blog-redesign .entry-content h3 {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--e-global-color-text, #333);
    margin-top: 30px;
    margin-bottom: 15px;
}

.ctedu-blog-redesign .entry-content p {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.ctedu-blog-redesign .entry-content ul,
.ctedu-blog-redesign .entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.ctedu-blog-redesign .entry-content li {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.ctedu-blog-redesign .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

/* Newsletter CTA Sidebar */
.ctedu-blog-redesign .newsletter-sticky {
    /* JavaScript will handle positioning */
    z-index: 10;
}

.ctedu-blog-redesign .newsletter-cta {
    background: #ffffff;
    color: var(--e-global-color-text);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.ctedu-blog-redesign .newsletter-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(94, 46, 145, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ctedu-blog-redesign .newsletter-cta:hover::before {
    opacity: 1;
}

.ctedu-blog-redesign .newsletter-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ctedu-blog-redesign .newsletter-title {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.ctedu-blog-redesign .newsletter-subtitle {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #666666;
    margin: 0 0 20px 0;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.ctedu-blog-redesign .newsletter-benefits {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 20px 0;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.ctedu-blog-redesign .newsletter-benefits li {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    font-weight: 400;
}

.ctedu-blog-redesign .newsletter-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    font-weight: 700;
    color: #5E2E91;
    background: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ctedu-blog-redesign .newsletter-benefits li:last-child {
    margin-bottom: 0;
}

.ctedu-blog-redesign .newsletter-subscribe-btn {
    background: var(--e-global-color-primary);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(94, 46, 145, 0.2);
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    z-index: 1;
}

.ctedu-blog-redesign .newsletter-subscribe-btn:hover {
    background: #4a2570;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 46, 145, 0.3);
}

/* Meet the Author Section */
.ctedu-blog-redesign .meet-the-author {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.ctedu-blog-redesign .author-section-container {
    background: #F9F9F9;
    border-radius: 16px;
    padding: 50px;
}

.ctedu-blog-redesign .author-section-title {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--e-global-color-text, #1A1A1A);
    margin: 0 0 30px 0;
    text-align: left;
}

.ctedu-blog-redesign .author-bio-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.ctedu-blog-redesign .author-bio-image {
    flex-shrink: 0;
}

.ctedu-blog-redesign .author-bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ctedu-blog-redesign .author-bio-image a:hover .author-bio-avatar {
    transform: scale(1.05);
}

.ctedu-blog-redesign .author-bio-content {
    flex: 1;
}

.ctedu-blog-redesign .author-bio-name {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.ctedu-blog-redesign .author-bio-name a {
    color: var(--e-global-color-text, #1A1A1A);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ctedu-blog-redesign .author-bio-name a:hover {
    color: var(--e-global-color-primary, #5E2E91);
}

.ctedu-blog-redesign .author-bio-text {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.ctedu-blog-redesign .author-bio-text p {
    margin-bottom: 15px;
    color: #444;
}

.ctedu-blog-redesign .author-bio-text p:last-child {
    margin-bottom: 0;
}

/* Blog Footer */
.ctedu-blog-redesign .blog-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
    margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ctedu-blog-redesign .blog-content-wrapper.three-column-layout {
        grid-template-columns: 250px 1fr 280px;
        gap: 30px;
    }
    
    .ctedu-blog-redesign .blog-main-content {
        padding: 40px 30px;
    }
}

@media (max-width: 1024px) {
    .ctedu-blog-redesign .blog-post-title {
        font-size: 40px;
    }
    
    .ctedu-blog-redesign .blog-content-wrapper.three-column-layout,
    .ctedu-blog-redesign .blog-content-wrapper.two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .ctedu-blog-redesign .blog-left-sidebar {
        order: 1;
    }
    
    .ctedu-blog-redesign .blog-main-content {
        order: 2;
    }
    
    /* Hide CTA on tablet and mobile */
    .ctedu-blog-redesign .newsletter-cta-section {
        display: none;
    }
    
    /* Make sidebar static (not sticky) on mobile */
    .ctedu-blog-redesign .sidebar-sticky {
        position: static !important;
        width: auto !important;
        margin-top: 0 !important;
    }
    
    .ctedu-blog-redesign .blog-toc-section {
        margin-bottom: 30px;
    }
    
    .ctedu-blog-redesign .author-section-container {
        padding: 40px 30px;
    }
    
    .ctedu-blog-redesign .author-bio-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ctedu-blog-redesign .author-section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ctedu-blog-redesign .blog-post-header {
        padding: 40px 15px 30px;
    }
    
    .ctedu-blog-redesign .blog-post-title {
        font-size: 36px;
    }
    
    .ctedu-blog-redesign .blog-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ctedu-blog-redesign .blog-share-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    
    .ctedu-blog-redesign .author-headshot {
        width: 50px;
        height: 50px;
    }
    
    .ctedu-blog-redesign .author-name {
        font-size: 14px;
    }
    
    .ctedu-blog-redesign .publish-date {
        font-size: 12px;
    }
    
    .ctedu-blog-redesign .blog-main-content {
        padding: 30px 20px;
    }
    
    .ctedu-blog-redesign .entry-content h2 {
        font-size: 26px;
    }
    
    .ctedu-blog-redesign .entry-content h3 {
        font-size: 20px;
    }
    
    .ctedu-blog-redesign .entry-content p,
    .ctedu-blog-redesign .entry-content li {
        font-size: 16px;
    }
    
    .ctedu-blog-redesign .blog-content-wrapper {
        padding-bottom: 40px;
    }
    
    .ctedu-blog-redesign .author-section-container {
        padding: 30px 20px;
    }
    
    .ctedu-blog-redesign .author-section-title {
        font-size: 26px;
    }
    
    .ctedu-blog-redesign .author-bio-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .ctedu-blog-redesign .blog-post-title {
        font-size: 28px;
    }
    
    .ctedu-blog-redesign .blog-meta-badges {
        flex-wrap: wrap;
    }
    
    .ctedu-blog-redesign .post-category-tag,
    .ctedu-blog-redesign .reading-time-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .ctedu-blog-redesign .blog-main-content {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .ctedu-blog-redesign .toc-sticky,
    .ctedu-blog-redesign .newsletter-cta {
        padding: 25px;
    }
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--e-global-color-primary, #3498db), var(--e-global-color-secondary, #2ecc71));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   RELATED POSTS SECTION - CUSTOM DESIGN
   ======================================== */

.related-posts-section {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px 40px;
}

.related-posts-container {
    position: relative;
}

.related-posts-title {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--e-global-color-text, #1A1A1A);
    margin: 0 0 50px 0;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--e-global-color-primary, #5E2E91);
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 0;
}

.related-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.2);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-post-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post-image-wrapper picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-image-wrapper picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.related-post-card:hover .related-post-image {
    transform: scale(1.08);
}

.related-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.related-post-card:hover .related-post-overlay {
    opacity: 1;
}

.related-post-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.related-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.related-post-category {
    display: inline-block;
    background: var(--e-global-color-primary, #5E2E91);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.related-post-reading-time {
    display: inline-flex;
    align-items: center;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.related-post-title {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--e-global-color-text, #1A1A1A);
    margin: 0 0 14px 0;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-card:hover .related-post-title {
    color: var(--e-global-color-primary, #5E2E91);
}

.related-post-excerpt {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.related-post-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--e-global-color-primary, #5E2E91);
    margin-top: auto;
    transition: gap 0.3s ease;
}

.related-post-card:hover .related-post-cta {
    gap: 12px;
}

.related-post-arrow {
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-arrow {
    transform: translateX(4px);
}

/* Responsive Design for Related Posts */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .related-posts-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .related-posts-section {
        margin-top: 60px;
        padding: 0 16px 30px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-posts-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .related-post-image-wrapper {
        height: 200px;
    }
    
    .related-post-content {
        padding: 24px;
    }
    
    .related-post-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .related-posts-title {
        font-size: 28px;
    }
    
    .related-post-title {
        font-size: 18px;
    }
    
    .related-post-excerpt {
        font-size: 14px;
    }
}

/* Sample Training Class CTA Section */
.sample-training-class-cta {
    background: var(--e-global-color-primary);
    padding: 80px 20px;
    margin-top: 60px;
}

.sample-class-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.sample-class-cta-content {
    text-align: center;
    margin-bottom: 48px;
}

.sample-class-cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sample-class-cta-subtitle {
    font-size: 18px;
    color: #FFFFFF !important;
    line-height: 1.6;
    margin: 0;
}

.sample-class-form-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive for Sample Training CTA */
@media (max-width: 768px) {
    .sample-training-class-cta {
        padding: 60px 16px;
    }
    
    .sample-class-cta-title {
        font-size: 32px;
    }
    
    .sample-class-cta-subtitle {
        font-size: 16px;
    }
    
    .sample-class-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .sample-class-cta-title {
        font-size: 28px;
    }
    
    .sample-class-form-wrapper {
        padding: 24px 16px;
    }
}

/* ============================================
   SEO Breadcrumbs
   ============================================ */
.blog-breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: #9CA3AF;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin: 0 6px;
    color: #D1D5DB;
    font-size: 13px;
}

.breadcrumb-list a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--e-global-color-primary);
}

.breadcrumb-list li:last-child span {
    color: #6B7280;
    font-weight: 400;
}

@media (max-width: 768px) {
    .blog-breadcrumbs {
        padding: 12px 16px 0;
    }
    
    .breadcrumb-list {
        font-size: 10px;
    }
    
    .breadcrumb-list li:not(:last-child)::after {
        margin: 0 4px;
        font-size: 12px;
    }
}

/* ============================================
   Modern Form Design - Responsive Styles
   ============================================ */

/* Mobile-first responsive adjustments for forms */
@media (max-width: 768px) {
    .ctedu-hs-form .hs-name-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hubspot-form .hs-input:not(.hs-fieldtype-intl-phone):not([id*="sakari"]),
    .hubspot-form select.hs-input,
    .ctedu-hs-form .ctedu-phone-field input[type="tel"],
    .hubspot-form input[type="submit"],
    .hubspot-form button {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .hubspot-form .hs-form {
        gap: 14px;
    }
}

/* Improved focus states for accessibility */
.hubspot-form .hs-input:focus-visible,
.hubspot-form select.hs-input:focus-visible,
.ctedu-hs-form .ctedu-phone-field input[type="tel"]:focus-visible {
    border-color: rgb(38, 37, 91);
    outline: 2px solid rgb(38, 37, 91);
    outline-offset: 2px;
}

/* Disabled state styling */
.hubspot-form .hs-input:disabled,
.hubspot-form select.hs-input:disabled,
.hubspot-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    transform: none !important;
}

/* Error state styling */
.hubspot-form .hs-input.error,
.hubspot-form select.hs-input.error {
    border-color: #dc2626;
    animation: shake 0.4s ease;
}

.hubspot-form .hs-input.error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Success state (optional for future use) */
.hubspot-form .hs-input.success {
    border-color: #16a34a;
}

.hubspot-form .hs-input.success:focus {
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

/* CTEDU Button Styles */
.ctedu-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--e-global-color-primary, #2d1b4e);
    border-radius: 30px;
    background-color: var(--e-global-color-primary, #2d1b4e);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ctedu-button:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.ctedu-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.ctedu-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

/* Outline Variant */
.ctedu-button.outline {
    background-color: transparent;
    color: var(--e-global-color-primary, #2d1b4e);
    border: 2px solid var(--e-global-color-primary, #2d1b4e);
}

.ctedu-button.outline:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.ctedu-button.outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.ctedu-button.outline:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

/* Disabled state */
.ctedu-button:disabled,
.ctedu-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

/* Location Directory Styles */
.location-directory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.location-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--e-global-color-primary);
}

.location-card-link {
    display: block;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}

.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--e-global-color-primary);
    border-radius: 12px;
    margin-bottom: 16px;
    color: white;
    transition: transform 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.05);
}

.location-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1e293b;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.location-card:hover .location-title {
    color: var(--e-global-color-primary);
}

.location-country {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #cbd5e1;
    display: inline-block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.location-card:hover .location-country {
    background: var(--e-global-color-primary);
    color: white;
    border-color: var(--e-global-color-primary);
}

.location-description {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-directory {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-card-link {
        padding: 20px;
    }

    .location-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .location-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .location-country {
        margin-bottom: 10px;
    }

    .location-description {
        font-size: 13px;
    }
}








/* ================================
   CTEDU Credential Badges
   ================================ */

.ctedu-credential-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ctedu-credential-badges__item {
    display: flex;
    align-items: center;
}

.ctedu-credential-badges__item a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.ctedu-credential-badges__item a:hover {
    opacity: 0.8;
}

.ctedu-credential-badges__item img {
    height: auto;
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .ctedu-credential-badges {
        gap: 15px;
    }
    
    .ctedu-credential-badges__item img {
        max-height: 60px;
    }
}
