/* Front + admin */
.cc-layouts-error{padding:16px;border:1px solid #e2b4b4;background:#fff1f1;color:#7b1f1f}
.cc-ratio-16-9{aspect-ratio:16/9;display:block;overflow:hidden}
.cc-ratio-16-9 img{width:100%;height:100%;object-fit:cover;display:block}

.cc-hero-main h3,.cc-card h3,.cc-opinion-card h3,.cc-side-item h4,.cc-list-image-content h4{
  margin:10px 0 0;
  line-height:1.08;
}
.cc-hero-main h3{font-size:20px!important}
.cc-card h3{font-size:20px!important}
.cc-side-item h4,.cc-list-image-content h4{font-size:clamp(20px,1.5vw,28px)}
.cc-opinion-card h3{font-size:clamp(18px,1.3vw,24px)}
.cc-card a,.cc-hero-main a,.cc-side-item a,.cc-opinion-card a,.cc-list-image-content a{text-decoration:none;color:inherit}

.cc-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.cc-hero-side{display:none}

.cc-grid.cc-grid-4{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  justify-content:stretch !important;
  justify-items:stretch;
  align-items:start;
}
.cc-grid.cc-grid-4 > .cc-card{
  width:auto !important;
  max-width:none !important;
  min-width:0;
}

/* ===== LAYOUT SLIDE ===== */
.cc-slide-layout{
  position:relative;
  width:100%;
  max-width:100%;
}
.cc-slide-viewport{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.cc-slide-track{
  display:flex;
  gap:24px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.cc-slide-track::-webkit-scrollbar{display:none}
.cc-slide-track > .cc-card{
  flex:0 0 calc((100% - 72px) / 4);
  width:auto !important;
  max-width:none !important;
  min-width:0;
  scroll-snap-align:start;
}
.cc-slide-track > .cc-card .cc-meta{
  margin-top:14px;
  text-align:center;
  font-size:14px;
  line-height:1.2;
}
.cc-slide-arrow{
  position:absolute;
  top:clamp(118px,16vw,175px);
  z-index:5;
  width:44px;
  height:44px;
  transform:translateY(-50%);
  border:0;
  border-radius:4px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 20px rgba(0,0,0,.16);
  color:#111;
  font-size:34px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.cc-slide-arrow--prev{left:0}
.cc-slide-arrow--next{right:0}
.cc-slide-arrow:disabled{
  opacity:.35;
  cursor:default;
}

.cc-list-images{display:grid;gap:20px}
.cc-list-image-item{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:18px;
  align-items:start;
  padding-bottom:18px;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.cc-list-image-item:last-child{padding-bottom:0;border-bottom:0}
.cc-list-image-thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.cc-list-image-thumb img{width:100%;height:100%;object-fit:cover;display:block}

.cc-opinion-grid-auto{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:24px;
  align-items:start;
}
.cc-opinion-card{
  min-width:0;
  overflow:visible;
}
.cc-opinion-avatar{
  width:92px;
  height:92px;
  border-radius:50%;
  overflow:hidden;
  display:block;
  margin:0 0 12px 0;
  background:#e8e8e8;
}
.cc-opinion-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cc-opinion-card h3{
  margin-top:8px;
  word-break:break-word;
}
.cc-opinion-card .cc-meta{
  margin-top:0;
  font-size:12px;
}

.cc-with-sidebar-ad.left{grid-template-columns:320px minmax(0,1fr)}

.cc-admin-layout-list{display:grid;gap:20px;margin-top:20px}
.cc-admin-card{
  background:#fff;
  border:1px solid #dcdcde;
  border-radius:8px;
  padding:20px;
}
.cc-admin-head{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.cc-admin-preview{
  margin-top:18px;
  border-top:1px solid #eee;
  padding-top:18px;
}
.cc-copy-btn{white-space:nowrap}

@media(max-width:900px){
  .cc-list-image-item{grid-template-columns:1fr}
}

@media(max-width:1024px){
  .cc-grid.cc-grid-4{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .cc-slide-track > .cc-card{
    flex-basis:calc((100% - 48px) / 3);
  }
  .cc-slide-arrow{
    top:clamp(116px,18vw,196px);
  }
}

@media(max-width:768px){
  .cc-grid.cc-grid-4{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .cc-slide-track > .cc-card{
    flex-basis:calc((100% - 24px) / 2);
  }
  .cc-slide-arrow{
    top:clamp(120px,28vw,210px);
  }
}

@media(max-width:520px){
  .cc-grid.cc-grid-4{
    grid-template-columns:1fr !important;
  }
  .cc-slide-track > .cc-card{
    flex-basis:100%;
  }
  .cc-slide-arrow{
    top:calc((100vw - 32px) * 0.5625 + 18px);
  }
}

.cc-author-card h3{display:none}
.cc-author-card .cc-meta{text-align:left;font-size:14px}




/* ===== TIPOGRAFÍA CONTENIDO NOTICIAS ===== */

/* Texto del contenido (párrafos y listas) */
.cc-excerpt {
  font-family: 'Merriweather'!important;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 1.2px;
  color: #1e293b;
  padding-top:10px;
}


/* ===== CONTENIDO NOTICIA (SINGLE) ===== */

.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content span {
  font-family: 'Merriweather', serif !important;
  font-weight: 300 !important;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #1e293b;
}



.cc-related-wrapper {
    margin-top: 20px;
    clear: both;
}

/* GRID */
.cc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

/* ITEM */
.cc-related-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* IMAGEN */
.cc-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 6px;
}

.cc-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TITULO */
.cc-related-title {
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.3;
}








/* =========================
   BASE SOLO NUEVOS BLOQUES
========================= */
.ccx-wrap {
  width: 100%;
}

.ccx-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 0px;
}

/* =========================
   SUBSCRIPCIONES
========================= */
.ccx-subscripciones {
  padding: 80px 20px;
}

.ccx-subscripciones .ccx-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.ccx-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.ccx-card:hover {
  transform: translateY(-8px);
}

.ccx-card--destacada {
  transform: scale(1.05);
}

.ccx-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.ccx-precio {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0;
}

.ccx-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
}

.ccx-btn:hover {
  background: #00a7a0;
}

/* =========================
   CTA
========================= */
.ccx-cta {
  padding: 80px 20px; /* un poco más aire */
  color: #fff;
}

.ccx-cta-container {
  display: flex;
  align-items: center;
  justify-content: center; /* 🔥 clave: centrado */
  gap: 30px; /* más compacto */
  max-width: 1200px;
  margin: 0 auto;
}

.ccx-cta-text {
  max-width: 420px; /* evita que el texto se estire demasiado */
}

.ccx-cta-text h2 {
  font-size: 48px; /* más protagonista */
  margin-bottom: 15px;
  color: #fff; /* aseguramos blanco */
}

.ccx-cta-text p {
  margin-bottom: 25px;
  font-size: 18px;
  opacity: 0.9;
}

.ccx-cta-img img {
  max-width: 480px; /* 🔥 MUCHO más grande */
  width: 100%;
  height: auto;

  /* toque moderno */
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.3));
}

/* =========================
   MES LLEGITS
========================= */
.ccx-llegits {
  //padding: 80px 20px;
}

.ccx-llegits-title {
  border-left: 4px solid #00a7a0;
  padding-left: 10px;
  margin-bottom: 30px;
}

.ccx-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.ccx-post img {
  width: 100%;
  margin-bottom: 10px;
}

/* =========================
   DESTACADA
========================= */
.ccx-hero {
  padding: 40px 0;
}

.ccx-hero-container {
  display: flex;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ccx-hero-img {
  width: 65%;
}

.ccx-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccx-hero-text {
  width: 35%;
  background: #f5f5f5;
  padding: 40px;
}

.ccx-hero-text h2 {
  font-size: 32px;
}

.ccx-hero-text p {
  font-family: "Merriweather"!important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .ccx-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ccx-hero-container {
    flex-direction: column;
  }

  .ccx-hero-img,
  .ccx-hero-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ccx-grid {
    grid-template-columns: 1fr;
  }

  .ccx-cta-container {
    flex-direction: column;
    text-align: center;
  }

  .ccx-cta-img img {
    max-width: 300px;
  }
}



/* =========================
   MEDIA HERO
========================= */
.cc-hero-media {
    padding: 60px 40px;
    color: #fff;
}

.cc-hero-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.cc-hero-text {
    flex: 1;
}

.cc-hero-title {
    font-size: 30px!important;
}

.cc-hero-title a {
    color: #fff;
    text-decoration: none;
}

.cc-hero-excerpt {
    margin: 15px 0;
}

.cc-hero-btn {
    background: #fff;
    color: #000;
		px 20px;
    text-decoration: none;
}

.cc-hero-media-box {
    flex: 1;
    position: relative;
}

.cc-hero-media-box img {
    width: 100%;
}

.cc-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 70px;
    height: 70px;
    background: #00a8b5;
    border-radius: 50%;
}

.cc-play:after {
    content: '';
    position: absolute;
    left: 28px;
    top: 22px;
    border-left: 15px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

@media (max-width:768px){
    .cc-hero-inner {
        flex-direction: column;
    }
}


.cc-video-embed iframe,
.cc-hero-media-box iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
}

.cc-hero-media-box iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.cc-media-hero-combo {
    width: 100%;
    padding: 44px;
    box-sizing: border-box;
}

.cc-media-hero-combo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
}

.cc-media-hero-panel {
    background: var(--cc-media-panel-bg);
    color: #fff;
    padding: 32px;
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cc-media-hero-panel-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
    width: 100%;
}

.cc-media-hero-panel-header > div {
    width: 100%;
}

.cc-media-hero-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.cc-media-hero-panel-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.05;
}

.cc-media-hero-panel-text {
    margin: 12px 0 0;
    max-width: 48ch;
    color: rgba(255,255,255,.9) !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    padding-top: 0;
}

.cc-media-hero-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    margin-top: 8px;
}

