html { scroll-behavior: smooth }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: #1e2d43;
  background: #eef0f2;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 520px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.52) 18%,
      rgba(0,0,0,0.26) 38%,
      rgba(0,0,0,0.10) 58%,
      rgba(0,0,0,0.00) 100%
    );
}

main,
header {
  position: relative;
  z-index: 2;
}

.ck-main-header {
  transition: background .3s ease, backdrop-filter .3s ease;
  background: transparent;
}

#mobileMenu {
  transition: opacity .3s ease, transform .3s ease;
}

#mobileMenu.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.ck-hero-shadow {
  box-shadow: inset 0 22px 35px rgba(0,0,0,.20), inset 0 -22px 35px rgba(0,0,0,.20);
}

.ck-slide-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 100%);
}

.ck-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease;
  position: absolute;
  inset: 0;
}

.ck-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: absolute;
  inset: 0;
}

.ck-section-dark {
  background: #0d131a;
  color: #fff;
}

.ck-editorial-card {
  background: #111820;
  color: #fff;
  border-radius: 1.6rem;
  overflow: hidden;
}

.ck-community-section {
  position: relative;
  overflow: hidden;
  background-color: #0b1118;
}

.ck-community-bg {
  position: absolute;
  top: -140px;
  left: 0;
  width: 100%;
  height: calc(100% + 280px);
  background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0) scale(1.1);
  will-change: transform;
  z-index: 0;
}

.ck-community-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.50) 35%, rgba(0,0,0,.66) 100%);
  z-index: 1;
}

.ck-community-content {
  position: relative;
  z-index: 2;
}

.ck-news-link img,
.ck-card-link img,
.ck-editorial-link img {
  transition: transform .45s ease;
}

.ck-news-link:hover img,
.ck-card-link:hover img,
.ck-editorial-link:hover img {
  transform: scale(1.04);
}

.ck-divider {
  height: 3px;
  background: #c61c1b;
  width: 100%;
}

.ck-news-scroll {
  scrollbar-width: thin;
  scrollbar-color: #c61c1b transparent;
}

.ck-news-scroll::-webkit-scrollbar {
  height: 8px;
}

.ck-news-scroll::-webkit-scrollbar-thumb {
  background: #c61c1b;
  border-radius: 999px;
}

.ck-header-shell {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.ck-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 25;
}

.ck-header-logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
  display: block;
}

.ck-desktop-nav {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.ck-desktop-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  min-height: 100px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  transition: background .25s ease, color .25s ease;
  white-space: nowrap;
  text-align: center;
}

.ck-desktop-nav a:hover {
  background: rgba(255,255,255,.10);
}

@media (min-width: 1280px) {
  .ck-desktop-nav {
    display: flex;
  }
}

.ck-world-blue {
  background: #1a3058;
}

.ck-cursos-section {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.ck-wp-section {
  position: relative;
  overflow: hidden;
}

.ck-wp-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/wp_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.ck-cursos-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.ck-cursos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,32,0.82) 0%, rgba(10,18,32,0.72) 40%, rgba(10,18,32,0.85) 100%);
  z-index: 1;
}

.ck-cursos-content {
  position: relative;
  z-index: 2;
}

.ck-curso-card {
  background: rgba(30, 58, 110, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background .3s ease, border-color .3s ease;
}

.ck-curso-card:hover {
  background: rgba(30, 58, 110, 0.75);
  border-color: rgba(255,255,255,0.25);
}

/* ─── CONTROL DE IMÁGENES STOCK ─── */
.ck-safe-photo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #dbe8f4;
}

.ck-safe-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ck-safe-photo-frame.is-illustration {
  height: 360px;
  max-height: 360px;
}

.ck-safe-photo-frame.is-illustration img {
  object-fit: cover;
}

.ck-world-media {
  position: relative;
  min-height: 280px;
  max-height: 340px;
  overflow: hidden;
  background: #dbe8f4;
}

