/*
Theme Name: Agencia APP
Description: Tema personalizado para la Agencia APP - Alcaldía de Medellín basado en el diseño oficial
Version: 1.1.1
Author: Agencia APP
Text Domain: agencia-app
*/

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px; /* Base font size for text size controls */
  line-height: 1.6;
  color: #444444;
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  color: #00a6b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #007b8a;
}

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

/* Layout components */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header styles */
.top-header {
  background-color: #007bff;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

.top-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  position: relative;
}

.top-header-logo:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.gov-co-logo-img {
  width: auto;
  height: 20px;
  display: block;
  object-fit: contain;
  padding-left: 18px;

}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-weight: 400;
  flex-shrink: 0;
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: flex-end;
}


.top-header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.top-header-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.top-header-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: currentColor;
}

.language-link {
  gap: 4px;
}

.chevron-down {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: currentColor;
}

.top-header-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  margin: 0 4px;
}

/* Accessibility Menu */
.accessibility-wrapper {
  position: relative;
}

.accessibility-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background-color: #00a6b8;
  border-radius: 24px;
  padding: 0 12px;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: auto;
  height: 35px;
  align-items: center;
  white-space: nowrap;
}

.accessibility-menu.active {
  display: flex;
}

.accessibility-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #00a6b8;
}

.accessibility-menu-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accessibility-option {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  min-width: 28px;
  height: 28px;
}

.accessibility-option:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.accessibility-option svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.accessibility-option.text-size-btn {
  font-size: 18px;
  font-weight: 700;
}

.accessibility-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.main-header {
  background-color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 90px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 10px 24px;
  gap: 32px;
  flex-wrap: nowrap;
  position: relative;
}

.main-header-left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  position: relative;
}

.main-header-left::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: transparent;
}

/* Alinear horizontalmente los logos - ambos deben tener el mismo padding izquierdo */
.top-header-logo {
  padding-left: 24px;
  padding-right: 8px;
}

.main-header-left {
  padding-left: 24px;
}

/* Asegurar alineación horizontal perfecta */
.top-header-logo .gov-co-logo-img,
.main-header-left .header-logo-img {
  display: block;
}

/* Ajuste para alineación en diferentes tamaños de pantalla */
@media (min-width: 768px) {
  .top-header-content,
  .main-header-content {
    padding-left: 24px;
  }
  
  .top-header-logo {
    padding-left: 0;
  }
  
  .main-header-left {
    padding-left: 0;
  }
}

.main-logo-wrapper {
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.main-logo-wrapper:hover {
  opacity: 0.8;
}

.header-logo-img {
  width: 200px;
  height: 90px;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  margin: 0;
  list-style: none;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #444444;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00a6b8;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #00a6b8;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.home-link {
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.home-link:hover {
  background-color: #f1f1f1;
}

.home-link::after {
  display: block;
}

.home-link.active::after {
  width: 100%;
}

.home-link svg {
  width: 18px;
  height: 18px;
  color: #444444;
}

.home-link:hover svg {
  color: #00a6b8;
}

.main-search-btn {
  background: #f1f1f1;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444444;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.main-search-btn:hover {
  background: #00a6b8;
  color: #ffffff;
  transform: scale(1.05);
}

.main-search-btn svg {
  width: 20px;
  height: 20px;
}

/* Botón menú móvil (hamburguesa) - visible solo en móvil */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: #f1f1f1;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-left: auto;
}
.mobile-menu-toggle:hover {
  background: #e0e0e0;
}
.mobile-menu-toggle.active {
  background: #00a6b8;
}
.mobile-menu-toggle .mobile-menu-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: #444444;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-toggle.active .mobile-menu-icon:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .mobile-menu-icon:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .mobile-menu-icon:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu-toggle.active .mobile-menu-icon {
  background: #ffffff;
}

.search-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 8px;
  flex-shrink: 0;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.search-icon::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid #444444;
  border-radius: 50%;
  position: absolute;
}

.search-icon::after {
  content: '';
  width: 2px;
  height: 8px;
  background: #444444;
  position: absolute;
  transform: rotate(45deg);
  bottom: 10px;
  right: 10px;
}

.search-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.search-bar {
  background-color: #f1f1f1;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 0;
  position: relative;
  z-index: 10;
  display: none;
  animation: slideDown 0.3s ease;
  height: 50px;
  align-items: center;
  margin-top: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-bar.active {
  display: flex;
}

.search-content {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  height: 100%;
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: #444444;
  font-size: 14px;
  flex: 1;
  font-family: 'Montserrat', Arial, sans-serif;
}

.search-input::placeholder {
  color: #a9a9a9;
}

.search-submit-btn {
  background: #00a6b8;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.search-submit-btn:hover {
  background: #007b8a;
  transform: scale(1.05);
}

.search-submit-btn svg {
  width: 20px;
  height: 20px;
}

.search-submit-btn:focus {
  outline: 2px solid #00a6b8;
  outline-offset: 2px;
}

/* Search form wrapper for search results page */
.search-form-wrapper {
  margin-top: 32px;
  max-width: 600px;
}

.search-form {
  width: 100%;
}

.search-form-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f1f1f1;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #dddddd;
}

.search-form-content .search-input {
  background: transparent;
  flex: 1;
}

.search-form-content .search-submit-btn {
  flex-shrink: 0;
}

.no-results {
  text-align: center;
  padding: 48px 20px;
}

