/* =========================================================
   UTILITIES & BASE STYLES
   ========================================================= */
hr {
  border: 0;
  height: 1px;
  background: var(--quinary);
  margin: var(--space-md) 0;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.bg-primary {
  background: var(--primary);
}

.bg-secondary {
  background: var(--secondary);
}

.bg-tertiary {
  background: var(--tertiary);
}

.bg-quaternary {
  background: var(--quaternary);
}

.txt-primary {
  color: var(--primary);
}

.txt-gray {
  color: gray;
}

.txt-dark{
  color: var(--dark);
}

.txt-light {
  color: var(--tertiary);
}

.txt-light-gray {
  color: lightgray;
}

.bg-light {
  background: var(--tertiary);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn-primary {
  display: block;
  padding: 15px 30px;
  background: var(--primary);
  color: var(--tertiary);
  border-radius: 30px;
  cursor: pointer;
  transition: .3s ease;
  text-align: center;
}

.btn-primary:hover {
  background: var(--octanary);
}

.btn-primary a {
  display: flex;
  align-items: center;
  justify-content: center;
}


.btn-tertiary {
  display: block;
  padding: 15px 30px;
  background: var(--secondary);
  border-radius: 30px;
  cursor: pointer;
  transition: .3s ease;
  text-align: center;
}

.btn-tertiary:hover {
  background: var(--quinary);
}

.btn-tertiary a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-actions .btn{
  display: block;
  width: 100%;
  margin: auto;
}

@media (min-width: 768px) {
 .error-actions .btn{
  width: 250px;
}
}

/* =========================================================
   Typography & Colors
   ========================================================= */

.fw-bold {
  font-weight: bold;
}

.txt-uppercase {
  text-transform: uppercase
}

.fnt-xs {
  font-size: .8em;
}

.fnt-sm {
  font-size: 1em;
}

.fnt-md {
  font-size: 1.2em;
}

.fnt-lg {
  font-size: 1.4em;
}

.fnt-xl {
  font-size: 1.6em;
}

.fnt-xxl {
  font-size: 1.8em;
}

.fit-content {
  width: fit-content;
}

.ls-sm {
  letter-spacing: 1px
}

.ls-md {
  letter-spacing: 2px
}

/* =========================================================
   Aspect Ratio & Borders
   ========================================================= */

.aspect-16-9 img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  transition: .4s;
  object-fit: cover;
}

.aspect-4-3 img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  transition: .4s;
  object-fit: cover;
}

.aspect-3-4 img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  transition: .4s;
  object-fit: cover;
}

.aspect-4-4 img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4/4;
  transition: .4s;
  object-fit: cover;
}

.rounded-xs {
  border-radius: 5px;
  overflow: hidden;
}

.rounded-sm {
  border-radius: 10px;
  overflow: hidden;
}

.rounded-md {
  border-radius: 15px;
  overflow: hidden;
}

.rounded-all {
  border-radius: 50%;
  overflow: hidden;
}

.rounded-xs-responsive {
  border-radius: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .rounded-xs-responsive {
    border-radius: 10px;
  }
}

.caption{
  font-size: 0.8rem;
  color: darkgray;
  text-align: center;
}

.excerpt, .excerpt p {
  font-size: 1.1em;
  line-height: 1.5;
  color: #68645a;
  letter-spacing: .04em;
}

.excerpt-post{
  font-size: 1.1em;
  color: #68645a;
}

.sticky{
 position: sticky;
 top:120px
}

.border{
  border: solid 1px var(--secondary);
}

.pipe{
    width: 30px;
    height: 5px;
    background: var(--primary);
}

/* =========================================================
   Forms
   ========================================================= */

.form-inline {
  width: 100%;
}

.form-field,
.form-action {
  width: 100%;
  min-width: 0;
}

.form-field .form-control {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 50px;
  padding: 0 18px;
  background: var(--secondary);
  border: 1px solid transparent;
  border-radius: 30px;
  color: var(--dark);
  transition: .3s ease;
}

.form-field .form-control::placeholder {
  color: darkgray;
}

.form-field .form-control:focus {
  box-shadow: 0 0 0 2px rgba(210, 18, 33, 0.12);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Botón */

.form-action .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  background: var(--primary);
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s ease;
  text-align: center;
  color: var(--tertiary);
}

.form-action .btn-primary:hover {
  background: var(--octanary);
}

.btn-submit {
  gap: 0;
}

.btn-submit-text,
.btn-submit-icon {
  align-items: center;
  justify-content: center;
}

.btn-submit-text {
  display: none;
  font-weight: bold;
}

.btn-submit-icon {
  display: flex;
  line-height: 0;
}

/* móvil: grid 3-1 */
@media (max-width: 767px) {
  .form-inline {
    align-items: stretch;
  }

  .form-field {
    width: 100%;
  }

  .form-action {
    width: 100%;
  }

  .form-action .btn-primary {
    width: 100%;
    border-radius: 25px;
  }
}

/* tablet y desktop */
@media (min-width: 768px) {
  .form-inline {
    width: auto;
  }

  .form-field {
    width: min(100%, 420px);
  }

  .form-action {
    width: auto;
    flex: 0 0 auto;
  }

  .form-action .btn-primary {
    width: auto;
    min-width: 140px;
    height: 50px;
    min-height: 50px;
    padding: 0 30px;
    border-radius: 30px;
  }

  .btn-submit-text {
    display: flex;
  }

  .btn-submit-icon {
    display: none;
  }
}

/* =========================================================
   Post & Article Layout
   ========================================================= */

.post {
  position: relative;
}

.post:hover > div .title a {
  color: var(--primary);
}

.post:hover > .title a {
  color: var(--primary);
}

.post-picture {
  overflow: hidden;
}

.post-picture a,
.post-picture picture {
  display: block;
}

.post-picture picture {
  position: relative;
}

.post-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: blur 0.4s linear forwards;
  animation-delay: 0.2s;
  filter: blur(5px);
  border: solid 1px var(--secondary);
}

/* =========================================================
   Video Indicator
   ========================================================= */

.post.video .post-picture picture::after {
  content: '';
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  background-color: var(--tertiary);
  background-image: url('../img/video.svg');
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  pointer-events: none;
}

.post.card.video::after {
  content: '';
  position: absolute;
  z-index: 2;
  right: 0px;
  top: 0px;
  width: 28px;
  height: 28px;
  background-color: var(--quinary);
  background-image: url('../img/video.svg');
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  pointer-events: none;
}

/* =========================================================
   Audio Indicator
   ========================================================= */

.post.audio .post-picture picture::after {
  content: '';
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  background-color: var(--tertiary);
  background-image: url('../img/audio.svg');
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  pointer-events: none;
}


.post.card.audio::after {
  content: '';
  position: absolute;
  z-index: 2;
  right: 0px;
  top: 0px;
  width: 28px;
  height: 28px;
  background-color: var(--quinary);
  background-image: url('../img/audio.svg');
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  pointer-events: none;
}

/* =========================================================
   Category & Title
   ========================================================= */

.category a {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  font-weight: bold;
}

.category a:hover {
  color: var(--octanary);
}

.post.card .category{
  /*margin-top: 6px;*/
  padding-right: 30px;
}

/* Title */

.title {
  font-family: var(--font-serif); 
}

.title :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-weight: 400;
}

.title h1 {
  font-size: clamp(1.8rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 15px;
}


.title.large h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 15px;
}

.headline h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 15px;
}

.title.large h2 {
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
  line-height: 1.2;

  margin-bottom: 15px;
}


.title.meddium h2 {
  font-size: clamp(1.3rem, 4vw, 1.5rem);
  line-height: 1.4;
}

.title.small-meddium h2 {
  font-size: 1.4rem;
  line-height: 1.4;
}

.title.small h2 {
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.4;
}

.title.extra-small h3 {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  line-height: 1.3;
}


.link-primary {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-primary:hover {
  color: var(--senary);
}

.link-secondary {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-secondary:hover {
  color: gray;
}

.link-tertiary {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-tertiary:hover {
  color: var(--dark);
}

.link-cuaternary {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-cuaternary:hover {
  color: var(--primary);
}

.link-post {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-post:hover {
  color: var(--primary);
}

.link-light {
  color: var(--tertiary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-light:hover {
  color: var(--secondary);
}

/* =========================================================
   Author & Read Time
   ========================================================= */

.author, .author-read {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-meta {
  display: flex;
  flex-direction: column;
}


.author,
.read {
  font-size: 0.8rem;
  line-height: 1.3;
}

.author-role {
  display: flex;
  flex-direction: column;
}

.author a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

.author a:hover {
  color: var(--octanary);
}

.read {
  color: gray;
}

.photo-author {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
}

.photo-author a,
.photo-author picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--secondary);
  border: solid 1px var(--quinary);
  border-radius: 50%;
}

.photo-author img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border: 0;
  border-radius: 0;
  transform: scale(1.22);
  transform-origin: center 20%;
}

.photo-author.responsive {
  display: none;
}

@media (min-width: 490px) {
  .photo-author.responsive {
    display: block;
  }
}

@media (min-width: 768px) {
  .author {
    margin-bottom: 0;
  }

  .author-meta {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}
/* Post article layout */

.post.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px var(--gap-xl); 
	align-items: start;
}

.post-main {
	min-width: 0;
}

.sidebar {
	width: 100%;
  height: 100%;
	min-width: 0;
}

/* Post article layout — responsive */

@media (max-width: 1024px) {

	.post.layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
		width: 100%;
	}

}
/* =========================================================
   ANIMATIONS
   ========================================================= */
.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: .4s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes blur {
  to {
    filter: blur(0px);
  }
}

.blur {
  transition: all .75s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: blur 0.4s linear forwards;
  animation-delay: .2s;
  filter: blur(5px);
}

/* =========================================================
   Components
   ========================================================= */

/* Clock */
/* =========================================================
   Reloj NITRO
   ========================================================= */

#clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  color: var(--primary);

  opacity: 0;
  transform: scale(0.94);

  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

#clock.is-ready {
  opacity: 1;
  transform: scale(1);
}

#clock .clock-svg {
  display: block;

  width: 32px;
  height: 32px;

  overflow: visible;
}


/* -------------------------------------------
   Carátula
------------------------------------------- */

#clock .clock-face {
  fill: none;

  stroke: currentColor;
  stroke-width: 2;
}


/* -------------------------------------------
   Manecillas
------------------------------------------- */

#clock .clock-hour,
#clock .clock-minute,
#clock .clock-second {
  transform-box: view-box;
  transform-origin: 16px 16px;

  stroke-linecap: round;

  transition: none;

  will-change: transform;
}

