/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}

:root {
  --navy: #1e3a8a;
  --navy-dark: #1e3070;
  --navy-light: #1e40af;
  --green: #059669;
  --green-dark: #047857;
  --green-light: #d1fae5;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --radius: 0.65rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.link-negrito {
  font-weight: bold;
  color: #0066cc;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out both;
}

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--navy), var(--green));
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  border-radius: 15px;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--gray-700);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--navy);
}

/* Mobile Menu Button */
.nav-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
}

@media (min-width: 768px) {
  .nav-menu-btn {
    display: none;
  }
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gray-700);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 1rem;
  color: var(--gray-700);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 0.5rem;
  cursor: pointer;
}

.nav-mobile a:hover {
  background-color: var(--blue-50);
  color: var(--navy);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-subtitle {
  color: var(--green);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--navy);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-image-wrapper {
  position: relative;
  height: 24rem;
  width: 68%;
  height: 100%;
  margin: auto;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    height: 32rem;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
}


.hero-image-overlay {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.2), transparent);
  pointer-events: none;

}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

.btn-primary:hover {
  background-color: var(--blue-800);
  border-color: var(--blue-800);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background-color: var(--blue-50);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background-color: var(--blue-50);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding-top: 5rem;
  padding-bottom: 5rem;

}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-description {
  color: var(--gray-700);
  font-size: 1.125rem;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green);
  stroke: var(--green);
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-text {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ===== CARD ===== */
.card {
  background-color: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.card-info {
  border-top: 4px solid var(--green);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.card-info-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.info-row {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.info-value {
  font-size: 1.125rem;
  color: var(--navy);
  font-weight: 600;
  margin-top: 0.25rem;
  font-family: 'Inter', sans-serif;
}

.info-value-link {
  color: var(--green);
  transition: color 0.2s;
}

.info-value-link:hover {
  color: var(--green-dark);
}

/* ===== ARIMATEIA SECTION ===== */
.arimateia {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.arimateia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;

}

@media (min-width: 1024px) {
  .arimateia-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.arimateia-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .arimateia-image-wrapper {
    order: 1;
    height: 28rem;
  }
}

.arimateia-image {
  width: 60%;
  height: 60%;
  object-fit: contain;
  border-radius: 30px;
}

.arimateia-content {
  order: 1;
}

@media (min-width: 1024px) {
  .arimateia-content {
    order: 2;
  }
}

.section-subtitle {
  color: var(--green);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-text {
  color: var(--gray-700);
  font-size: 1.125rem;
  line-height: 1.7;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.check-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.check-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.check-text {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* ===== POLITICAL SECTION ===== */
.political {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.political-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .political-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.political-image-wrapper {
  position: relative;
  height: 24rem;
  border-radius: 30px;
}

@media (min-width: 1024px) {
  .political-image-wrapper {
    height: 28rem;
  }
}

.political-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card-item {
  padding: 1.5rem;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.card-item:hover {
  box-shadow: var(--shadow-lg);
}

.card-item-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card-item-text {
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
}

.card-item-highlight {
  color: var(--green);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.card-item-sub {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-family: 'Inter', sans-serif;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--blue-800));
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.cta-inner {
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.25rem;
  color: rgba(219, 234, 254, 0.9);
  max-width: 40rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand-title {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.footer-brand-text {
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--gray-600);
  font-size: 0.9375rem;
  transition: color 0.2s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.footer-links a:hover {
  color: var(--navy);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: var(--gray-600);
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITY ===== */
.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

/* ===== PORTAL DE NOTÍCIAS SECTION ===== */
.portal-noticia {
  background-color: var(--white);
}

/* Tablet: 30px margin top, bottom, and sides */
@media (min-width: 768px) and (max-width: 1023px) {
  .portal-noticia {
    margin: 30px;
  }
}

/* Notebook/Monitor: 150px margin top, bottom, and sides */
@media (min-width: 1024px) {
  .portal-noticia {
    margin: 150px;
  }
}

.portal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--green);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-700);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Featured Article */
.radio_1035,
.featured-article {
  margin-bottom: 3rem;
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== FEATURED IMAGE - RESPONSIVO ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.featured-image {
  width: 100%;
  min-height: 220px;
  max-height: none;
  height: auto;
  overflow: hidden;
  background-color: var(--white);
  display: block;
  border-radius: 1rem;
  margin-bottom: auto;
  margin-top: auto;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .featured-image {
    min-height: 420px;
    max-height: 70vh;
    height: auto;
    border-radius: 1rem;
  }
}

@media (min-width: 1024px) {
  .featured-image {
    min-height: 360px;
    max-height: 760px;
    height: auto;
    border-radius: 1rem;
  }

  .featured-content {
    padding: 3rem;
  }
}

@media (max-width: 767px) {
  .featured-image {
    min-height: 180px;
    max-height: 360px;
    height: 100%;
    border-radius: 0.75rem;
  }
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.radio_1035:hover .featured-image img,
.featured-article:hover .featured-image img {
  transform: scale(1.05);
}

.featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .featured-content {
    padding: 3rem;
  }
}

.article-category {
  display: inline-block;
  background-color: var(--green-light);
  color: var(--green-dark);
  padding: 0.375rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  width: fit-content;
}

.featured-title {
  font-size: 1.875rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-excerpt {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .articles-grid>.article-card:nth-last-child(2) {
    grid-column: 2;
  }

  .articles-grid>.article-card:last-child {
    grid-column: 3;
  }
}

/* Article Card */
.article-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background-color: var(--gray-200);
  object-fit: none;
}

.article-image span {
  margin-top: -1rem;
  margin-right: -20px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;

}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--green);
  color: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  min-height: 2.8rem;
}

.article-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.article-date {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.read-more {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.read-more:hover {
  color: var(--green-dark);
}

/* Full Article Display */
.full-article {
  background-color: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .full-article {
    padding: 3rem;
  }
}

.article-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 1.5rem;
  transition: color 0.2s;
}

.article-close:hover {
  color: var(--navy);
}

.full-article-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.full-article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.full-article-content {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.full-article-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.full-article-content p:last-child {
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-content {
    padding: 1.5rem;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .article-image {
    height: 100%;
    min-height: 12rem;
  }

  .article-body {
    padding: 1rem;
  }

  .article-title {
    font-size: 1rem;
    min-height: auto;
  }

  .article-text {
    -webkit-line-clamp: 2;
    font-size: 0.875rem;
  }
}

/* ===== VIDEOS GRID SECTION ===== */



.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .videos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .video-card {
    max-width: 400px;
  }
}

@media (min-width: 1024px) {
  .videos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .video-card {
    max-width: 400px;
  }
}

/* Video Card */
.video-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Video Container (Iframe) */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background-color: var(--gray-200);
  border-radius: 1rem 1rem 0 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem 1rem 0 0;
}

/* Video Body */
.video-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  min-height: 2.8rem;
}

.video-description {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.video-date {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* Responsive Adjustments for Videos */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    display: flex;
    flex-direction: column;
  }

  .video-container {
    padding-bottom: 56.25%;
  }

  .video-body {
    padding: 1rem;
  }

  .video-title {
    font-size: 1rem;
    min-height: auto;
  }

  .video-description {
    -webkit-line-clamp: 2;
    font-size: 0.875rem;
  }
}


/* ===== CARROSSEL DE FOTOS (INSTAGRAM STYLE) ===== */
.carousel-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background-color: var(--gray-200);
  cursor: grab;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.carousel-container {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Botoes de navegacao */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  padding: 0.75rem 0.875rem;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 0.375rem;
  transition: background-color 0.2s, opacity 0.2s;
  opacity: 0;
  user-select: none;
}

.carousel-wrapper:hover .carousel-prev,
.carousel-wrapper:hover .carousel-next {
  opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev:active,
.carousel-next:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 0.75rem;
}

.carousel-next {
  right: 0.75rem;
}

/* Indicadores (Dots) */
.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: var(--white);
  transform: scale(1.3);
}

/* Responsivo - Tablet */
@media (max-width: 768px) {
  .carousel-wrapper {
    height: 10rem;
  }

  .carousel-prev,
  .carousel-next {
    padding: 0.5rem 0.625rem;
    font-size: 1rem;
    opacity: 1;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }
}

/* Responsivo - Mobile */
@media (max-width: 480px) {
  .carousel-wrapper {
    height: 8rem;
  }

  .carousel-prev,
  .carousel-next {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }

  .carousel-dots {
    bottom: 0.5rem;
    gap: 0.375rem;
  }

  .carousel-dot {
    width: 0.375rem;
    height: 0.375rem;
  }
}


/* ===== VIDEOS CAROUSEL SECTION ===== */

/* Wrapper do Carrossel de Vídeos */
.videos-carousel-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--gray-50);
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

/* Container do Carrossel */
.videos-carousel-container {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

/* Slide Individual do Carrossel */
.videos-carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem 1rem;
}

.videos-carousel-slide.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .videos-carousel-slide {
    padding: 1.5rem 1rem;
  }
}

/* Card do Vídeo dentro do Carrossel */
.video-card-carousel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .video-card-carousel {
    gap: 1rem;
  }
}

/* Container do Vídeo */
.video-container-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border: 2px solid #000;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.video-container-carousel video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.9rem;
  object-fit: scale-down;
  object-position: center;
  background-color: #000;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 768px) {
  .video-container-carousel {
    padding-bottom: 56.25%;
  }
}

/* Body do Vídeo (Descrição e Metadados) */
.video-body-carousel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Título do Vídeo */
.video-title-carousel {
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .video-title-carousel {
    font-size: 1.25rem;
  }
}

/* Descrição do Vídeo */
.video-description-carousel {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .video-description-carousel {
    font-size: 0.9375rem;
  }
}

/* Footer do Vídeo (Data) */
.video-footer-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* Data do Vídeo */
.video-date-carousel {
  font-size: 0.9375rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Botões de Navegação do Carrossel */
.videos-carousel-prev,
.videos-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(30, 58, 138, 0.8);
  color: var(--white);
  border: none;
  padding: 0.875rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 0.5rem;
  transition: background-color 0.2s, opacity 0.2s, transform 0.1s;
  opacity: 0;
  user-select: none;
  font-weight: bold;
}

.videos-carousel-wrapper:hover .videos-carousel-prev,
.videos-carousel-wrapper:hover .videos-carousel-next {
  opacity: 1;
}

.videos-carousel-prev:hover,
.videos-carousel-next:hover {
  background-color: rgba(30, 58, 138, 1);
  transform: translateY(-50%) scale(1.1);
}

.videos-carousel-prev:active,
.videos-carousel-next:active {
  transform: translateY(-50%) scale(0.95);
}

.videos-carousel-prev {
  left: 1rem;
}

.videos-carousel-next {
  right: 1rem;
}

@media (max-width: 768px) {

  .videos-carousel-prev,
  .videos-carousel-next {
    padding: 0.625rem 0.75rem;
    font-size: 1.25rem;
    opacity: 1;
  }

  .videos-carousel-prev {
    left: 0.5rem;
  }

  .videos-carousel-next {
    right: 0.5rem;
  }
}

/* Indicadores (Dots) do Carrossel */
.videos-carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.videos-carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(30, 58, 138, 0.3);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
  padding: 0;
}

.videos-carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.videos-carousel-dot.active {
  background-color: var(--navy);
  border-color: var(--navy);
  transform: scale(1.4);
}

/* Responsivo - Tablet */
@media (max-width: 768px) {
  .videos-carousel-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .videos-carousel-slide {
    padding: 1rem;
  }

  .videos-carousel-dots {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .videos-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
  }
}

/* Responsivo - Mobile */
@media (max-width: 480px) {
  .videos-carousel-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
  }

  .videos-carousel-slide {
    padding: 0.75rem;
  }

  .video-card-carousel {
    gap: 1rem;
  }

  .video-title-carousel {
    font-size: 1.125rem;
  }

  .video-description-carousel {
    font-size: 0.875rem;
  }

  .videos-carousel-prev,
  .videos-carousel-next {
    padding: 0.5rem 0.625rem;
    font-size: 1rem;
  }

  .videos-carousel-dots {
    bottom: 0.75rem;
    gap: 0.375rem;
  }

  .videos-carousel-dot {
    width: 0.375rem;
    height: 0.375rem;
  }
}