.hero-section {
  background: linear-gradient(135deg, #94b43b 0%, #666 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: 35px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  opacity: 0.3;
  z-index: 1;
}

/* When carousel is present, hide the overlay and make carousel visible */
.hero-section .container .hero-carousel {
  z-index: 10;
  position: relative;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero-section .lead {
  font-family: "Ancizar sans", sans-serif;
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Modern Buttons */
.btn-primary {
  background-color: #94b43b;
  border-color: #94b43b;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: "Ancizar sans", sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #7a9a2f;
  border-color: #7a9a2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
  color: #94b43b;
  border-color: #94b43b;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: "Ancizar sans", sans-serif;
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: #94b43b;
  border-color: #94b43b;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary:active {
  transform: translateY(0);
}

.btn-outline-investigacion {
  color: #94b43b;
  border-color: #94b43b;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: "Ancizar sans", sans-serif;
  background-color: transparent;
}

.btn-outline-investigacion:hover {
  border-color: #94b43b;

  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-investigacion:active {
  transform: translateY(0);
}

.emphasis-card {
  margin-bottom: 2rem;
  border-radius: 15px;
  background-color: #7a9a2f;
}

/* Button Group Enhancements */
.hero-section .btn-group {
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-section .btn-group .btn {
  margin: 5px;
}

/* Feature Cards */
.features-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #94b43b 50%,
    transparent 100%
  );
}

.feature-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(148, 180, 59, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #94b43b, #7a9a2f);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(148, 180, 59, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3 {
  color: #94b43b;
  font-family: "Ancizar serif", serif;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
}

.feature-card p {
  color: #666;
  font-family: "Ancizar sans", sans-serif;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Modern Content Styling */
.content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(148, 180, 59, 0.1);
  position: relative;
  overflow: hidden;
}

.content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #94b43b, #7a9a2f);
}

/* Enhanced Typography */
.text-muted {
  color: #6c757d !important;
  font-style: italic;
  font-family: "Ancizar sans", sans-serif;
}

/* Container Enhancements */
.container {
  max-width: 1200px;
}

/* Row Enhancements */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col-md-4 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Responsive Design Improvements */
@media (max-width: 767px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero-section .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-section .btn-group .btn {
    margin: 5px 0;
    width: 80%;
    max-width: 300px;
  }

  .feature-card {
    margin-bottom: 2rem;
  }

  .features-section {
    padding: 3rem 0;
  }
}

@media (max-width: 575px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hover Effects for Interactive Elements */
.feature-card:hover h3 {
  color: #7a9a2f;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.btn:focus,
.feature-card:focus {
  outline: 2px solid #94b43b;
  outline-offset: 2px;
}

/* Accessibility Panel Fix */
.tx-unal-accesibilidad {
  position: absolute !important;
  z-index: 9999 !important;
  pointer-events: none !important;
}

#pestania-accesibilidad {
  position: relative !important;
  pointer-events: auto !important;
  z-index: 10000 !important;
}

/* Ensure hero section is properly positioned */
.hero-section {
  position: relative;
  z-index: 1;
}

/* Header positioning fix */
#unalTop {
  position: relative;
  z-index: 1000;
}

/* Body and main content positioning */
body {
  position: relative;
}

main.detalle {
  position: relative;
  margin-top: 2%;
  margin-bottom: 3%;
  z-index: 1;
}

/* Ensure proper spacing for accessibility panel */
@media (min-width: 768px) {
  .hero-section {
    margin-top: 0; /* Remove margin on larger screens since panel is fixed */
  }
}

/* Post Metadata Styles */
.post-header {
  border-bottom: 2px solid rgba(148, 180, 59, 0.2);
}

.post-title {
  font-family: "Ancizar serif", serif;
  color: #333;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(148, 180, 59, 0.05) 0%,
    rgba(102, 102, 102, 0.05) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(148, 180, 59, 0.1);
  transition: all 0.3s ease;
}

.meta-item:hover {
  background: linear-gradient(
    135deg,
    rgba(148, 180, 59, 0.1) 0%,
    rgba(102, 102, 102, 0.1) 100%
  );
  border-color: rgba(148, 180, 59, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(148, 180, 59, 0.15);
}

.meta-label {
  font-family: "Ancizar sans", sans-serif;
  font-weight: bold;
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
}

.meta-value {
  font-family: "Ancizar sans", sans-serif;
  color: #333;
  font-weight: 500;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #94b43b;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "Ancizar sans", sans-serif;
}

.meta-tags a:hover {
  background: #7a9a2f;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(148, 180, 59, 0.3);
}

/* Post Content */
.post-content {
  font-family: "Ancizar sans", sans-serif;
  line-height: 1.8;
  color: #333;
  font-size: 1.25rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-family: "Ancizar serif", serif;
  color: #94b43b;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content a {
  color: #94b43b;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 180, 59, 0.3);
  transition: all 0.3s ease;
}

.post-content a:hover {
  color: #7a9a2f;
  border-bottom-color: #7a9a2f;
}

/* Post Footer */
.post-footer {
  background-color: #fff;
  border-top: 2px solid rgba(148, 180, 59, 0.2);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-previous {
  flex: 0 1 auto;
  min-width: 250px;
}

.nav-next {
  flex: 0 1 auto;
  min-width: 250px;
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(148, 180, 59, 0.05) 0%,
    rgba(102, 102, 102, 0.05) 100%
  );
  border: 1px solid rgba(148, 180, 59, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  font-family: "Ancizar sans", sans-serif;
}

.nav-link:hover {
  background: linear-gradient(
    135deg,
    rgba(148, 180, 59, 0.1) 0%,
    rgba(102, 102, 102, 0.1) 100%
  );
  border-color: rgba(148, 180, 59, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(148, 180, 59, 0.15);
  color: #94b43b;
}

.nav-arrow {
  font-size: 1.2rem;
  font-weight: bold;
  color: #94b43b;
}

.nav-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive Post Metadata */
@media (max-width: 767px) {
  .post-title {
    font-size: 2rem;
  }

  .post-meta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .meta-item {
    padding: 0.5rem;
  }

  .meta-label {
    min-width: 60px;
    font-size: 0.8rem;
  }

  .post-navigation {
    flex-direction: column;
  }

  .nav-previous,
  .nav-next {
    min-width: auto;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 575px) {
  .post-title {
    font-size: 1.75rem;
  }

  .meta-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .meta-label {
    min-width: auto;
  }
}

/* Print Styles */
@media print {
  .hero-section {
    background: white !important;
    color: black !important;
  }

  .feature-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  .btn {
    border: 1px solid #ccc !important;
    background: white !important;
    color: black !important;
  }

  .post-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .meta-item {
    background: white !important;
    border: 1px solid #ccc !important;
  }

  .nav-link {
    background: white !important;
    border: 1px solid #ccc !important;
  }
}
.post-card {
  border-color: linear-gradient(#94b43b 0%, #666 100%);
}
.card-title {
  font-size: 1.5rem;
}

/* Archive Grid Layout */

.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.archive-grid .archive-post {
  margin: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.archive-grid .archive-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Archive Post Specific Styles */
.archive-grid .post-header {
  margin-bottom: 0.5rem;
}

.archive-grid .card-title {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.archive-grid .title-link {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.archive-grid .title-link:hover {
  color: #94b43b !important;
}

.archive-grid .post-excerpt {
  color: #666;
  line-height: 1.4;
  margin-bottom: 0;
}

.archive-grid .post-date {
  color: #94b43b;
  font-weight: 500;
}

/* Archive Thumbnail Styles */
.archive-thumbnail {
  height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.archive-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.archive-grid .archive-post:hover .archive-thumbnail img {
  transform: scale(1.05);
}

.archive-thumbnail .thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* Tablet Layout */
@media (min-width: 768px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .archive-thumbnail {
    height: 220px;
  }
}

/* Desktop Layout */
@media (min-width: 992px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .archive-thumbnail {
    height: 240px;
  }
}

/* Large Desktop Layout */
@media (min-width: 1200px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* Pagination Styles */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination-wrapper .page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-wrapper .page-numbers li {
  margin: 0;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
  display: inline-block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
  background-color: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
}

.pagination-wrapper .page-numbers a:hover {
  background-color: #94b43b;
  color: #fff;
  border-color: #94b43b;
}

.pagination-wrapper .page-numbers .current {
  background-color: #94b43b;
  color: #fff;
  border-color: #94b43b;
  font-weight: bold;
}

.pagination-wrapper .page-numbers .prev,
.pagination-wrapper .page-numbers .next {
  font-weight: 500;
}

/* Year Header and Divider Styles */
.year-header {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #94b43b;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.year-header:first-child {
  margin-top: 0;
}

.year-divider {
  border: 0;
  border-top: 2px solid rgba(148, 180, 59, 0.3);
  margin: 3rem 0;
  width: 100%;
}

/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

/* Page Header */
.page-header {
  border-bottom: 2px solid #94b43b;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.page-title {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #333;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-excerpt {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-excerpt .lead {
  font-family: "Ancizar sans", sans-serif;
  font-weight: 300;
  margin-bottom: 0;
}

/* Page Content */
.page-content {
  font-family: "Ancizar sans", sans-serif;
  line-height: 1.8;
  color: #333;
}

.page-content h2 {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #94b43b;
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.page-content h3 {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #555;
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem 0;
}

.page-content h4 {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #666;
  font-size: 1.3rem;
  margin: 1.25rem 0 0.75rem 0;
}

.page-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.25rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content blockquote {
  border-left: 4px solid #94b43b;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

.page-content a {
  color: #94b43b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.page-content a:hover {
  border-bottom-color: #94b43b;
}

/* Page Footer */
.page-footer {
  border-top: 1px solid #eee;
  color: #666;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-links-title {
  font-weight: bold;
  color: #333;
  margin-right: 0.5rem;
}

.page-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #94b43b;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-link:hover {
  background: #94b43b;
  color: white;
  border-color: #94b43b;
  text-decoration: none;
}

.edit-link {
  text-align: right;
}

.edit-link a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.edit-link a:hover {
  background: #94b43b;
  color: white;
  border-color: #94b43b;
}

/* Responsive Page Styles */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .page-content h2 {
    font-size: 1.6rem;
  }

  .page-content h3 {
    font-size: 1.4rem;
  }

  .page-content h4 {
    font-size: 1.2rem;
  }

  .page-content {
    text-align: left;
  }

  .page-content ul,
  .page-content ol {
    padding-left: 1.5rem;
  }
}

@media (max-width: 575px) {
  .page-title {
    font-size: 1.75rem;
  }

  .page-content h2 {
    font-size: 1.5rem;
  }

  .page-content h3 {
    font-size: 1.3rem;
  }

  .page-content h4 {
    font-size: 1.1rem;
  }
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* ========================================
   HERO CAROUSEL - NEW STYLES
   ======================================== */

.hero-carousel-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-clickable {
  cursor: pointer;
}

.hero-slide-clickable:hover .hero-slide-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  transition: background 0.3s ease;
}

.hero-slide-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  text-indent: -9999px;
  background: transparent;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem;
}

.hero-slide-title {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-slide-subtitle {
  font-family: "Ancizar sans", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-slide-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-slide-buttons .btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-shadow: none;
}

.hero-slide-buttons .btn-primary {
  background: #94b43b;
  color: white;
  border: 2px solid #94b43b;
}

.hero-slide-buttons .btn-primary:hover {
  background: #7a9a2f;
  border-color: #7a9a2f;
  transform: translateY(-2px);
}

.hero-slide-buttons .btn-outline-primary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-slide-buttons .btn-outline-primary:hover {
  background: white;
  color: #94b43b;
  transform: translateY(-2px);
}

/* Carousel Controls */
.hero-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-carousel-control:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-next {
  right: 20px;
}

/* Carousel Indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-carousel-indicator:hover,
.hero-carousel-indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-carousel-section {
    min-height: 400px;
  }

  .hero-carousel-wrapper {
    height: 400px;
  }

  .hero-slide-title {
    font-size: 2.5rem;
  }

  .hero-slide-subtitle {
    font-size: 1.1rem;
  }

  .hero-carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .hero-carousel-prev {
    left: 10px;
  }

  .hero-carousel-next {
    right: 10px;
  }

  .hero-carousel-indicators {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-carousel-section {
    min-height: 350px;
  }

  .hero-carousel-wrapper {
    height: 350px;
  }

  .hero-slide-title {
    font-size: 2rem;
  }

  .hero-slide-subtitle {
    font-size: 1rem;
  }

  .hero-slide-buttons {
    flex-direction: column;
  }

  .hero-slide-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

.hero-content {
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
}

.hero-title {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-family: "Ancizar sans", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  min-width: 150px;
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 2rem;
}

.carousel-control.next {
  right: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: white;
  transform: scale(1.2);
}

/* Section Titles */
.section-title {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Quick Navigation Section */
.quick-nav-section {
  background: white;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.nav-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: #94b43b;
}

.nav-card h3 {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.nav-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nav-link {
  display: inline-block;
  color: #94b43b;
  text-decoration: none;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: 2px solid #94b43b;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: #94b43b;
  color: white;
  text-decoration: none;
}

/* Latest Posts Section */
.latest-posts-section {
  background: #f8f9fa;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Homepage Post Card Styles */
.posts-grid .post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.posts-grid .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Homepage Post Image Styles */
.posts-grid .post-image {
  height: 150px;
  overflow: hidden;
  background: #f8f9fa;
}

.posts-grid .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.posts-grid .post-card:hover .post-image img {
  transform: scale(1.05);
}

/* Homepage Post Placeholder Styles */
.posts-grid .post-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
}

.posts-grid .placeholder-icon {
  font-size: 3rem;
  color: #adb5bd;
}

/* Homepage Post Content Styles */
.posts-grid .post-content {
  padding: 1.5rem;
}

.posts-grid .post-header {
  margin-bottom: 0.2rem;
}

/* Homepage Post Title Styles */
.posts-grid .post-title {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.posts-grid .post-title a {
  color: #333;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.posts-grid .post-title a:hover {
  color: #94b43b;
}

/* Homepage Post Meta Styles */
.posts-grid .post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
  flex-wrap: wrap;
}

.posts-grid .post-date {
  color: #94b43b;
  font-weight: 500;
}

/* Homepage Post Excerpt Styles */
.posts-grid .post-excerpt {
  color: #666;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
}

/* Homepage Post Footer Styles */
.posts-grid .post-footer {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.posts-grid .read-more {
  color: #94b43b;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.posts-grid .read-more:hover {
  color: #7a9a2f;
  text-decoration: none;
}

.posts-grid .read-more .arrow {
  transition: transform 0.3s ease;
}

.posts-grid .read-more:hover .arrow {
  transform: translateX(5px);
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, #94b43b 0%, #7a9a2f 100%);
  color: white;
}

.cta-content h2 {
  font-family: "Ancizar serif", serif;
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content .lead {
  font-family: "Ancizar sans", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .carousel-control {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

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

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

  .quick-nav-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-card {
    padding: 1.5rem;
  }

  .post-content {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }
}

.social-media-section {
  margin-top: 3rem;
  z-index: 9999;
}

.social-links-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  opacity: 0.45;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
  background-color: #1877f2;
  color: white;
}

.social-link.facebook:hover {
  background-color: #0d65d9;
}

.social-link.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #d87b2a 0%,
    #cd5530 25%,
    #c31d38 50%,
    #b31d5a 75%,
    #a3157a 100%
  );
}

.social-link.twitter {
  background-color: #000000;
  color: white;
}

.social-link.twitter:hover {
  background-color: #1a1a1a;
}

.social-link.youtube {
  background-color: #ff0000;
  color: white;
}

.social-link.youtube:hover {
  background-color: #cc0000;
}

@media (max-width: 576px) {
  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-links-horizontal {
    gap: 1rem;
  }
}
.hero-social-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 15;
}

.social-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-social-overlay .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-social-overlay .social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-social-overlay .social-link.facebook {
  background-color: #1877f2;
}

.hero-social-overlay .social-link.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.hero-social-overlay .social-link.twitter {
  background-color: #000000;
}

.hero-social-overlay .social-link.youtube {
  background-color: #ff0000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-social-overlay {
    bottom: 20px;
    left: 20px;
  }

  .hero-social-overlay .social-link {
    width: 40px;
    height: 40px;
  }

  .social-links-vertical {
    gap: 10px;
  }
}