.cc-media-hero-media {
    width: 100%;
    min-width: 0;
}

.cc-media-hero-media img,
.cc-media-hero-embed {
    width: 100%;
    display: block;
    border: 0;
}

.cc-media-hero-media img,
.cc-media-hero-embed-video {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.cc-media-hero-embed-spotify {
    min-height: 352px;
    height: 352px;
}

@media (max-width: 890px) {
    .cc-media-hero-combo {
        padding: 24px;
    }

    .cc-media-hero-combo-grid {
        grid-template-columns: 1fr;
    }

    .cc-media-hero-panel {
        padding: 24px;
    }

    .cc-media-hero-title-row {
        flex-direction: column;
        gap: 10px;
    }

    .cc-media-hero-link {
        margin-top: 0;
    }

    .cc-media-hero-embed-spotify {
        min-height: 420px;
        height: 420px;
    }
}

@media (max-width: 520px) {
    .cc-media-hero-embed-spotify {
        min-height: 480px;
        height: 480px;
    }
}


.cc-container-full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.cc-section.cc-full {
    padding-left: 0;
    padding-right: 0;
}


.cc-title-cubo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cc-cubo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  font-weight: bold;
  color: #fff;
  border-radius: 3px;
  font-size: 40px!important;
}





/* 🔥 CENTRAR OPINION Y AUTORES */
.cc-opinion-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.cc-opinion-avatar{
  margin:0 auto 12px;
}