#clock .clock-hour {
  stroke: var(--dark);
  stroke-width: 1.8;
}

#clock .clock-minute {
  stroke: var(--dark);
  stroke-width: 1.4;
}

#clock .clock-second {
  stroke: var(--primary);
  stroke-width: 1;
}


/* -------------------------------------------
   Centro
------------------------------------------- */

#clock .clock-center {
  fill: currentColor;
}


/* -------------------------------------------
   Movimiento reducido
------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  #clock {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #clock .clock-hour,
  #clock .clock-minute,
  #clock .clock-second {
    transition: none;
  }

}

#clock .clock-svg {
  display: block;

  width: 32px;
  height: 32px;

  overflow: visible;

  transform: rotate(-360deg);
  transform-origin: center;

  animation: nitro-clock-intro 900ms cubic-bezier(
    0.22,
    1,
    0.36,
    1
  ) forwards;
}

@keyframes nitro-clock-intro {
  from {
    transform: rotate(-360deg);
  }

  to {
    transform: rotate(0deg);
  }
}


/* Pagination */

.pagination {
  font-size: 1.6em;
  font-style: normal;
  font-weight: bold;
  margin: 0;
  position: relative;
  z-index: 1;
}

.pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-link {
  border: none;
  color: var(--dark);
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 5px;
  font-size: .9em;
  line-height: 1;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

@media (min-width: 992px) {
.pagination ul {
  gap: 10px;
}

  .page-link {
    margin: 10px;
  width: 50px;
  height: 50px;
  }
}
.page-link:hover {
  color: var(--primary);
  background-color: var(--secondary);
}

.page-link:focus-visible {
  color: var(--primary);
  background-color: var(--secondary);
  border: none;
  box-shadow: none;
  outline: none;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  font-size: 1em;
  font-weight: normal;
}

.page-link.current,
.pagination .active > .page-link,
.page-link.active {
  background: var(--primary);
  color: var(--tertiary);
}

.page-link svg,
.page-link i {
  display: block;
  width: 25px;
  height: 25px;
  line-height: 1;
}

/* Pagination sobre fondo oscuro o rojo */

.pagination-bg {
  font-size: 1.1em;
  font-style: normal;
  font-weight: 600;
}

.pagination-bg .page-link {
  border: none;
  color: var(--tertiary);
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 5px;
}

.pagination-bg .page-link:hover {
  color: var(--tertiary);
  background-color: var(--octanary);
}

.pagination-bg .page-link:focus-visible {
  color: var(--tertiary);
  background-color: var(--octanary);
  border: none;
  box-shadow: none;
  outline: none;
}

.pagination-bg .page-item:first-child .page-link,
.pagination-bg .page-item:last-child .page-link {
  border-radius: 50%;
}

.pagination-bg .page-link.current,
.pagination-bg .active > .page-link,
.pagination-bg .page-link.active {
  background: var(--tertiary);
  color: var(--primary);
}

.subtitle {
  position: relative;
  padding-top: 20px;
  word-break: break-word;
}

.subtitle h2, .subtitle h1 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: lighter;
}

.subtitle.small h2, .subtitle.small h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.subtitle.left h2{
 text-align: left;
}

.subtitle:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 5px;
  background: var(--primary);
  left: calc(50% - 15px);
  top: 0px;
}

.subtitle.left:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 5px;
  background: var(--primary);
  left: 0;
  top: 0px;
}

.subtitle.large h2{
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 6px;
}

.subtitle.large h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 6px;
}

.subtitle.responsive-lg{
  display: flex;
  justify-content: center;
}

.subtitle.responsive-lg:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 5px;
  background: var(--primary);
  left: calc(50% - 15px);
  top: 0px;
}

.subtitle.responsive-md{
  display: flex;
  justify-content: center;
}

.subtitle.responsive-md:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 5px;
  background: var(--primary);
  left: calc(50% - 15px);
  top: 0px;
}

@media (min-width: 768px) {
.subtitle.responsive-md{
    justify-content: flex-start;
  }

.subtitle.responsive-md:before {
  left: 0;
}
}


@media (min-width: 1024px) {
  .subtitle.responsive-lg{
    justify-content: flex-start;
  }

.subtitle.responsive-lg:before {
  left: 0;
}
}

.branded a{ 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: darkgray;
  letter-spacing: 1px;
  font-size: .9em;
  text-decoration: none;
}

@media (min-width: 460px) {
  .branded a {
   flex-direction: row;
  }
}



.symbol{
  color: var(--primary);
}

/* Audio Player */

.audio-player {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
  max-width: 624px;
	padding: 12px;
	background: #fffcf9;
	border-radius: 10px;
  position: relative;
}

@media (min-width: 460px) {
  .audio-player {
    gap: 16px;
  }
}

.audio-player audio {
	display: none;
}

/* Botones */

.audio-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	color: var(--primary);
	line-height: 1;
}

.audio-reset, .icon-reset {
	width: 22px;
	height: 22px;
  color: var(--primary);
}

.audio-play {
	width: 32px;
	height: 32px;
  min-width: 32px;
  min-height: 32px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--tertiary);
  justify-content: center;
  align-items: center;
}

@media (min-width: 460px) {
  .audio-play {
    width: 42px;
    height: 42px;
  }
}
.icon-play, .icon-pause{
	width: 18px;
	height: 18px;
  color: var(--tertiary);
}

@media (min-width: 460px) {
.icon-play, .icon-pause{
	width: 22px;
	height: 22px;
}
}

.audio-volume, .icon-volume,
.audio-muted, .icon-muted {
	width: 22px;
	height: 22px;
  color: var(--primary);
}

/* Cambio de iconos */

.audio-player .icon-pause,
.audio-player .icon-muted {
	display: none;
}

.audio-player.is-playing .icon-play {
	display: none;
}

.audio-player.is-playing .icon-pause {
	display: inline-flex;
}

.audio-player.is-muted .icon-volume {
	display: none;
}

.audio-player.is-muted .icon-muted {
	display: inline-flex;
}

/* Progreso */

.audio-progress-wrap {
	flex: 1;
	min-width: 0;
}

.audio-progress {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		#FCD1D4 0%,
		#FCD1D4 var(--progress, 0%),
		var(--quinary) var(--progress, 0%),
		var(--quinary) 100%
	);
	outline: none;
	cursor: pointer;
}

/* Track Chrome / Safari */

.audio-progress::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: transparent;
}

/* Thumb Chrome / Safari */

.audio-progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -4px;
	border-radius: 50%;
	background: #d21221;
	cursor: pointer;
}

/* Track Firefox */

.audio-progress::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: transparent;
}

/* Thumb Firefox */

.audio-progress::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 0;
	border-radius: 50%;
	background: #d21221;
	cursor: pointer;
}

/* Tiempo */

.audio-time {
  font-family: Arial, Helvetica, sans-serif;
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: .8em;
	color: var(--dark);
	white-space: nowrap;
}

@media (min-width: 320px) {
  .audio-time {
    font-size: .9em;
  }
}

/* Responsive */

@media (max-width: 400px) {

	.audio-player {
		flex-wrap: wrap;
    padding: 10px;
	}
	.audio-progress-wrap {
		order: 5;
		flex-basis: 100%;
		width: 100%;
	}
	.audio-time {
		margin-left: auto;
	}
}

/* Reading settings */

#reading-settings{
  border-bottom: solid 1px var(--quinary);
  padding-bottom: 10px;
}

.reading-settings{
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: .9em;
}

.icon-reading-settings{
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.share svg{
  width: 28px;
  height: 28px; 
}

.share{
  font-size: .9em;
}

.share a{
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  transition: .3s ease;
}

.share a:hover{
  color: var(--primary);
}

#btn-share-panel{
  color: var(--primary);
  cursor: pointer;
}

/* READING PANEL */

.reading-panel {
  top: auto;
	left: 0;
	bottom: 0;
	position: fixed;
	z-index: 8;
	opacity: 0;
	visibility: hidden;
	transform: translate(0%, 6%) scale(.98);
	transition:
		opacity .25s ease,
		visibility .25s ease,
		transform .25s ease;
  width: 100%;
  padding: 15px;
}

