/* ============================================================
   CTSP Ayacucho — Re-skin institucional (Trabajadores Sociales)
   Sobrescribe la paleta del tema base al azul institucional.
   ============================================================ */
:root {
  --ctsp-primary: #1d63b3;
  --ctsp-accent: #2e8bd6;
  --ctsp-dark: #0f2e57;
  --ctsp-soft: #f5f8fc;
}

body {
  color: #43536b;
}

/* ---- Botones ---- */
.boxed-btn3,
.boxed-btn3-white-2,
button.boxed-btn3,
.genric-btn,
.bttn {
  background: linear-gradient(to right, var(--ctsp-primary) 0%, var(--ctsp-accent) 100%) !important;
  color: #fff !important;
  border-radius: 30px !important;
  box-shadow: 0 6px 18px rgba(29, 99, 179, 0.28);
  transition: all .3s ease;
}

.boxed-btn3:hover,
.boxed-btn3-white-2:hover,
button.boxed-btn3:hover {
  background: var(--ctsp-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 46, 87, 0.32);
}

.boxed-btn3-white {
  background: #fff !important;
  color: var(--ctsp-primary) !important;
  border-radius: 30px !important;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.boxed-btn3-white:hover {
  background: var(--ctsp-dark) !important;
  color: #fff !important;
}

/* ---- Títulos de sección ---- */
.section_title h3 {
  color: var(--ctsp-dark) !important;
  font-weight: 700 !important;
}

.section_title h3::before,
.section_title span::before {
  background: linear-gradient(90deg, var(--ctsp-primary), var(--ctsp-accent)) !important;
  height: 3px !important;
  width: 60px !important;
  border-radius: 3px;
}

.section_title p {
  color: #6b7a90 !important;
}

/* ---- Breadcrumb (cabecera de páginas internas) ---- */
.bradcam_overlay::before {
  background: linear-gradient(120deg, rgba(15, 46, 87, 0.85) 0%, rgba(29, 99, 179, 0.78) 55%, rgba(46, 139, 214, 0.55) 100%) !important;
  opacity: 1 !important;
}

.bradcam_area h3 {
  font-weight: 700 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.bradcam_text p a,
.bradcam_text p {
  color: #eaf2fb !important;
}

/* ---- Enlaces / acentos ---- */
a {
  color: var(--ctsp-primary);
  transition: color .25s ease;
}

a:hover {
  color: var(--ctsp-dark);
  text-decoration: none;
}

/* ---- Acentos de color de marca antiguos -> institucional ---- */
.text-info,
.skyblue,
.color-skyblue {
  color: var(--ctsp-primary) !important;
}

.single_service .icon i,
.single_offers .icon i,
.single_feature .icon i {
  color: var(--ctsp-primary) !important;
}

/* ---- Tarjetas: sombras más suaves y modernas ---- */
.single_service,
.single_offers,
.single_news,
.blog_left_sidebar .single-post,
.single_member,
.card,
.single_course {
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(15, 46, 87, 0.08) !important;
  transition: transform .3s ease, box-shadow .3s ease;
  border: none !important;
}

.single_service:hover,
.single_offers:hover,
.single_news:hover,
.single_member:hover,
.single_course:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(29, 99, 179, 0.16) !important;
}

/* ---- Tipografía general más limpia ---- */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* ---- Footer institucional ---- */
.footer-area,
.footer_top {
  background: var(--ctsp-dark) !important;
}

.copy-right_text,
.footer_bottom {
  background: #0a2143 !important;
}

.footer_top {
  padding-top: 60px !important;
}

.footer_logo_section {
  margin-bottom: 32px !important;
}

.footer_logo_link {
  gap: 18px !important;
  align-items: center !important;
}

.footer_logo_img {
  width: 160px !important;
  height: 80px !important;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.footer_logo_text {
  padding-right: 8px;
}

.footer_logo_text h3 {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

/* ---- Header azul marino institucional (prioridad, resiliente) ---- */
#sticky-header.main-header-area,
.header-area .main-header-area,
.main-header-area {
  background: linear-gradient(135deg, #0f2e57 0%, #16365f 100%) !important;
}

#navigation>li>a {
  color: #ffffff !important;
}

#navigation>li>a:hover,
#navigation>li>a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

#navigation>li>a i.ti-angle-down {
  color: #cfe0f5 !important;
}

/* ---- Marca del header (el logo ya contiene el nombre) ---- */
.logo-img {
  max-width: 160px !important;
  height: auto;
  filter: none !important;
}

.logo-brand {
  display: none !important;
}

/* ---- Texto sobre el carrusel del inicio (banners con título/subtítulo) ---- */
.single_slider { position: relative; }
.single_slider.ctsp-slider-overlay::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,28,58,.86) 0%, rgba(13,42,80,.62) 42%, rgba(15,46,87,.20) 72%, rgba(15,46,87,0) 100%);
}
.single_slider .ctsp-slider-text {
  position: relative; z-index: 2;
  padding: 28px 30px 28px 34px;
}
/* barra de acento a la izquierda */
.ctsp-slider-text::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 6px; border-radius: 6px;
  background: linear-gradient(180deg, #36a0e0, #1d63b3);
  box-shadow: 0 0 18px rgba(46,139,214,.7);
}
.ctsp-slider-text h3 {
  color: #fff !important; font-weight: 800; font-size: 58px; line-height: 1.08;
  letter-spacing: -.5px; text-shadow: 0 6px 26px rgba(0,0,0,.55); margin: 0 0 16px;
}
.ctsp-slider-text p {
  color: #dfeaf7; font-size: 21px; font-weight: 400; line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0,0,0,.5); margin: 0 0 28px; max-width: 600px;
}
.ctsp-slider-text .boxed-btn3 { padding: 14px 38px !important; font-size: 15px; }

