/*
Theme Name: Thinkoo Astra Child
Theme URI: http://blog.thinkoo.es/
Description: Tema hijo de Astra para Thinkoo. Reconstruye el aspecto básico del antiguo tema Mystique (cabecera, menú, barra lateral y pie) manteniendo Astra como base compatible con PHP 8.x.
Author: Thinkoo
Author URI: http://blog.thinkoo.es/
Template: astra
Version: 1.0.0
Text Domain: thinkoo-astra
*/

/* ------------------------------------------------------------------
   1. Fondo y contenedor general (aproxima el azul de Mystique)
   ------------------------------------------------------------------ */
body {
	background: #8ab0ea;
	background: linear-gradient(to bottom, #8ab0ea 0%, #4773b7 100%) fixed;
	color: #333;
}

#page,
.site {
	background: #fff;
	box-shadow: 0 0 18px rgba(0, 0, 0, .25);
}

.ast-container {
	max-width: 1200px;
}

/* ------------------------------------------------------------------
   2. Cabecera
   ------------------------------------------------------------------ */
.site-header {
	background: #fff;
	border-bottom: 3px solid #4773b7;
}

.site-branding img,
.custom-logo {
	max-height: 80px;
	width: auto;
}

.site-title a {
	color: #2b4d86;
	font-weight: 700;
	letter-spacing: .5px;
	text-decoration: none;
}

.site-description {
	color: #666;
}

/* Barra de navegación principal oscura, como la "Barra Gris" original */
.main-header-menu,
.ast-primary-header-bar {
	background: #3b3b3b;
}

.main-header-menu .menu-link,
.main-header-menu > .menu-item > .menu-link {
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .4px;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .menu-item.current-menu-item > .menu-link {
	background: #4773b7;
	color: #fff;
}

.main-header-menu .sub-menu {
	background: #2f2f2f;
}

.main-header-menu .sub-menu .menu-link {
	color: #eee;
}

/* ------------------------------------------------------------------
   3. Barra lateral / widgets
   ------------------------------------------------------------------ */
#secondary,
.widget-area {
	font-size: 14px;
}

.widget {
	background: #f7f9fc;
	border: 1px solid #dbe4f0;
	border-top: 3px solid #4773b7;
	border-radius: 3px;
	margin-bottom: 22px;
	padding: 14px 16px;
}

.widget .widget-title,
.widget .wp-block-heading {
	color: #2b4d86;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #dbe4f0;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	border-bottom: 1px dotted #d5dce8;
	padding: 6px 0;
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget a {
	color: #2b4d86;
	text-decoration: none;
}

.widget a:hover {
	color: #4773b7;
	text-decoration: underline;
}

.widget.widget_search .search-field {
	border: 1px solid #c9d3e2;
	padding: 6px 8px;
	width: 70%;
}

.widget.widget_search .search-submit {
	background: #4773b7;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 7px 12px;
}

/* ------------------------------------------------------------------
   4. Entradas
   ------------------------------------------------------------------ */
.entry-title a {
	color: #2b4d86;
}

.entry-title a:hover {
	color: #4773b7;
}

.entry-meta,
.entry-meta a {
	color: #777;
	font-size: 12px;
}

.ast-blog-featured-section img,
.post-thumb img {
	border: 1px solid #dbe4f0;
}

/* ------------------------------------------------------------------
   5. Pie de página personalizado
   ------------------------------------------------------------------ */
.thinkoo-footer {
	background: #2b2b2b;
	border-top: 4px solid #4773b7;
	color: #cfcfcf;
	margin-top: 30px;
	padding: 26px 20px 18px;
	text-align: center;
}

.thinkoo-footer-inner {
	margin: 0 auto;
	max-width: 1100px;
}

.thinkoo-footer-brand {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.thinkoo-footer-menu {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.thinkoo-footer-menu li {
	display: inline-block;
	margin: 0 10px;
}

.thinkoo-footer-menu a {
	color: #e8eefb;
	font-size: 13px;
	text-decoration: none;
	text-transform: uppercase;
}

.thinkoo-footer-menu a:hover {
	color: #8ab0ea;
	text-decoration: underline;
}

.thinkoo-copyright {
	border-top: 1px solid #444;
	color: #9a9a9a;
	font-size: 12px;
	margin: 0;
	padding-top: 12px;
}

/* ------------------------------------------------------------------
   6. Ajustes móviles
   ------------------------------------------------------------------ */
@media (max-width: 921px) {
	.thinkoo-footer-menu li {
		display: block;
		margin: 6px 0;
	}
}