.no-results p {
  font-size: 16px;
  color: #444444;
  margin-bottom: 24px;
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .main-header,
body.dark-mode .top-header {
  background-color: #2d2d2d;
}

body.dark-mode .footer {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

body.dark-mode .container,
body.dark-mode .post-item,
body.dark-mode .news-item,
body.dark-mode .service-card {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

body.dark-mode .nav-link,
body.dark-mode .entry-title a,
body.dark-mode .news-item-title a {
  color: #e0e0e0;
}

body.dark-mode .search-bar {
  background-color: #2d2d2d;
  border-color: #444444;
}

body.dark-mode .search-input {
  color: #e0e0e0;
}

/* Form Error Message */
.form-error-message {
  background-color: #ff4444;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
  animation: slideDown 0.3s ease;
}

.form-error-message::before {
  content: '⚠ ';
  margin-right: 8px;
  font-weight: bold;
}

input.error,
textarea.error,
select.error {
  border-color: #ff4444 !important;
  background-color: #fff5f5;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
  outline-color: #ff4444;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* Google Translate Styles */
#google_translate_element {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Hide Google Translate default dropdown */
.goog-te-combo {
  display: none !important;
}

/* Style for translated content */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body.skiptranslate {
  top: 0 !important;
}

/* Hero section */
.hero-section {
  position: relative;
  height: 759px;
  min-height: 400px;
  background-image: url('assets/images/carrusel_banner_1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-section.hero-carousel {
  height: 540px;
  min-height: 540px;
}

.hero-carousel {
  position: relative;
  height: 540px;
  min-height: 540px;
  overflow: hidden;
}

.hero-carousel-wrapper {
  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;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

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

.hero-slide .hero-content {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 16px;
  color: #ffffff;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 0;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.5px;
  max-width: 800px;
}

.hero-underline {
  width: 100px;
  height: 6px;
  background-color: #fdda2f;
  margin-bottom: 24px;
  border-radius: 3px;
}

.hero-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.hero-button {
  background-color: #fdda2f;
  color: #000000;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(253, 218, 47, 0.3);
  border: 2px solid transparent;
  height: 40px;
  line-height: 1;
  min-width: 154px;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 218, 47, 0.4);
  background-color: #ffeb3d;
}

.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00a6b8;
  border-radius: 10px 0 0 10px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  z-index: 50;
}

.social-icon {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #00a6b8;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.social-icon:hover {
  transform: scale(1.1);
  background: #fdda2f;
  color: #000000;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-divider {
  width: 32px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Hero Navigation Dots */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.hero-nav-arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero-nav-arrow-left {
  left: 20px;
}

.hero-nav-arrow-right {
  right: 20px;
}

.hero-nav-arrow svg {
  width: 24px;
  height: 24px;
}

.hero-navigation-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-navigation-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-navigation-dots .dot.active {
  background-color: #ffffff;
  width: 24px;
  border-radius: 5px;
}

/* Introduction Section */
.introduction-section {
  padding: 60px 16px;
  background-color: #ffffff;
  text-align: center;
  position: relative;
  z-index: 10;
}

.introduction-title {
  font-size: 28px;
  font-weight: 900;
  color: #00a6b8;
  margin-bottom: 24px;
  line-height: 1.3;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.introduction-description {
  font-size: 16px;
  color: #535353;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Services section */
.services-section {
  padding: 60px 16px 80px;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 auto 32px;
  justify-items: center;
}

.services-button-wrapper {
  text-align: center;
  margin-top: 32px;
}

.services-button {
  background-color: #00a6b8;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
}

.services-button:hover {
  color: #fdda2f;
  transform: translateY(-2px);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.service-image:hover {
  transform: scale(1.05) !important;
}


.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 1278px;
  height: 340px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
  padding: 32px 24px;
  color: #ffffff;
  transition: padding 0.3s ease;
  z-index: 2;
}

.service-card:hover .service-overlay {
  padding-bottom: 36px;
}

.service-subtitle {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

/* Info section */
.info-section {
  background-color: #f1f1f1;
  padding: 60px 16px;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-section .container {
  width: 100%;
  max-width: 1160px;
}

.info-section .partners {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.info-section .partners .partner-logo {
  width: 30%;
  height: 80px;
  background: linear-gradient(135deg, #00a6b8 0%, #007b8a 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}

.info-description {
  font-size: 14px;
  color: #535353;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Asset Management Section */
.asset-management-section {
  background: linear-gradient(to bottom, #f1f1f1 0%, #f1f1f1 50%, #00a6b8 50%, #00a6b8 100%);
  padding: 60px 16px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.asset-management-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 1160px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: block;
  width: 100%;
}

.asset-management-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.asset-management-top-line {
  width: 100%;
  height: 4px;
  background-color: #fdda2f;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.asset-management-header {
  padding: 50px 32px 30px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.asset-management-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  max-width: 1160px;
  margin: 0 auto;
  color: #ffffff;
}

.asset-management-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-bottom: none;
  background: transparent;
}

.asset-tab {
  border: none;
  color: #ffffff;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  flex: 1;
  max-width: 400px;
}

.tab-espacio-publico {
  background-color: #00a6b8;
}

.tab-espacio-publico:hover,
.tab-espacio-publico.active {
  background-color: #007b8a;
}

.tab-bienes-inmuebles {
  background-color: #00649d;
}

.tab-bienes-inmuebles:hover,
.tab-bienes-inmuebles.active {
  background-color: #004d7a;
}

.tab-patrimonio {
  background-color: #ff8c00;
}

.tab-patrimonio:hover,
.tab-patrimonio.active {
  background-color: #e67e00;
}

.asset-management-content {
  padding: 40px 32px 60px;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 350px;
}

.asset-management-subtitle {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  color: #ffffff;
}

.asset-benefits-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 120px;
  margin-bottom: 60px;
  position: relative;
  flex-wrap: wrap;
}

.asset-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  min-width: 200px;
}

.benefit-arrow-down {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 18px solid #ffffff;
  margin-bottom: 12px;
  opacity: 0.9;
}

.benefit-arrow-up {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 18px solid #ffffff;
  margin-bottom: 12px;
  opacity: 0.9;
}

.benefit-icon-wrapper {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.benefit-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.asset-navigation-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding-bottom: 20px;
}

.asset-navigation-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.asset-navigation-dots .dot.active {
  background-color: #ffffff;
  width: 24px;
  border-radius: 5px;
}

/* Discover More Section */
/* Discover More Section */
.discover-more-section {
  padding: 80px 24px;
  background-color: #f1f1f1;
  text-align: center;
}

.discover-more-title {
  font-size: 25px;
  font-weight: 900;
  color: #00a6b8;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.discover-more-description {
  font-size: 16px;
  color: #444444;
  margin-bottom: 56px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.discover-more-description p {
  margin-bottom: 12px;
  font-weight: 400;
}

.discover-more-description p:last-child {
  margin-bottom: 0;
}

.discover-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}

.discover-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.discover-card:hover {
  transform: translateX(4px);
}

.discover-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a2d4d;
  border-radius: 50%;
  padding: 16px;
  flex-shrink: 0;
}

.discover-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.discover-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}

.discover-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #444444;
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: left;
  width: 240px;
}

.discover-card-underline {
  width: 60px;
  height: 3px;
  background-color: #fdda2f;
  border-radius: 2px;
  margin-left: 0;
}

@media (min-width: 768px) {
  .discover-cards {
    gap: 40px;
  }
  
  .discover-card {
    gap: 24px;
  }
  
  .discover-card-title {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .discover-cards {
    gap: 48px;
  }
  
  .discover-card {
    gap: 32px;
  }
}

.what-we-do-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 166, 184, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(253, 218, 47, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.what-we-do-section .container {
  position: relative;
  z-index: 2;
}

.what-we-do-title {
  background-color: #fdda2f;
  color: #2d2d2d;
  padding: 6px 12px;
  border-radius: 0 0 20px 20px;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
}

.what-we-do-description {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 32px;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.service-item {
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* CTA section */
.cta-section {
  background-color: #00a6b8;
  padding: 60px 16px 0;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  padding-bottom: 32.5px;
}

.cta-button {
  background-color: #fdda2f;
  color: #000000;
  padding: 20px 34px;
  border-radius: 32.5px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  height: 65px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(253, 218, 47, 0.3);
  position: absolute;
  z-index: 2;
  top: 165px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 218, 47, 0.4);
  background-color: #ffeb3d;
}

/* News section */
.news-section {
  background: linear-gradient(180deg, #f2f2f2 0%, #e1e0e1 100%);
  padding: 60px 16px;
  min-height: 1040px;
}

.news-content {
  max-width: 1160px;
  margin: 0 auto;
}

.news-header-image {
  width: 304px;
  height: 42px;
  margin: 0 auto 32px;
  display: block;
  background: linear-gradient(135deg, #00a6b8 0%, #007b8a 100%);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #00a6b8;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.news-grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 580px;
  overflow: hidden;
  justify-content: flex-start;
}

.news-main-image {
  width: 502px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 580px;
  object-fit: cover;
  background: linear-gradient(135deg, #1a2d4d 0%, #00649d 100%);
}

.news-main-image:hover {
  transform: scale(1.02);
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 0;
  margin-bottom: 0;
  border-radius: 8px;
  background-color: transparent;
  flex: 0 0 calc((580px - 32px) / 3);
  height: calc((580px - 32px) / 3);
  min-height: 0;
  width: 580px;
  max-width: 100%;
}

.news-item .news-image {
  width: 184px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #00a6b8 0%, #007b8a 100%);
  margin: 0;
  align-self: flex-start;
}

.news-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  height: 154px;
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-item-divider {
  width: 100%;
  height: 1px;
  background-color: #C0C0C0;
  display: block;
  flex-shrink: 0;
  margin-bottom: 13px;

}

.news-item-divider-half {
  width: 50%;
  height: 1px;
  background-color: #bfbfbf;
  margin-bottom: 4px;
}

.news-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  width: 502px;;
}

.news-featured-divider {
  width: 502px;
  height: 1px;
  background-color: #C0C0C0;
  display: block;
  margin-top: 13px;
  margin-bottom: 13px;
}

.news-featured-content {
  margin-top: 0;
}

.news-featured-content .news-excerpt {
  margin-top: 8px;
}

.news-date {
  font-size: 12px;
  color: #676767;
  margin-bottom: 8px;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.news-item-title {
  font-size: 18px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 8px;
  line-height: 1;
  transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
  color: #007b8a;
}

.news-excerpt {
  font-size: 13px;
  line-height: 1.5;
  color: #535353;
}

.read-more {
  font-weight: 700;
  text-decoration: underline;
  color: #535353;
  transition: color 0.3s ease;
}

.read-more a {
  color: #535353;
}

.read-more a:hover {
  color: #353434;
}

.news-button {
  background-color: #00a6b8;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 166, 184, 0.3);
  height: 40px;
  line-height: 1;
  min-width: 154px;
}

.news-button:hover {
  color: #fdda2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 166, 184, 0.4);
}

/* Opportunities section */
.opportunities-section {
  background-color: #1a2d4d;
  color: #ffffff;
  padding: 60px 20px;
  min-height: 218px;
  display: flex;
  align-items: center;
  border-top: 2px solid #00a6b8;
  border-bottom: 2px solid #00a6b8;
}

.opportunities-content {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.opportunities-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
}

.opportunities-title {
  font-size: 25px;
  font-weight: 900;
  margin-bottom: 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
}

.opportunities-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 630px;
  height: 50px;
}

.opportunities-subtitle {
  background-color: #00649d;
  padding: 14px 20px;
  border-radius: 6px 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  display: inline-block;
  margin: 0;
  width: fit-content;
  color: #ffffff;
  white-space: nowrap;
  border-radius: 5px;
}

.opportunities-color-boxes {
  display: flex;
  gap: 8px;
  align-items: center;
}

.opportunities-color-box {
  width: 8px;
  height: 60px;
  border-radius: 5px;
}

.opportunities-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.opportunities-line {
  height: 4px;
  width: 100%;
  max-width: 200px;
  border-radius: 2px;
}

.opportunities-box-orange {
  background-color: #F7AF00;
}

.opportunities-box-purple {
  background-color: #A94190;
}

.opportunities-logo {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 553px;
  margin: 0 auto;
  margin-top: 0;
}

.opportunities-logo-placeholder {
  width: 497px;
  height: 97px;
  background: linear-gradient(135deg, #00a6b8 0%, #007b8a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.opportunities-logo-img {
  width: 497px;
  height: 119px;
  object-fit: contain;
  display: block;
}

@media (min-width: 1024px) {
  .opportunities-section {
    padding: 60px 40px;
  }
  
  .opportunities-content {
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
  }
  
  .opportunities-left {
    gap: 20px;
    flex-shrink: 0;
  }
  
  .opportunities-logo {
    margin: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  
  .opportunities-subtitle {
    padding: 14px 20px;
  }
  
  .opportunities-lines {
    gap: 10px;
    margin-top: 4px;
  }
  
  .opportunities-line {
    height: 5px;
    max-width: 250px;
  }
  
  .opportunities-logo {
    margin: 0;
    max-width: 553px;
  }
}

/* Certificate link */
.certificate-link {
  background-color: #f1f1f1;
  border-top: 1px solid #8a8a8a;
  border-bottom: 1px solid #8a8a8a;
  padding: 22px 16px;
  text-align: center;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-link a {
  color: #00a6b8;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.certificate-link a:hover {
  color: #007b8a;
}

/* Testimonials section */
.testimonials-section {
  background-color: #00a6b8;
  color: #ffffff;
  padding: 80px 16px;
  text-align: center;
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}

.testimonials-description {
  font-size: 14px;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 50px;
}

.testimonials-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-nav-arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.testimonials-nav-arrow-left {
  left: 0;
}

.testimonials-nav-arrow-right {
  right: 0;
}

.testimonials-nav-arrow svg {
  width: 24px;
  height: 24px;
}

.testimonials-content {
  display: flex;
  gap: 32px;
  overflow: hidden;
  scroll-behavior: smooth;
  align-items: start;
  scroll-snap-type: x mandatory;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.testimonial-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 5px solid #F1F1F1;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
  object-fit: cover;
  background: linear-gradient(135deg, #1a2d4d 0%, #00649d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
}

.testimonial-avatar:hover {
  transform: scale(1.05);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.testimonial-name {
  font-weight: 900;
  margin-bottom: 4px;
  font-size: 16px;
}

.testimonial-handle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 12px;
  line-height: 1.4;
  max-width: 300px;
}

@media (max-width: 1024px) {
  .testimonials-carousel-wrapper {
    padding: 0 40px;
  }
}

/* Footer */
.footer {
  background-color: #f1f1f1;
  padding: 0;
}

.footer-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  position: relative;
}

.footer-logo-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-sections-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-logo {
  font-weight: 900;
  font-size: 24px;
  color: #00a6b8;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-medellin-logo {
  font-size: 14px;
  color: #444444;
  font-weight: 500;
}

.footer-section h4 {
  color: #00a6b8;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.footer-divider {
  width: 40px;
  height: 4px;
  background-color: #fdda2f;
  border-radius: 2px;
}

.footer-text {
  font-size: 13px;
  line-height: 1.7;
  color: #444444;
}

.footer-text strong {
  color: #2d2d2d;
  font-weight: 700;
}

.footer-text a {
  color: #00a6b8;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.footer-text a:hover {
  color: #007b8a;
  text-decoration: underline;
}

.footer-text a strong {
  color: inherit;
  font-weight: 700;
}

.footer-brand {
  background-color: #007bff;
  color: #ffffff;
  padding: 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-brand-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand-logo {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.footer-brand-divider {
  width: 1px;
  height: 58px;
  background-color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.footer-brand-text {
  width: 91px;
  height: 19px;
  display: block;
  object-fit: contain;
}

/* Responsive media queries */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .agency-title {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .news-grid > div:last-child {
    height: 580px;
  }
  
  .testimonial-item {
    flex: 0 0 50%;
    min-width: 50%;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
  }
  
  .footer-sections-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .main-logo {
    font-size: 32px;
  }
  
  .main-logo-subtitle {
    font-size: 12px;
  }
  
  .medellin-logo-title {
    font-size: 18px;
  }
  
  .medellin-logo-subtitle {
    font-size: 11px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .introduction-title {
    font-size: 32px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .discover-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card {
    width: 278px;
    height: 340px;
  }
  
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .news-item .news-image {
    width: 185px;
    height: 100%;
    margin: 0;
    align-self: flex-start;
  }
  
  .testimonial-item {
    flex: 0 0 calc(33.333% - 22px);
    min-width: calc(33.333% - 22px);
  }
  
  .testimonial-avatar {
    width: 82px;
    height: 82px;
  }
  
  .footer-main {
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: stretch;
    position: relative;
  }
  
  .footer-logo-wrapper {
    display: flex;
    align-self: center;
    position: relative;
  }
  
  .footer-logo-wrapper::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #CDCDCD;
  }
  
  .footer-sections-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-self: stretch;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  
  .hero-section {
    height: 759px;
  }
  
  .hero-title {
    font-size: 50px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .introduction-title {
    font-size: 25px;
  }
  
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .asset-management-title {
    font-size: 25px;
  }
  
  .asset-benefits-container {
    gap: 150px;
  }
  
  .asset-management-wrapper {
    margin: 40px 32px;
  }
  
  .news-title {
    font-size: 25px;
  }
  
  .news-item-title {
    font-size: 25px;
  }
  
  .news-excerpt {
    font-size: 14px;
  }
  
  
  .testimonials-title {
    font-size: 25px;
  }
  
  .testimonials-description {
    font-size: 16px;
  }
  
  .testimonial-name {
    font-size: 14px;
  }
  
  .testimonial-text {
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 50px;
  }
  
  .top-header-content,
  .main-header-content,
  .hero-content,
  .news-content,
  .opportunities-content {
    max-width: 1160px;
    padding: 0 32px;
  }
  
  .services-grid {
    padding: 0 32px;
  }
  
  .footer-content {
    max-width: 1160px;
    padding: 0 32px;
  }
  
  .container {
    padding: 0 32px;
  }
}

/* Utility classes */
.hidden {
  display: none;
}

@media (max-width: 767px) {
  .mobile-hidden {
    display: none;
  }

  /* Menú móvil: mostrar botón hamburguesa */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Menú principal: oculto por defecto, panel deslizable al activar */
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 100%);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #ffffff;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    overflow-y: auto;
  }
  body.dark-mode .nav-menu {
    background: #2d2d2d;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    white-space: normal;
  }
  body.dark-mode .nav-menu .nav-link {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .nav-menu .main-search-btn {
    margin-top: 8px;
    align-self: flex-start;
  }
  .main-header-content {
    flex-wrap: wrap;
  }
  .main-header-left {
    flex: 1;
    justify-content: space-between;
  }
  .header-logo-img {
    width: 140px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
  }
  .nav-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9997;
  }
  .nav-menu-overlay.active {
    display: block;
  }

  /* Buscador de Oportunidades - móvil */
  .opportunities-section {
    padding: 40px 16px;
    min-height: auto;
  }
  .opportunities-content {
    gap: 20px;
  }
  .opportunities-title {
    font-size: 18px;
  }
  .opportunities-subtitle-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
  }
  .opportunities-subtitle {
    font-size: 16px;
    padding: 10px 14px;
    width: 100%;
    white-space: normal;
  }
  .opportunities-logo {
    max-width: 100%;
    padding: 16px;
  }
  .opportunities-logo-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .opportunities-lines {
    margin-top: 4px;
  }
  .opportunities-line {
    max-width: 120px;
  }
  .opportunities-color-box {
    height: 40px;
  }

  /* Testimonios - móvil */
  .testimonials-section {
    padding: 48px 16px;
    min-height: auto;
  }
  .testimonials-title {
    font-size: 20px;
  }
  .testimonials-description {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .testimonials-carousel-wrapper {
    padding: 0 40px;
    width: 100%;
    overflow: hidden;
  }
  .testimonials-content {
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .testimonial-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 12px 24px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .testimonial-info {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .testimonials-nav-arrow {
    width: 40px;
    height: 40px;
  }
  .testimonials-nav-arrow svg {
    width: 20px;
    height: 20px;
  }
  .testimonials-nav-arrow-left {
    left: 4px;
  }
  .testimonials-nav-arrow-right {
    right: 4px;
  }
  .testimonial-avatar {
    width: 72px;
    height: 72px;
    font-size: 20px;
    margin-bottom: 12px;
    flex-shrink: 0;
  }
  .testimonial-name {
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .testimonial-handle {
    margin-bottom: 8px;
  }
  .testimonial-text {
    font-size: 13px;
    line-height: 1.45;
    max-width: 100%;
    padding: 0 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
  }

  /* Últimas noticias - móvil */
  .news-section {
    padding: 40px 16px;
    min-height: auto;
  }
  .news-content {
    padding: 0 4px;
  }
  .news-header-image {
    width: 100%;
    max-width: 280px;
    height: 40px;
    font-size: 12px;
  }
  .news-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }
  .news-grid > div:last-child {
    height: auto;
    min-height: 0;
  }
  .news-main-image {
    width: 100%;
    max-width: 100%;
    height: 240px;
    margin-bottom: 16px;
  }
  .news-item {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    flex: none;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .news-item .news-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    align-self: stretch;
  }
  .news-item-content {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 0;
  }
  .news-item-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .news-item-title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .news-item-title a {
    display: block;
  }
  .news-excerpt {
    font-size: 13px;
    line-height: 1.45;
  }
  .news-featured-header {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .news-featured-divider {
    width: 100%;
    max-width: 100%;
  }
  .news-button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 24px;
    padding: 12px 20px;
  }
}

@media (min-width: 768px) {
  .desktop-hidden {
    display: none;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .nav-menu-overlay {
    display: none !important;
  }
}

/* WordPress specific styles */
.wp-block-image {
  margin: 0;
}

/* WordPress Block Editor Styles */
.wp-block-heading h2,
h2.wp-block-heading,
.wp-block-heading.is-style-h2 {
  font-size: 25px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Aplicar estilo a h2 dentro de contenido de proyectos */
.proyectos-content .wp-block-heading h2,
.proyectos-content h2.wp-block-heading,
.proyectos-content h2 {
  font-size: 25px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 16px;
  line-height: 1.3;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

/* Share icon placeholder */
.share-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.3s ease;
  padding-bottom:2px;
}

.share-icon:hover {
  opacity: 0.7;
}

/* Page and Post Templates */
.entry-header {
  margin-bottom: 32px;
}

.entry-title {
  font-size: 25px;
  font-weight: 900;
  color: #00a6b8;
  margin-bottom: 16px;
  line-height: 1.2;
}

.entry-meta {
  font-size: 14px;
  color: #676767;
  margin-bottom: 24px;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content h2 {
  font-size: 28px;
  font-weight: 900;
  color: #00a6b8;
  margin-top: 40px;
  margin-bottom: 20px;
}

.entry-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a2d4d;
  margin-top: 32px;
  margin-bottom: 16px;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.entry-content li {
  margin-bottom: 10px;
}

.post-thumbnail {
  margin-bottom: 32px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entry-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e1e0e1;
  font-size: 14px;
}

.cat-links,
.tags-links {
  margin-bottom: 12px;
}

.cat-links a,
.tags-links a {
  color: #00a6b8;
  text-decoration: none;
  margin-right: 8px;
}

.cat-links a:hover,
.tags-links a:hover {
  text-decoration: underline;
}

/* Archive Pages */
.page-header {
  margin-bottom: 48px;
  text-align: center;
}

.page-title {
  font-size: 25px;
  font-weight: 900;
  color: #00a6b8;
  margin-bottom: 16px;
}

.archive-description {
  font-size: 16px;
  color: #535353;
  max-width: 800px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.post-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.post-item .post-thumbnail {
  margin-bottom: 20px;
}

.post-item .post-thumbnail img {
  border-radius: 8px;
}

.post-item .entry-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.post-item .entry-title a {
  color: #00a6b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-item .entry-title a:hover {
  color: #007b8a;
}

.post-item .entry-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #535353;
  margin-bottom: 16px;
}

.post-item .read-more {
  color: #00a6b8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-item .read-more:hover {
  color: #007b8a;
  text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
  margin-top: 48px;
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 1px solid #e1e0e1;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.nav-previous {
  flex: 1;
  min-width: calc(50% - 12px);
  max-width: calc(50% - 12px);
  margin-right: auto;
}

.nav-next {
  flex: 1;
  min-width: calc(50% - 12px);
  max-width: calc(50% - 12px);
  margin-left: auto;
}

.nav-previous a,
.nav-next a {
  display: block;
  padding: 20px;
  background: #f1f1f1;
  border-radius: 8px;
  text-decoration: none;
  color: #444444;
  transition: all 0.3s ease;
  min-height: 100px;
}

.nav-previous a:hover,
.nav-next a:hover {
  background: #00a6b8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 184, 0.3);
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.nav-previous .nav-content {
  flex-direction: row;
}

.nav-next .nav-content {
  flex-direction: row-reverse;
  text-align: right;
}

.nav-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 166, 184, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-previous a:hover .nav-icon,
.nav-next a:hover .nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.nav-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.nav-previous a:hover .nav-subtitle,
.nav-next a:hover .nav-subtitle {
  opacity: 0.9;
}

.nav-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #444444;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
  color: #ffffff;
}

.nav-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  background: #f1f1f1;
  color: #444444;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #00a6b8;
  color: #ffffff;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .entry-title {
    font-size: 42px;
  }
  
  .page-title {
    font-size: 42px;
  }
}

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

/* Transparency Module Styles */
.transparency-breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: #666666;
}

.transparency-breadcrumbs a {
  color: #00a6b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.transparency-breadcrumbs a:hover {
  color: #007b8a;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999999;
}

/* Línea entre breadcrumb y título de sección (Transparencia y Participa) */
.breadcrumbs-title-line {
  width: 100%;
  height: 1px;
  background: #00000040;
  margin: 0;
}

.transparency-title-section {
  padding: 32px 0 24px;
}

.transparency-main-title {
  font-size: 25px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 16px;
  line-height: 1.3;
}

.transparency-title-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin-bottom: 24px;
  border-radius: 2px;
}

.transparency-intro {
  margin-bottom: 32px;
}

.transparency-intro p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

.transparency-intro kbd {
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 13px;
  color: #333;
}

.transparency-search-section {
  margin-bottom: 32px;
}

.transparency-search-wrapper {
  position: relative;
  max-width: 600px;
}

.transparency-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999999;
  pointer-events: none;
}

.transparency-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.transparency-search-input:focus {
  outline: none;
  border-color: #00a6b8;
}

.transparency-accordion-section {
  margin-bottom: 48px;
}

.transparency-accordion-item {
  border-top: 1px solid #e0e0e0;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  margin-bottom: 12px;
  overflow: hidden;
  background: transparent;
  transition: all 0.3s ease;
}

.transparency-accordion-item.active {
  border-top: none;
}

/* Estilos para el enlace del item 6 Participa */
.transparency-accordion-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid #e0e0e0;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  margin-bottom: 12px;
  overflow: hidden;
  background: transparent;
  transition: all 0.3s ease;
}

.transparency-accordion-link:hover {
  background: #f8f8f8;
}

.transparency-accordion-link:hover .transparency-accordion-header {
  background: #f8f8f8;
  color: #00A6B8;
}

.transparency-accordion-link:hover .accordion-title {
  color: #00A6B8;
}

.transparency-accordion-link .transparency-accordion-header {
  cursor: pointer;
  pointer-events: none; /* El header no intercepta el clic, el enlace lo maneja */
}

.transparency-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 48px;
  background: #F2F2F2;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  gap: 16px;
  color: #444444;
}

.transparency-accordion-header:hover {
  background: #e8e8e8;
}

.transparency-accordion-item.active .transparency-accordion-header {
  background: #00A6B8;
  color: #FFFFFF;
}

.transparency-accordion-item.active .transparency-accordion-header:hover {
  background: #007b8a;
}

.accordion-number {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  color: inherit;
}

.accordion-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

.accordion-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #666666;
}

.transparency-accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: #FFFFFF;
}

.accordion-icon {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: #666666;
  transition: transform 0.3s ease, color 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transparency-accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: #FFFFFF;
}

.transparency-accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  padding: 0 24px;
  will-change: height;
  contain: layout style paint;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.transparency-accordion-item.active .transparency-accordion-content {
  height: auto;
  padding: 24px;
  background: transparent;
}

.accordion-image-wrapper {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-list li {
  margin-bottom: 0;
  padding-left: 0;
  border-bottom: 1px solid #e0e0e0;
}

.accordion-list li:last-child {
  border-bottom: none;
}

.accordion-list a {
  display: block;
  padding: 12px 16px;
  background: transparent;
  text-decoration: none;
  color: #444444;
  font-size: 15px;
  transition: all 0.3s ease;
  font-weight: normal;
}

.accordion-list a .bold-number {
  font-weight: 700;
}

.accordion-list a:hover {
  color: #00a6b8;
}

/* Responsive Styles for Transparency */
@media (min-width: 768px) {
  .transparency-main-title {
    font-size: 25px;
  }

  .transparency-title-underline {
    width: 59px;
  }

  .transparency-search-wrapper {
    max-width: 700px;
  }
}

@media (min-width: 1024px) {
  .transparency-main-title {
    font-size: 25px;
  }

  .transparency-title-underline {
    width: 59px;
  }

  .transparency-accordion-header {
    padding: 24px 32px;
  }

  .accordion-title {
    font-size: 14px;
  }

  .transparency-accordion-item.active .transparency-accordion-content {
    padding: 32px;
  }
}

/* Dark mode support for transparency */
body.dark-mode .transparency-breadcrumbs {
  color: #b0b0b0;
}

body.dark-mode .transparency-intro p {
  color: #e0e0e0;
}

body.dark-mode .transparency-intro kbd {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

body.dark-mode .transparency-search-input {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

body.dark-mode .transparency-accordion-item {
  background: #2a2a2a;
  border-color: #444;
}

body.dark-mode .transparency-accordion-header {
  background: #2a2a2a;
  color: #e0e0e0;
}

body.dark-mode .transparency-accordion-item.active .transparency-accordion-header {
  background: #1a3a3f;
}

body.dark-mode .accordion-title {
  color: #e0e0e0;
}

body.dark-mode .transparency-accordion-item.active .transparency-accordion-content {
  background: #1a3a3f;
}

body.dark-mode .accordion-list a {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .accordion-list a:hover {
  background: #2a2a2a;
  color: #00a6b8;
}

/* Transparency Detail Page - Two Column Layout */
.transparency-detail-wrapper {
  display: flex;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 16px;
  align-items: flex-start;
}

.transparency-sidebar {
  width: 350px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
}

.transparency-sidebar::-webkit-scrollbar {
  width: 6px;
}

.transparency-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.transparency-sidebar::-webkit-scrollbar-thumb {
  background: #00a6b8;
  border-radius: 3px;
}

.transparency-sidebar::-webkit-scrollbar-thumb:hover {
  background: #007b8a;
}

.transparency-sidebar-content {
  width: 100%;
}

.transparency-accordion-sidebar .transparency-accordion-item {
  margin-bottom: 8px;
}

.transparency-accordion-sidebar .transparency-accordion-header {
  font-size: 14px;
  padding: 12px 16px;
  height: auto;
  min-height: 48px;
}

.transparency-accordion-sidebar .accordion-title {
  font-size: 14px;
}

.transparency-accordion-sidebar .accordion-number {
  font-size: 14px;
}

.transparency-accordion-sidebar .accordion-list {
  padding: 8px 0;
}

.transparency-accordion-sidebar .accordion-list a {
  padding: 10px 12px;
  font-size: 14px;
}

.transparency-accordion-sidebar .accordion-list a.active {
  background: #00A6B8;
  color: #FFFFFF;
  font-weight: 600;
  border-left: 3px solid #007b8a;
}

.transparency-accordion-sidebar .accordion-list a.active:hover {
  background: #007b8a;
  color: #FFFFFF;
}

.transparency-detail-content {
  flex: 1;
  min-width: 0;
}

.transparency-detail-main {
  padding: 0;
}

.transparency-detail-section {
  margin-bottom: 48px;
}

.transparency-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 12px;
  line-height: 1.3;
}

.transparency-detail-underline {
  width: 59px;
  height: 7px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.transparency-detail-underline.yellow {
  background: #FDDA2F;
}

.transparency-detail-underline.blue {
  background: #00a6b8;
}

.transparency-detail-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
  margin-top: 16px;
}

.transparency-detail-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

.transparency-functions-list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.transparency-functions-list li {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

/* Responsive for detail page */
@media (max-width: 1024px) {
  .transparency-detail-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  
  .transparency-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    max-height: none;
    overflow-y: visible;
  }
  
  .transparency-detail-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .transparency-detail-wrapper {
    padding: 16px;
  }
  
  .transparency-sidebar {
    padding: 12px;
  }
  
  .transparency-detail-title {
    font-size: 20px;
  }
  
  .transparency-detail-text {
    font-size: 15px;
  }
}

/* Estilos para tipos de contenido de transparencia */

/* Galería de imágenes */
.transparency-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.transparency-gallery-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Acordeón de detalle */
.transparency-detail-accordion {
  margin-top: 24px;
}

.transparency-accordion-item-detail {
  border-top: 1px solid #e0e0e0;
  background: transparent;
}

.transparency-accordion-item-detail:first-child {
  border-top: none;
}

.transparency-accordion-header-detail {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #F2F2F2;
  color: #444444;
  border: none;
  border-radius: 10px;
  height: 48px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 8px;
}

.transparency-accordion-header-detail:hover {
  background: #e8e8e8;
}

.transparency-accordion-item-detail.active .transparency-accordion-header-detail {
  background: #00A6B8;
  color: #FFFFFF;
}

.transparency-accordion-item-detail.active .transparency-accordion-header-detail:hover {
  background: #007b8a;
}

.accordion-arrow-detail {
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
  margin-left: 16px;
}

.transparency-accordion-item-detail.active .accordion-arrow-detail {
  transform: rotate(180deg);
  color: #FFFFFF;
}

.transparency-accordion-content-detail {
  overflow: hidden;
  height: 0;
  padding: 0 24px;
  transition: height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
}

.transparency-accordion-item-detail.active .transparency-accordion-content-detail {
  padding: 24px;
  background: transparent;
}

.transparency-accordion-content-detail p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

.transparency-accordion-content-detail p:last-child {
  margin-bottom: 0;
}

/* Tabs de detalle */
.transparency-detail-tabs {
  margin-top: 24px;
}

.transparency-tabs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.transparency-tabs-buttons {
  display: flex;
  gap: 8px;
}

.transparency-tabs-actions {
  display: none;
  gap: 8px;
  align-items: center;
}

.transparency-tabs-actions.visible {
  display: flex;
}

.transparency-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #444444;
  cursor: pointer;
  transition: all 0.3s ease;
}

.transparency-action-btn:hover {
  background: #f8f8f8;
  border-color: #00A6B8;
  color: #00A6B8;
}

.transparency-action-btn svg {
  width: 18px;
  height: 18px;
}

.transparency-tab-button {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #444444;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  position: relative;
}

.transparency-tab-button:hover {
  color: #00A6B8;
  background: #f8f8f8;
}

.transparency-tab-button.active {
  color: #00A6B8;
  border-bottom-color: #00A6B8;
  background: transparent;
}

.transparency-tabs-content {
  position: relative;
}

.transparency-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.transparency-tab-panel.active {
  display: block;
}

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

.transparency-tab-panel p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
}

.transparency-tab-panel p:last-child {
  margin-bottom: 0;
}

/* Tabla de documentos */
.transparency-documents-table-wrapper {
  margin-top: 24px;
  overflow-x: auto;
}

.transparency-documents-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.transparency-documents-table thead {
  background: #F2F2F2;
}

.transparency-documents-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #444444;
  border-bottom: 2px solid #e0e0e0;
}

.transparency-documents-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: #444444;
  border-bottom: 1px solid #f0f0f0;
}

.transparency-documents-table tbody tr:hover {
  background: #f8f8f8;
}

.transparency-documents-table tbody tr:last-child td {
  border-bottom: none;
}

.transparency-download-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #00A6B8;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.transparency-download-btn:hover {
  background: #007b8a;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 166, 184, 0.3);
}

.transparency-download-btn svg {
  vertical-align: middle;
  margin-right: 6px;
}

.no-file {
  color: #999999;
  font-style: italic;
}

/* Responsive para componentes de contenido */
@media (max-width: 768px) {
  .transparency-gallery {
    grid-template-columns: 1fr;
  }
  
  .transparency-tabs-nav {
    flex-direction: column;
    gap: 0;
  }
  
  .transparency-tab-button {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    border-left: 3px solid transparent;
    margin-bottom: 0;
  }
  
  .transparency-tab-button.active {
    border-left-color: #00A6B8;
    border-bottom-color: #e0e0e0;
  }
  
  .transparency-documents-table {
    font-size: 12px;
  }
  
  .transparency-documents-table th,
  .transparency-documents-table td {
    padding: 12px 16px;
  }
}

/* Estilos para Organigrama */
.transparency-organigrama {
  margin: 32px 0;
}

.org-chart {
  position: relative;
  padding: 40px 0;
}

.org-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 40px;
  position: relative;
}

.org-person.director {
  margin-bottom: 60px;
}

.org-person.subdirector {
  display: inline-block;
  vertical-align: top;
  margin: 0 20px 40px;
}

.org-subdirectors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-top: 40px;
}

.org-subdirectors::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: #e0e0e0;
}

.org-person.subdirector::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: #e0e0e0;
}

.org-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.org-info {
  text-align: center;
}

.org-name {
  font-size: 16px;
  font-weight: 700;
  color: #444444;
  margin: 0 0 4px 0;
}

.org-position {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* Estilos para Tabla de Dependencias */
.transparency-dependencias-wrapper {
  margin: 32px 0;
}

.dependencias-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.dependencias-controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.refresh-btn {
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  color: #444444;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background: #f5f5f5;
  border-color: #00A6B8;
  color: #00A6B8;
}

.items-per-page {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  color: #444444;
  background: #ffffff;
  cursor: pointer;
}

.items-info {
  font-size: 14px;
  color: #666666;
}

.dependencias-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 8px 40px 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  width: 250px;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #00A6B8;
}

.search-icon {
  position: absolute;
  right: 12px;
  color: #999999;
  pointer-events: none;
}

.dependencias-table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
}

.transparency-dependencias-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.transparency-dependencias-table thead {
  background: #F2F2F2;
}

.transparency-dependencias-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #444444;
  border-bottom: 2px solid #e0e0e0;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.transparency-dependencias-table th.sortable:hover {
  background: #e8e8e8;
}

.sort-arrow {
  margin-left: 8px;
  font-size: 12px;
  color: #00A6B8;
}

.transparency-dependencias-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: #444444;
  border-bottom: 1px solid #f0f0f0;
}

.transparency-dependencias-table tbody tr:hover {
  background: #f8f8f8;
}

.transparency-dependencias-table tbody tr:last-child td {
  border-bottom: none;
}

/* Estilos para tabla de documentos (Item 1.3) */
.documentos-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.documentos-controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.documentos-search {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}

.transparency-documentos-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.transparency-documentos-table thead {
  background: #F2F2F2;
}

.transparency-documentos-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #444444;
  border-bottom: 2px solid #e0e0e0;
}

.transparency-documentos-table th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background 0.2s ease;
}

.transparency-documentos-table th.sortable:hover {
  background: #e8e8e8;
}

.transparency-documentos-table th .sort-arrow {
  margin-left: 8px;
  font-size: 12px;
  opacity: 0.5;
}

.transparency-documentos-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: #444444;
  border-bottom: 1px solid #e0e0e0;
}

.transparency-documentos-table tbody tr:hover {
  background: #f8f8f8;
}

.transparency-documentos-table tbody tr:last-child td {
  border-bottom: none;
}

.documento-view-link {
  display: inline-flex;
  align-items: center;
  color: #444444;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  transition: color 0.2s ease;
}

.documento-view-link:hover {
  color: #00A6B8;
}

.documento-view-link svg {
  color: #444444;
  transition: color 0.2s ease;
}

.documento-view-link:hover svg {
  color: #00A6B8;
}

.documentos-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.dependencias-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.page-btn {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #444444;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 40px;
}

.page-btn:hover {
  background: #f5f5f5;
  border-color: #00A6B8;
  color: #00A6B8;
}

.page-btn.active {
  background: #00A6B8;
  color: #ffffff;
  border-color: #00A6B8;
}

.page-dots {
  padding: 8px 4px;
  color: #999999;
}

/* Botón de Acto Administrativo */
.transparency-suin-button {
  display: inline-block;
  padding: 12px 32px;
  background-color: #00A6B8;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.transparency-suin-button:hover {
  background-color: #008a99;
  color: #FFFFFF;
  text-decoration: none;
}

.transparency-suin-button:focus {
  outline: 2px solid #00A6B8;
  outline-offset: 2px;
}

.transparency-acto-button-wrapper {
  margin: 32px 0;
  text-align: right;
}

.transparency-acto-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #00A6B8;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  max-height: 40px;
}

.transparency-acto-button:hover {
  background: #007b8a;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 184, 0.3);
}

/* Responsive para Organigrama y Dependencias */
@media (max-width: 768px) {
  .org-subdirectors {
    flex-direction: column;
    align-items: center;
  }
  
  .org-person.subdirector {
    margin: 0 0 30px 0;
  }
  
  .dependencias-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .dependencias-controls-left {
    flex-wrap: wrap;
  }
  
  .dependencias-search {
    width: 100%;
  }
  
  .search-input {
    width: 100%;
  }
  
  .transparency-dependencias-table {
    font-size: 12px;
  }
  
  .transparency-dependencias-table th,
  .transparency-dependencias-table td {
    padding: 12px 16px;
  }
  
  .documentos-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .documentos-controls-left {
    flex-wrap: wrap;
  }
  
  .transparency-documentos-table {
    font-size: 12px;
  }
  
  .transparency-documentos-table th,
  .transparency-documentos-table td {
    padding: 12px 16px;
  }
  
  .dependencias-pagination {
    flex-wrap: wrap;
  }
}

/* Estilos para Calendario de Actividades (Item 1.11) */
.transparency-calendar-wrapper {
  margin-top: 32px;
}

.transparency-calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.calendar-nav-btn {
  background: #00A6B8;
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.calendar-nav-btn:hover {
  background: #008A9A;
}

.calendar-month-year {
  font-size: 20px;
  font-weight: 700;
  color: #444444;
  margin: 0;
  flex: 1;
  text-align: center;
}

.calendar-view-buttons {
  display: flex;
  gap: 8px;
}

.calendar-view-btn {
  background: #F2F2F2;
  color: #444444;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.calendar-view-btn.active,
.calendar-view-btn:hover {
  background: #00A6B8;
  color: #FFFFFF;
}

.transparency-calendar-container {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transparency-calendar-grid {
  display: flex;
  flex-direction: column;
}

.calendar-week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #444444;
  padding: 12px 8px;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #444444;
  transition: all 0.2s;
  position: relative;
}

.calendar-day:hover {
  background: #E8F4F6;
  border-color: #00A6B8;
}

.calendar-day.other-month {
  color: #CCCCCC;
  background: #FAFAFA;
}

.calendar-day.today {
  background: #FDDA2F;
  font-weight: 700;
  border-color: #FDDA2F;
}

.calendar-day.has-activity {
  background: #E8F4F6;
  border-color: #00A6B8;
  font-weight: 600;
}

.calendar-day.has-activity::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #00A6B8;
  border-radius: 50%;
}

.calendar-day.has-activity {
  flex-direction: column;
  align-items: flex-start;
  padding: 4px;
  overflow: hidden;
}

.calendar-day-number {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.calendar-day-activities {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.calendar-day-activity-preview {
  font-size: 10px;
  color: #00A6B8;
  background: rgba(0, 166, 184, 0.1);
  padding: 2px 4px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.calendar-day-activity-more {
  font-size: 9px;
  color: #666666;
  font-style: italic;
  text-align: center;
  padding: 2px;
}

/* Modal de actividad */
.transparency-activity-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.transparency-activity-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.activity-modal-content {
  position: relative;
  background: #FFFFFF;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.activity-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #444444;
  cursor: pointer;
  line-height: 1;
  z-index: 10002;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-modal-close:hover {
  color: #00A6B8;
}

.activity-modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #E0E0E0;
  background: #F9F9F9;
}

.activity-nav-prev,
.activity-nav-next {
  background: #00A6B8;
  color: #FFFFFF;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.activity-nav-prev:hover:not(:disabled),
.activity-nav-next:hover:not(:disabled) {
  background: #008A9A;
  transform: scale(1.1);
}

.activity-nav-prev:disabled,
.activity-nav-next:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
  opacity: 0.5;
}

.activity-nav-counter {
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  min-width: 60px;
  text-align: center;
}

.activity-modal-body {
  padding: 32px;
}

.activity-modal-image {
  margin-bottom: 24px;
  text-align: center;
}

.activity-modal-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.activity-modal-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-modal-titulo {
  font-size: 24px;
  font-weight: 700;
  color: #00A6B8;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E8F4F6;
}

.activity-modal-fecha {
  font-size: 18px;
  font-weight: 700;
  color: #00A6B8;
}

.activity-modal-hora {
  font-size: 16px;
  font-weight: 600;
  color: #444444;
}

.activity-modal-descripcion {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Vista de Semana */
.calendar-week-view {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  min-height: 400px;
}

.calendar-week-day {
  background: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 12px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-week-activity {
  background: #E8F4F6;
  border: 1px solid #00A6B8;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-week-activity:hover {
  background: #D0E8EC;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 166, 184, 0.2);
}

.activity-title {
  font-size: 14px;
  font-weight: 700;
  color: #444444;
  margin-bottom: 6px;
}

.activity-time {
  font-size: 12px;
  font-weight: 700;
  color: #00A6B8;
  margin-bottom: 4px;
}

.activity-desc {
  font-size: 13px;
  color: #444444;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.calendar-week-empty {
  color: #999999;
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
  font-style: italic;
}

/* Vista de Día */
.calendar-day-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
}

.calendar-day-activity {
  background: #FFFFFF;
  border: 2px solid #00A6B8;
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day-activity:hover {
  box-shadow: 0 4px 12px rgba(0, 166, 184, 0.2);
  transform: translateY(-2px);
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.activity-title-large {
  font-size: 20px;
  font-weight: 700;
  color: #00A6B8;
  flex: 1;
}

.activity-time-large {
  font-size: 18px;
  font-weight: 700;
  color: #00A6B8;
  padding: 8px 16px;
  background: #E8F4F6;
  border-radius: 4px;
}

.activity-image {
  margin: 16px 0;
  text-align: center;
}

.activity-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
  object-fit: cover;
}

.activity-description {
  font-size: 14px;
  color: #444444;
  line-height: 1.6;
  white-space: pre-wrap;
}

.calendar-day-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999999;
  font-size: 16px;
  font-style: italic;
}

/* Responsive para calendario */
@media (max-width: 768px) {
  .transparency-calendar-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .calendar-month-year {
    text-align: center;
    order: -1;
  }
  
  .calendar-view-buttons {
    justify-content: center;
  }
  
  .calendar-day {
    font-size: 12px;
    padding: 4px;
  }
  
  .calendar-week-view {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .calendar-week-day {
    min-height: 200px;
  }
  
  .calendar-day-activity {
    padding: 16px;
  }
  
  .activity-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .activity-modal-body {
    padding: 24px;
  }
}

/* Participa Section Styles */
.participa-breadcrumbs {
  padding: 24px 0 16px;
  font-size: 14px;
  color: #999999;
}

.participa-breadcrumbs a {
  color: #999999;
  text-decoration: none;
}

.participa-breadcrumbs a:hover {
  color: #00a6b8;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999999;
}

.participa-title-section {
  padding: 32px 0 24px;
}

.participa-main-title {
  font-size: 25px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 16px;
  line-height: 1.3;
}

.participa-title-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin-bottom: 24px;
  border-radius: 2px;
}

.participa-intro {
  margin-bottom: 48px;
}

.participa-intro p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

.participa-mechanisms-section {
  margin-bottom: 48px;
}

.participa-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #444444;
  margin-bottom: 24px;
}

.participa-subsection {
  margin-bottom: 32px;
}

.participa-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #444444;
  margin-bottom: 16px;
}

.participa-description {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
}

.participa-button {
  display: inline-block;
  padding: 12px 32px;
  background-color: #00a6b8;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  margin-top: 8px;
}

.participa-button:hover {
  background-color: #007b8a;
  color: #ffffff;
}

.participa-links-section {
  margin-bottom: 48px;
}

.participa-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.participa-links-list li {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.participa-links-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #444444;
}

.participa-links-list li a {
  color: #444444;
  text-decoration: none;
}

.participa-links-list li a:hover {
  color: #00a6b8;
  text-decoration: underline;
}

/* Participa editable content (WYSIWYG) */
.participa-editable-content {
  margin-bottom: 48px;
}

.participa-editable-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
}

.participa-editable-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #444444;
  margin-top: 40px;
  margin-bottom: 24px;
}

.participa-editable-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #444444;
  margin-top: 28px;
  margin-bottom: 16px;
}

.participa-editable-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.participa-editable-content ul li {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.participa-editable-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #444444;
}

.participa-editable-content ul li a {
  color: #444444;
  text-decoration: none;
}

.participa-editable-content ul li a:hover {
  color: #00a6b8;
  text-decoration: underline;
}

.participa-editable-content a.participa-button,
.participa-editable-content .participa-button,
.participa-editable-content p > a.participa-button,
.participa-editable-content p > .participa-button {
  display: inline-block;
  padding: 12px 32px;
  background-color: #00a6b8 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px !important;
  transition: background-color 0.3s ease;
  margin-top: 8px;
  margin-bottom: 32px;
}

.participa-editable-content a.participa-button:hover,
.participa-editable-content .participa-button:hover,
.participa-editable-content p > a.participa-button:hover,
.participa-editable-content p > .participa-button:hover {
  background-color: #007b8a !important;
  color: #ffffff !important;
}

/* Participa Accordion Styles */
.participa-accordion-section {
  margin-bottom: 48px;
}

.participa-accordion-item {
  border: none;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #F2F2F2;
  transition: all 0.3s ease;
}

/* Estilos para items del acordeón que son enlaces directos (página principal) */
.participa-accordion-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.participa-accordion-link:hover {
  text-decoration: none;
}

.participa-accordion-link .participa-accordion-header {
  cursor: pointer;
}

.participa-accordion-link:hover .participa-accordion-header {
  background: #e8e8e8;
}

.participa-accordion-item.active {
  background: #F2F2F2;
}

.participa-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 48px;
  background: #F2F2F2;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  gap: 16px;
  color: #444444;
}

.participa-accordion-header:hover {
  background: #e8e8e8;
}

.participa-accordion-item.active .participa-accordion-header {
  background: #F2F2F2;
  color: #444444;
  border-radius: 10px 10px 0 0;
}

.participa-accordion-item.active .participa-accordion-header:hover {
  background: #e8e8e8;
}

.participa-accordion-item .accordion-number {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  color: inherit;
}

.participa-accordion-item .accordion-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

.participa-accordion-item .accordion-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #666666;
}