/* contenido de texto enriquecido (Summernote) del banner; los estilos inline
   que aplique el usuario (color, tamaño) tienen prioridad sobre estas reglas */
.ctsp-slider-text .ctsp-slider-richtext {
  color: #fff; font-size: 22px; line-height: 1.45; margin: 0 0 18px; max-width: 760px;
  text-shadow: 0 4px 20px rgba(0,0,0,.55);
}
.ctsp-slider-text .ctsp-slider-richtext p { color: #fff; margin: 0 0 10px; }
.ctsp-slider-text .ctsp-slider-richtext h1,
.ctsp-slider-text .ctsp-slider-richtext h2,
.ctsp-slider-text .ctsp-slider-richtext h3,
.ctsp-slider-text .ctsp-slider-richtext h4 {
  color: #fff; font-weight: 800; line-height: 1.1; margin: 0 0 12px;
  text-shadow: 0 6px 26px rgba(0,0,0,.55);
}
.ctsp-slider-text .ctsp-slider-richtext a { color: #9bd0ff; text-decoration: underline; }
.ctsp-slider-text .ctsp-slider-richtext ul,
.ctsp-slider-text .ctsp-slider-richtext ol { margin: 0 0 14px; padding-left: 22px; }

/* animación de entrada del texto en la diapositiva activa */
@keyframes ctspSlideIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.slider_active .owl-item.active .ctsp-slider-text::before { animation: ctspSlideIn .6s ease both; }
.slider_active .owl-item.active .ctsp-slider-text h3,
.slider_active .owl-item.active .ctsp-slider-text .ctsp-slider-richtext { animation: ctspSlideIn .7s ease .12s both; }
.slider_active .owl-item.active .ctsp-slider-text p { animation: ctspSlideIn .7s ease .26s both; }
.slider_active .owl-item.active .ctsp-slider-text .boxed-btn3 { animation: ctspSlideIn .7s ease .40s both; }

@media (max-width: 991px){ .ctsp-slider-text h3 { font-size: 42px; } }
@media (max-width: 767px){ .ctsp-slider-text { padding: 20px 18px; } .ctsp-slider-text h3 { font-size: 30px; } .ctsp-slider-text p { font-size: 16px; } }