 
html {
    scroll-behavior: smooth;
}



 
  #single p {
    margin-bottom: 1.5em;
    line-height: 1.75;
  }
  
  #single h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
  }

  #single ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
  }
  


#servydep {
background-color: #AFB5E0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='71' height='71' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23FFFFFF' fill-opacity='0.09' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
}

 
.menu {
    @apply flex items-center gap-8;
}

.menu li {
    @apply list-none;
}

.menu a {
    @apply text-slate-700 font-medium hover:text-[#416ed2] py-2 border-b-2 border-transparent hover:border-[#416ed2] transition-all duration-300;
}

.menu .current-menu-item a,
.menu .current_page_item a {
    @apply text-[#416ed2] border-[#416ed2];
}


#mobile-menu .menu {
    @apply flex flex-col gap-2;
}

#mobile-menu .menu a {
    @apply block px-4 py-2 hover:bg-gray-50 rounded border-0;
}


.custom-logo {
    @apply h-16 w-auto;
}


.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    50% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}


.parallax-bg {
    transition: transform 0.5s ease-out;
}


a:focus-visible,
button:focus-visible {
    @apply outline-none ring-2 ring-blue-500 ring-offset-2 rounded;
}


a, button, .group {
    @apply transition-all duration-300 ease-in-out;
}



.group:hover img {
    @apply transform scale-105;
}


.shadow-custom {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.shadow-custom-hover:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}


header.sticky {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.70);
}


.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.overlay-animated {
    position: relative;
    overflow: hidden;
}

.overlay-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.overlay-animated:hover::before {
    left: 100%;
}


.prose {
    @apply text-gray-800 leading-relaxed;
}

.prose h2 {
    @apply text-2xl font-bold text-slate-900 mt-8 mb-4;
}

.prose h3 {
    @apply text-xl font-bold text-slate-900 mt-6 mb-3;
}

.prose h4 {
    @apply text-lg font-bold text-slate-900 mt-4 mb-2;
}

.prose p {
    @apply mb-4 leading-relaxed;
}

.prose ul, .prose ol {
    @apply mb-4 ml-6;
}

.prose ul {
    @apply list-disc;
}

.prose ol {
    @apply list-decimal;
}

.prose li {
    @apply mb-2;
}