.participa-accordion-item.active .accordion-arrow {
  color: #00a6b8;
}

.participa-accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  padding: 0 24px;
}

.participa-accordion-item.active .participa-accordion-content {
  height: auto;
  padding: 24px;
  background: transparent;
}

.accordion-content-inner {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}

/* Responsive styles for Participa */
@media (max-width: 768px) {
  .participa-main-title {
    font-size: 24px;
  }

  .participa-title-underline {
    width: 50px;
    height: 6px;
  }

  .participa-accordion-header {
    padding: 16px 20px;
    height: auto;
    min-height: 48px;
  }

  .accordion-title {
    font-size: 13px;
  }

  .participa-accordion-item.active .participa-accordion-content {
    padding: 20px;
  }

  .participa-button {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* Dark mode support for Participa */
body.dark-mode .participa-breadcrumbs {
  color: #999999;
}

body.dark-mode .participa-breadcrumbs a {
  color: #999999;
}

body.dark-mode .participa-main-title {
  color: #00a6b8;
}

body.dark-mode .participa-intro p,
body.dark-mode .participa-description,
body.dark-mode .participa-links-list li {
  color: #e0e0e0;
}

body.dark-mode .participa-editable-content p,
body.dark-mode .participa-editable-content h2,
body.dark-mode .participa-editable-content h3,
body.dark-mode .participa-editable-content ul li {
  color: #e0e0e0;
}

body.dark-mode .participa-editable-content ul li::before {
  color: #e0e0e0;
}

body.dark-mode .participa-accordion-item {
  background: #2a2a2a;
}

body.dark-mode .participa-accordion-header {
  background: #2a2a2a;
  color: #e0e0e0;
}

body.dark-mode .participa-accordion-item.active .participa-accordion-header {
  background: #2a2a2a;
}

body.dark-mode .accordion-title {
  color: #e0e0e0;
}

body.dark-mode .accordion-content-inner {
  color: #e0e0e0;
}

/* Participa Detail Page Styles */
.participa-detail-wrapper {
  display: flex;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 16px;
  align-items: flex-start;
}

.participa-sidebar {
  width: 350px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
}

.participa-sidebar::-webkit-scrollbar {
  width: 6px;
}

.participa-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.participa-sidebar::-webkit-scrollbar-thumb {
  background: #00a6b8;
  border-radius: 3px;
}

.participa-sidebar::-webkit-scrollbar-thumb:hover {
  background: #007b8a;
}

.participa-sidebar-content {
  width: 100%;
}

.participa-accordion-sidebar .participa-accordion-item {
  margin-bottom: 8px;
}

.participa-accordion-sidebar .participa-accordion-header {
  font-size: 14px;
  padding: 12px 16px;
  height: auto;
  min-height: 48px;
}

.participa-accordion-sidebar .accordion-title {
  font-size: 14px;
}

.participa-accordion-sidebar .accordion-number {
  font-size: 14px;
}

.participa-accordion-sidebar .participa-accordion-content {
  padding: 0 16px 12px;
}

.participa-accordion-sidebar .participa-accordion-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.participa-accordion-sidebar .participa-accordion-link:hover {
  text-decoration: none;
}

/* Estilos para items activos en el sidebar - igual que transparencia */
.participa-accordion-sidebar .participa-accordion-link.active .participa-accordion-header {
  background: #00A6B8;
  color: #FFFFFF;
}

.participa-accordion-sidebar .participa-accordion-link.active .participa-accordion-header:hover {
  background: #007b8a;
  color: #FFFFFF;
}

.participa-accordion-sidebar .participa-accordion-link.active .accordion-title {
  color: #FFFFFF;
  font-weight: 700;
}

.participa-accordion-sidebar .participa-accordion-link.active .accordion-number {
  color: #FFFFFF;
}

.participa-accordion-sidebar .participa-accordion-link.active .accordion-arrow {
  color: #FFFFFF;
}

.accordion-link {
  display: inline-block;
  color: #00a6b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.accordion-link:hover {
  color: #007b8a;
  text-decoration: underline;
}

.accordion-link.active {
  font-weight: 700;
  color: #007b8a;
}

.participa-detail-content {
  flex: 1;
  min-width: 0;
}

.participa-detail-main {
  padding: 0;
}

.participa-detail-section {
  margin-bottom: 48px;
}

.participa-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 12px;
  line-height: 1.3;
}

.participa-detail-underline {
  width: 59px;
  height: 7px;
  background: #00a6b8;
  margin-bottom: 24px;
  border-radius: 2px;
}

.participa-detail-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
  margin-top: 16px;
}