.ck-world-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ck-footer-info-panel {
  min-height: 180px;
  border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .ck-footer-info-panel {
    min-height: 200px;
  }
}

@media (max-width: 639px) {
  .ck-safe-photo-frame.is-illustration {
    height: 260px;
    max-height: 260px;
  }

  .ck-world-media {
    min-height: 260px;
    max-height: 300px;
  }
}

/* ─── ICONOS GOOGLE MATERIAL SYMBOLS ─── */
.ck-symbol-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 142px;
  line-height: 1;
  color: #2f5688;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  transition: transform .25s ease;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}

.ck-category-icon-wrap {
  min-height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ck-doc-symbol-circle {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1d98a;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ck-doc-symbol-circle.is-blue {
  background: #2f5688;
}

.ck-doc-symbol {
  font-family: 'Material Symbols Outlined';
  font-size: 82px;
  line-height: 1;
  color: #2f5688;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}

.ck-doc-symbol-circle.is-blue .ck-doc-symbol {
  color: #f1d98a;
}

.ck-symbol-card:hover .ck-symbol-icon {
  transform: translateY(-4px);
}

.ck-symbol-card:hover .ck-doc-symbol-circle {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(47, 86, 136, .18);
}

@media (max-width: 639px) {
  .ck-symbol-icon {
    font-size: 112px;
  }

  .ck-category-icon-wrap {
    min-height: 126px;
  }

  .ck-doc-symbol-circle {
    width: 120px;
    height: 120px;
  }

  .ck-doc-symbol {
    font-size: 66px;
  }
}

/* ─── CONTACTO BANNER ─── */
.ck-contact-banner {
  position: relative;
  overflow: hidden;
  background: #eef0f2;
  padding: 34px 16px;
}

.ck-contact-banner-shell {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 14px;
  max-width: 1280px;
  margin: 0 auto;
  background: #2f5688;
}

.ck-contact-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/kine3.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
}

.ck-contact-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238,240,242,.92) 0%, rgba(238,240,242,.82) 36%, rgba(238,240,242,.72) 65%, rgba(238,240,242,.86) 100%),
    rgba(255,255,255,.45);
  z-index: 1;
}

.ck-contact-banner-content {
  position: relative;
  z-index: 2;
  min-height: 250px;
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: center;
  padding: 40px 70px;
}

.ck-contact-btn {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  padding: 13px 26px;
  border-radius: 9px;
  background: #253f69;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37,63,105,.22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.ck-contact-btn:hover {
  background: #2f5688;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37,63,105,.28);
}

.ck-contact-banner-text {
  max-width: 650px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.55rem, 2.35vw, 1.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #163154;
}

@media (max-width: 1023px) {
  .ck-contact-banner-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 44px 28px;
  }

  .ck-contact-banner-text {
    margin: 0 auto;
    max-width: 720px;
    font-size: clamp(1.6rem, 4.2vw, 2.25rem);
    line-height: 1.08;
  }

  .ck-community-bg {
    top: -70px;
    height: calc(100% + 140px);
    transform: translate3d(0, 0, 0) scale(1.05);
  }
}

@media (max-width: 639px) {
  body::before {
    height: 380px;
  }

  .ck-header-shell {
    min-height: 84px;
  }

  .ck-header-logo img {
    height: 62px;
  }

  .ck-contact-banner {
    padding: 24px 12px;
  }

  .ck-contact-banner-shell,
  .ck-contact-banner-content {
    min-height: 260px;
  }

  .ck-contact-banner-content {
    padding: 34px 20px;
  }

  .ck-contact-btn {
    min-width: 155px;
    padding: 12px 22px;
    font-size: 14px;
  }

  .ck-contact-banner-text {
    max-width: 100%;
    font-size: 1.55rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }
}

/* ─── PÁGINA NOTICIA DETALLE NUEVA ─── */

.ck-article-page {
  background: #ffffff;
  color: #111827;
}

.ck-article-wrap {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 78px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 315px;
  gap: 64px;
  align-items: start;
}

