/* Estilos propios del encabezado y pie de Cara o Cruz.
   Se cargan al final, sin capas, para ganar al CSS heredado de la plantilla. */

@font-face {
  font-family: "Neue Plak Compressed";
  src: url("/plantilla2/assets/fonts/neue-plak-compressed-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neue Plak Compressed";
  src: url("/plantilla2/assets/fonts/neue-plak-compressed-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.coc-masthead,
.coc-footer {
  font-family: "Open Sans", system-ui, sans-serif;
  box-sizing: border-box;
}
.coc-masthead *,
.coc-footer * {
  box-sizing: border-box;
}
.coc-masthead a,
.coc-footer a {
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.coc-wrap {
  width: 100%;
  max-width: 1348px; /* 1300px de contenido + 24px de padding a cada lado */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 24px;
}

/* ---------- barra principal de color ---------- */
.coc-masthead {
  background: #fff;
  position: relative;
  z-index: 40;
}
.coc-bar {
  position: relative;
  background: url("/__l5e/assets-v1/49a57c0e-4014-4134-a7eb-0f99d05b9d20/header-bg-podcast.jpg") center / cover no-repeat,
    var(--ink, #1f1e3f);
  color: #fff;
  isolation: isolate;
}
/* capa oscura azul marino: encima de la foto, debajo de textos, botones y logo */
.coc-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 19, 39, 0.85) 0%, rgba(21, 29, 56, 0.78) 50%, rgba(21, 31, 58, 0.72) 100%);
}
.coc-bar > .coc-wrap {
  position: relative;
  z-index: 1;
}
.coc-bar-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}

/* agrupación izquierda: páginas, redes y fecha */
.coc-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* enlaces secundarios en la barra principal */
.coc-bar .coc-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.coc-bar .coc-topnav li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.coc-bar .coc-topnav a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.coc-bar .coc-topnav a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.coc-bar-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.coc-bar-social a {
  color: rgba(255, 255, 255, 0.85);
  line-height: 0;
}
.coc-bar-social a:hover {
  color: #fff;
}
.coc-bar-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.coc-bar-date {
  white-space: nowrap;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coc-bar-brand {
  justify-self: center;
  display: inline-flex;
  line-height: 0;
}
.coc-footer-brand {
  display: inline-flex;
}
.coc-brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  color: inherit;
  line-height: 1;
}
/* En el encabezado, "MEDIA" va a la derecha del logo, alineada abajo. */
.coc-bar-brand .coc-brand-lockup {
  width: auto;
  flex-direction: row;
  align-items: flex-end;
  gap: 7px;
}
.coc-bar-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 668 / 577;
}
.coc-bar-brand .coc-brand-lockup img {
  width: 124px;
}
.coc-bar-brand .coc-brand-media {
  margin-top: 0;
  margin-bottom: -4px;
  font-size: 30px;
}
.coc-brand-media {
  display: block;
  margin-top: 8px;
  font-family: "Neue Plak Compressed", "Arial Narrow", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

/* buscador */
.coc-searchbox {
  justify-self: end;
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 260px;
  max-width: 34vw;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
}
.coc-searchbox input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.coc-searchbox input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}
.coc-searchbox button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.coc-searchbox button:hover {
  background: rgba(255, 255, 255, 0.16);
}
.coc-searchbox svg {
  width: 17px;
  height: 17px;
}

/* ---------- franja de categorías ---------- */
.coc-strip {
  position: relative;
  background: var(--ink, #1f1e3f);
  color: rgba(255, 255, 255, 0.78);
}
.coc-strip-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 9px;
}

/* menú principal de categorías ahora en la franja secundaria */
.coc-strip .coc-nav {
  min-width: 0;
}
.coc-strip .coc-nav ul.coc-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coc-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.coc-strip .coc-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.coc-strip .coc-menu > li > a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.85);
}
.coc-menu > li > a svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  opacity: 0.7;
}