.reading-panel.active {
	opacity: 1;
	visibility: visible;
  transform: translate(0%, 0%) scale(1);
}

.reading-panel-content{
  padding: 40px 20px 20px 20px ;
  background: var(--tertiary);
  border: solid 1px var(--quinary);
  margin-bottom: 30px;
  border-radius: 15px;
  width: fit-content;
  box-shadow: 0 0 40px rgba(0 0 0 / 5%);
  position: relative;
}

.reading-panel-close {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--primary);
	color: var(--tertiary);
	cursor: pointer;
}

@media (max-width: 768px) {

	.reading-panel {
		top: auto;
		left: 0;
		bottom: 0;
		width: 100%;
		max-height: 88vh;
		transform: translateY(100%);
    padding:0px;
	}

	.reading-panel.active {
		transform: translateY(0);
	}

  .reading-panel-close{
    top: -16px;
    left: 50%;
  }

.reading-panel-content{
  margin-bottom:0px;
  width: 100%;
  border-radius: 24px 24px 00;
}
}

.reading-group h3{
  font-size: .9em;
  margin-bottom: 10px;
}

.reading-label{
  font-size: .8em;
  color: darkgray;
}

.reading-option.active .reading-label{
  color: var(--primary);
}

.reading-options button{
  background: transparent;
  padding:16px;
  cursor: pointer;
  border: none;
  
}

@media (min-width: 768px) {
.reading-options button{
  padding:12px;
}
}

@media (min-width: 1024px) {
.reading-options button{
  padding:16px;
}
}

.reading-option.active{
  color: var(--primary);
}

.reading-icon{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  border: solid 2px var(--secondary);
  margin-bottom: 10px;
  color: var(--senary);
}

.reading-option.active .reading-icon{
  background:  var(--secondary);
  color: var(--primary);
}

.reading-icon svg{
  width: 26px;
  height: 26px;
}

/* Share Panel */

.share-panel {
  top: auto;
	left: 0;
	bottom: 0;
	position: fixed;
	z-index: 8;
	opacity: 0;
	visibility: hidden;
	transform: translate(0%, 6%) scale(.98);
	transition:
		opacity .25s ease,
		visibility .25s ease,
		transform .25s ease;
  width: 100%;
  padding: 15px;
}

.share-panel.active {
	opacity: 1;
	visibility: visible;
  transform: translate(0%, 0%) scale(1);
}

.share-panel-content {
  padding: 40px 20px 20px 20px ;
  background: var(--tertiary);
  border: solid 1px var(--quinary);
  margin-bottom: 30px;
  border-radius: 15px;
  width: fit-content;
  max-width: 500px;
  box-shadow: 0 0 40px rgba(0 0 0 / 5%);
  position: relative;
}

.share-panel-close {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #d21221;
	color: #fff;
	cursor: pointer;
}

.share-panel-close .icon-close,
.share-panel-close svg {
	display: block;
	width: 24px;
	height: 24px;
}

@media (max-width: 768px) {

	.share-panel {
		top: auto;
		left: 0;
		bottom: 0;
		width: 100%;
		max-height: 88vh;
		transform: translateY(100%);
    padding:0px;
	}

	.share-panel.active {
		transform: translate(0%, 0%) scale(1);
	}

  .share-panel-close{
    top: -16px;
    left: 50%;
  }

  .share-panel-content{
    margin-bottom:0px;
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-width: 100%;
  }
}

.share-copy {
  width: 100%;
}

.share-copy-label {
  text-align: center;
}


.share-copy-label span {
  display: inline-block;
  font-size: 1rem;
  color: var(--dark);
}

.share-copy-box {
  width: 100%;
  min-height: 72px;
  padding: 0 20px;
  background: var(--quinary);
  border-radius: 14px;
  gap: 12px;
}

.share-copy-url {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.2;
  position: relative;
}

.share-copy-url::after{
  content: "";
  position: absolute;
  top:0;
  right: 0;
  width: 100px;
  height: 20px;
  background: linear-gradient(90deg, rgba(251 241 231 / 0%) 0%, rgba(251 241 231 / 100%) 100%);
}

.share-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--dark);
  transition: .3s ease;
  cursor: pointer;
}

.share-copy-btn:hover {
  color: var(--primary);
}

.share-copy-btn.copied {
  color: var(--primary);
}

.share-social a{
  color: var(--dark);
  transition: .3s ease;
}

.share-social a:hover{
  color: var(--primary);
}

#tags ul li{
  margin-right: 5px;
}

#tags a{
    display: block;
    width: fit-content;
    padding: 12px 30px;
    background: var(--quaternary);
    color: var(--dark);
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
    text-align: center;
    font-size: .9em;
    border: solid 1px var(--quinary);
}

#tags a:hover{
    background: var(--quinary);
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: var(--gap-xs);
}

.author-label {
  grid-column: 1;
  grid-row: 1;
}

.author-head {
  grid-column: 1;
  grid-row: 2;
  line-height: 1.2;
}

.photo-bio {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
    min-width: 100px;
    min-height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.author-bio {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: .9em;
  color: gray;
  line-height: 1.2;
}

.photo-bio img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: solid 1px var(--quinary);
  border-radius: 50%;
  background: var(--secondary);
    transform: scale(1.22);
    transform-origin: center 20%;
}

@media (min-width: 768px) {
  .author-layout {
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: start;
  }

  .author-label {
    grid-column: 1;
    grid-row: 1;
  }

  .author-head {
    grid-column: 1;
    grid-row: 2;
  }

  .author-bio {
    grid-column: 1;
    grid-row: 3;
  }

  .photo-bio {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-self: center;
    align-self: center;
  }

  .photo-bio img {
    width: 150px;
    height: 150px;
  }
}

/* Sections */

/* Category hero layout. */

.category-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.category-hero-title {
  grid-column: 1;
  grid-row: 1;
}

.category-hero-media {
  grid-column: 1;
  grid-row: 2;
}

.category-hero-content {
  grid-column: 1;
  grid-row: 3;
}

.category-hero-media,
.category-hero-content {
  min-width: 0;
}

@media (min-width: 1024px) {
  .category-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    grid-template-rows: auto 1fr;
    align-items: stretch;
  }

  .category-hero-title {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .category-hero-content {
    grid-column: 1;
    grid-row: 2;
    align-self: flex-end;
  }

  .category-hero-media {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .category-hero-media .post-picture {
    height: 100%;
  }

  .category-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* Split feature layout. */

/* Split feature layout. */

.split-feature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
}

.split-feature-title {
  grid-column: 1;
  grid-row: 1;
}

.split-feature-media {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.split-feature-content {
  grid-column: 1;
  grid-row: 3;
}

.split-feature-action {
  grid-column: 1;
  grid-row: 4;
}

.media-slider-wrap {
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.media-slider-wrap .swiper {
  width: 100%;
  max-width: min(100%, 250px);
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

.media-slider-wrap .swiper-wrapper {
  width: 100%;
  overflow: visible;
}

.media-slider-wrap .swiper-slide {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: visible;
  background: transparent;
}

.media-slider-wrap .swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.media-slider-wrap .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(17, 17, 17, 0.18);
  opacity: 1;
  transition: all 0.2s ease;
}

.media-slider-wrap .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--primary);
}

/* Mobile: permite que las cards respiren fuera del padding del container */
@media (max-width: 767px) {
  .split-feature-media {
    width: auto;
    margin-left: calc(var(--space-inline-sm) * -1);
    margin-right: calc(var(--space-inline-sm) * -1);
    overflow: visible;
  }

  .media-slider-wrap {
    width: 100%;
    padding-left: var(--space-inline-sm);
    padding-right: var(--space-inline-sm);
    overflow: visible;
  }

  .media-slider-wrap .swiper {
    max-width: min(100%, 250px);
  }
}

/* Tablet y ordenador */
@media (min-width: 768px) {
  .split-feature-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-items: stretch;
    gap: var(--gap-lg);
    height: 100%;
  }

  .split-feature-title {
    grid-column: 1;
    grid-row: 1;
  }

  .split-feature-content {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .split-feature-action {
    grid-column: 1;
    grid-row: 3;
  }

  .split-feature-media {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin-left: 0;
    margin-right: 0;
  }

  .media-slider-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .media-slider-wrap .swiper {
    max-width: min(100%, 380px);
  }
}

@media (min-width: 1024px) {
  .media-slider-wrap .swiper {
    max-width: 420px;
  }
}

@media (min-width: 1280px) {
  .media-slider-wrap .swiper {
    max-width: 460px;
  }
}

/* =========================================================
   SWIPER
   ========================================================= */

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
}

.nitro-slider .swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.nitro-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(17, 17, 17, 0.18);
  opacity: 1;
  transition: all 0.2s ease;
}

.nitro-slider .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--primary);
}

/* Swiper cards blur effect */



.cartoon-slider .swiper-slide,
.infographic-slider .swiper-slide {
  filter: blur(1.5px);
  transition: filter .35s ease, transform .35s ease;
}

.cartoon-slider .swiper-slide-active,
.infographic-slider .swiper-slide-active {
  filter: blur(0);
}

