/* NYT Style 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;
}


/*Estilos para columnas*/
.column-section {
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.column-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

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

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

.column-card .card-image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
/*Terminan estilos para columnas*/
