/*Para justificar los textos a la izquierda*/
article.tc-l.center {
    text-align: left;
    max-width: 60em; /* puedes ajustar a tu gusto */
}

/*Para aumentar el ancho de los articulos en los post*/
article>div.w-two-thirds-l {
    width: 80%;
}

/*Para hacer mas pequeña la imagen de la cabecera*/
img.mw5-ns{
    max-width : 4em;
}

/* Estilo tablas recetas industriales */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

thead {
  background-color: #1f2933; /* gris oscuro industrial */
  color: #ffffff;
}


/* esto es para darle aspecto industrial a las tablas*/
thead th {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
}

tbody td {
  padding: 0.65rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

tbody tr:nth-child(even) {
  background-color: #f7f9fb;
}

tbody tr:hover {
  background-color: #e6f0fa;
}

/* Primera columna más descriptiva */
tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.tabla-receta table {
  border: 1px solid #cfd8dc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
}

tbody td:not(:first-child) {
  font-family: "Courier New", monospace;
}


.blog-summary img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;      /* MISMO tamaño siempre */
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;       /* NO recorta */
}
.spgn-ejemplo {
  border-left: 4px solid #2b6cb0;
  background-color: #f4f8fb;
  padding: 16px 20px;
  margin: 30px 0;
  font-size: 0.95em;
  color: #1a202c;
}

.spgn-ejemplo::before {
  content: "Caso real";
  display: block;
  font-weight: 600;
  color: #2b6cb0;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.05em;
}

.spgn-ejemplo p {
  margin: 0 0 1em 0;
  line-height: 1.6;
}

.spgn-ejemplo p:last-child {
  margin-bottom: 0;
}

.spgn-ejemplo p:first-child {
  font-weight: 600;
}

.spgn-ejemplo p:last-child {
  margin-bottom: 0;
}

.spgn-figure {
  margin: 2rem 0;
  text-align: center;
}

.spgn-figure img {
  max-width: 100%;
  border-radius: 6px;
}

.spgn-figure figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 3px;
  text-align: right;
  max-width: 80%;
  margin-left: auto;
}

.spgn-cta {
  border-left: 6px solid #2b6cb0;
  background: #f4f8fc;
  padding: 18px 20px;
  margin: 30px 0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.spgn-cta p {
  margin: 10px 0;
}

.spgn-cta strong {
  color: #1a365d;
}

.spgn-cta-link {
  margin-top: 12px;
}

.spgn-cta-link a {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 600;
}

.spgn-cta-link a:hover {
  text-decoration: underline;
}



.spgn-cta-mid {
  border-left: 4px solid #94a3b8;
  background: #f8fafc;
  padding: 16px 18px;
  margin: 28px 0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.spgn-cta-mid p {
  margin: 8px 0;
}

.spgn-cta-mid strong {
  color: #334155;
}

.spgn-cta-mid-link {
  margin-top: 10px;
}

.spgn-cta-mid-link a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
}

.spgn-cta-mid-link a:hover {
  text-decoration: underline;
}




.spgn-destacado {
  border-left: 4px solid #2b6cb0;
  background-color: #f4f8fb;
  padding: 16px 20px;
  margin: 30px 0;
  font-size: 0.95em;
  color: #1a202c;
}

.spgn-destacado::before {
  display: block;
  font-weight: 600;
  color: #2b6cb0;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.05em;
}

.spgn-destacado p {
  margin: 0 0 1em 0;
  line-height: 1.6;
}

.spgn-destacado p:last-child {
  margin-bottom: 0;
}

.spgn-destacado p:first-child {
  font-weight: 600;
}

.spgn-destacado p:last-child {
  margin-bottom: 0;
}




.dialogo-izq{
    max-width:70%;
    background:#eef5ff;
    padding:12px 18px;
    border-radius:18px;
    border-left:4px solid #3b82f6;
    margin:18px 0;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
    font-style: italic;
}

.dialogo-der{
    max-width:70%;
    background:#d7f3eb;
    padding:12px 18px;
    border-radius:18px;
    border-right:4px solid #6b7280;
    margin:18px 0 18px auto;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
    font-style: italic;
}