.cartoon-slider .swiper-slide .post,
.infographic-slider .swiper-slide .post {
  box-shadow: 0 1px 9px rgba(0 0 0 / 5%);
  border-radius: 10px;
}

.infographic-slider img{
  width: 100%;
  height: auto;
}

/* =========================================================
   Navigation
   ========================================================= */

#backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(215, 200, 180, 0.30);
  backdrop-filter: blur(8px);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .3s ease, visibility .3s ease;
}

#backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#menu {
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  width: calc(100% - 20px);
  max-width: 600px;
  overflow: auto;
  background: var(--tertiary);
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-24px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

#menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

#search {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: var(--tertiary);
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  overflow: auto;
}

#search.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay {
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  transition-delay: .12s;
}

#menu.open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

input[type="search"],
input[type="text"],
input[type="email"] {
  appearance: none;
}

input:focus-visible,
button:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: none;
}


/* =========================================================
   Article Content
   ========================================================= */

.article-content a{
  color: var(--primary);
  transition: .3s ease;
}

.article-content a:hover{
    opacity: 0.7;
}

.article-content h4:has(+ ul) {
  padding: 18px 18px 8px;
  background: var(--tertiary);
  border: 1px solid var(--secondary);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  text-transform: uppercase;
  margin-bottom: 0;
}

.article-content h4 + ul {
  margin-bottom: 30px;
  padding: 4px 18px 20px;
  background: var(--tertiary);
  border: 1px solid var(--secondary);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  list-style: none;
}

.article-content h4 + ul li {
  position: relative;
  margin: 0;
  padding: 0 34px 6px 0;
}

.article-content h4 + ul li:last-child {
  padding-bottom: 0;
}

.article-content h4 + ul li::before {
  display: none;
  content: none;
}