.participa-detail-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
}

.participa-detail-link {
  display: inline-block;
  color: #00a6b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.participa-detail-link:hover {
  color: #007b8a;
  text-decoration: underline;
}

/* Responsive styles for Participa Detail */
@media (max-width: 1024px) {
  .participa-detail-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  
  .participa-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    max-height: none;
    overflow-y: visible;
  }
  
  .participa-detail-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .participa-detail-wrapper {
    padding: 16px;
  }
  
  .participa-sidebar {
    padding: 12px;
  }
  
  .participa-detail-title {
    font-size: 20px;
  }
  
  .participa-detail-text {
    font-size: 15px;
  }
}

/* Dark mode support for Participa Detail */
body.dark-mode .participa-sidebar {
  background: #2a2a2a;
}

body.dark-mode .participa-detail-title {
  color: #00a6b8;
}

body.dark-mode .participa-detail-text,
body.dark-mode .participa-detail-text p {
  color: #e0e0e0;
}

body.dark-mode .accordion-link {
  color: #00a6b8;
}

body.dark-mode .accordion-link:hover,
body.dark-mode .accordion-link.active {
  color: #00c4d9;
}

body.dark-mode .participa-detail-link {
  color: #00a6b8;
}

body.dark-mode .participa-detail-link:hover {
  color: #00c4d9;
}

