/*
Template:       salion
Theme Name:     Salion Child
Theme URI:      https://radiustheme.com/demo/wordpress/themes/salion
Author:         RadiusTheme
Author URI:     https://www.radiustheme.com
Description:    Salion | Responsive WordPress Salion Theme is one of the Latest and World Standard Multipurpose Responsive WordPress Salion Theme.
Version:        1.0.0
Tags:           one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
License:        Envato split License
License URI:    https://themeforest.net/licenses/terms/regular
*/

/* Main color: #0094B2 (Turquoise) */

.single-portfolio-box-layout1 .wp-block-list {
  list-style: circle !important;
  padding-left: 20px !important;
}

#menu-main-menu-1 {
    text-transform: uppercase;
}

/* Make arrows in slider blue on hover */
#rev_slider_3_1_wrapper .hesperiden.tparrows.rs-touchhover {
    background: #0094B2 !important;
}

/* Testimonials page */
.page-id-5457 .container {
}

.page-id-5457 .elementor-5457 > section {
    /* margin: 150px auto; */
}

.page-id-5457 .elementor-5457 > section:nth-child(even) {
}

/* Footer (Privacy Policy link layout) */
.footer-layout1 .container .row {
    justify-content: center;
}

.footer-layout1 .container .row #custom_html-2 {
    margin: 0 !important;
    text-align: center;
}

.service-box-layout2.dark-layout .title a:hover {
    color: #fafafa !important;
}

.course-duration {
    font-weight: 600;
    margin-bottom: 8px;
}

.service-box-layout2.dark-layout .course-duration {
    color: #9c9c9c;
    transition: all 0.3s ease-out;
}

.service-box-layout2.dark-layout:hover .course-duration {
    color: #ffffff;
}

#enroll-now {
    color: #000000;
}

#enroll-now:hover {
    color: #ffffff;
}

.enroll-now-wrapper {
    margin: 18px auto;
}




/* TODO: might not use this after all */
/* Testimonial cards START */
/* ----------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* gap-6 */
  border: 1px solid rgba(0, 148, 178, 0.2);
  padding: 1.5rem; /* py-6 */
  background: linear-gradient(to bottom right, var(--card, #fff), rgba(255, 255, 255, 0.5));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
  transition: all 0.5s ease;
}
.card:hover {
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.card-content {
  padding: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-image-side {
  background: linear-gradient(
    to bottom right,
    rgba(0, 148, 178, 0.05),
    rgba(0, 148, 178, 0.1)
  );
  padding: 2rem; /* p-8 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-wrapper {
  position: relative;
}
.image-border {
  width: 12rem; /* w-48 */
  height: 12rem; /* h-48 */
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(0, 148, 178, 0.3);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
.image-border img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.quote-icon {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  background: #0094b2;
  color: #fff;
  padding: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}
.quote-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.image-text {
  margin-top: 1.5rem;
  text-align: center;
}
.image-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground, #111);
}
.image-text p {
  color: #0094b2;
  font-weight: 500;
}

.card-text-side {
  padding: 2rem;
}
@media (min-width: 768px) {
  .card-text-side {
    padding: 3rem;
  }
}
.card-text-side blockquote {
  color: var(--foreground, #111);
  font-size: 1.125rem; /* text-lg */
  line-height: 1.625; /* leading-relaxed */
}
.card-text-side blockquote p {
  margin-bottom: 1.5rem;
}


/* Testimonial cards END   */
/* ----------------------- */

.elementor-tab-title {}

.elementor-tab-title.elementor-active .elementor-accordion-title {
    
}

.elementor-accordion-title {

}

.page-id-5390 .elementor-accordion .elementor-accordion-item:first-child {
    display: none;
}

.elementor-tab-title .elementor-accordion-title:before {
    content: "Read more";
}

.elementor-tab-title.elementor-active .elementor-accordion-title:before {
    content: "Read less";
}

.elementor-accordion .elementor-accordion-item + .elementor-accordion-item {
    border-block-start: 1px solid #d4d4d4 !important;
}

/* ================================
   EAEL Testimonials (Page #post-5457)
   Side-by-side on desktop, stacked on mobile
   ================================ */

/* Base layout: DESKTOP = row (image left, text right) */
#post-5457 .eael-testimonial-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 1.25rem !important;       /* tighten space between sides */
  padding: 2rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #f9fafb, #f1f5f9);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Kill any plugin-imposed column widths */
#post-5457 .eael-testimonial-item .eael-testimonial-image,
#post-5457 .eael-testimonial-item .eael-testimonial-content {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

/* Image: make it bigger and fixed-size so it doesn’t eat width */
#post-5457 .eael-testimonial-item .eael-testimonial-image {
  flex: 0 0 auto !important;
}

#post-5457 .eael-testimonial-item .eael-testimonial-image img {
  width: 220px !important;       /* bigger image */
  height: 220px !important;
  border-radius: 50% !important; /* circular */
  object-fit: cover !important;
  border: 5px solid #0094B2 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Content takes the rest; prevent weird overflow */
#post-5457 .eael-testimonial-item .eael-testimonial-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;       /* allows text to shrink instead of forcing white space */
}

/* Text: match your reference (but left-align on desktop) */
#post-5457 .eael-testimonial-item .eael-testimonial-text {
  color: #000 !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;   /* ~39px */
  text-align: left !important;
  text-rendering: optimizeLegibility;
  margin-bottom: 1rem !important;
  position: relative;
}

/* Decorative quotes (subtle, won’t affect layout) */
#post-5457 .eael-testimonial-item .eael-testimonial-text::before,
#post-5457 .eael-testimonial-item .eael-testimonial-text::after {
  color: #0094B2;
  font-family: Georgia, serif;
  font-size: 4rem;
  opacity: 0.15;
  position: absolute;
  line-height: 1;
  pointer-events: none;
}

