body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  background: linear-gradient(to bottom right, #b22222, #8b0000); /* restore background color */
  color: white;
  position: relative;
  padding: 1rem 1rem; /* reduce top/bottom space */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero.small {
  padding: 2rem;
}

.hero h1 {            /* adjust heading spacing "Para sacar a Argentina..." */
  font-size: clamp(1.4rem, 5.5vw, 2.5rem);   /* reduce space above heading */
  line-height: 1.12;
  margin-top: 0.6rem;
  margin-bottom: 2rem; /* reduce space below heading and document buttom */
  text-align: center;
}

.btn {
  background-color: #e53935;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0.5rem;
  transition: transform 0.2s, background 0.3s;
}

.btn:hover {
  background-color: #c62828;
  transform: scale(1.05);
}

.info {
  background: #fef7ef;
  text-align: center;
  padding: 3rem 2rem;
}

.info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.future {
  background: #f7f7f7;
  text-align: center;
  padding: 3rem 2rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.ideology-ui {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(to bottom, #fdf7f2, #f5f5f5);
}

.ideology-ui h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: #8b0000;
}

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

.concept {
  border-radius: 50%;
  padding: 1.5rem;
  min-width: 140px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 0.95rem;
  color: #3a3a3a;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.3;
}

/* Gradient crescendo */
.concept:nth-child(1) {
  background: linear-gradient(135deg, #fff4f4, #fff);
}
.concept:nth-child(2) {
  background: linear-gradient(135deg, #ffe1e1, #fff);
}
.concept:nth-child(3) {
  background: linear-gradient(135deg, #ffcaca, #fff);
}
.concept:nth-child(4) {
  background: linear-gradient(135deg, #ffb3b3, #fff);
}
.concept:nth-child(5) {
  background: linear-gradient(135deg, #ff9999, #fff);
  color: #b22222;
  font-size: 1rem;
  border: 2px solid #b22222;
}

.concept:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .concept {
    min-width: 120px;
    min-height: 120px;
    font-size: 0.85rem;
    padding: 1.2rem;
  }
}


/* AdC image styling */
.ideology-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;              /* remove vertical space above/below image */
  width: auto;
}

.ideology-figure img {
  display: block;         /* removes inline gap under image */
  margin: 0;              /* ensure no extra spacing */
  width: clamp(220px, 45vw, 420px);; /* adjust size as needed */
  height: auto;
}

/* Slightly smaller space between the image and the heading */
.ideology-ui h2 {
  margin-top: 0.20rem;  /* reduced top margin to pull the heading up */
  margin-bottom: 1.5rem; /* leave slightly less space after the heading than before */
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #8b0000;
}


/* Updates/News Section */
.updates-section {
  background: linear-gradient(to bottom, #f5f5f5, #fdf7f2);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.updates-section h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #8b0000;
}

.news-container {
  max-width: 800px;
  margin: 0 auto;
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 1rem;
  position: relative;
}

/* Custom scrollbar styling */
.news-container::-webkit-scrollbar {
  width: 8px;
}

.news-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.news-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #b22222, #8b0000);
  border-radius: 10px;
}

.news-container::-webkit-scrollbar-thumb:hover {
  background: #8b0000;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }
.news-item:nth-child(n+5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.news-date {
  display: inline-block;
  background: linear-gradient(135deg, #b22222, #8b0000);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.news-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #222;
  margin: 1rem 0;
}

.news-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.scroll-btn {
  background: linear-gradient(135deg, #b22222, #8b0000);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-up {
  top: 5rem;
}

.scroll-down {
  bottom: 2rem;
}

.scroll-btn:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.scroll-btn:active {
  transform: translateX(-50%) scale(0.95);
}

.scroll-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .news-container {
    height: 350px;
  }
  
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  
  .scroll-up {
    top: 4.5rem;
  }
  
  .news-item {
    padding: 2rem;
  }
  
  .news-title {
    font-size: 1.5rem;
  }
  
  .news-content {
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .updates-section {
    padding: 3rem 1rem;
  }
  
  .news-container {
    height: 300px;
  }
  
  .news-item {
    padding: 1.5rem;
  }
  
  .news-title {
    font-size: 1.3rem;
  }
  
  .news-content {
    font-size: 0.95rem;
  }
}

/*Mobile tweaks: make hero image and heading a bit larger */
@media (max-width: 600px) {
  .ideology-figure img {
    width: 86%;
    max-width: 380px;
    height: auto;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.12;
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
    padding-inline: 0.5rem;
  }
}