/* El acordeón de detalle de Participa ahora usa las clases de transparencia */
/* Los estilos se aplican automáticamente desde .transparency-accordion-* */

/* ============================================
   Quienes Somos Page Styles
   ============================================ */

/* Hero Section */
.quienes-somos-hero-section {
  position: relative;
  height: 500px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.quienes-somos-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.quienes-somos-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
  padding: 0 16px;
  color: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.quienes-somos-hero-breadcrumbs {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #ffffff;
  padding: 20px 16px 16px;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.quienes-somos-hero-breadcrumbs-line {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: calc(100% - 32px);
  height: 1px;
  background: #FFFFFF;
  margin: 0 auto;
}

.quienes-somos-hero-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.quienes-somos-hero-breadcrumbs a:hover {
  opacity: 0.8;
}

.quienes-somos-hero-breadcrumbs .breadcrumb-separator {
  margin: 0 8px;
  color: #ffffff;
}

.quienes-somos-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.quienes-somos-hero-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin: 0;
  border-radius: 2px;
}

/* Sections */
.quienes-somos-section {
  padding: 60px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.quienes-somos-section-title {
  font-size: 25px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 16px;
  line-height: 1.3;
}

.quienes-somos-title-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin-bottom: 32px;
  border-radius: 2px;
}

.quienes-somos-section-content {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}

.quienes-somos-section-content p {
  margin-bottom: 16px;
}

.quienes-somos-activities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quienes-somos-activities-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}