#post-5457 .eael-testimonial-item .eael-testimonial-text::before {
  content: "“";
  top: -1.5rem;
  left: -2.5rem;
  font-size: 60px !important;
}

#post-5457 .eael-testimonial-item .eael-testimonial-text::after {
  content: "”";
  bottom: -2rem;
  right: -0.5rem;
  font-size: 60px !important;
}

/* Name */
#post-5457 .eael-testimonial-item .eael-testimonial-user {
  display: block !important;
  /* font-weight: 600 !important; */
  font-size: 16px !important;
  /* color: #111 !important; */
  margin-top: 0.5rem !important;
  text-align: left !important;
  /* border-left: 4px solid #0094B2 !important; */
  color: var( --e-global-color-primary ) !important;
  font-weight: var( --e-global-typography-primary-font-weight ) !important;
  font-style: normal !important;
}

.eael-testimonial-content .eael-testimonial-user-company {
    font-style: normal !important;
}

/* ===== Mobile: stack & center for small screens ===== */
@media (max-width: 767.98px) {
  #post-5457 .eael-testimonial-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  #post-5457 .eael-testimonial-item .eael-testimonial-text,
  #post-5457 .eael-testimonial-item .eael-testimonial-user,
  #post-5457 .eael-testimonial-item .eael-testimonial-user-company {
    text-align: center !important;
  }
  #post-5457 .eael-testimonial-item .eael-testimonial-image img {
    width: 180px !important;
    height: 180px !important;
  }

  #post-5457 .eael-testimonial-item .eael-testimonial-user-company {
      width: 100% !important;
  }
}

#post-5457 .elementor-widget-wrap > div {
    margin: 35px auto !important;
}


.page-id-5457 .section.content-area.customize-content-selector {
    padding-top: 60px !important;
}

/* Menu adjustments for mobile */
.mean-container .mean-bar,
#meanmenu {
    background-color: #050505;
    height: 70px !important;
}


body .sidebarBtn .bar {
    background: #ffffff !important;
}


/* Remove border from "read more" button on founder page */
.page-id-5390 .elementor-accordion .elementor-accordion-item + .elementor-accordion-item {
    border: none !important;
}

/* Courses: make heights same */
@media (min-width: 768px) {
    .service-box-layout2,
    .service-box-layout2 .content-box {
        height: 395px !important;
    }

    .service-box-layout2 .description {
        height: 80px !important;
    }
}