.ck-article-main {
  min-width: 0;
}

.ck-article-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 340px;
  background: #dbe8f4;
}

.ck-article-hero-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.ck-article-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.76) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.05) 70%);
}

.ck-article-hero-card h1 {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.ck-article-stats {
  /* display: flex; */
  align-items: center;
  gap: 70px;
  padding: 14px 28px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: .98rem;
  font-weight: 800;
  color: #b8b8b8;
}

.ck-article-content {
  font-family: 'Source Sans 3', sans-serif;
}

.ck-article-content p {
  margin-bottom: 17px;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #111827;
}

.ck-article-content h2 {
  margin: 36px 0 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 900;
  color: #294675;
}

.ck-article-content ul {
  margin: 12px 0 30px;
  padding-left: 0;
  list-style: none;
}

.ck-article-content li {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.ck-article-content li::before {
  content: "– ";
  font-weight: 900;
  color: #294675;
}

.ck-article-highlight {
  margin: 40px 0 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #294675;
}

.ck-article-note {
  margin-top: 42px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem) !important;
  line-height: 1.1 !important;
  font-weight: 500;
  color: #f1d98a !important;
}

.ck-article-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ck-sidebar-box {
  background: #eef0f2;
  border: 1px solid rgba(47, 86, 136, 0.16);
  border-radius: 16px;
  padding: 24px;
}

.ck-sidebar-box h3 {
  margin: 0 0 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #294675;
}

.ck-sidebar-socials {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ck-sidebar-socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2f5688;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}

.ck-sidebar-socials a:hover {
  transform: translateY(-3px);
  opacity: .85;
}

.ck-sidebar-socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ck-sidebar-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(47, 86, 136, 0.18);
  font-size: .95rem;
  line-height: 1.25;
  font-weight: 600;
  color: #111827;
  transition: color .2s ease;
}

.ck-sidebar-link:hover {
  color: #c61c1b;
}

.ck-sidebar-link .material-symbols-outlined {
  font-size: 20px;
  color: #c61c1b;
}

.ck-mini-news {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(47, 86, 136, 0.18);
  color: #111827;
}

.ck-mini-news img {
  width: 70px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.ck-mini-news span {
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 900;
}

.ck-related {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 3px solid #294675;
}

.ck-related h2 {
  margin: 0 0 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  font-weight: 900;
  color: #294675;
}

.ck-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ck-related-card {
  overflow: hidden;
  border-radius: 12px;
  background: #eef0f2;
  display: block;
  color: #294675;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ck-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

.ck-related-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.ck-related-card div {
  padding: 13px;
}

.ck-related-card p {
  margin: 0 0 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 900;
  color: #c61c1b;
  text-transform: uppercase;
}

.ck-related-card h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  line-height: 1.2;
  font-weight: 900;
  color: #294675;
}

@media (max-width: 1050px) {
  .ck-article-wrap {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ck-article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .ck-article-wrap {
    width: min(100% - 24px, 1180px);
    padding: 42px 0 64px;
  }

  .ck-article-hero-card,
  .ck-article-hero-card img {
    min-height: 280px;
    height: 280px;
  }

  .ck-article-hero-card h1 {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .ck-article-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 4px 18px;
  }

  .ck-article-sidebar {
    grid-template-columns: 1fr;
  }

  .ck-related-grid {
    grid-template-columns: 1fr;
  }

  .ck-related-card img {
    height: 180px;
  }
}
/* ─── ACCIÓN GREMIAL ─── */

.ck-ag-page {
  background: #eef0f2;
  color: #1e2d43;
}

.ck-ag-hero_menu{
  position: relative;
  min-height: 110px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ck-ag-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ck-seccion-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ck-seccion-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}


.ck-ag-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.ck-ag-etica-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/bg/bg_etica.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.ck-ag-estatutos-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/bg/bg_estatutos.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.ck-ag-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,19,26,.88) 0%, rgba(13,19,26,.62) 45%, rgba(13,19,26,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 100%);
}

