* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background-color: #f5f3ef;
  color: #1a1a1a;
  line-height: 1.6;
}

.newspaper-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fffef7;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.top-nav {
  background: #1a1a1a;
  padding: 0.8rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
}

.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: #f5f3ef;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.top-nav a:hover {
  color: #e8a84c;
}

.back-home {
  display: inline-block;
  margin: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #be6901;
  text-decoration: none;
}

.back-home i {
  margin-right: 0.3rem;
}

.back-home:hover {
  text-decoration: underline;
}

.gaceta-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 3px double #be6901;
  margin-bottom: 2rem;
}

.gaceta-header img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.gaceta-subtitle {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.issue-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  color: #666;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  padding: 0 2rem;
}

.main-content.single-column {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.main-content.full-width {
  display: block;
  padding: 0 2rem 2rem;
}

.editorial-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0ede5;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #be6901;
  margin-bottom: 1rem;
  font-weight: 600;
  padding-left: 2rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  background: #faf8f4;
  border: 1px solid #e0dcd5;
}

.featured-card .card-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.featured-card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.featured-card .card-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #be6901;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.featured-card .card-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  font-family: 'Cormorant Garamond', serif;
}

.featured-card .card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.featured-card .card-title a:hover {
  color: #be6901;
}

.featured-card .card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.featured-card .card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0dcd5;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* Grid de artículos */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.article-card {
  background: #fff;
  border: 1px solid #e0dcd5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #be6901;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #be6901;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  font-family: 'Cormorant Garamond', serif;
}

.card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.card-title a:hover {
  color: #be6901;
}

.card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0ede5;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.read-more {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #be6901;
  text-decoration: none;
}

.read-more i {
  margin-left: 0.3rem;
  transition: transform 0.2s;
}

.read-more:hover i {
  transform: translateX(4px);
}

.feature-article {
  border-right: 1px solid #e0dcd5;
  padding-right: 2rem;
}

.featured-image {
  margin-bottom: 2rem;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.5rem;
  text-align: right;
  font-style: italic;
}

.tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #be6901;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.headline {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.byline {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #be6901;
  margin-bottom: 0.5rem;
}

.byline-author {
  font-weight: 700;
  font-size: 1rem;
}

.article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0dcd5;
}

.dropcap {
  font-size: 4rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin-right: 0.5rem;
  color: #1a1a1a;
}

.article-text p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  text-align: justify;
}

.article-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: #2c2c2c;
}

.pull-quote {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  border-left: 4px solid #be6901;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #444;
}

.data-box {
  background: #f8f6f0;
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-left: 3px solid #be6901;
}

.data-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #be6901;
  font-family: 'Inter', sans-serif;
}

.data-box p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #be6901;
  display: inline-block;
  margin-right: 0.5rem;
}

.questions-5w {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.qw-card {
  background: #f0ede5;
  padding: 0.8rem;
  text-align: center;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.qw-card span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #be6901;
}

.gcz-question {
  margin-bottom: 15px;
}

.epigraph .dropcap {
  margin-bottom: 0.5rem;
}
.epigraph {
  margin-bottom: 2rem;
}
.inverted-pyramid-note {
  background: #f0ede5;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.sidebar {
  padding-left: 0.5rem;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #be6901;
  display: inline-block;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.info-box {
  background: #f8f6f0;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #be6901;
}

.info-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #be6901;
}

.info-box p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.related-list {
  list-style: none;
}

.related-list li {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dotted #ddd;
}

.related-list a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s;
}

.related-list a:hover {
  color: #be6901;
}

.gaceta-footer {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e0dcd5;
  background: #faf8f4;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #666;
  text-align: center;
}

.article-text ul,
.article-text .bibliografia,
.bibliografia-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.article-text ul li,
.bibliografia-list li {
  list-style: none;
  margin-bottom: 0.5rem;
}

.article-text .bibliografia,
.article-text .bibliografia p,
.article-text .bibliografia li,
.article-text .notas,
.article-text .notas p,
.article-text .notas li,
.article-text hr + p,
.article-text hr + h3,
.article-text > hr ~ p,
.article-text > hr ~ h3 {
  font-size: 0.65rem;
  color: #555;
  line-height: 1.4;
}

.article-text h3:has(+ hr),
.article-text h3:has(+ ul),
.article-text h3:has(+ p) {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

.article-text hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

.article-text .notas a,
.article-text hr + p a,
.article-text p a {
  color: #be6901;
  text-decoration: none;
  border-bottom: 1px dotted #be6901;
}

.article-text .notas a:hover,
.article-text hr + p a:hover,
.article-text p a:hover {
  color: #8a4c00;
  border-bottom: 1px solid #8a4c00;
}

sup {
  font-size: 0.7rem;
  color: #be6901;
}

.float-right-img {
  float: right;
  width: 300px;
  margin: 0 0 1rem 1.8rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.float-right-img img {
  width: 100%;
  height: auto;
  display: block;
}

.float-right-img .img-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #777;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  font-style: italic;
  line-height: 1.3;
}

.clearfix {
  clear: both;
}

@media (max-width: 700px) {
  .float-right-img {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }
  
  .float-right-img img {
    width: 100%;
  }
}

.float-right-img-small {
  float: right;
  width: 240px;
  margin: 0 0 0.8rem 1.5rem;
}

.float-right-img-small img {
  width: 100%;
  height: auto;
}

.float-right-img-small .img-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: #777;
  text-align: center;
  margin-top: 0.4rem;
}

@media (max-width: 600px) {
  .float-right-img-small {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}

.float-left-img {
  float: left;
  width: 280px;
  margin: 0 1.5rem 1rem 0;
}

.float-left-img img {
  width: 100%;
  height: auto;
}


@media (max-width: 800px) {
  .main-content {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

    .float-left-img {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }

  
  .main-content.single-column {
    padding: 0 1rem 1rem;
  }
  
  .main-content.full-width {
    padding: 0 1rem 1rem;
  }
  
  .featured-card {
    grid-template-columns: 1fr;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-article {
    border-right: none;
    padding-right: 0;
  }
  
  .headline {
    font-size: 2rem;
  }
  
  .gaceta-title {
    font-size: 2rem;
  }
  
  .featured-card .card-title {
    font-size: 1.5rem;
  }
  
  .questions-5w {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .gaceta-header {
    padding: 1rem;
  }
  
  .gaceta-title {
    font-size: 1.5rem;
  }
  
  .headline {
    font-size: 1.5rem;
  }
  
  .pull-quote {
    font-size: 1.1rem;
  }
  
  .top-nav ul {
    gap: 1rem;
  }
  
  .top-nav a {
    font-size: 0.7rem;
  }
  
  .featured-card .card-title {
    font-size: 1.3rem;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
}