.article-content h4 + ul li a {
  position: relative;
  display: inline-block;
  width: 100%;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.article-content h4 + ul li a:hover {
  color: var(--primary);
}

.article-content h4 + ul li a::after {
  content: "→";
  position: absolute;
  right: -34px;
  top: 0;
  color: var(--primary);
  transform: translateY(1px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.article-content h4 + ul li a:hover::after {
  opacity: 1;
  transform: translate(3px, 1px);
}

/* Listas editoriales. */

.article-content ul,
.article-content ol {
  margin-bottom: 30px;
  padding-left: 2rem;
}

.article-content ul {
  list-style: none;
}

.article-content ol {
  list-style: none;
}

.article-content ul li,
.article-content ol li {
  position: relative;
  display: block;
  padding: 0.2em 0.4em;
  background: transparent;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.article-content ul li:last-child,
.article-content ol li:last-child {
  margin-bottom: 0;
}

.article-content ul li:hover,
.article-content ol li:hover {
  background: var(--tertiary);
}

.article-content figure{
  margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
}

/* Bullet */

.article-content ul li::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top:calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(233, 140, 147, 0.12);
  border-radius: 50%;
}

/* Number */

.article-content ol li {
  counter-increment: counter;
}

.article-content ol li::before {
  content: counter(counter);
  position: absolute;
  left: -2rem;
  top: calc(50% - 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--tertiary);
  border-radius: 50%;
  font-family: var(--font-sans);
}

/* Tamaño de texto */

.article-content.text-medium ol li::before {
  min-width: 26px;
  min-height: 26px;
  height: 26px;
  top: calc(50% - 13px);
}

.article-content.text-large ol li::before {
  min-width: 28px;
  min-height: 28px;
  height: 28px;
  top: calc(50% - 14px);
}

/* Interlineado */

.article-content.line-compact ol li::before {
  top: calc(50% - 12px);
}

.article-content.line-spacious ol li::before {
  top: calc(50% - 12px);
}

/* Combinaciones tamaño + interlineado */

.article-content.text-medium.line-compact ol li::before {
  top: calc(50% - 13px);
}

.article-content.text-medium.line-spacious ol li::before {
  top: calc(50% - 13px);
}

.article-content.text-large.line-compact ol li::before {
  top: calc(50% - 14px);
}

.article-content.text-large.line-spacious ol li::before {
  top: calc(50% - 14px);
}

/* Cuando hay listas dentro de listas, el número va arriba y no centrado */

.article-content ol li:has(> ol)::before,
.article-content ol li:has(> ul)::before {
  top: 6px;
}

.article-content ul li:has(> ol)::before,
.article-content ul li:has(> ul)::before {
  top: 12px;
}

.article-content.text-medium ol li:has(> ol)::before,
.article-content.text-medium ol li:has(> ul)::before {
  top: 6px;
}

.article-content.text-large ol li:has(> ol)::before,
.article-content.text-large ol li:has(> ul)::before {
  top: 6px;
}

.article-content.line-compact ol li:has(> ol)::before,
.article-content.line-compact ol li:has(> ul)::before {
  top: 4px;
}

.article-content.line-spacious ol li:has(> ol)::before,
.article-content.line-spacious ol li:has(> ul)::before {
  top: 8px;
}

.article-content.text-medium.line-compact ol li:has(> ol)::before,
.article-content.text-medium.line-compact ol li:has(> ul)::before {
  top: 5px;
}

.article-content.text-medium.line-spacious ol li:has(> ol)::before,
.article-content.text-medium.line-spacious ol li:has(> ul)::before {
  top: 8px;
}

.article-content.text-large.line-compact ol li:has(> ol)::before,
.article-content.text-large.line-compact ol li:has(> ul)::before {
  top: 5px;
}

.article-content.text-large.line-spacious ol li:has(> ol)::before,
.article-content.text-large.line-spacious ol li:has(> ul)::before {
  top: 9px;
}

.article-content.font-serif ol li::before{
  font-family: 'Times New Roman';
}

/* Nested lists */

.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
  margin: 0em 0 0;
  padding-left: 2.1rem;
  font-size: 0.95em;
}

.article-content ul ul li::before {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid var(--primary);
}

.article-content ol ol {
  counter-reset: nitro-sub-counter;
}

.article-content ol ol li {
  counter-increment: nitro-sub-counter;
}

.article-content ol ol li::before {
  content: counter(nitro-sub-counter);
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* Blockquotes editoriales. */

.article-content blockquote {
  position: relative;
  margin: 0 0 30px;
  padding: 2.6em 1.2em 0em 1em;
  background: transparent;
  border-left: 3px solid var(--primary);
}

.article-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 24px;
  top: -21px;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 6em;
  line-height: 1;
}

.article-content blockquote p {
  margin: 0 0 0.8em;
  padding-left: 0.6em;
  color: var(--dark);
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6em;
  font-weight: bold;
}

.article-content.line-compact blockquote p {
  line-height: 1.2em;
}

.article-content.article-content.line-spacious blockquote p {
  line-height: 1.8em;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content blockquote cite {
  display: block;
  margin: 1em 0 0;
  padding-left: 0.8em;
  color: var(--primary);
  font-size: 0.8em;
  font-style: normal;
}

@media (min-width: 768px) {
  .article-content blockquote {
    padding: 3.4em 1.6em 0em 1em;
  }

  .article-content blockquote::before {
    left: 26px;
    top: -28px;
    font-size: 8em;
    line-height: 1;
  }

  .article-content blockquote p {
    padding-left: 0.8em;
    font-size: 1.2em;
  }

  .article-content blockquote cite {
    padding-left: 1em;
  }
}

/* Tablas editoriales. */

.article-content .wp-block-table {
  margin: 2em 0 2.2em;
  overflow-x: auto;
  scrollbar-width: none;
}

.article-content .wp-block-table::-webkit-scrollbar {
  display: none;
}

.article-content .wp-block-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: transparent;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.article-content .wp-block-table td,
.article-content .wp-block-table th {
  padding: 14px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--dark);
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.article-content .wp-block-table tr:last-child td,
.article-content .wp-block-table tr:last-child th {
  border-bottom: 0;
}

.article-content .wp-block-table thead th {
  color: var(--primary);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  background: var(--tertiary);
}

.article-content .wp-block-table table:not(:has(thead)) tbody tr:first-child td {
  color: var(--primary);
  font-family: var(--font-sans);
  background: transparent;
}

.article-content .wp-block-table tbody tr:hover td {
  background: rgba(252, 243, 237, 0.45);
}

.article-content .wp-block-table td:empty::after {
  content: "—";
  color: rgba(17, 17, 17, 0.28);
}

.article-content .wp-block-table figcaption {
  margin-top: 10px;
  color: rgba(17, 17, 17, 0.62);
  text-align: left;
  font-size: .8em;
}

/* Bloque editorial destacado. */

.article-content h4:has(+ p) {
  margin-bottom: 0;
  padding: 14px 14px 0px 18px;
  background: var(--tertiary);
  color: var(--octanary);
  border-radius: 10px 10px 0 0;
  border-top: solid 1px var(--secondary);
  border-left: solid 1px var(--secondary);
  border-right: solid 1px var(--secondary);
  text-transform: uppercase;
}

.article-content h4 + p {
  margin-bottom: 30px;
  padding: 0 14px 14px 18px;
  background: var(--tertiary);
  border-radius: 0 0 10px 10px;
  border-bottom: solid 1px var(--secondary);
  border-left: solid 1px var(--secondary);
  border-right: solid 1px var(--secondary);
  color: var(--dark);
  line-height: 1.3em;
}

.article-content.line-compact h4 + p{
  line-height: 1.1em;
}

.article-content.line-spacious h4 + p{
  line-height: 1.5em;
}

.article-content .mark,
.article-content mark {
  color: inherit;
}

/* Media text sin caja editorial en h4 + p. */

.article-content .wp-block-media-text__content h4:has(+ p) {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--dark);
}

.article-content .wp-block-media-text__content h4 + p {
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.article-content .wp-block-media-text__media {
  width: 40%;
  display: flex;
  justify-content: center;
  margin: 10px 0 !important;
}

@media (min-width: 576px) {
  .article-content .wp-block-media-text__media {
    width: 33%;
  }
}

@media (min-width: 768px) {
  .article-content .wp-block-media-text__media {
    width: 33%;
  }
}

.article-content .wp-block-media-text__content {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--sevenary);
}

@media (min-width: 576px) {
  .article-content .wp-block-media-text__content {
    width: 66%;
  }
}

@media (min-width: 768px) {
  .article-content .wp-block-media-text__content {
    width: 66%;
  }
}

.article-content .wp-block-media-text .wp-block-media-text__content {
  direction: ltr;
  grid-column: 2;
  grid-row: 1;
  word-break: break-word;
  padding-left: 15px;
}

.article-content .wp-block-media-text__content p {
  padding: 0 !important;
}

.article-content .wp-block-media-text {
  padding-left: 0;
}

.article-content .wp-block-media-text {
  display: flex;
  margin-bottom: 30px;
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 576px) {
  .article-content .wp-block-media-text {
    display: flex;
    margin-bottom: 30px;
  }
}

.article-content .wp-block-media-text h5 {
  font-size: 1.3em;
}

.article-content .wp-block-media-text h4 {
  padding: 0;
  margin: 0;
  font-weight: 800;
  color: var(--sevenary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.article-content .wp-block-media-text p, .article-content .wp-block-media-text h5 {
  padding: 0;
  margin-bottom: 5px;
}

.article-content .wp-block-media-text p {
  font-size: 1em;
  line-height: normal;
}

.article-content .wp-block-media-text figure {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .article-content .wp-block-media-text figure {
    margin-bottom: 0;
  }
}

.article-content .wp-block-media-text figure img {
  object-fit: cover;
  /*aspect-ratio: 4/4;*/
  width: 100%;
  height: auto;
  border-radius: 5px;
  border: solid 1px var(--secondary);
}

.article-content .wp-block-media-text a {
  background-size: 100% 2px;
}

.article-content .wp-block-image {
  position: relative;
}

.article-content .wp-block-image img {
  position: relative;
  z-index: 1;
}

.article-content .wp-block-image .figure-caption {
  z-index: 2;
  color: white;
  text-shadow: 0 1px 6px rgba(0 0 0 / 10%);
  margin: 0 15px;
  font-size: 13px;
  bottom: 15px;
  left: 0;
  position: absolute;
}

.container-photo {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .container-photo {
    padding-left: var(--space-inline-md);
    padding-right: var(--space-inline-md);
  }
}

@media (min-width: 1024px) {
  .container-photo {
    padding-left: var(--space-inline-lg);
    padding-right: var(--space-inline-lg);
  }
}


/* =========================================================
   Header & Brand
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: solid 2px var(--secondary);
}

.brand-desktop {
  display: none;
  width: 100%;
  max-width: 200px;
  height: auto;
  transition: .3s ease;
}

.brand a{
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mobile {
  display: flex;
  width: 40px;
  height: auto;
  transition: .3s ease;
}


@media (min-width: 320px) {
  .brand-desktop {
    display: flex;
    max-width: 160px;
  }

  .brand-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .brand-desktop {
    max-width: 230px;
  }
}

@media (min-width: 1024px) {
  .brand-desktop {
    max-width: 300px;
  }
}

.brand-desktop.active {
  display: none;
}

.brand-mobile.active {
  display: flex;
}

@media (min-width: 768px) {
  .brand-desktop.active {
    display: flex;
    width: 180px;
    height: auto;
  }

  .brand-mobile.active {
    display: none;
  }
}

@media (min-width: 1024px) {
  .brand-desktop.active {
    display: flex;
    width: 200px;
  }
}

.social-media, .summarize-ai {
  position: relative;
}

.social-media a, .summarize-ai a {
  display: block;
  width: 25px;
  height: 25px;
  color: var(--dark);
  margin: 0 6px;
  transition: .3s ease;
}

.social-media.large a {
  width: 30px;
  height: 30px;
  margin: 0 7px;
}

@media (min-width: 768px) {
  .social-media.large a {
    margin: 0 5px;
  }
}

@media (min-width: 1280px) {
  .social-media.large a {
    margin: 0 10px;
  }
}

.social-media a:hover, .summarize-ai a:hover {
  color: var(--primary);
}


.social-media svg, .summarize-ai svg {
  width: 26px;
  height: 26px;
}

.social-media.large svg {
  width: 30px;
  height: 30px;
}

.social-media.custom{
  left: -15px;
}

#summarize-ai{
  font-size: .9em;
}

.summarize-ai li {
	position: relative;
}

.ai-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ai-tooltip::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(4px);
	padding: 4px 8px;
	border-radius: 3px;
	background: var(--dark);
	color: var(--tertiary);
	font-size: .75rem;
	line-height: 1;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	z-index: 8;
}

.ai-tooltip::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%) translateY(4px);
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--dark);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	z-index: 10;
}

.ai-tooltip:hover::after,
.ai-tooltip:hover::before,
.ai-tooltip:focus-visible::after,
.ai-tooltip:focus-visible::before {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

@media (hover: none) {
	.ai-tooltip::after,
	.ai-tooltip::before {
		display: none;
	}
}

.btn-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  cursor: pointer;
}

#top-line {
  width: 100%;
  height: 8px;
  background: var(--quinary);
}


/* menu desktop */

.menu-desktop>ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 7;
}

.menu-desktop .menu-item {
  position: relative;
  background-color: transparent;
  white-space: nowrap;
  margin: 0 10px;
}

.menu-desktop .menu-item>a {
  display: flex;
  position: relative;
  padding: 5px 0;
  text-decoration: none;
  transition: .4s ease;
  color: var(--dark);
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 600;
}

.menu-desktop .menu-item>a:hover {
  text-decoration: none;
  color: var(--primary);
}

.menu-desktop .menu-item.active>a {
  font-weight: 600;
  color: var(--primary);
}

/* sub menu */

.menu-desktop .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  padding: 10px 20px;
  margin: 0;
  list-style: none;
  background: var(--tertiary);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(215, 200, 180, 0.3);
  z-index: 20;
}

.menu-desktop .menu-item:hover>.sub-menu {
  display: flex;
  animation: fadeInUp .4s both;
}

.menu-desktop .sub-menu .menu-item {
  margin: 0;
}

.menu-desktop .sub-menu a {
  display: block;
  padding: 5px 0;
  font-weight: 400;
  font-size: 1rem;
  color: var(--dark);
}

.menu-desktop .sub-menu a:hover {
  color: var(--primary);
}

/* item with children */

.menu-desktop .menu-item-has-children {
  margin-right: 15px;
}

.menu-desktop .menu-item-has-children>a {
  font-weight: 600;
}

.menu-desktop .menu-item-has-children::after {
  content: "▾";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 12px;
  pointer-events: none;
}

/* menu mobile */

.menu-mobile>ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-mobile .menu-item {
  position: relative;
  width: 100%;
  margin: 0;
}

.menu-mobile .menu-item>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0;
  text-decoration: none;
  transition: .3s ease;
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.menu-mobile .menu-item.active a {
  color: var(--primary);
}

.menu-mobile .menu-item>a:hover {
  color: var(--primary);
}

/* sub menu */

.menu-mobile .sub-menu {
  display: none;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.menu-mobile .sub-menu .menu-item {
  margin: 0;
}

.menu-mobile .sub-menu a {
  display: block;
  width: 100%;
  padding: 5px 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
}

.menu-mobile .sub-menu a:hover {
  color: var(--primary);
}

/* open state */

.menu-mobile .menu-item.open>.sub-menu {
  display: flex;
  flex-direction: column;
}

/* item with children */

.menu-mobile .menu-item-has-children>a {
  padding-right: 24px;
}

.menu-mobile .menu-item-has-children::after {
  content: "▾";
  position: absolute;
  top: 12px;
  right: 0;
  color: var(--primary);
  font-size: 14px;
  transition: transform .3s ease;
  pointer-events: none;
}

.menu-mobile .menu-item-has-children.open::after {
  transform: rotate(180deg);
}

/* submenu */

.submenu {
  width: 100%;
}

.submenu>ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.submenu .menu-item {
  width: 100%;
}

.submenu .menu-item>a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 8px 0;
  color: var(--dark);
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

.submenu .menu-item>a:hover,
.submenu .menu-item.active>a {
  color: var(--primary);
  opacity: 1;
}

.submenu .menu-item.active a {
  color: var(--primary);
}

/* menu footer */

.menu-footer {
  width: 100%;
}

.menu-footer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  gap: var(--gap-sm);
}

.menu-footer .menu-item {
  display: flex;
  justify-content: center;
  width: 100%;
}

.menu-footer .menu-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark);
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

.menu-footer .menu-item a:hover,
.menu-footer .menu-item.active a {
  color: var(--primary);
  opacity: 1;
}

@media (min-width: 768px) {
  .menu-footer ul {
    flex-direction: row;
    gap: var(--gap-md);
  }

  .menu-footer .menu-item {
    width: auto;
  }
}


.data-post{
  font-size: .8em;
  color:gray;
}

.data-post ul li{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}


.data-post.update ul li{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

@media (min-width: 580px) {
.data-post.update ul li{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
}


/* Bar news */
.link-bar-news {
  display: block;
  padding: 10px 7px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .9em;
  line-height: 120%;
}

.special-bar-news {
  background: var(--tertiary);
  color: var(--primary);
  padding: 0 8px 0 12px;
  font-weight: bold;
  border-radius: 3px;
}

/* =========================================================
   Search
   ========================================================= */

.search-field {
  width: 100%;
  min-height: 56px;
  background: var(--secondary);
  border-radius: 999px;
  transition: background .3s ease, box-shadow .3s ease;
}

.search-field:focus-within {
  box-shadow: 0 0 0 2px rgba(210, 18, 33, 0.12);
}

/* form */

.search-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

/* input */

.search-input {
  width: 100%;
  height: 56px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  border-radius: 999px;
}

.search-input::placeholder {
  color: darkgray;
}

/* button */

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 56px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: var(--primary);
  transition: color .3s ease, transform .3s ease, opacity .3s ease;
}

.search-submit:hover {
  color: var(--dark);
  transform: scale(1.04);
}

/* quick links */

.quick-links {
  position: relative;
  width: 100%;
}

.scroll-wrapper-quick-links {
  width: auto;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.scroll-wrapper-quick-links::-webkit-scrollbar {
  display: none;
}

.quick-links-list {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: max-content;
  padding: 0 var(--space-inline-sm);
  margin: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .quick-links-list {
    padding: 0 var(--space-inline-md);
  }
}

@media (min-width: 1024px) {
  .quick-links-list {
    padding: 0 var(--space-inline-lg);
  }
}

.quick-links-list li {
  flex: 0 0 auto;
}

.quick-links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: var(--tertiary);
  border: 1px solid var(--quinary);
  border-radius: 5px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--dark);
  transition: .3s ease;
}

@media (min-width: 768px) {
  .quick-links-list {
    width: 100%;
    min-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.quick-links a:hover {
  background: var(--quinary);
}

.top-line {
  margin-top: 3px;
}


.bottom-line {
  margin-bottom: 3px;
}

/* Article */

.article-content{
    font-size: 1.1em;
    color: var(--dark);
    line-height: 1.65;
    letter-spacing: .04em;
}

.article-content.font-serif {
	font-family: var(--font-serif);
  letter-spacing: .02em;
}

.article-content.text-medium {
	font-size: 1.2em;
}

.article-content.text-large {
	font-size: 1.3em;
}

.article-content.line-compact {
	line-height: 1.35;
}

.article-content.line-spacious {
	line-height: 2;
}

.article-content.text-medium p{
    font-size: 1.15em;
}

.article-content.text-large p{
    font-size: 1.3em;
}

.article-content p{
  margin-bottom: 30px;
}

.article-contentt > *:first-child {
  margin-top: 0;
}

.article-content.line-compact > p:first-of-type::first-letter{
   margin: 0.04em 0.2em 0 0;
   font-size: 4.6em;
}

.article-content.line-compact.font-serif > p:first-of-type::first-letter{
   margin: 0.06em 0.2em 0 0;
   font-size: 4.3em;
}

.article-content.line-spacious > p:first-of-type::first-letter{
   font-size: 3.7em;
}

.article-content.line-spacious.font-serif > p:first-of-type::first-letter{
   margin: 0.16em 0.2em 0 0;
   font-size: 3.7em;
}


.article-content > p:first-of-type::first-letter{
  float: left;
  margin: 0.15em 0.2em 0 0;
  font-size: 3.1em;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.article-content.font-serif > p:first-of-type::first-letter {
  float: left;
  margin: 0.2em 0.2em 0 0;
  font-size: 3em;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.08em;
}


/* =========================================================
   Sliders & Scrolling
   ========================================================= */

.slider-row {
  margin-left: calc(var(--space-inline-sm) * -1);
  margin-right: calc(var(--space-inline-sm) * -1);
}

@media (min-width: 768px) {
  .slider-row {
    margin-left: calc(var(--space-inline-md) * -1);
    margin-right: calc(var(--space-inline-md) * -1);
  }
}

@media (min-width: 1024px) {
  .slider-row {
    margin-left: calc(var(--space-inline-lg) * -1);
    margin-right: calc(var(--space-inline-lg) * -1);
  }
}

/* scrolling wrapper */
.scrolling-wrapper {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  flex-wrap: nowrap;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: var(--gap-lg);
  padding-left: var(--space-inline-sm);
  padding-right: var(--space-inline-sm);
  scroll-padding-left: var(--space-inline-sm);
  scroll-padding-right: var(--space-inline-sm);
}

@media (min-width: 768px) {
  .scrolling-wrapper {
    padding-left: var(--space-inline-md);
    padding-right: var(--space-inline-md);
    scroll-padding-left: var(--space-inline-md);
    scroll-padding-right: var(--space-inline-md);
  }
}

@media (min-width: 1024px) {
  .scrolling-wrapper {
    padding-left: var(--space-inline-lg);
    padding-right: var(--space-inline-lg);
    scroll-padding-left: var(--space-inline-lg);
    scroll-padding-right: var(--space-inline-lg);
  }
}

.scrolling-wrapper > div {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scrolling-wrapper::-webkit-scrollbar {
  display: none;
}

.scrolling-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

/* tamaños de cards */

.card-slide {
  flex: 0 0 84%;
}

@media (min-width: 768px) {
  .card-slide {
    flex: 0 0 42%;
  }
}

@media (min-width: 1200px) {
  .scrolling-wrapper {
    overflow-x: hidden;
    flex-wrap: wrap;
  }

  .card-slide {
    flex: 0 0 calc((100% - (var(--gap-lg) * 2)) / 3);
  }
}

/* =========================================================
   Banners
   ========================================================= */

.superbanner {
  min-width: 320px;
  min-height: 50px;
  width: 970px;
  height: 50px;
  background: var(--quinary);

}

@media (min-width: 768px) {
  .superbanner {
    height: 90px;
  }
}

.boxbanner {
  min-width: 300px;
  min-height: 250px;
  width: 300px;
  height: 250px;
  background: var(--quinary);

}

.halfbanner {
  min-width: 300px;
  min-height: 250px;
  width: 300px;
  height: 600px;
  background: var(--quinary);

}

/* =========================================================
   Footer & Legals
   ========================================================= */

.legals {
  width: 100%;
}

.legals ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  gap: var(--gap-xs);
}

.legals .menu-item {
  display: flex;
  justify-content: center;
  width: 100%;
}

.legals .menu-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark);
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
  font-size: .9em;
  font-weight: 400;
  opacity: 0.8;
}

.legals .menu-item a:hover,
.legals .menu-item.active a {
  color: var(--primary);
  opacity: 1;
}

@media (min-width: 768px) {
  .legals ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
  }

  .legals .menu-item {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .legals ul {
    justify-content: flex-end;
    text-align: right;
  }

  .legals .menu-item {
    justify-content: flex-end;
  }
}

.legals ul li a svg {
  color: var(--primary);
  margin-right: 4px;
}

/* Footer */
.brand-footer img {
  width: 250px;
  height: 82;
}

@media (min-width: 768px) {
  .brand-footer img {
    width: 300px;
    height: 98;
  }
}

#up {
  --scroll-progress: 0deg;

  position: fixed;
  right: 12px;
  bottom: 25px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  z-index: 7;
  transition: opacity .3s ease, transform .3s ease;
}

@media (min-width: 768px) {
  #up {
    right: 30px;
  }
}