.ck-ag-hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding-top: 80px;
  color: #fff;
}

.ck-ag-hero-content > p:first-child,
.ck-ag-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #f2b141;
}

.ck-ag-hero-content h1 {
  margin-top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: .95;
  font-weight: 900;
}

.ck-ag-hero-content span {
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 24px;
  background: #c61c1b;
}

.ck-ag-hero-text {
  max-width: 690px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}

.ck-ag-intro {
  background: #fff;
  padding: 72px 16px;
}

.ck-ag-intro-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.ck-ag-intro h2,
.ck-ag-section-head h2 {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .98;
  font-weight: 900;
  color: #2f5688;
}

.ck-ag-redline {
  width: 78px;
  height: 4px;
  margin-top: 20px;
  background: #c61c1b;
}

.ck-ag-intro p {
  margin-bottom: 18px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #243247;
}

.ck-ag-section {
  padding: 76px 16px;
  background: #eef0f2;
}

.ck-ag-container {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.ck-ag-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ck-ag-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(47, 86, 136, .13);
  box-shadow: 0 12px 35px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ck-ag-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 86, 136, .28);
  box-shadow: 0 18px 45px rgba(0,0,0,.1);
}

.ck-ag-card-head {
  width: 100%;
  min-height: 150px;
  padding: 26px;
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  gap: 16px;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ck-ag-card-head .material-symbols-outlined {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #2f5688;
  color: #f1d98a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.ck-ag-card-head strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  color: #2f5688;
}

.ck-ag-card-head small {
  display: block;
  margin-top: 7px;
  font-size: .96rem;
  line-height: 1.3;
  color: #4f5d73;
}

.ck-ag-card-head em {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef0f2;
  color: #2f5688;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 900;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.ck-ag-card.is-open .ck-ag-card-head em {
  transform: rotate(45deg);
  background: #c61c1b;
  color: #fff;
}

.ck-ag-card-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  border-top: 1px solid transparent;
  transition: max-height .35s ease, padding .35s ease, border-color .35s ease;
}

.ck-ag-card.is-open .ck-ag-card-body {
  max-height: 600px;
  padding: 0 26px 28px;
  border-color: rgba(47, 86, 136, .14);
}

.ck-ag-card-body p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: #1e2d43;
}

.ck-ag-card-body a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 900;
  color: #c61c1b;
  word-break: break-word;
}

.ck-ag-sites {
  padding: 76px 16px 90px;
  background: #fff;
}

.ck-ag-section-head {
  margin-bottom: 38px;
}

.ck-ag-sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ck-ag-site-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 22px;
  background: #eef0f2;
  color: #1e2d43;
  border: 1px solid rgba(47, 86, 136, .12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ck-ag-site-card:hover {
  transform: translateY(-5px);
  background: #dbe8f4;
  box-shadow: 0 18px 42px rgba(0,0,0,.1);
}

.ck-ag-site-card img {
  max-height: 70px;
  width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 28px;
}

.ck-ag-site-card > .material-symbols-outlined {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: #2f5688;
  color: #f1d98a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 28px;
}

.ck-ag-site-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
  color: #2f5688;
}

.ck-ag-site-card p {
  margin-top: 10px;
  font-size: .98rem;
  line-height: 1.45;
  color: #4f5d73;
}

