/* CONTENEDOR GENERAL */
.single-layout {
  padding: 190px 0;
  background-color: #fff; 
}

.single-container {
  max-width: 1066px;        /* ancho de maqueta */
  margin: 0 auto;
}

/* FILA ATRÁS */
.single-back-row {
  margin-bottom: 24px;
}

.single-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;             /* espacio entre SVG y “Atrás” */   
  text-decoration: none;
  color: var(--verde-100);
  text-decoration: none;
}
.single-back-link .back-icon {
  /* width: 16px;          
  height: 16px; */
  fill: currentColor;   /* el SVG toma el color del texto */
}

/* HEADER */
.single-header {
  margin-bottom: 28px;
}

.single-title {
  
  color: var(--texto-100);
}

.single-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;  
  color: var(--texto-60);
}

/* redes sociales */

.single-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-share-label {
  
  color: var(--azul-100);
  margin-right: 6px;
}

.single-share-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
}

.single-share-icon:hover {
  background: #e9f4ff;
  border-color: #0086c9;
}

.single-share-icon .icon-svg {
  width: 16px;       /* controla el tamaño visual del icono */
  height: 16px;
  fill: #0086c9;     /* color del icono */
  transition: fill 0.2s ease;
}

.single-share-icon:hover .icon-svg {
  fill: #004b78;     /* color al hover */
}

/* .single-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.single-share-label {
  font-weight: 500;
  color: #555;
}

.single-share-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #0086c9;
  text-decoration: none;
} */

/* IMAGEN DESTACADA */
.single-featured {
  margin: 32px 0;
}

.single-featured img {
  width: 100%;          /* 1066 de ancho del contenedor */
  height: 500px;        /* según maqueta */
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* GRID PRINCIPAL: CONTENIDO + LATERAL */
.single-grid {
  display: grid;
  grid-template-columns: 654px 303px; /* tus medidas */
  column-gap: 85px;                   /* separación entre contenido y relacionadas */
  align-items: flex-start;
}

/* COLUMNA PRINCIPAL */
.single-content {
  max-width: 654px;
}

.single-content p {
  text-align: justify;        /* textos justificados */
  font-size: 19px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

/* Imagen dentro del contenido */
.single-inline-image {
  margin: 28px 0;
}

.single-inline-image img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

/* COLUMNA LATERAL: NOVEDADES */
.single-sidebar {
  width: 303px;
}

.single-sidebar-title {
  
  color: var(--azul2-100);
  margin: 0 0 18px;
}

/* MINI CARDS RELACIONADAS */
.related-card {
  display: flex;
  gap: 12px;                  /* gap entre imagen (110x88) y texto */
  width: 303px;               /* ancho total mini-card */
  height: 88px;               /* alto total mini-card */
  margin-bottom: 16px;
}

.related-thumb {
  flex: 0 0 110px;            /* imagen 110x88 */
  height: 88px;
  overflow: hidden;
  border-radius: 10px;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-title {
    
  color: var(--azul2-100);
  text-decoration: none;
}

.related-title:hover {
  text-decoration: underline;
}

.related-date {
 
  color: var(--texto-60);
}





/* =========================
   SINGLE – CARD FUENTE (Nota informativa)
   ========================= */

.single-source-card{
  width: 650px;                 /* desktop como pides */
  max-width: 100%;
  margin: 32px auto 0;          /* centrado dentro del article */
  padding: 18px 18px 16px;
  background: var(--azul-10);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.single-source-card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.single-source-card__meta{
  min-width: 0;
}

.single-source-card__title{
  
  color: var(--azul2-100);
}

.single-source-card__source{
 
  color: var(--azul-oscuro-100) !important;
}

/* Botón "LEER MÁS" */
.single-source-card__btn{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--azul-100);
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--azul-100);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.single-source-card__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
  background: rgba(0,0,0,.02);
}

.single-source-card__btn-ico{
  font-size: 14px;
  line-height: 1;
}

/* Logo */
.single-source-card__brand{
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.single-source-card__logo{
  height: 28px;       /* tamaño tipo Figma */
  width: auto;
  display: block;
  object-fit: contain;
}

/* =========================
   Responsive móvil
   ========================= */
@media (max-width: 768px){
  .single-source-card{
    width: 100%;
    padding: 14px 14px 12px;
    margin: 24px 0 0;
  }

  .single-source-card__head{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .single-source-card__btn{
    align-self: flex-start; /* botón debajo del texto */
  }

  .single-source-card__logo{
    height: 26px;
  }
}