@media (min-width: 1200px) {
  #up {
    bottom: 30px;
  }
}

#up.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#up a {
  position: relative;
  display: flex;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(215 200 180 / 10%);
  transition: transform .3s ease;
  background: conic-gradient(
    rgba(210 18 33 / 35%) var(--scroll-progress),
    rgba(255, 255, 255, .28) 0deg
  );
}

#up a::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--primary);
  z-index: 1;
  transition: background .3s ease;
}

#up a svg {
  position: relative;
  z-index: 2;
  width: 25;
  height: 25px;
}

@media (min-width: 768px) {
  #up a {
    width: 50px;
    height: 50px;
  }

  #up a svg {
    width: 25px;
    height: 25px;
  }
}

#up a:hover {
  transform: translateY(-2px);
}

#up a:hover::before {
  background: var(--octanary);
}

/* Octanogram */

#octanogram {
  position: relative;
  padding: 10px 15px;
}

#octanogram a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#octanogram a span {
  font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  font-size: .9rem;
  font-style: italic;
  white-space: nowrap;

}

#octanogram a img {
  margin-left: 10px;
  max-width: 160px;
  width: 100%;
  height: 35px;
}


/* =========================================================
   Overrides
   ========================================================= */

.full-bleed-mobile {
  width: auto;
  margin-left: calc(var(--space-inline-sm) * -1);
  margin-right: calc(var(--space-inline-sm) * -1);
}

.rounded-xs-responsive img{
  border: none;
}