.prose a {
    @apply text-[#416ed2] hover:text-blue-700 underline;
}

.prose img {
    @apply rounded-lg my-6 shadow-md;
}

.prose blockquote {
    @apply border-l-4 border-[#416ed2] pl-4 italic my-6 text-gray-700;
}

.prose code {
    @apply bg-gray-100 px-2 py-1 rounded text-sm font-mono;
}

.prose pre {
    @apply bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-6;
}

.prose table {
    @apply w-full border-collapse my-6;
}

.prose th {
    @apply bg-gray-100 border border-gray-300 px-4 py-2 font-bold text-left;
}

.prose td {
    @apply border border-gray-300 px-4 py-2;
}


.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.pagination {
    @apply flex items-center justify-center gap-2 mt-8;
}

.page-numbers {
    @apply inline-flex items-center gap-1 px-4 py-2 text-sm font-medium rounded-md transition-colors;
}

.page-numbers.current {
    @apply bg-[#416ed2] text-white;
}

.page-numbers:not(.current):not(.dots) {
    @apply bg-white text-gray-700 border border-gray-300 hover:bg-gray-50 hover:border-blue-500;
}

.page-numbers.dots {
    @apply text-gray-500 border-0;
}

.page-numbers.prev,
.page-numbers.next {
    @apply inline-flex items-center gap-2;
}

 
.news-archive article {
    @apply transition-all duration-300;
}

 
.news-archive article img {
    @apply transition-all duration-500;
}

 
.news-archive article:hover {
    @apply shadow-lg;
}

 
.prose img {
    @apply rounded-xl my-8 shadow-lg;
}

.prose figure img {
    @apply rounded-xl;
}

 
.prose .wp-block-gallery img {
    @apply rounded-lg;
}

.prose .wp-block-image img {
    @apply rounded-xl shadow-md;
}

 
.swiper-pagination-bullet {
    @apply !bg-white !opacity-70;
}

.swiper-pagination-bullet-active {
    @apply !opacity-100 !bg-white;
}

 
.prose {
    @apply text-gray-700;
}

 
.prose img {
    @apply rounded my-8 shadow-lg;
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

 
.prose figure {
    @apply my-8;
}

.prose figure img {
    @apply rounded shadow-lg m-0;
}

.prose figcaption {
    @apply text-center text-sm text-gray-600 italic mt-3;
}

 
.prose .alignleft {
    @apply float-left mr-6 mb-4;
    max-width: 50%;
}

.prose .alignright {
    @apply float-right ml-6 mb-4;
    max-width: 50%;
}

.prose .aligncenter {
    @apply block mx-auto;
}

 
.prose .wp-block-gallery {
    @apply grid gap-4 my-8;
}

.prose .wp-block-gallery.columns-2 {
    @apply grid-cols-2;
}

.prose .wp-block-gallery.columns-3 {
    @apply grid-cols-3;
}

.prose .wp-block-gallery img {
    @apply rounded-xl shadow-md m-0;
}

 
.prose .wp-block-image {
    @apply my-8;
}

.prose .wp-block-image img {
    @apply rounded shadow-lg;
}

.prose .wp-block-image.alignleft {
    @apply float-left mr-6 mb-4;
    max-width: 50%;
}

.prose .wp-block-image.alignright {
    @apply float-right ml-6 mb-4;
    max-width: 50%;
}

.prose .wp-block-image.aligncenter {
    @apply mx-auto;
}

 
.prose p {
    @apply my-5 leading-relaxed;
}

 
.prose h1 {
    @apply text-2xl font-bold text-slate-900 mt-8 mb-4;
}

.prose h2 {
    @apply text-xl font-bold text-slate-900 mt-8 mb-4;
}

.prose h3 {
    @apply text-2xl font-bold text-slate-900 mt-6 mb-3;
}

.prose h4 {
    @apply text-xl font-bold text-slate-900 mt-6 mb-3;
}

 
.prose ul,
.prose ol {
    @apply my-6 space-y-2;
}

.prose ul li,
.prose ol li {
    @apply leading-relaxed;
}

.prose ul {
    @apply list-disc pl-6;
}

.prose ol {
    @apply list-decimal pl-6;
}

 
.prose a {
    @apply text-[#416ed2] hover:text-blue-700 underline decoration-blue-300 hover:decoration-blue-500 transition-colors;
}

 
.prose blockquote {
    @apply border-l-4 border-blue-500 pl-6 py-4 my-6 bg-blue-50 rounded-r-lg italic text-gray-700;
}
 
.prose table {
    @apply w-full my-8 border-collapse;
}

.prose table thead {
    @apply bg-gray-100;
}

.prose table th {
    @apply border border-gray-300 px-4 py-3 text-left font-semibold text-slate-900;
}

.prose table td {
    @apply border border-gray-300 px-4 py-3;
}

.prose table tr:nth-child(even) {
    @apply bg-gray-50;
}

 
.prose code {
    @apply bg-gray-100 text-red-600 px-2 py-1 rounded text-sm font-mono;
}

.prose pre {
    @apply bg-slate-900 text-gray-100 p-6 rounded-xl my-6 overflow-x-auto;
}

.prose pre code {
    @apply bg-transparent text-gray-100 p-0;
}

 
.prose hr {
    @apply my-8 border-t-2 border-gray-200;
}

 
.prose iframe,
.prose video {
    @apply rounded-xl shadow-lg my-8 w-full;
}

 
.prose .wp-block-embed {
    @apply my-8;
}

.prose .wp-block-embed iframe {
    @apply rounded-xl shadow-lg;
}

 
@media (max-width: 640px) {
    .prose .alignleft,
    .prose .alignright,
    .prose .wp-block-image.alignleft,
    .prose .wp-block-image.alignright {
        @apply float-none mx-auto mb-6;
        max-width: 100%;
    }
    
    .prose .wp-block-gallery.columns-3 {
        @apply grid-cols-2;
    }
}

 
.prose .size-full,
.prose .size-large,
.prose .size-medium {
    @apply rounded shadow-lg;
}

 
.prose img,
.prose figure img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}



 
.menu > .menu-item {
    position: relative;
}

 
.menu > .menu-item > ul {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5rem;
}

 
.menu .menu-item ul {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0.25rem;
}

 
.menu .menu-item:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
}
 
.menu .menu-item ul:hover {
    opacity: 1 !important;
    visibility: visible !important;
}

 
.menu .menu-item > ul::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.5rem;
    height: 0.5rem;
    background: transparent;
}

 
.menu .menu-item ul ul::before {
    content: '';
    position: absolute;
    left: -0.25rem;
    top: 0;
    bottom: 0;
    width: 0.25rem;
    background: transparent;
}

 
.menu .menu-item ul {
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateY(-10px);
}

.menu .menu-item:hover > ul {
    transform: translateY(0);
}

 
.menu .menu-item ul ul {
    transform: translateX(-10px);
}

.menu .menu-item ul .menu-item:hover > ul {
    transform: translateX(0);
}

 
.menu .menu-item.current-menu-item > a,
.menu .menu-item.current-menu-ancestor > a {
    color: #2563eb;
    background-color: #eff6ff;
}

 
.menu .menu-item ul ul {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(0, 0, 0, 0.05);
}

 
@media (max-width: 1023px) {
    .menu > .menu-item > ul,
    .menu .menu-item ul ul {
        display: none !important;
    }
}





body {
    overflow-x: hidden;
}


.noticias-swiper {
    overflow: hidden; 
}


.swiper-button-prev-noticias,
.swiper-button-next-noticias {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #005eb8;
}

.swiper-button-prev-noticias {
    left: 0;  
}

.swiper-button-next-noticias {
    right: 0;
}

.swiper-button-prev-noticias:hover,
.swiper-button-next-noticias:hover {
    background: #005eb8;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 94, 184, 0.3);
    transform: translateY(-50%) scale(1.05);
}

 
.swiper-button-prev-noticias::after,
.swiper-button-next-noticias::after {
    font-family: swiper-icons;
    font-size: 24px;
    font-weight: bold;
}

.swiper-button-prev-noticias::after {
    content: 'prev';
}

.swiper-button-next-noticias::after {
    content: 'next';
}

 
.swiper-button-prev-noticias.swiper-button-disabled,
.swiper-button-next-noticias.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

 
@media (max-width: 1024px) {
    .swiper-button-prev-noticias,
    .swiper-button-next-noticias {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-prev-noticias::after,
    .swiper-button-next-noticias::after {
        font-size: 20px;
    }
}

 
@media (max-width: 768px) {
    .swiper-button-prev-noticias,
    .swiper-button-next-noticias {
        display: none;  
    }
}

 
.noticias-swiper .swiper-pagination {
    bottom: 0 !important;
}

.noticias-swiper .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    padding: 14px;  
    box-sizing: content-box;
}


.noticias-swiper .swiper-pagination-bullet-active {

    opacity: 1;
    width: 24px;
    border-radius: 5px;
}