@media (max-width: 1024px) {
  .ck-ag-intro-grid,
  .ck-ag-accordion-grid,
  .ck-ag-sites-grid {
    grid-template-columns: 1fr;
  }

  .ck-ag-hero {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .ck-ag-hero {
    min-height: 430px;
  }

  .ck-ag-hero-content {
    padding-top: 96px;
  }

  .ck-ag-intro,
  .ck-ag-section,
  .ck-ag-sites {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ck-ag-card-head {
    grid-template-columns: 46px 1fr 30px;
    padding: 22px;
  }

  .ck-ag-card-head .material-symbols-outlined {
    width: 46px;
    height: 46px;
    font-size: 25px;
  }

  .ck-ag-card-head strong {
    font-size: 1.1rem;
  }
}
/* ─── FIX ACCIÓN GREMIAL CARDS ─── */

.ck-ag-card-head {
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  grid-template-rows: auto auto;
  align-items: center;
}

.ck-ag-card-head .material-symbols-outlined {
  grid-column: 1;
  grid-row: 1 / 3;
}

.ck-ag-card-head strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.ck-ag-card-head small {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  max-width: 100%;
}

.ck-ag-card-head em {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
}

@media (max-width: 640px) {
  .ck-ag-card-head {
    grid-template-columns: 46px minmax(0, 1fr) 30px;
  }
}

/* ─── BENEFICIOS GREMIAL ─── */

.ck-ben-section {
  padding: 76px 16px 90px;
  background: #fff;
}

.ck-ben-group {
  margin-bottom: 42px;
}

.ck-ben-group:last-child {
  margin-bottom: 0;
}

.ck-ben-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(47, 86, 136, .12);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #2f5688;
}

.ck-ben-group-title .material-symbols-outlined {
  font-size: 26px;
  color: #c61c1b;
}

.ck-ben-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.ck-ben-card {
  display: grid;
  grid-template-columns: 62px 1fr 28px;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  background: #eef0f2;
  border: 1px solid rgba(47, 86, 136, .10);
  text-decoration: none;
  color: #1e2d43;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.ck-ben-card:hover {
  transform: translateY(-4px);
  background: #dbe8f4;
  border-color: rgba(47, 86, 136, .25);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.ck-ben-card-logo {
  width: 62px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}

.ck-ben-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ck-ben-card-body {
  min-width: 0;
}

.ck-ben-card-body strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.2;
  color: #2f5688;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ck-ben-card-body small {
  display: block;
  margin-top: 4px;
  font-size: .82rem;
  line-height: 1.2;
  color: #4f5d73;
}

.ck-ben-arrow {
  font-size: 22px;
  color: #c61c1b;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}

.ck-ben-card:hover .ck-ben-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .ck-ben-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .ck-ben-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ck-ben-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ck-ben-card {
    padding: 16px;
  }

  .ck-ben-arrow {
    opacity: .4;
    transform: translateX(0);
  }

  .ck-ben-group-title {
    font-size: 1.05rem;
  }
}

.modal-benefit {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  font-family: system-ui, sans-serif;
  text-align: center;
}

.modal-benefit__logo {
  width: 120px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin:0px auto 16px auto;
}

.modal-benefit__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
}

.modal-benefit__desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  text-align: justify !important;
}

.news-list {
  margin: 0 auto;
  font-family: system-ui, sans-serif;
}

.news-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.news-card:last-of-type {
  border-bottom: none;
}

.news-card__image-wrap {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.news-card:hover .news-card__image {
  transform: scale(1.05);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.news-card__date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin: 0;
}

.news-card__title {
  font-size: 25px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.news-card__intro {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}

.news-card__link:hover {
  color: #004499;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}

.news-pagination__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-pagination__btn:hover {
  border-color: #0066cc;
  color: #0066cc;
}

.news-pagination__btn--active {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
}

.news-pagination__btn--active:hover {
  background: #004499;
  color: #fff;
}

.news-pagination__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.news-pagination__arrow:hover {
  border-color: #0066cc;
  color: #0066cc;
}

.news-pagination__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
  .news-card {
    flex-direction: column;
  }
  .news-card__image-wrap {
    width: 100%;
    height: 180px;
  }
}

.ethics-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
  font-family: system-ui, sans-serif;
}

.ethics-section__title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 28px;
  text-align: center;
}

.ethics-section__text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 20px;
  text-align: justify;
}

.ethics-section__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.ethics-section__download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #0066cc;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.ethics-section__download-btn:hover {
  background: #004499;
}

.ethics-section__download-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}