@media (min-width: 768px) {
  .full-bleed-mobile {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .rounded-xs-responsive img{
    border: solid 1px var(--tertiary);
  }
}

.layout-2-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .layout-2-1 {
    grid-template-columns: 2fr 1fr;
  }
}

/* =========================================================
   Fancybox
   ========================================================= */


.fancybox-is-open .fancybox-bg {
  background: rgba(215, 200, 180, 0.30);
  backdrop-filter: blur(16px);
  opacity: 1;
}

.fancybox-progress {
  background: var(--primary) !important;
  height: 5px;
}

.fancybox-infobar {
  color: rgba(215, 200, 180, 0.60) !important;
}

.fancybox-button {
  transition: .3s ease;
  background: var(--secondary);
  transition: .3s ease;
}

.fancybox-button:hover {
  background: var(--secondary);
}

.fancybox-thumbs {
  background: var(--secondary);
}

.fancybox-thumbs__list a::before {
  border: 6px solid var(--primary) !important;
}

.fancybox-infobar {
  color: var(--primary) !important;
  mix-blend-mode: inherit;
  font-size: 1.1em;
  font-family: var(--font-sans);
}

.fancybox-caption {
  background: transparent;
}

.fancybox-navigation .fancybox-button {
  width: 50px;
  height: 50px;
}

.fancybox-button--arrow_left, .fancybox-button--arrow_right {
  padding: inherit !important;
}

.fancybox-caption__body {
  color: var(--dark);
  font-weight: bold;
}

.fancybox-thumbs-active {
  border: solid 2px var(--senary);
}

.fancybox-image {
  border-radius: 0;
}

@media (min-width: 1080px) {
  .fancybox-image {
    border-radius: 5px;
  }
}

.fancybox-thumbs-active {
  border: none;
}

.fancybox-button svg path{
  fill: var(--primary)
}

.fancybox-content{
  background: tra;
}

/* =========================================================
   Video hero single
   ========================================================= */

.post-picture.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

.post-picture.aspect-16-9 .mb-xs {
    width: 100%;
    height: 100%;
}

.post-picture.aspect-16-9 iframe,
.post-picture.aspect-16-9 video {
    width: 100%;
    height: 100%;
    display: block;
    border: solid 1px var(--tertiary);
    border-radius: 5px;
    object-fit: cover;
    background: var(--secondary);

}

.post-picture.aspect-16-9 iframe.rounded-xs,
.post-picture.aspect-16-9 video.rounded-xs {
    border-radius: 5px
}

.wordbreak{
  word-break: break-word;
  hyphens: auto;
  text-align: left !important;
}

/* Contenido patrocinado
   ========================================================= */

.single-sponsored-brand {
    gap: 12px;
    flex-wrap: wrap;
}

.single-sponsored-brand-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.single-sponsored-brand-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.single-sponsored-brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* -------------------------------------------
   Fuente preferida en Google
------------------------------------------- */

.preferred-source {
  width: 100%;
}

.preferred-source-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid var(--secondary);
  border-bottom: 1px solid var(--secondary);
  text-align: center;
}

.preferred-source-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  min-width: 0;
}

.preferred-source-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--tertiary);
  border-radius: 50%;
  border:solid 1px var(--secondary);
}

.preferred-source-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.preferred-source-title {
  min-width: 0;
}

.preferred-source-title h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}


@media (min-width: 768px) {

  .preferred-source-banner {
    flex-direction: row;
    justify-content: center;
    gap: var(--gap-lg);
    padding: var(--space-md);
    text-align: left;
  }

  .preferred-source-message {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--gap-sm);
    text-align: left;
  }

  .preferred-source-title h2 {
    text-align: left;
  }

  .preferred-source-action {
    flex: 0 0 auto;
    justify-content: flex-end;
    width: auto;
  }
}

@media (min-width: 1024px) {

  .preferred-source-banner {
    padding: var(--space-md) var(--space-lg);
  }

  .preferred-source-title h2 {
    font-size: 1.3rem;
  }
}

.article-content > :is(h1, h2, h3, h4, h5, h6){
  margin-bottom: 22px;
  font-weight: bold;
}

/* -------------------------------------------
   Transmisión en vivo
------------------------------------------- */

.live-feature {
  width: 100%;
  overflow: hidden;
  background: var(--quinary);
}

/* -------------------------------------------
   Layout móvil
------------------------------------------- */

.live-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "header"
    "sponsor"
    "media"
    "content";
  gap: var(--gap-md);
  width: 100%;
}

/* -------------------------------------------
   Encabezado
------------------------------------------- */

.live-feature-header {
  grid-area: header;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);

  min-width: 0;
  text-align: center;
}

.live-feature-accent {
  display: block;
  width: 30px;
  height: 4px;
  background: var(--primary);
}

.live-feature-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
}

.live-feature-heading h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* -------------------------------------------
   Estado en vivo
------------------------------------------- */

.live-feature-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: fit-content;
  padding: 7px 12px;

  color: var(--tertiary);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  background: var(--primary);
  border-radius: 999px;
}

.live-feature-dot {
  display: block;
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  animation: live-feature-pulse 1.5s ease-in-out infinite;
}

@keyframes live-feature-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

/* -------------------------------------------
   Presentador o patrocinador
------------------------------------------- */

.live-feature-sponsor {
  grid-area: sponsor;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);

  min-width: 0;
}

.live-feature-sponsor-label {
  color: rgba(17, 17, 17, 0.48);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.live-feature-sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.live-feature-sponsor-logo img {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 46px;
  object-fit: contain;
}

/* -------------------------------------------
   Reproductor
------------------------------------------- */

.live-feature-media {
  grid-area: media;
  width: 100%;
  min-width: 0;
}

.live-feature-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  border-radius: 10px;
}

.live-feature-player iframe,
.live-feature-player video {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  border: 0;
}

/* -------------------------------------------
   Título
------------------------------------------- */

.live-feature-content {
  grid-area: content;
  min-width: 0;
  text-align: left;
}

.live-feature-content h3 {
  margin: 0;
  color: var(--dark);
  font-weight: 400;
  line-height: 1.1;
}

/* -------------------------------------------
   Tablet
------------------------------------------- */

@media (min-width: 768px) {

  .live-feature-layout {
    grid-template-columns:
      minmax(210px, 1fr)
      minmax(0, 2.5fr);

    grid-template-areas:
      "header sponsor"
      "header media"
      "content media";

    grid-template-rows:
      auto
      1fr
      auto;

    gap: var(--gap-md) var(--gap-lg);
    align-items: stretch;
  }

  .live-feature-header {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .live-feature-heading {
    align-items: flex-start;
  }

  .live-feature-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
  }

  .live-feature-sponsor {
    justify-content: flex-end;
    align-self: center;
  }

  .live-feature-media {
    align-self: stretch;
  }

  .live-feature-content {
    align-self: end;
    padding-bottom: var(--space-xs);
  }

  .live-feature-content h3 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
  }
}

/* -------------------------------------------
   Ordenador
------------------------------------------- */

@media (min-width: 1024px) {

  .live-feature-layout {
    grid-template-columns:
      minmax(260px, 1fr)
      minmax(0, 2.7fr);

    gap: var(--gap-lg) var(--gap-xl);
  }

  .live-feature-heading{
    gap: var(--gap-lg);
  }

  .live-feature-heading h2 {
    font-size: clamp(2.4rem, 3.7vw, 3.8rem);
  }

  .live-feature-content h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  }

  .live-feature-sponsor-logo img {
    max-width: 170px;
    max-height: 45px;
  }
}

/* -------------------------------------------
   Pantallas grandes
------------------------------------------- */

@media (min-width: 1280px) {

  .live-feature-layout {
    grid-template-columns:
      minmax(300px, 1fr)
      minmax(0, 2.8fr);
  }
}

#live-stream-title{
  margin-bottom: 0;
}


/* -------------------------------------------
   Autor y medio aliado
------------------------------------------- */

.author-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /*justify-content: center;*/
  gap: var(--gap-md);
}

.author-partner.basic{
  align-items: flex-start;
  justify-content: flex-start;
}

.author-profile {
  gap: var(--gap-xs);
  min-width: 0;
}

.author-profile .photo-author {
  flex: 0 0 auto;
}

.author-profile .photo-author img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 50%;
}

.author-role {
  min-width: 0;
}

/* Medio aliado */

.partner-profile {
  position: relative;
}

.partner-logo img {
  border-radius: 4px;
}

.partner-label {
  color: rgba(17, 17, 17, 0.55);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.partner-name {
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.partner-name a {
  color: var(--dark);
  text-decoration: none;
}

.partner-name a:hover {
  color: var(--primary);
}

/* Separador visual entre autor y medio */

.partner-profile::before {
  content: "";
  width: 1px;
  height: 34px;
  margin-right: var(--gap-sm);
  background: rgba(17, 17, 17, 0.15);
}

/* Móvil */

@media (max-width: 400px) {
  .author-partner {
    flex-direction: column;
    align-items: flex-center;
    gap: var(--gap-sm);
  }

  .author-partner.basic{
    justify-content: flex-start;
  }

  .author-profile {
    justify-content: flex-start;
  }

  .partner-profile::before {
    display: none;
  }
}

.partner-logo img{
    display: block;
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1);
    transform-origin: center 0%;
    border: solid 1px var(--quinary);
}

/* -------------------------------------------
   Radar Nitro: autor y medio aliado
------------------------------------------- */

.radar-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-sm);
  width: 100%;
  min-width: 0;
}

