/* Home + About: one consistent look for section headings, and one entrance animation */

/* Small red section labels (page content only - not the header or footer) */
[data-elementor-type="wp-page"] .sec-title_title,[data-elementor-type="wp-page"] .elementor-widget-heading h5.elementor-heading-title,[data-elementor-type="wp-page"] .elementor-widget-heading h6.elementor-heading-title{
  color:#DD131A!important;font-family:"Inter",sans-serif!important;font-size:16px!important;
  font-weight:600!important;text-transform:uppercase!important;line-height:1.4!important}

/* Every section label: Citius Minds icon + red uppercase text (like "OUR BLOG") */
[data-elementor-type="wp-page"] .sec-title_title,[data-elementor-type="wp-page"] .elementor-widget-heading h5.elementor-heading-title,[data-elementor-type="wp-page"] .elementor-widget-heading h6.elementor-heading-title,.cm-section-label{
  display:inline-flex!important;align-items:center;gap:10px;padding-left:0!important;position:relative}
[data-elementor-type="wp-page"] .sec-title_title::before,[data-elementor-type="wp-page"] .elementor-widget-heading h5.elementor-heading-title::before,[data-elementor-type="wp-page"] .elementor-widget-heading h6.elementor-heading-title::before,.cm-section-label::before{
  content:""!important;position:static!important;display:block!important;flex:0 0 20px;width:20px!important;height:20px!important;
  background:url(../content/uploads/2024/12/CM_Logo_Favicon-1-1.png) center/contain no-repeat!important;
  margin:0!important;left:auto!important;top:auto!important;right:auto!important;transform:none!important;opacity:1!important}
[data-elementor-type="wp-page"] .sec-title_title::after{display:none!important}
.cm-section-label{color:#DD131A;font:600 16px/1.4 "Inter",sans-serif;text-transform:uppercase;margin:0}

/* Stats counters (35+, 10,000+ ...): labels centred under the numbers, tight line spacing if they wrap */
.elementor-counter .elementor-counter-title{text-align:center!important;justify-content:center!important;
  line-height:1.3!important;padding:12px 0!important;width:100%}

/* Testimonial cards: equal height in each row */
.testimonial-three_carousel .swiper-slide{height:auto!important;display:flex}
.testimonial-three_carousel .testimonial-block_three,.testimonial-three_carousel .testimonial-block_three-inner{height:100%;width:100%}

/* Large section headings (page content only) */
[data-elementor-type="wp-page"] .sec-title_heading,[data-elementor-type="wp-page"] .elementor-widget-heading h2.elementor-heading-title{
  font-family:"Outfit",sans-serif!important;color:#141414!important;font-weight:600!important}

/* Hero slider headings: same size on every slide */
.slider-two .slider-two_heading{font-family:"Outfit",sans-serif;font-size:44px;line-height:50px;font-weight:600;color:#4f4f4f;margin:0}
@media (max-width:767px){.slider-two .slider-two_heading{font-size:30px;line-height:40px}}

/* Hero slider: gentle fade-up (replaces the wipe reveal) */
.slider-two .slider-two_title,.slider-two .slider-two_heading,.slider-two .slider-two_text,.slider-two .slider-two_button{
  clip-path:none!important;-webkit-clip-path:none!important;opacity:0;transform:translateY(24px);
  transition:opacity .7s ease,transform .7s ease!important;transition-delay:0s!important}
.slider-two .swiper-slide-active .slider-two_title{opacity:1;transform:none;transition-delay:.15s!important}
.slider-two .swiper-slide-active .slider-two_heading{opacity:1;transform:none;transition-delay:.3s!important}
.slider-two .swiper-slide-active .slider-two_text{opacity:1;transform:none;transition-delay:.45s!important}
.slider-two .swiper-slide-active .slider-two_button{opacity:1;transform:none;transition-delay:.6s!important}

/* Homepage: live blog cards (same design as the original card images) */
.cm-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;width:100%}
@media (max-width:1024px){.cm-blog-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){.cm-blog-grid{grid-template-columns:1fr}}
.cm-blog-card{background:#fff;border:1px solid #ececec;display:flex;flex-direction:column}
.cm-blog-media{position:relative;display:block;aspect-ratio:3/2;overflow:visible;background:#e9e9ef}
.cm-blog-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.cm-blog-card:hover .cm-blog-media img{transform:scale(.97)}
.cm-blog-date{position:absolute;right:22px;bottom:-22px;width:110px;text-align:center;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.15)}
.cm-blog-date b{display:block;background:#0D1057;font:700 44px/1 "Outfit",sans-serif;padding:20px 0 16px}
.cm-blog-date i{display:block;background:#DD131A;font:600 15px/1 "Inter",sans-serif;font-style:normal;padding:11px 0;letter-spacing:.3px}
.cm-blog-body{padding:40px 30px 30px}
.cm-blog-meta{font:400 16px "Inter",sans-serif;color:#4f4f4f;margin-bottom:12px}
.cm-blog-meta i{color:#DD131A;margin-right:6px}
.cm-blog-title{font:600 24px/1.5 "Outfit",sans-serif;margin:0 0 14px}
.cm-blog-title a{color:#141414;text-decoration:none}
.cm-blog-title a:hover{color:#DD131A}

/* Section headings: gentle fade-up when scrolled into view (class added by heading-fade.js) */
.cm-fade{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.cm-fade.cm-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .cm-fade{opacity:1;transform:none;transition:none}
  .slider-two .slider-two_title,.slider-two .slider-two_heading,.slider-two .slider-two_text,.slider-two .slider-two_button{opacity:1;transform:none;transition:none!important}
}