.quienes-somos-activities-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #00a6b8;
  font-size: 20px;
  line-height: 1;
}

/* Tabs */
.quienes-somos-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid #e0e0e0;
}

.quienes-somos-tab-button {
  padding: 16px 32px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #444444;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.quienes-somos-tab-button:hover {
  color: #00a6b8;
  background: #f8f8f8;
}

.quienes-somos-tab-button.active {
  color: #00a6b8;
  border-bottom-color: #00a6b8;
  background: transparent;
}

.quienes-somos-tab-content {
  position: relative;
}

.quienes-somos-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.quienes-somos-tab-panel.active {
  display: block;
}

.quienes-somos-tab-panel p {
  margin-bottom: 16px;
}

/* Misión y Visión Vertical */
.quienes-somos-mision-vision-vertical {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.quienes-somos-mv-item {
  background: #f8f8f8;
  padding: 32px;
  border-radius: 8px;
}

.quienes-somos-mv-title {
  font-size: 24px;
  font-weight: 700;
  color: #00a6b8;
  margin-bottom: 16px;
}

.quienes-somos-mv-content {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}

.quienes-somos-mv-content p {
  margin-bottom: 12px;
}

/* Subdirecciones Grid */
.quienes-somos-subdirecciones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.quienes-somos-subdireccion-card {
  position: relative;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.quienes-somos-subdireccion-card:hover {
  transform: translateY(-4px);
}

.quienes-somos-subdireccion-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.quienes-somos-subdireccion-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 24px;
  color: #ffffff;
}

.quienes-somos-subdireccion-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles for Quienes Somos */
@media (min-width: 768px) {
  .quienes-somos-hero-title {
    font-size: 56px;
  }

  .quienes-somos-subdirecciones-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .quienes-somos-hero-title {
    font-size: 64px;
  }

  .quienes-somos-section-title {
    font-size: 25px;
  }
}

/* Dark mode support for Quienes Somos */
body.dark-mode .quienes-somos-hero-breadcrumbs {
  color: #ffffff;
}

body.dark-mode .quienes-somos-section-content,
body.dark-mode .quienes-somos-activities-list li,
body.dark-mode .quienes-somos-mv-content {
  color: #e0e0e0;
}

body.dark-mode .quienes-somos-mv-item {
  background: #2a2a2a;
}

/* Equipo List Styles */
.quienes-somos-equipo-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.quienes-somos-equipo-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.quienes-somos-equipo-item:last-child {
  border-bottom: none;
}

.quienes-somos-equipo-photo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.quienes-somos-equipo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quienes-somos-equipo-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #e0e0e0;
}

