/*
Te damos la bienvenida a CSS personalizado

Para saber cómo funciona, ve a http://wp.me/PEmnE-Bt
*/
p.site-description {
	font-size: 1.35rem;
}

.wf-active .page .entry-content blockquote p {
	font-size: 22px !important;
}

.single-post .entry-content blockquote p {
	position: relative;
	font-weight: 300;
	font-size: 23px !important;
	color: #111;
	font-weight: 500;
}

#secondary h2.widget-title {
	font-size: 1.1rem;
}

.single-post .entry-content blockquote {
	font-size: 20px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	position: relative;
	padding: 40px;
	margin-top: 50px !important;
	font-size: 23px !important;
}

.single-post .entry-content blockquote:after {
	color: #ccc;
	font-family: Source Sans Pro;
	content: "\201C";
	font-size: 80px;
	position: absolute;
	left: 50%;
	bottom: calc(100% - 20px);
	background: #fff;
	height: 55px;
	width: 55px;
	line-height: normal;
	text-align: center;
	transform: translateX(-50%);
}

#entry-content a.sd-button
{

		color: green !important;
}


a.sd-button, .sd-social-text .sd-content ul li a.sd-button {
    
    display: inline-block;
    font-size: 14px;
    font-family: "Open Sans",sans-serif;
		font-style: bold !important;
    font-weight: 900;
    border-radius: 20px;
    background: white;
	padding: 6px 12px 6px 12px;
	color: green !important;
	}

.sd-sharing {
    padding: 30px 0px 0px 0px;
}

/* Entradas: barra lateral debajo del articulo */
#entry-content a { color: #1155cc; }
#entry-content a:hover { color: #0b3d91; }

@media screen and (min-width: 66.25em) {
  .single-post .sidebar.widget-area {
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: none;
    margin: 4em auto 0 !important;
    padding-top: 2.2em;
    border-top: 1px solid #e3e3e3;
  }
  .single-post .sidebar.widget-area img { max-width: 100%; height: auto; }
  .single-post .contentwrap {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Listados RSS pegados a la cabecera de su sitio */
.widget-area .widget.widget_rss { border-top: 0; padding-top: 0; }
.widget-area .widget:has(+ .widget.widget_rss) { padding-bottom: 12px; }


/* Listados RSS con imagen, al estilo Relacionado */
.widget_block > p:empty { display: none; }
.widget-area .widget:has(.dj-feed) { border-top: 0; padding-top: 0; }
.widget-area .widget:has(+ .widget .dj-feed) { padding-bottom: 12px; }
.dj-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 16px; }
.dj-feed-item { display: block; text-decoration: none !important; color: inherit; }
.dj-feed-img { display: block; aspect-ratio: 350 / 200; overflow: hidden; background: rgba(128,128,128,.12); }
.dj-feed-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-feed-titulo { display: block; margin-top: 7px; font-size: .88em; line-height: 1.3; }
.dj-feed-item:hover .dj-feed-titulo { text-decoration: underline; }
.dj-feed-alto .dj-feed-img { aspect-ratio: 2 / 3; background: transparent; }
.dj-feed-alto .dj-feed-img img { object-fit: contain; object-position: center top; }
.dj-feed-sin-imagen { grid-template-columns: 1fr; gap: 10px; }

@media screen and (min-width: 66.25em) {
  .single-post .dj-feed { grid-template-columns: repeat(4, 1fr); column-gap: 30px; row-gap: 30px; }
  .single-post .dj-feed-titulo { font-size: 20px; line-height: 22px; }
  .single-post .dj-feed-sin-imagen { grid-template-columns: 1fr; }
}

/* La tarjeta de "Aprende con Cajal" no crece con el ancho del pie */
.single-post .sidebar.widget-area .wp-block-cover { max-width: 340px; margin-left: auto; margin-right: auto; }