.radar-byline-item {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: var(--gap-xs);
  min-width: 0;
}

.radar-byline-author {
  flex: 0 1 auto;
}

.radar-byline-partner {
  position: relative;
  flex: 0 1 auto;
}

/* Metadatos */

.radar-byline-meta {
  min-width: 0;
  line-height: 1.2;
}

.radar-byline-meta .author,
.radar-partner-label,
.radar-partner-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Logo cuadrado del medio */

.radar-partner-logo {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
}

.radar-partner-logo a,
.radar-partner-logo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.radar-partner-logo img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: cover;
  background: var(--tertiary);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 50%;
}

/* Medio aliado */

.radar-partner-label {
  color: rgba(17, 17, 17, 0.55);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radar-partner-name {
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.15;
}

.radar-partner-name a {
  color: var(--dark);
  text-decoration: none;
}

.radar-partner-name a:hover {
  color: var(--primary);
}

/* Tarjetas secundarias */

.radar-byline-compact {
  gap: var(--gap-sm);
}

/* Responsive a 400px */

@media (max-width: 400px) {
  .radar-byline {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-xs);
  }

  .radar-byline-author,
  .radar-byline-partner {
    width: auto;
  }

  .radar-byline-partner {
    padding-left: 0;
  }

  .radar-byline-meta .author,
  .radar-partner-label,
  .radar-partner-name {
    white-space: normal;
  }
}

/* -------------------------------------------
   País y categoría
------------------------------------------- */

.country-category {
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-bottom: var(--space-xs);
}

.country {
  min-width: 0;
  display: flex;
}

.country a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: 1.2;
  text-decoration: none;
}

.country a:hover {
  color: var(--primary);
}

/* Bandera circular */

.country-flag {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 20px;
  overflow: hidden;
  background: var(--tertiary);
  border: 1px solid var(--secondary);
  border-radius: 3px;
}

.country-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

/* Separador */

.country-category-separator {
  flex: 0 0 auto;
  color: rgba(17, 17, 17, 0.4);
  line-height: 1;
}

/* Categoría */

.country-category .category {
  min-width: 0;
  margin-bottom: 0;
}

/* Pantallas pequeñas */

@media (max-width: 400px) {
  .country-category {
    gap: 5px;
  }

  .country-flag {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }
}

/* -------------------------------------------
   Cookies banner
------------------------------------------- */

.cookie-banner {
  position: fixed;
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.cookie-banner.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-card {
  width: 100%;
  padding: var(--space-sm);
  color: var(--dark);
  background: var(--tertiary);
  border: 1px solid var(--secondary);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.16);
}

/* Header */

.cookie-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.cookie-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.cookie-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.cookie-title h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Texto */

.cookie-text {
  margin-bottom: var(--space-sm);
}

.cookie-text p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.cookie-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: var(--primary);
}

/* Acciones */

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xs);
}

/*
 * Adaptación mínima para que <button>
 * use los estilos existentes de .btn-primary y .btn-tertiary.
 */

.cookie-action {
  width: 100%;
}

.cookie-action button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  background: transparent;
  border: 0;
  border-radius: inherit;
  cursor: pointer;
}

.cookie-action button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-action button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Móvil */

@media (max-width: 480px) {
  .cookie-banner {
    right: var(--space-sm);
    bottom: var(--space-sm);
    left: var(--space-sm);
    width: auto;
    max-width: none;
  }

  .cookie-card {
    border-radius: 14px;
  }
}

.btn-nav svg{
  width: 35px;
  height: 35px;
  min-width: 35px;
  min-height: 35px;
}

/* =========================================================
   Styles 
   ========================================================= */

#wpadminbar{
    background: #d21221;
}

.tnp-subscription{
    display: none !important;
}

.wp-block-button__link{
    background: var(--primary) !important;
    color: white;
    border-radius: 30px;
    width: 100%;
    transition: .3s ease;
}

.wp-block-button__link:hover{
  background: var(--octanary) !important;
}

.is-content-justification-center{
  display: flex;
}

#content-page{
  font-size: 1.1em;
  color: var(--dark);
  line-height: 1.65;
  letter-spacing: .04em;
}

#content-page p{
    margin-bottom: 1.2em;
}

#content-page img{
    margin-bottom: 1.5em;
}

#content-page > :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 1.2em;
}

/* -------------------------------------------
   Newsletter simple pages
------------------------------------------- */

.newsletter-simple {
    width: 100%;
}

.newsletter-simple-header {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.newsletter-simple-body {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.newsletter-simple-body .tnp-profile,
.newsletter-simple-body .tnp-field,
.newsletter-simple-body form {
    width: 100%;
}

.newsletter-simple-body input[type="email"],
.newsletter-simple-body input[type="text"],
.newsletter-simple-body select {
    width: 100%;
}

.newsletter-simple-body .tnp-submit,
.newsletter-simple-body button,
.newsletter-simple-body input[type="submit"] {
    cursor: pointer;
}

/* -------------------------------------------
   Newsletter plugin forms
------------------------------------------- */

.newsletter-content {
    width: 100%;
}

.newsletter-content .tnp,
.newsletter-content .tnp-form,
.newsletter-content .tnp-profile {
    width: 100%;
}

.newsletter-content .tnp form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.newsletter-content .tnp-field {
    width: 100%;
    margin: 0;
}

.newsletter-content .tnp-field label {
    display: block;
    margin-bottom: 8px;
    color: #111111;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 500;
}

.newsletter-content .tnp-field input,
.newsletter-content .tnp-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--secondary) !important;
    border-radius: 8px;
    background-color: #fffcf9 !important;
    color: #111111 !important;
    font-size: 1rem;
    line-height: 1.4;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.newsletter-content .tnp-field input:focus,
.newsletter-content .tnp-field select:focus {
    border-color: #d21221 !important;
    box-shadow: 0 0 0 3px rgba(210, 18, 33, 0.12) !important;
}

.newsletter-content .tnp-field-button {
    margin-top: 8px;
}

.newsletter-content .tnp-submit,
.newsletter-content input.tnp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background-color: #d21221 !important;
    color: #fffcf9 !important;
    font-size: 0.85rem;
    line-height: 1;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
    width: 100% !important;
}

.newsletter-content .tnp-submit:hover,
.newsletter-content input.tnp-submit:hover {
    background-color: #111111;
    color: #fffcf9;
}

.newsletter-content .tnp-submit:active,
.newsletter-content input.tnp-submit:active {
    transform: translateY(1px);
}

.newsletter-content .tnp-profile + p,
.newsletter-content .tnp-form + p {
    margin-top: 24px;
}

.newsletter-content > p {
    color: #111111 !important;
    font-size: 1rem;
    line-height: 1.7;
}

.newsletter-content a {
    color: #d21221 !important;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.newsletter-content a:hover {
    color: #111111 !important;
}

div.tnp-profile {
    max-width: 100% !important;
}

.has-text-align-center{
    text-align: center !important;
}

.wp-element-caption{
  font-size: .7em;
  color: gray;
  text-align: center;
}

.wp-block-embed__wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
}

.wp-block-embed-youtube iframe{
    width: 100%;
    border-radius: 5px;
    aspect-ratio: 16/9;
    height: auto;
}

.article-content .tiktok-embed::before{
    content:" " !important;
}

.article-content .tiktok-embed{
    border-left: none !important;
}

.wp-block-video video {
    border-radius: 5px;
}


/* =========================================================
   Gráficas editoriales NITRO
   ========================================================= */

.nitro-chart {
  width: 100%;
  margin:
    clamp(32px, 5vw, 56px)
    0;

  padding:
    clamp(22px, 4vw, 36px);

  color: var(--dark);
  background: var(--tertiary);

  border: solid 1px var(--secondary);

  border-radius: 5px;
}

.nitro-chart__header {
  max-width: 760px;
  margin-bottom: 24px;
}

.nitro-chart__title {
  margin:
    0
    0
    8px;

  color: var(--dark);

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size:
    clamp(1.35rem, 3vw, 2rem);

  font-weight: 400;
  line-height: 1.15;
}

.nitro-chart__description {
  margin: 0;

  color: #68615d;

  font-size: 0.95rem;
  line-height: 1.65;
}

.nitro-chart__canvas {
  position: relative;

  width: 100%;
  height:
    clamp(300px, 52vw, 470px);
}

.nitro-chart__canvas canvas {
  display: block;

  width: 100% !important;
  height: 100% !important;
}

.nitro-chart__source {
  margin-top: 18px;
  padding-top: 14px;

  color: #68615d;

  border-top:
    1px solid var(--secondary);

  font-size: 0.75rem;
  line-height: 1.55;
}

@media (max-width: 520px) {

  .nitro-chart {
    padding:
      22px
      16px;
  }

  .nitro-chart__canvas {
    height: 320px;
  }

}


.wp-block-separator{
    border-top: none !important;
    border: 0;
    height: 1px;
    background: var(--quinary);
    margin: var(--space-md) 0;
}


.link-light-partner{
    color: var(--tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}


.link-light-partner:hover{
    color: var(--secondary);
    text-decoration: underline;
}