.cc-opinion-card .cc-meta{
  text-align:center;
}

.cc-opinion-card h3{
  text-align:center;
}



/* 🔥 SOMBRA IMAGENES */
.cc-card img,
.cc-hero-img img,
.cc-list-image-thumb img,
.cc-related-img img,
.ccx-post img {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🔥 HOVER IMAGENES */
.cc-card img:hover,
.cc-hero-img img:hover,
.cc-list-image-thumb img:hover,
.cc-related-img img:hover,
.ccx-post img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}


/* 🔥 HOVER AVATARES */
.cc-opinion-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cc-opinion-avatar img {
  border-radius: 50%;
}
.cc-opinion-avatar:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* 🔥 HERO HORIZONTAL 100% */
/* =========================
   HERO EDITORIAL (MEJORADO)
========================= */

.cc-hero-split{
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cc-hero-split{
  display:flex;
  align-items:stretch;
}

/* imagen */
.cc-hero-split-img{
  width:65%;
}

.cc-hero-split-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* contenido */
.cc-hero-split-content{
  width:35%;
  background:#f3f3f3;
  padding:50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* autor */
.cc-hero-author{
  font-size:13px;
  font-weight:700;
  color:#00a8b5;
  text-transform:uppercase;
  margin-bottom:12px;
  letter-spacing:1px;
}
.cc-hero-author::after{
  content:'';
  display:block;
  width:40px;
  height:3px;
  background:#00a8b5;
  margin-top:6px;
}

/* título */
.cc-hero-title{
  font-size:30px!important;
  line-height:1.1;
  margin-bottom:15px;
}

/* excerpt */
.cc-hero-split-content .cc-excerpt{
  font-size:16px;
  opacity:0.9;
}




/* =========================
   HERO OVERLAY EDITORIAL REAL
========================= */

.cc-hero-overlay-layout{
  position:relative;
  width:100%;
}

/* IMAGEN */
.cc-hero-bg{
  width:70%;
}

.cc-hero-bg img{
  width:100%;
  height:500px;
  object-fit:cover;
  display:block;
}

/* CAJA BLANCA SUPERPUESTA */
.cc-hero-box{
  position:absolute;
  left:65%;       /* 🔥 empieza en la mitad */
  top:10%;        /* 🔥 baja un poco */
  width:35%;
  background:#fff;
  padding:50px;
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
  z-index:1;
}

.cc-container .cc-hero-overlay-layout{
  display:block;
  position:relative;
  background:transparent;
  box-shadow:none;
}

.cc-container .cc-hero-bg{
  width:78%;
  min-width:0;
  min-height:420px;
  overflow:hidden;
}

.cc-container .cc-hero-bg a{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
}

.cc-container .cc-hero-bg img{
  width:100%!important;
  height:100%!important;
  min-height:420px!important;
  object-fit:cover!important;
  display:block!important;
}

.cc-container .cc-hero-box{
  position:absolute;
  left:auto;
  right:0;
  top:92px;
  width:min(46%, 500px);
  min-width:0;
  margin:0;
  padding:42px 48px;
  background:#fff;
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.cc-hero-duo-layout{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}

.cc-hero-duo-card{
  min-width:0;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  height:100%;
}

.cc-hero-duo-media{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
}

.cc-hero-duo-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.cc-hero-duo-box{
  padding:26px 28px 30px;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.cc-hero-duo-box .cc-hero-title{
  margin:0;
}

.cc-hero-duo-box .cc-hero-title a,
.cc-hero-duo-box .cc-hero-title a:visited,
.cc-hero-duo-box .cc-hero-title a:hover,
.cc-hero-duo-box .cc-hero-title a:focus,
.cc-hero-duo-box .cc-hero-title a:active{
  color:#111!important;
  text-decoration:none;
}

.cc-hero-title{
  font-size:30px!important;
  line-height:1.1;
  margin-bottom:15px;
}

.cc-hero-author{
  color:#00a8b5;
  font-weight:700;
  text-transform:uppercase;
  margin-bottom:10px;
}

.cc-hero-author::after{
  content:'';
  display:block;
  width:40px;
  height:3px;
  background:#00a8b5;
  margin-top:6px;
}

@media(max-width:1100px){

  .cc-hero-bg{
    width:100%;
  }

  .cc-hero-box{
    padding: 30px;
  }

  .cc-hero-box{
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    margin-top: 0px;
    box-sizing:border-box;
  }

  .cc-hero-bg img{
    height:420px;
  }
}

@media(max-width:900px){
  .cc-hero-bg img{
    height:300px;
  }
}

@media(max-width:768px){
  .cc-hero-duo-layout{
    grid-template-columns:1fr;
  }

  .cc-container .cc-hero-overlay-layout{
    display:block;
  }

  .cc-container .cc-hero-bg{
    width:100%;
  }

  .cc-container .cc-hero-box{
    position:relative;
    right:auto;
    top:auto;
    width:auto;
    margin:0;
    padding:26px;
  }
}




/* =========================
   COMENÇAR DIA
========================= */

.cc-comencardia {
  display: grid;
  gap: 24px;
  background: #eef8ff;
  padding: 24px;
  box-sizing: border-box;
}

.cc-comencardia-chain {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.cc-comencardia-card {
  background: #f8fcff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cc-comencardia-agenda {
  grid-column: 1;
  grid-row: 1;
}

.cc-comencardia-santoral {
  grid-column: 2;
  grid-row: 1;
}

.cc-comencardia-efemeride {
  grid-column: 1;
  grid-row: 2;
}

.cc-comencardia-lectura {
  grid-column: 2;
  grid-row: 2;
}

.cc-comencardia-head {
  position: relative;
  padding: 18px 24px 14px;
  background: #f1f7f8;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  isolation: isolate;
}

.cc-comencardia-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 190px;
  height: 100%;
  background: #4485bd;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.cc-comencardia-row .cc-comencardia-body {
  padding: 24px;
  flex: 1;
}

.cc-comencardia-row .cc-comencardia-body--media {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cc-comencardia-media img,
.cc-comencardia-santoral-media img,
.cc-comencardia-efemeride .cc-comencardia-media img {
  width: 100%;
  max-width: 260px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cc-comencardia-body h3,
.cc-accordion-title-main {
  margin: 0 0 14px;
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  color: #111;
}

.cc-comencardia-efemeride h3,
.cc-comencardia-lectura h3,
.cc-accordion-title-main {
  font-size: 22px;
}

.cc-comencardia-body p,
.cc-accordion-content p,
.cc-agenda-details p {
  margin: 0;
  font-family: 'Merriweather', serif !important;
  font-size: 15px;
  line-height: 1.8;
  color: #1e293b;
}

.cc-comencardia-content p,
.cc-agenda-details p {
  margin: 0 0 10px;
}

.cc-comencardia-content p:last-child,
.cc-agenda-details p:last-child {
  margin-bottom: 0;
}

.cc-comencardia-efemeride .cc-comencardia-content {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-agenda-details strong {
  color: #1c6b8b;
  font-family: inherit;
  font-weight: 700;
}

.cc-comencardia-date {
  margin-bottom: 10px;
  color: #1c6b8b;
  font-size: 18px;
  font-weight: 700;
}

/* agenda */
.cc-accordion-item {
  border-bottom: 1px dashed rgba(0,0,0,0.18);
  padding: 14px 0;
}

.cc-accordion-item:last-child {
  border-bottom: 0;
}

.cc-accordion-title {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.cc-accordion-title-main {
  min-width: 0;
  margin-bottom: 0;
}

.cc-accordion-date {
  color: #1c6b8b;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.cc-accordion-icon {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
}

.cc-accordion-content {
  display: none;
  padding-top: 12px;
}

.cc-accordion-item.active .cc-accordion-content {
  display: block;
}

/* links */
.cc-comencardia .ccx-btn {
  margin-top: 18px;
}

.cc-comencardia-link {
  display: inline-block;
  margin-top: 18px;
  color: #1c6b8b;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cc-comencardia {
    padding: 16px;
  }

  .cc-comencardia-chain {
    grid-template-columns: 1fr;
  }

  .cc-comencardia-agenda,
  .cc-comencardia-santoral,
  .cc-comencardia-efemeride,
  .cc-comencardia-lectura {
    grid-column: auto;
    grid-row: auto;
  }

  .cc-comencardia-row .cc-comencardia-body--media {
    grid-template-columns: 1fr;
  }

  .cc-comencardia-media img,
  .cc-comencardia-santoral-media img,
  .cc-comencardia-efemeride .cc-comencardia-media img {
    max-width: 100%;
  }

  .cc-accordion-title {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cc-accordion-date {
    white-space: normal;
  }
}

.ccx-llegits{
    margin:40px 0;
}

.ccx-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
    align-items:start;
}

.ccx-post{
    min-width:0;
    background:none;
    border-radius:0;
    overflow:visible;
    box-shadow:none;
}

.ccx-post a{
    display:block;
    text-decoration:none;
    color:inherit;
}

.ccx-post img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
    margin-bottom:12px;
}

.ccx-post h3{
    margin:0;
    padding:0;
    line-height:1.08;
    font-size:clamp(22px,2vw,34px);
}

.ccx-post--big{
    grid-row:auto;
}

@media (max-width:768px){
    .ccx-grid{
        grid-template-columns:1fr;
    }

    .ccx-post--big{
        grid-row:auto;
    }
	
	.gp-card-content {
		padding:10px;
	}
}
/* Agenda agrupada por día */
.cc-agenda-day {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cc-agenda-day:last-of-type {
  border-bottom: 0;
}

.cc-agenda-day-title {
  margin: 0;
  color: #111;
  font-size: 22px;
  line-height: 1.1;
}

.cc-accordion-title {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.cc-accordion-time {
  color: #1c6b8b;
  font-family: 'Merriweather', serif !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  min-width: 58px;
}

.cc-accordion-title-main {
  font-family: 'Merriweather', serif !important;
  font-size: 15px;
  line-height: 1.8;
}
/* Ajustes finales agenda UI */
.ccx-btn,
.ccx-btn:visited,
.ccx-btn:focus,
.ccx-btn:active {
  background: #111;
  color: #fff;
  text-decoration: none;
  outline: none;
}

.ccx-btn:hover {
  background: #00a7a0;
  color: #fff;
}

.cc-agenda-day-title {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px;
  text-transform: none;
}

.cc-accordion-title,
.cc-accordion-title:hover,
.cc-accordion-title:focus,
.cc-accordion-title:active {
  background: transparent !important;
  color: #1f2937 !important;
  outline: none;
  box-shadow: none;
}

.cc-accordion-title-main,
.cc-accordion-title:focus .cc-accordion-title-main,
.cc-accordion-title:active .cc-accordion-title-main {
  color: #111 !important;
}

.cc-accordion-time,
.cc-accordion-title:focus .cc-accordion-time,
.cc-accordion-title:active .cc-accordion-time {
  color: #1c6b8b !important;
}

.cc-accordion-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid #1c6b8b;
  border-radius: 50%;
  color: #1c6b8b !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.cc-accordion-item.active .cc-accordion-icon {
  background: #1c6b8b;
  color: #fff !important;
}

/* Fecha agenda: catalana y más discreta */
.cc-comencardia-agenda .cc-agenda-day-title {
  margin: 0 0 8px !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #111 !important;
  text-transform: none !important;
}

/* Ajuste final tipográfico agenda */
.cc-comencardia-agenda .cc-agenda-day-title {
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.cc-comencardia-agenda .cc-accordion-title-main {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.cc-comencardia-agenda .cc-accordion-time {
  font-size: 17px !important;
  line-height: 1.5 !important;
}



.cc-hero-overlay-layout .cc-hero-title a,
.cc-hero-overlay-layout .cc-hero-title a:visited,
.cc-hero-overlay-layout .cc-hero-title a:hover,
.cc-hero-overlay-layout .cc-hero-title a:focus,
.cc-hero-overlay-layout .cc-hero-title a:active {
  color: #111;
  text-decoration: none;
}



/* =========================
   OPINIO COLABORADORES
========================= */

.cc-opinion-strip-layout {
  position: relative;
  width: 100%;
  background: #f6f9fc;
  box-sizing: border-box;
  padding: 18px 26px;
  border-top: 1px solid rgba(68,133,189,.18);
  border-bottom: 1px solid rgba(68,133,189,.18);
}

.cc-opinion-strip-viewport {
  width: 100%;
  overflow: hidden;
}

.cc-opinion-strip {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cc-opinion-strip::-webkit-scrollbar {
  display: none;
}

.cc-opinion-collaborator {
  flex: 0 0 calc(100% / var(--cc-opinion-visible, 10));
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  align-items: center;
  justify-items: center;
  padding: 0 14px;
  border-right: 1px solid rgba(68,133,189,.18);
  scroll-snap-align: start;
}

.cc-opinion-collaborator:last-child {
  border-right: 0;
}

.cc-opinion-strip-layout.has-slide .cc-opinion-strip {
  justify-content: flex-start;
}

.cc-opinion-collaborator-link,
.cc-opinion-collaborator-link:visited,
.cc-opinion-collaborator-link:hover,
.cc-opinion-collaborator-link:focus,
.cc-opinion-collaborator-link:active {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  justify-items: center;
  color: inherit;
  text-decoration: none;
}

.cc-opinion-collaborator-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15,23,42,.12);
}

.cc-opinion-collaborator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-opinion-collaborator h3 {
  margin: 0;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: center;
}

.cc-opinion-strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  color: #111;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cc-opinion-strip-arrow--prev {
  left: 10px;
}

.cc-opinion-strip-arrow--next {
  right: 10px;
}

.cc-opinion-strip-arrow:disabled {
  opacity: .35;
  cursor: default;
}

@media (max-width: 768px) {
  .cc-opinion-strip-layout {
    padding: 14px 18px;
  }

  .cc-opinion-collaborator {
    flex-basis: calc(100% / 3);
    padding: 0 12px;
  }

  .cc-opinion-collaborator-avatar {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 620px) {
  .cc-opinion-collaborator {
    flex-basis: 50%;
  }
}

@media (max-width: 420px) {
  .cc-opinion-strip-layout {
    padding: 14px 16px;
  }

  .cc-opinion-collaborator {
    flex-basis: 50%;
  }
}



/* =========================
   COMENCAR DIA TABS
========================= */

.cc-comencardia-tabs {
  display: block;
}

.cc-comencardia-tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 18px;
  background: #f8fcff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.cc-comencardia-tab {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid rgba(0,0,0,.1);
  background: transparent;
  color: #1f2937;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
}

.cc-comencardia-tab:last-child {
  border-right: 0;
}

.cc-comencardia-tab.active {
  background: #4485bd;
  color: #fff;
}

.cc-comencardia-tab-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-block;
}

.cc-comencardia-tab-icon::before,
.cc-comencardia-tab-icon::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
}

.cc-comencardia-tab-icon--agenda::before {
  inset: 5px 3px 3px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.cc-comencardia-tab-icon--agenda::after {
  left: 7px;
  right: 7px;
  top: 9px;
  height: 2px;
  background: currentColor;
  box-shadow: -2px 7px 0 currentColor, 5px 7px 0 currentColor;
}

.cc-comencardia-tab-icon--santoral::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.cc-comencardia-tab-icon--santoral::after {
  left: 13px;
  top: 0;
  width: 2px;
  height: 28px;
  background: currentColor;
  box-shadow: -7px 7px 0 -1px currentColor, 7px 7px 0 -1px currentColor;
}

.cc-comencardia-tab-icon--efemeride::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.cc-comencardia-tab-icon--efemeride::after {
  left: 13px;
  top: 7px;
  width: 2px;
  height: 8px;
  background: currentColor;
  box-shadow: 4px 7px 0 currentColor;
  transform-origin: bottom center;
}

.cc-comencardia-tab-icon--lectura::before {
  left: 3px;
  top: 5px;
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.cc-comencardia-tab-icon--lectura::after {
  left: 13px;
  top: 5px;
  width: 2px;
  height: 18px;
  background: currentColor;
}

.cc-comencardia-tabpanels {
  min-width: 0;
}

.cc-comencardia-panel {
  display: none;
}

.cc-comencardia-panel.active {
  display: flex;
}

.cc-comencardia-panel[hidden] {
  display: none !important;
}

.cc-comencardia-tabs .cc-comencardia-card {
  height: auto;
}

@media (max-width: 768px) {
  .cc-comencardia-tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-comencardia-tab {
    border-bottom: 1px solid rgba(0,0,0,.1);
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cc-comencardia-tab {
    flex-direction: column;
    gap: 6px;
    padding: 12px 8px;
  }
}

/* ===== Hover corporativo y efectos de imagen ===== */
.cc-card h3 a,
.cc-hero-title a,
.cc-hero-main h3 a,
.cc-side-item h4 a,
.cc-list-image-content h4 a,
.ccx-post h3 a {
  transition: color .18s ease;
}

.cc-card h3 a:hover,
.cc-card h3 a:focus,
.cc-hero-title a:hover,
.cc-hero-title a:focus,
.cc-hero-main h3 a:hover,
.cc-hero-main h3 a:focus,
.cc-side-item h4 a:hover,
.cc-side-item h4 a:focus,
.cc-list-image-content h4 a:hover,
.cc-list-image-content h4 a:focus,
.ccx-post h3 a:hover,
.ccx-post h3 a:focus {
  color: #4485bd !important;
}

.cc-slide-track > .cc-card .cc-meta {
  color: #4485bd;
  font-size: 16px;
  font-weight: 700;
}

.cc-media,
.cc-hero-bg,
.cc-hero-duo-media,
.ccx-hero-img,
.ccx-post a:has(img) {
  overflow: hidden;
}

.cc-media img,
.cc-hero-bg img,
.cc-hero-duo-media img,
.ccx-hero-img img,
.ccx-post img,
.ccx-cta-img img {
  transition: transform .38s ease, filter .38s ease;
}

.cc-media:hover img,
.cc-card:hover .cc-media img,
.cc-hero-bg:hover img,
.cc-hero-duo-media:hover img,
.cc-hero-duo-card:hover .cc-hero-duo-media img,
.ccx-hero-img:hover img,
.ccx-post:hover img {
  transform: scale(1.09);
}

.ccx-cta-img {
  overflow: hidden;
}

.ccx-cta:hover .ccx-cta-img img,
.ccx-cta-img:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.34)) saturate(1.08);
}

.ccx-btn:hover,
.ccx-btn:focus {
  background: #4485bd !important;
  color: #fff !important;
}

.cc-hero-duo-box .cc-hero-title a:hover,
.cc-hero-duo-box .cc-hero-title a:focus,
.cc-hero-overlay-layout .cc-hero-title a:hover,
.cc-hero-overlay-layout .cc-hero-title a:focus {
  color: #4485bd !important;
}