.quienes-somos-equipo-info {
  flex: 1;
}

.quienes-somos-equipo-name {
  font-size: 18px;
  font-weight: 700;
  color: #00a6b8;
  margin: 0 0 8px 0;
}

.quienes-somos-equipo-cargo {
  font-size: 14px;
  color: #444444;
  margin: 0 0 12px 0;
}

.quienes-somos-equipo-link {
  font-size: 14px;
  color: #444444;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quienes-somos-equipo-link:hover {
  color: #00a6b8;
}

/* Equipo Modal Styles */
.quienes-somos-equipo-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
}

.quienes-somos-equipo-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quienes-somos-equipo-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.quienes-somos-equipo-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  max-width: 1100px;
  width: 95%;
  max-height: 80vh;
  overflow: hidden;
  z-index: 10001;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.quienes-somos-equipo-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00a6b8;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: background 0.3s ease;
}

.quienes-somos-equipo-modal-close:hover {
  background: #007b8a;
}

.quienes-somos-equipo-modal-close svg {
  width: 16px;
  height: 16px;
}

.quienes-somos-equipo-modal-body {
  display: flex;
  gap: 40px;
  padding: 60px 40px 40px 40px;
  flex: 1;
  overflow-y: auto;
  align-items: stretch;
}

.quienes-somos-equipo-modal-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.quienes-somos-equipo-modal-name {
  font-size: 22px;
  font-weight: 700;
  color: #00a6b8;
  margin: 0 0 8px 0;
}