.coc-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border-top: 2px solid var(--brand, #123f8f);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease;
  z-index: 60;
}
.coc-menu > li:hover .coc-sub {
  opacity: 1;
  visibility: visible;
}
.coc-sub a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  color: #45454f;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.coc-sub a:last-child {
  border-bottom: 0;
}
.coc-sub a:hover {
  background: #f4f4f7;
  color: var(--brand, #123f8f);
}

/* ---------- pie ---------- */
.coc-footer {
  position: relative;
  isolation: isolate;
  background: url("/__l5e/assets-v1/49a57c0e-4014-4134-a7eb-0f99d05b9d20/header-bg-podcast.jpg") center / cover no-repeat,
    var(--ink, #1f1e3f);
  color: #fff;
  margin-top: 56px;
}
.coc-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 19, 39, 0.85) 0%, rgba(21, 29, 56, 0.78) 50%, rgba(21, 31, 58, 0.72) 100%);
}
.coc-footer > * {
  position: relative;
  z-index: 1;
}
.coc-foot-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(150px, 0.75fr)) minmax(260px, 1.2fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
  padding-block: 68px 58px;
}
.coc-footer-brand .coc-brand-lockup {
  width: 260px;
  max-width: 100%;
}
.coc-footer-brand img {
  width: 260px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 668 / 577;
  display: block;
}
.coc-footer-brand .coc-brand-media {
  margin-top: 12px;
  font-size: 52px;
}
.coc-foot-intro > p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.45;
}
.coc-foot-intro > p + p {
  margin-top: 3px;
}
.coc-foot-intro > .coc-foot-owner {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.coc-foot-intro > .coc-foot-owner + p {
  margin-top: 14px;
}
.coc-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.coc-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}
.coc-footer-social a:hover {
  transform: translateY(-2px);
}
.coc-footer-social a[data-net="facebook"] { background: #1877f2; }
.coc-footer-social a[data-net="instagram"] { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.coc-footer-social a[data-net="x"] { background: #111; }
.coc-footer-social a[data-net="youtube"] { background: #ff0000; }
.coc-footer-social a[data-net="tiktok"] { background: #ee1d52; }
.coc-footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.coc-col-title {
  margin: 7px 0 26px;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.coc-col-title::before,
.coc-col-title::after {
  display: none !important;
  content: none !important;
}
.coc-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.coc-foot-col a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
}
.coc-foot-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.coc-foot-contact ul {
  gap: 17px;
}
.coc-foot-contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.64);
}
.coc-foot-contact svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  fill: var(--brand, #123f8f) !important;
  flex: none;
}
.coc-foot-contact svg path {
  fill: inherit;
  stroke: none !important;
}
.coc-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 22px;
  padding: 8px 17px;
  border: 1px solid var(--brand, #123f8f);
  border-radius: 3px;
  background: var(--brand, #123f8f);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease;
}
.coc-contact-button:hover {
  background: #0d2f6d;
  border-color: #0d2f6d;
  color: #fff !important;
}
.coc-legal {
  background: rgba(5, 5, 10, 0.38);
}
.coc-legal .coc-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-block: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.32);
}
.coc-legal p {
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .coc-bar-in {
    grid-template-columns: 1fr auto;
  }
  .coc-bar-left {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
  }
  .coc-bar-brand {
    justify-self: start;
  }
  .coc-searchbox {
    justify-self: end;
  }
  .coc-strip .coc-nav ul.coc-menu {
    justify-content: center !important;
  }
}
@media (max-width: 1023px) {
  .coc-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coc-foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 56px;
  }
}
@media (max-width: 767px) {
  .coc-wrap {
    padding-inline: 16px;
  }
  .coc-bar-in {
    gap: 12px;
  }
  .coc-bar-left {
    gap: 12px;
  }
  .coc-bar-brand img {
    width: 100%;
  }
  .coc-bar-brand .coc-brand-lockup {
    width: auto;
    gap: 5px;
  }
  .coc-bar-brand .coc-brand-lockup img {
    width: 96px;
  }
  .coc-bar-brand .coc-brand-media {
    margin-top: 0;
    margin-bottom: -3px;
    font-size: 23px;
  }
  .coc-bar .coc-topnav {
    gap: 14px;
    font-size: 10px;
  }
  .coc-bar-social {
    padding-left: 12px;
  }
  .coc-bar-social svg {
    width: 14px;
    height: 14px;
  }
  .coc-bar-date {
    font-size: 10px;
  }
  .coc-searchbox {
    width: 190px;
  }
  .coc-strip .coc-nav ul.coc-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
  }
  .coc-strip-in {
    justify-content: center;
    text-align: center;
  }
  .coc-sub {
    display: none;
  }
  .coc-panel-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .coc-foot-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 46px 38px;
  }
  .coc-legal .coc-wrap {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- utilidades derecha del masthead: buscador + filtro de fecha ---------- */
.coc-bar-right {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.coc-bar-right .coc-searchbox {
  justify-self: auto;
}
.coc-bar {
  z-index: 30;
}
.coc-strip {
  position: relative;
  z-index: 1;
}
.coc-datefilter {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.coc-datefilter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.coc-datefilter-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}
.coc-datefilter-toggle.is-active {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  color: var(--ink, #1f1e3f);
  font-weight: 600;
}
.coc-datefilter-caret {
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.coc-datefilter-toggle[aria-expanded="true"] .coc-datefilter-caret {
  transform: rotate(180deg);
}
.coc-datefilter-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(10, 10, 25, 0.35);
  animation: cocDateIn 0.16s ease;
}
@keyframes cocDateIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.coc-datefilter-panel label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #4b4a63;
}
.coc-datefilter-panel label span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
  color: #8a89a0;
}
.coc-datefilter-panel select {
  flex: 1;
  appearance: none;
  border: 1px solid #e2e1ee;
  border-radius: 8px;
  background: #f7f7fb;
  color: var(--ink, #1f1e3f);
  font-size: 12.5px;
  padding: 7px 10px;
  cursor: pointer;
}
.coc-datefilter-panel select:focus {
  outline: 2px solid rgba(18, 63, 143, 0.35);
  border-color: var(--brand, #123f8f);
}
.coc-datefilter-clear {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--brand, #123f8f);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 2px 4px;
}
.coc-datefilter-clear:hover {
  text-decoration: underline;
}
@media (max-width: 1023px) {
  .coc-bar-right {
    align-items: center;
  }
}
