Overrides for Astra Child Theme */
/*
Theme Name: Astra Child
Theme URI: https://yourwebsite.com
Description: Child theme for Astra
Author: Magiovillo
Author URI: https://yourwebsite.com
Template: astra
Version: 1.0.0
*/

/* Typography */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  color: #111;
  font-weight: normal;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
  padding: 30px 0;
  text-align: center;
}

.site-title {
  font-family: "Georgia", serif;
  font-size: 42px;
  letter-spacing: 1px;
  margin: 0;
}
.site-branding{
	margin-left: auto;
    max-width: 80%;
    margin-right: auto;
}
/* Navigation */
.nyt-main-navigation {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  margin-top: 20px;
  text-align: center;
}

.nyt-menu {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nyt-menu li {
  margin: 0 15px;
}

.nyt-menu li a {
  font-size: 14px;
  font-family: "Georgia", serif;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
}

.nyt-menu li a:hover {
  text-decoration: underline;
}

/* Main Content Grid */
.main-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  background: #fff;
}

/* Article Title and Meta */
.entry-title {
  font-size: 28px;
  font-family: Georgia, serif;
  line-height: 1.4;
  margin-bottom: 10px;
}

.entry-meta {
  font-size: 14px;
  color: #888;
  font-family: Arial, sans-serif;
}

/* Links */
a {
  color: #111;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Cards/Modules */
.card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Sidebar and Widgets */
.article-preview,
.widget,
.sidebar {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 20px;
}

/* Page Background */
body {
  background-color: #fff !important;
}

.section-title {
  font-family: Georgia, serif;
  font-size: 26px;
  border-bottom: 2px solid #000;
  margin-top: 60px;
  margin-bottom: 20px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}


/* Para que aparezcan las notas acomodadas en columnas */
.post-grid {
    width: 90%;
    margin: auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col {
    width: 32%;
    margin-bottom: 20px;
}
.post-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.post-item h2 a{
	color: #111 !important;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
}

* Pie de página 
.footer-social-networks {
  display: flex;
  gap: 20px;
  justify-content: center; /* Centra los iconos */
  padding: 20px 0;
  background-color: #333333; /* Fondo gris oscuro */
}

.footer-social-networks a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Hace el ícono blanco */
  transition: opacity 0.3s ease;
}

.footer-social-networks a:hover img {
  opacity: 0.7;
}

/* Si tienes texto, ponlo blanco */
.footer-social-networks a {
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.site-footer {
  background-color: #333333; /* Fondo gris oscuro para todo el footer */
  color: #ffffff; /* Texto blanco */
  padding: 30px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 20px auto;
}

.footer-menu .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: inline-flex;
  gap: 20px;
  justify-content: center;
}

.footer-menu .footer-menu li a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-menu .footer-menu li a:hover {
  opacity: 0.7;
}

.footer-social-networks {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 10px;
}

.footer-social-networks a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Íconos blancos */
  transition: opacity 0.3s ease;
}

.footer-social-networks a:hover img {
  opacity: 0.7;
}

.site-footer p {
  margin: 10px 0 0 0;
  color: #ccc;
  font-size: 13px;

}

/*Terminan estilos en general*/



/*Inicia sidebar-and-columns-container*/

#sidebar-and-columns-container{
	display:flex;
	flex-direction:column;
}

@media(min-width: 1250px) {
	#sidebar-and-columns-container{	
		flex-direction:row;
	}	
}

#secondary{
	width:100% !important; /*Sobreescribe el estilo del tema padre para el ancho del sidebar*/
}
/*termina sidebar-and-columns-container*/



/*Estilos para la sección de columnas*/
.column-section {
    padding: 2rem;
    background-color: #f5f5f5;
    text-align: center;
}

.column-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5rem;
}

.column-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 260px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    text-align: left;
}

.column-card:hover {
    transform: translateY(-5px);
}

.column-card .card-image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.author-avatar {
    text-align: center;
    margin-bottom: 0.5rem;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}




/*Terminan estilos de columnas*/


/*Nuevos estilos de columnas*/
.column-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.column-card { border:1px solid #eee; border-radius:12px; overflow:hidden; background:#fff; }
.column-card a { text-decoration:none; color:inherit; display:block; padding:12px; }
.column-card h3 { margin:0 0 8px; font-size:1.1rem; }
.card-image img { width:100%; height:auto; display:block; border-radius:8px; }

.columnist-badge { display:flex; align-items:center; gap:8px; margin:6px 0 10px; }
.columnist-photo { border-radius:50%; width:40px; height:40px; object-fit:cover; }
.columnist-name { font-weight:600; font-size:0.95rem; }