.quienes-somos-equipo-modal-cargo {
  font-size: 20px;
  color: #535353;
  margin: 0 0 16px 0;
}

.quienes-somos-equipo-modal-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin: 0 0 24px 0;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

.quienes-somos-equipo-modal-bio {
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
  flex: 1;
}

.quienes-somos-equipo-modal-bio p {
  margin-bottom: 16px;
}

.quienes-somos-equipo-modal-image {
  flex-shrink: 0;
  width: 350px;
  display: flex;
  align-items: stretch;
}

.quienes-somos-equipo-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive for Equipo Modal */
@media (max-width: 768px) {
  .quienes-somos-equipo-modal-content {
    max-width: 95%;
    max-height: 90vh;
  }

  .quienes-somos-equipo-modal-body {
    flex-direction: column;
    padding: 24px;
    align-items: stretch;
  }

  .quienes-somos-equipo-modal-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    height: auto;
  }

  .quienes-somos-equipo-modal-image img {
    height: auto;
    min-height: auto;
  }

  .quienes-somos-equipo-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .quienes-somos-equipo-photo {
    width: 100px;
    height: 100px;
  }
}

/* Dark mode support for Equipo */
body.dark-mode .quienes-somos-equipo-item {
  border-bottom-color: #444;
}

body.dark-mode .quienes-somos-equipo-cargo,
body.dark-mode .quienes-somos-equipo-link {
  color: #e0e0e0;
}

body.dark-mode .quienes-somos-equipo-modal-content {
  background: #2a2a2a;
}

body.dark-mode .quienes-somos-equipo-modal-cargo,
body.dark-mode .quienes-somos-equipo-modal-bio {
  color: #e0e0e0;
}

/* ============================================
   Proyectos Page Styles
   ============================================ */

/* Proyectos Content Section */
.proyectos-content-section {
  padding: 40px 0;
}

.proyectos-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.proyectos-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
}

.proyectos-content h2,
.proyectos-content h3,
.proyectos-content h4 {
  color: #2d2d2d;
  margin-top: 24px;
  margin-bottom: 16px;
}

/* Proyectos Hero Section */
.proyectos-hero-section {
  position: relative;
  height: 500px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.proyectos-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.proyectos-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
  padding: 0 16px;
  color: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.proyectos-hero-breadcrumbs {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #ffffff;
  padding: 20px 16px 16px;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.proyectos-hero-breadcrumbs-line {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: calc(100% - 32px);
  height: 1px;
  background: #FFFFFF;
  margin: 0 auto;
}

.proyectos-hero-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.proyectos-hero-breadcrumbs a:hover {
  opacity: 0.8;
}

.proyectos-hero-breadcrumbs .breadcrumb-separator {
  margin: 0 8px;
  color: #ffffff;
}

.proyectos-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.proyectos-hero-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin: 0;
  border-radius: 2px;
}

.proyectos-filters-section {
  padding: 40px 0 32px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 40px;
}

.proyectos-filters-categorias {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.proyectos-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.proyectos-filter-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #CDCDCD;
  border-radius: 4px;
  color: #444444;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.proyectos-filter-btn:hover:not(.disabled) {
  background: #f5f5f5;
  border-color: #00a6b8;
  color: #00a6b8;
}

.proyectos-filter-btn.active {
  background: #00a6b8;
  border-color: #00a6b8;
  color: #ffffff;
  font-weight: 500;
}

.proyectos-filter-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.proyectos-grid-section {
  padding-bottom: 60px;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.proyecto-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 340px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  text-decoration: none;
  color: inherit;
}

.proyecto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.proyecto-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.proyecto-card:hover .proyecto-card-image {
  transform: scale(1.05);
}

.proyecto-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
  padding: 32px 24px;
  color: #ffffff;
  transition: padding 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proyecto-card:hover .proyecto-card-overlay {
  padding-bottom: 36px;
}

.proyecto-card-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  color: #ffffff;
  margin: 0;
}

.no-proyectos {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}

/* Responsive for Proyectos */
@media (min-width: 640px) {
  .proyectos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

/* Dark mode support for Proyectos */
body.dark-mode .proyectos-filters-section {
  border-bottom-color: #444;
}

body.dark-mode .proyectos-filters-categorias {
  border-top-color: #444;
}

body.dark-mode .proyectos-filter-btn {
  border-color: #555;
  color: #e0e0e0;
}

body.dark-mode .proyectos-filter-btn:hover:not(.disabled) {
  background: #333;
  border-color: #00a6b8;
  color: #00a6b8;
}

body.dark-mode .proyecto-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .proyecto-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark-mode .proyecto-card-title {
  color: #ffffff;
}

body.dark-mode .no-proyectos {
  color: #999;
}

/* ============================================
   Proyecto Detail Page Styles
   ============================================ */

.proyecto-detail-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 16px;
}

.proyecto-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 24px;
  align-items: flex-start;
}

.proyecto-detail-image-column {
  width: 100%;
}

.proyecto-detail-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.proyecto-detail-text-column {
  width: 100%;
}

.proyecto-detail-title {
  font-size: 36px;
  font-weight: 700;
  color: #00a6b8;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.proyecto-detail-underline {
  width: 59px;
  height: 7px;
  background: #FDDA2F;
  margin: 0 0 32px 0;
  border-radius: 2px;
}

.proyecto-detail-content-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
}

.proyecto-detail-content-text p {
  margin-bottom: 16px;
}

.proyecto-detail-content-text h2,
.proyecto-detail-content-text h3,
.proyecto-detail-content-text h4 {
  color: #2d2d2d;
  margin-top: 24px;
  margin-bottom: 16px;
}

/* Responsive for Proyecto Detail */
@media (max-width: 1024px) {
  .proyecto-detail-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .proyecto-detail-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .proyecto-detail-wrapper {
    padding: 24px 16px;
  }
  
  .proyecto-detail-title {
    font-size: 24px;
  }
  
  .proyecto-detail-content-text {
    font-size: 15px;
  }
}

/* Dark mode support for Proyecto Detail */
body.dark-mode .proyecto-detail-content-text {
  color: #e0e0e0;
}

body.dark-mode .proyecto-detail-content-text h2,
body.dark-mode .proyecto-detail-content-text h3,
body.dark-mode .proyecto-detail-content-text h4 {
  color: #ffffff;
}

/* ========== Estilos unificados (extra_css) ========== */
.main-header {
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gov-co-logo-img {
  padding-left: 0;
}

.header-logo-img {
  width: 220px;
  height: auto;
}

@media (min-width: 1280px) {
  .services-grid {
    padding: 0 32px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}

.services-section {
  padding: 1px 16px 80px;
}

.search-content {
  max-width: 1132px;
}

.search-input {
  border: none;
}

.hero-title {
  line-height: 1.1;
}

.hero-underline {
  width: 60px;
  height: 6px;
  background-color: #fdda2f;
  margin-bottom: 24px;
  border-radius: 20px;
}

.introduction-section {
  padding: 50px 16px;
}

@media (min-width: 768px) {
  .discover-cards {
    gap: 10px;
  }
}

@media (min-width: 1024px) {
  .opportunities-content {
    gap: 10px;
  }
  .opportunities-logo {
    max-width: 470px;
  }
  a.discover-card {
    gap: 16px;
  }
}

.opportunities-logo {
  padding: 0;
  background-color: transparent;
}

.opportunities-logo-img {
  max-width: 470px;
  width: 100%;
  height: auto;
}

.footer-text {
  line-height: 1.5;
}

.footer-divider {
  width: 34px;
  height: 5px;
  background-color: #fdda2f;
  border-radius: 10px;
  margin: 5px 0 7px 0;
}

.discover-card-underline {
  width: 60px;
  height: 7px;
  background-color: #fdda2f;
  border-radius: 20px;
  margin-left: 0;
}

.discover-more-description {
  max-width: 1160px;
}

.opportunities-section {
  background-color: #1a2d4d;
  color: #ffffff;
  padding: 60px 20px;
  min-height: 218px;
  display: flex;
  align-items: center;
  border-top: none;
  border-bottom: 2px solid #00a6b8;
}

.quienes-somos-title-underline {
  border-radius: 20px;
  margin-bottom: 22px;
}

.quienes-somos-tabs {
  border-bottom: 1px solid #e0e0e0;
}

.transparency-accordion-item {
  border-top: none;
}

.transparency-detail-underline {
  border-radius: 20px;
}

.transparency-title-underline {
  border-radius: 20px;
}

.transparency-tab-button {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  color: #b7b7b7;
}

.transparency-tab-button.active {
  font-weight: bold;
}

.transparency-detail-section {
  margin-bottom: 0;
}

.transparency-tabs-nav {
  border-bottom: 1px solid #e0e0e0;
}

.transparency-accordion-item.active .transparency-accordion-content {
  padding: 0 10px !important;
}

.accordion-image-wrapper {
  margin-top: 10px;
  margin-bottom: 1px;
}

.quienes-somos-tab-button {
  font-weight: 300;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #b7b7b7;
}

.quienes-somos-tab-button.active {
  font-weight: bold;
}

.participa-title-underline {
  border-radius: 20px;
}

.participa-detail-underline {
  background: #FDDA2F;
  border-radius: 20px;
}

