/**
 * Elementor Widgets PDA - Frontend Styles
 *
 * @package Elementor_Widgets_PDA
 * @version 1.0.0
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

.ewpda-widget {
    position: relative;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.ewpda-flex {
    display: flex;
}

.ewpda-flex-wrap {
    flex-wrap: wrap;
}

.ewpda-items-center {
    align-items: center;
}

.ewpda-justify-center {
    justify-content: center;
}

.ewpda-justify-between {
    justify-content: space-between;
}

.ewpda-text-center {
    text-align: center;
}

.ewpda-hidden {
    display: none;
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.ewpda-fade-in {
    animation: ewpdaFadeIn 0.3s ease-in-out;
}

.ewpda-slide-up {
    animation: ewpdaSlideUp 0.3s ease-in-out;
}

@keyframes ewpdaFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes ewpdaSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.ewpda-loading {
    position: relative;
    pointer-events: none;
}

.ewpda-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: ewpdaSpin 1s linear infinite;
}

@keyframes ewpdaSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 1024px) {
    .ewpda-hide-tablet {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .ewpda-hide-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Add your custom widget styles below
   ========================================================================== */
/* ==========================================================================
   EWPDA Image Card Widget
   ========================================================================== */

.ewpda-ic-card {
    display: block;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.ewpda-ic-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.ewpda-ic-card__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    transition: background-color 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

/* Link styles */
a.ewpda-ic-card {
    color: inherit;
    text-decoration: none;
    display: block;
}

a.ewpda-ic-card:hover {
    text-decoration: none;
}

a.ewpda-ic-card:focus {
    outline: none;
}

/* ==========================================================================
   EWPDA Timeline Widget
   ========================================================================== */

.ewpda-tl {
    position: relative;
    width: 100%;
}

/* Linha Central */
.ewpda-tl__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #1B4F72;
    transform: translateX(-50%);
    z-index: 1;
}

/* Item da Timeline */
.ewpda-tl__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px; /* Safari < 14.1 fallback */
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.ewpda-tl__item:last-child {
    margin-bottom: 0;
}

/* Marcador/Dot */
.ewpda-tl__dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background-color: #1B4F72;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(27, 79, 114, 0.2);
}

/* Conteúdo */
.ewpda-tl__content {
    position: relative;
}

.ewpda-tl__date {
    font-size: 14px;
    font-weight: 500;
    color: #1B4F72;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.ewpda-tl__title {
    font-size: 24px;
    font-weight: 700;
    color: #1B4F72;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.ewpda-tl__description {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

/* Imagem */
.ewpda-tl__image {
    position: relative;
}

.ewpda-tl__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Layout - Item à Esquerda (conteúdo esquerda, imagem direita) */
.ewpda-tl__item--left .ewpda-tl__content {
    grid-column: 1;
    text-align: right;
    padding-right: 30px;
}

.ewpda-tl__item--left .ewpda-tl__image {
    grid-column: 2;
    padding-left: 30px;
}

/* Layout - Item à Direita (imagem esquerda, conteúdo direita) */
.ewpda-tl__item--right {
    direction: rtl;
}

.ewpda-tl__item--right > * {
    direction: ltr;
}

.ewpda-tl__item--right .ewpda-tl__content {
    grid-column: 1;
    text-align: left;
    padding-left: 30px;
}

.ewpda-tl__item--right .ewpda-tl__image {
    grid-column: 2;
    padding-right: 30px;
}

/* Layout Fixo Esquerda */
.ewpda-tl--left .ewpda-tl__line {
    left: 30px;
}

.ewpda-tl--left .ewpda-tl__item {
    grid-template-columns: 60px 1fr 1fr;
}

.ewpda-tl--left .ewpda-tl__dot {
    left: 30px;
}

/* Layout Fixo Direita */
.ewpda-tl--right .ewpda-tl__line {
    left: auto;
    right: 30px;
}

.ewpda-tl--right .ewpda-tl__item {
    grid-template-columns: 1fr 1fr 60px;
}

.ewpda-tl--right .ewpda-tl__dot {
    left: auto;
    right: 30px;
    transform: translateX(50%);
}

/* ==========================================================================
   Timeline Animações
   ========================================================================== */

/* Estado inicial - escondido */
.ewpda-tl__item--hidden {
    opacity: 0;
}

.ewpda-tl__item--hidden .ewpda-tl__content,
.ewpda-tl__item--hidden .ewpda-tl__image {
    opacity: 0;
}

/* Fade */
.ewpda-tl--animated[data-animation="fade"] .ewpda-tl__item--hidden .ewpda-tl__content,
.ewpda-tl--animated[data-animation="fade"] .ewpda-tl__item--hidden .ewpda-tl__image {
    opacity: 0;
}

/* Fade + Slide */
.ewpda-tl--animated[data-animation="fade-slide"] .ewpda-tl__item--left.ewpda-tl__item--hidden .ewpda-tl__content {
    transform: translateX(-50px);
}

.ewpda-tl--animated[data-animation="fade-slide"] .ewpda-tl__item--left.ewpda-tl__item--hidden .ewpda-tl__image {
    transform: translateX(50px);
}

.ewpda-tl--animated[data-animation="fade-slide"] .ewpda-tl__item--right.ewpda-tl__item--hidden .ewpda-tl__content {
    transform: translateX(50px);
}

.ewpda-tl--animated[data-animation="fade-slide"] .ewpda-tl__item--right.ewpda-tl__item--hidden .ewpda-tl__image {
    transform: translateX(-50px);
}

/* Fade + Scale */
.ewpda-tl--animated[data-animation="fade-scale"] .ewpda-tl__item--hidden .ewpda-tl__content,
.ewpda-tl--animated[data-animation="fade-scale"] .ewpda-tl__item--hidden .ewpda-tl__image {
    transform: scale(0.8);
}

/* Slide Only */
.ewpda-tl--animated[data-animation="slide-only"] .ewpda-tl__item--left.ewpda-tl__item--hidden .ewpda-tl__content {
    transform: translateX(-80px);
    opacity: 1;
}

.ewpda-tl--animated[data-animation="slide-only"] .ewpda-tl__item--left.ewpda-tl__item--hidden .ewpda-tl__image {
    transform: translateX(80px);
    opacity: 1;
}

.ewpda-tl--animated[data-animation="slide-only"] .ewpda-tl__item--right.ewpda-tl__item--hidden .ewpda-tl__content {
    transform: translateX(80px);
    opacity: 1;
}

.ewpda-tl--animated[data-animation="slide-only"] .ewpda-tl__item--right.ewpda-tl__item--hidden .ewpda-tl__image {
    transform: translateX(-80px);
    opacity: 1;
}

/* Blur In */
.ewpda-tl--animated[data-animation="blur-in"] .ewpda-tl__item--hidden .ewpda-tl__content,
.ewpda-tl--animated[data-animation="blur-in"] .ewpda-tl__item--hidden .ewpda-tl__image {
    -webkit-filter: blur(10px);
    filter: blur(10px);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Rotate In */
.ewpda-tl--animated[data-animation="rotate-in"] .ewpda-tl__item--left.ewpda-tl__item--hidden .ewpda-tl__content {
    transform: translateX(-30px) rotate(-5deg);
}

.ewpda-tl--animated[data-animation="rotate-in"] .ewpda-tl__item--left.ewpda-tl__item--hidden .ewpda-tl__image {
    transform: translateX(30px) rotate(5deg);
}

.ewpda-tl--animated[data-animation="rotate-in"] .ewpda-tl__item--right.ewpda-tl__item--hidden .ewpda-tl__content {
    transform: translateX(30px) rotate(5deg);
}

.ewpda-tl--animated[data-animation="rotate-in"] .ewpda-tl__item--right.ewpda-tl__item--hidden .ewpda-tl__image {
    transform: translateX(-30px) rotate(-5deg);
}

/* Estado Visível - Animado */
.ewpda-tl__item--visible {
    opacity: 1;
}

.ewpda-tl__item--visible .ewpda-tl__content,
.ewpda-tl__item--visible .ewpda-tl__image {
    opacity: 1;
    -webkit-transform: translateX(0) scale(1) rotate(0);
    transform: translateX(0) scale(1) rotate(0);
    -webkit-filter: blur(0);
    filter: blur(0);
}

/* ==========================================================================
   Timeline Responsivo
   ========================================================================== */

@media (max-width: 1024px) {
    .ewpda-tl__item {
        grid-gap: 30px; /* Safari < 14.1 fallback */
        gap: 30px;
    }
    
    .ewpda-tl__item--left .ewpda-tl__content {
        padding-right: 20px;
    }
    
    .ewpda-tl__item--left .ewpda-tl__image {
        padding-left: 20px;
    }
    
    .ewpda-tl__item--right .ewpda-tl__content {
        padding-left: 20px;
    }
    
    .ewpda-tl__item--right .ewpda-tl__image {
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    /* Linha à esquerda no mobile */
    .ewpda-tl__line {
        left: 15px !important;
        transform: none;
    }
    
    /* Marcador à esquerda */
    .ewpda-tl__dot {
        left: 15px !important;
        top: 5px;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
    }
    
    /* Layout coluna única */
    .ewpda-tl__item {
        display: block !important;
        grid-template-columns: none !important;
        padding-left: 40px;
        margin-bottom: 40px;
    }
    
    .ewpda-tl__item--left,
    .ewpda-tl__item--right {
        direction: ltr;
    }
    
    /* Conteúdo alinhado à esquerda */
    .ewpda-tl__item--left .ewpda-tl__content,
    .ewpda-tl__item--right .ewpda-tl__content {
        text-align: left;
        padding: 0 0 15px 0;
    }
    
    /* Imagem abaixo do conteúdo */
    .ewpda-tl__item--left .ewpda-tl__image,
    .ewpda-tl__item--right .ewpda-tl__image {
        padding: 0;
    }
    
    .ewpda-tl__image img {
        max-width: 100%;
    }
    
    /* Tipografia mobile */
    .ewpda-tl__date {
        font-size: 12px;
    }
    
    .ewpda-tl__title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .ewpda-tl__description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Fix para layouts fixos */
    .ewpda-tl--left .ewpda-tl__line,
    .ewpda-tl--right .ewpda-tl__line {
        left: 15px !important;
        right: auto !important;
    }
    
    .ewpda-tl--left .ewpda-tl__dot,
    .ewpda-tl--right .ewpda-tl__dot {
        left: 15px !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    
    .ewpda-tl--left .ewpda-tl__item,
    .ewpda-tl--right .ewpda-tl__item {
        padding-left: 40px;
    }
}

/* ==========================================================================
   EWPDA Container Hover Animations
   ========================================================================== */

/* Base para animações */
.ewpda-hover-animated {
    --ewpda-hover-duration: 0.3s;
    --ewpda-hover-delay: 0s;
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: var(--ewpda-hover-duration);
    transition-delay: var(--ewpda-hover-delay);
    transition-property: transform, box-shadow, background-color;
    transition-timing-function: ease-out;
}

/* ==========================================================================
   2D Transitions
   ========================================================================== */

/* Grow */
.ewpda-hover-grow:hover,
.ewpda-hover-grow:focus,
.ewpda-hover-grow:active {
    transform: scale(1.1);
}

/* Shrink */
.ewpda-hover-shrink:hover,
.ewpda-hover-shrink:focus,
.ewpda-hover-shrink:active {
    transform: scale(0.9);
}

/* Pulse */
@keyframes ewpda-pulse {
    25% { transform: scale(1.1); }
    75% { transform: scale(0.9); }
}
.ewpda-hover-pulse:hover,
.ewpda-hover-pulse:focus,
.ewpda-hover-pulse:active {
    animation: ewpda-pulse 1s linear infinite;
}

/* Pulse Grow */
@keyframes ewpda-pulse-grow {
    to { transform: scale(1.1); }
}
.ewpda-hover-pulse-grow:hover,
.ewpda-hover-pulse-grow:focus,
.ewpda-hover-pulse-grow:active {
    animation: ewpda-pulse-grow 0.3s linear infinite alternate;
}

/* Pulse Shrink */
@keyframes ewpda-pulse-shrink {
    to { transform: scale(0.9); }
}
.ewpda-hover-pulse-shrink:hover,
.ewpda-hover-pulse-shrink:focus,
.ewpda-hover-pulse-shrink:active {
    animation: ewpda-pulse-shrink 0.3s linear infinite alternate;
}

/* Push */
@keyframes ewpda-push {
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
}
.ewpda-hover-push:hover,
.ewpda-hover-push:focus,
.ewpda-hover-push:active {
    animation: ewpda-push 0.3s linear 1;
}

/* Pop */
@keyframes ewpda-pop {
    50% { transform: scale(1.2); }
}
.ewpda-hover-pop:hover,
.ewpda-hover-pop:focus,
.ewpda-hover-pop:active {
    animation: ewpda-pop 0.3s linear 1;
}

/* Bounce In */
.ewpda-hover-bounce-in {
    transition-duration: 0.5s;
}
.ewpda-hover-bounce-in:hover,
.ewpda-hover-bounce-in:focus,
.ewpda-hover-bounce-in:active {
    transform: scale(1.2);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* Bounce Out */
.ewpda-hover-bounce-out {
    transition-duration: 0.5s;
}
.ewpda-hover-bounce-out:hover,
.ewpda-hover-bounce-out:focus,
.ewpda-hover-bounce-out:active {
    transform: scale(0.8);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* Rotate */
.ewpda-hover-rotate {
    transition-duration: var(--ewpda-hover-duration);
    transition-property: transform;
}
.ewpda-hover-rotate:hover,
.ewpda-hover-rotate:focus,
.ewpda-hover-rotate:active {
    transform: rotate(4deg);
}

/* Grow Rotate */
.ewpda-hover-grow-rotate {
    transition-duration: var(--ewpda-hover-duration);
    transition-property: transform;
}
.ewpda-hover-grow-rotate:hover,
.ewpda-hover-grow-rotate:focus,
.ewpda-hover-grow-rotate:active {
    transform: scale(1.1) rotate(4deg);
}

/* Float */
.ewpda-hover-float:hover,
.ewpda-hover-float:focus,
.ewpda-hover-float:active {
    transform: translateY(-8px);
}

/* Sink */
.ewpda-hover-sink:hover,
.ewpda-hover-sink:focus,
.ewpda-hover-sink:active {
    transform: translateY(8px);
}

/* Bob */
@keyframes ewpda-bob {
    0% { transform: translateY(-8px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(-8px); }
}
@keyframes ewpda-bob-float {
    100% { transform: translateY(-8px); }
}
.ewpda-hover-bob:hover,
.ewpda-hover-bob:focus,
.ewpda-hover-bob:active {
    animation: ewpda-bob-float 0.35s ease-out forwards, ewpda-bob 1.5s ease-in-out infinite 0.35s;
}

/* Hang */
@keyframes ewpda-hang {
    0% { transform: translateY(8px); }
    50% { transform: translateY(4px); }
    100% { transform: translateY(8px); }
}
@keyframes ewpda-hang-sink {
    100% { transform: translateY(8px); }
}
.ewpda-hover-hang:hover,
.ewpda-hover-hang:focus,
.ewpda-hover-hang:active {
    animation: ewpda-hang-sink 0.35s ease-out forwards, ewpda-hang 1.5s ease-in-out infinite 0.35s;
}

/* Skew */
.ewpda-hover-skew:hover,
.ewpda-hover-skew:focus,
.ewpda-hover-skew:active {
    transform: skew(-10deg);
}

/* Skew Forward */
.ewpda-hover-skew-forward {
    transform-origin: 0 100%;
}
.ewpda-hover-skew-forward:hover,
.ewpda-hover-skew-forward:focus,
.ewpda-hover-skew-forward:active {
    transform: skew(-10deg);
}

/* Skew Backward */
.ewpda-hover-skew-backward {
    transform-origin: 0 100%;
}
.ewpda-hover-skew-backward:hover,
.ewpda-hover-skew-backward:focus,
.ewpda-hover-skew-backward:active {
    transform: skew(10deg);
}

/* Wobble Vertical */
@keyframes ewpda-wobble-vertical {
    16.65% { transform: translateY(8px); }
    33.3% { transform: translateY(-6px); }
    49.95% { transform: translateY(4px); }
    66.6% { transform: translateY(-2px); }
    83.25% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}
.ewpda-hover-wobble-vertical:hover,
.ewpda-hover-wobble-vertical:focus,
.ewpda-hover-wobble-vertical:active {
    animation: ewpda-wobble-vertical 1s ease-in-out 1;
}

/* Wobble Horizontal */
@keyframes ewpda-wobble-horizontal {
    16.65% { transform: translateX(8px); }
    33.3% { transform: translateX(-6px); }
    49.95% { transform: translateX(4px); }
    66.6% { transform: translateX(-2px); }
    83.25% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}
.ewpda-hover-wobble-horizontal:hover,
.ewpda-hover-wobble-horizontal:focus,
.ewpda-hover-wobble-horizontal:active {
    animation: ewpda-wobble-horizontal 1s ease-in-out 1;
}

/* Wobble To Bottom Right */
@keyframes ewpda-wobble-to-bottom-right {
    16.65% { transform: translate(8px, 8px); }
    33.3% { transform: translate(-6px, -6px); }
    49.95% { transform: translate(4px, 4px); }
    66.6% { transform: translate(-2px, -2px); }
    83.25% { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}
.ewpda-hover-wobble-to-bottom-right:hover,
.ewpda-hover-wobble-to-bottom-right:focus,
.ewpda-hover-wobble-to-bottom-right:active {
    animation: ewpda-wobble-to-bottom-right 1s ease-in-out 1;
}

/* Wobble To Top Right */
@keyframes ewpda-wobble-to-top-right {
    16.65% { transform: translate(8px, -8px); }
    33.3% { transform: translate(-6px, 6px); }
    49.95% { transform: translate(4px, -4px); }
    66.6% { transform: translate(-2px, 2px); }
    83.25% { transform: translate(1px, -1px); }
    100% { transform: translate(0, 0); }
}
.ewpda-hover-wobble-to-top-right:hover,
.ewpda-hover-wobble-to-top-right:focus,
.ewpda-hover-wobble-to-top-right:active {
    animation: ewpda-wobble-to-top-right 1s ease-in-out 1;
}

/* Wobble Top */
@keyframes ewpda-wobble-top {
    16.65% { transform: skew(-12deg); }
    33.3% { transform: skew(10deg); }
    49.95% { transform: skew(-6deg); }
    66.6% { transform: skew(4deg); }
    83.25% { transform: skew(-2deg); }
    100% { transform: skew(0); }
}
.ewpda-hover-wobble-top {
    transform-origin: 0 100%;
}
.ewpda-hover-wobble-top:hover,
.ewpda-hover-wobble-top:focus,
.ewpda-hover-wobble-top:active {
    animation: ewpda-wobble-top 1s ease-in-out 1;
}

/* Wobble Bottom */
@keyframes ewpda-wobble-bottom {
    16.65% { transform: skew(-12deg); }
    33.3% { transform: skew(10deg); }
    49.95% { transform: skew(-6deg); }
    66.6% { transform: skew(4deg); }
    83.25% { transform: skew(-2deg); }
    100% { transform: skew(0); }
}
.ewpda-hover-wobble-bottom {
    transform-origin: 100% 0;
}
.ewpda-hover-wobble-bottom:hover,
.ewpda-hover-wobble-bottom:focus,
.ewpda-hover-wobble-bottom:active {
    animation: ewpda-wobble-bottom 1s ease-in-out 1;
}

/* Wobble Skew */
@keyframes ewpda-wobble-skew {
    16.65% { transform: skew(-12deg); }
    33.3% { transform: skew(10deg); }
    49.95% { transform: skew(-6deg); }
    66.6% { transform: skew(4deg); }
    83.25% { transform: skew(-2deg); }
    100% { transform: skew(0); }
}
.ewpda-hover-wobble-skew:hover,
.ewpda-hover-wobble-skew:focus,
.ewpda-hover-wobble-skew:active {
    animation: ewpda-wobble-skew 1s ease-in-out 1;
}

/* Buzz */
@keyframes ewpda-buzz {
    50% { transform: translateX(3px) rotate(2deg); }
    100% { transform: translateX(-3px) rotate(-2deg); }
}
.ewpda-hover-buzz:hover,
.ewpda-hover-buzz:focus,
.ewpda-hover-buzz:active {
    animation: ewpda-buzz 0.15s linear infinite;
}

/* Buzz Out */
@keyframes ewpda-buzz-out {
    10% { transform: translateX(3px) rotate(2deg); }
    20% { transform: translateX(-3px) rotate(-2deg); }
    30% { transform: translateX(3px) rotate(2deg); }
    40% { transform: translateX(-3px) rotate(-2deg); }
    50% { transform: translateX(2px) rotate(1deg); }
    60% { transform: translateX(-2px) rotate(-1deg); }
    70% { transform: translateX(2px) rotate(1deg); }
    80% { transform: translateX(-2px) rotate(-1deg); }
    90% { transform: translateX(1px) rotate(0); }
    100% { transform: translateX(-1px) rotate(0); }
}
.ewpda-hover-buzz-out:hover,
.ewpda-hover-buzz-out:focus,
.ewpda-hover-buzz-out:active {
    animation: ewpda-buzz-out 0.75s linear 1;
}

/* Forward */
.ewpda-hover-forward:hover,
.ewpda-hover-forward:focus,
.ewpda-hover-forward:active {
    transform: translateX(8px);
}

/* Backward */
.ewpda-hover-backward:hover,
.ewpda-hover-backward:focus,
.ewpda-hover-backward:active {
    transform: translateX(-8px);
}

/* ==========================================================================
   Background Transitions
   ========================================================================== */

/* Fade */
.ewpda-hover-fade {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-fade::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity var(--ewpda-hover-duration) ease;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-fade:hover::before,
.ewpda-hover-fade:focus::before,
.ewpda-hover-fade:active::before {
    opacity: 1;
}

/* Back Pulse */
@keyframes ewpda-back-pulse {
    50% { background-color: rgba(0, 0, 0, 0.1); }
}
.ewpda-hover-back-pulse:hover,
.ewpda-hover-back-pulse:focus,
.ewpda-hover-back-pulse:active {
    animation: ewpda-back-pulse 1s linear infinite;
}

/* Sweep To Right */
.ewpda-hover-sweep-to-right {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-sweep-to-right::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-sweep-to-right:hover::before,
.ewpda-hover-sweep-to-right:focus::before,
.ewpda-hover-sweep-to-right:active::before {
    transform: scaleX(1);
}

/* Sweep To Left */
.ewpda-hover-sweep-to-left {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-sweep-to-left::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-sweep-to-left:hover::before,
.ewpda-hover-sweep-to-left:focus::before,
.ewpda-hover-sweep-to-left:active::before {
    transform: scaleX(1);
}

/* Sweep To Bottom */
.ewpda-hover-sweep-to-bottom {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-sweep-to-bottom::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: 50% 0;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-sweep-to-bottom:hover::before,
.ewpda-hover-sweep-to-bottom:focus::before,
.ewpda-hover-sweep-to-bottom:active::before {
    transform: scaleY(1);
}

/* Sweep To Top */
.ewpda-hover-sweep-to-top {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-sweep-to-top::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-sweep-to-top:hover::before,
.ewpda-hover-sweep-to-top:focus::before,
.ewpda-hover-sweep-to-top:active::before {
    transform: scaleY(1);
}

/* Bounce To Right */
.ewpda-hover-bounce-to-right {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-bounce-to-right::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.5s cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-bounce-to-right:hover::before,
.ewpda-hover-bounce-to-right:focus::before,
.ewpda-hover-bounce-to-right:active::before {
    transform: scaleX(1);
}

/* Bounce To Left */
.ewpda-hover-bounce-to-left {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-bounce-to-left::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform 0.5s cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-bounce-to-left:hover::before,
.ewpda-hover-bounce-to-left:focus::before,
.ewpda-hover-bounce-to-left:active::before {
    transform: scaleX(1);
}

/* Bounce To Bottom */
.ewpda-hover-bounce-to-bottom {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-bounce-to-bottom::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: 50% 0;
    transition: transform 0.5s cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-bounce-to-bottom:hover::before,
.ewpda-hover-bounce-to-bottom:focus::before,
.ewpda-hover-bounce-to-bottom:active::before {
    transform: scaleY(1);
}

/* Bounce To Top */
.ewpda-hover-bounce-to-top {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-bounce-to-top::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform 0.5s cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-bounce-to-top:hover::before,
.ewpda-hover-bounce-to-top:focus::before,
.ewpda-hover-bounce-to-top:active::before {
    transform: scaleY(1);
}

/* Radial Out */
.ewpda-hover-radial-out {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-radial-out::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    transform: scale(0);
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-radial-out:hover::before,
.ewpda-hover-radial-out:focus::before,
.ewpda-hover-radial-out:active::before {
    transform: scale(2);
}

/* Radial In */
.ewpda-hover-radial-in {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-radial-in::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    transform: scale(2);
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-radial-in:hover::before,
.ewpda-hover-radial-in:focus::before,
.ewpda-hover-radial-in:active::before {
    transform: scale(0);
}

/* Rectangle In */
.ewpda-hover-rectangle-in {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-rectangle-in::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-rectangle-in:hover::before,
.ewpda-hover-rectangle-in:focus::before,
.ewpda-hover-rectangle-in:active::before {
    transform: scale(0);
}

/* Rectangle Out */
.ewpda-hover-rectangle-out {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-rectangle-out::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(0);
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-rectangle-out:hover::before,
.ewpda-hover-rectangle-out:focus::before,
.ewpda-hover-rectangle-out:active::before {
    transform: scale(1);
}

/* Shutter In Horizontal */
.ewpda-hover-shutter-in-horizontal {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-shutter-in-horizontal::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(1);
    transform-origin: 50%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-shutter-in-horizontal:hover::before,
.ewpda-hover-shutter-in-horizontal:focus::before,
.ewpda-hover-shutter-in-horizontal:active::before {
    transform: scaleX(0);
}

/* Shutter Out Horizontal */
.ewpda-hover-shutter-out-horizontal {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-shutter-out-horizontal::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0);
    transform-origin: 50%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-shutter-out-horizontal:hover::before,
.ewpda-hover-shutter-out-horizontal:focus::before,
.ewpda-hover-shutter-out-horizontal:active::before {
    transform: scaleX(1);
}

/* Shutter In Vertical */
.ewpda-hover-shutter-in-vertical {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-shutter-in-vertical::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(1);
    transform-origin: 50%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-shutter-in-vertical:hover::before,
.ewpda-hover-shutter-in-vertical:focus::before,
.ewpda-hover-shutter-in-vertical:active::before {
    transform: scaleY(0);
}

/* Shutter Out Vertical */
.ewpda-hover-shutter-out-vertical {
    overflow: hidden;
    position: relative;
}
.ewpda-hover-shutter-out-vertical::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: 50%;
    transition: transform var(--ewpda-hover-duration) ease-out;
    transition-delay: var(--ewpda-hover-delay);
}
.ewpda-hover-shutter-out-vertical:hover::before,
.ewpda-hover-shutter-out-vertical:focus::before,
.ewpda-hover-shutter-out-vertical:active::before {
    transform: scaleY(1);
}

/* ==========================================================================
   EWPDA Feature Card Widget
   ========================================================================== */

.ewpda-fc {
    --ewpda-fc-transition: 0.3s;
    --ewpda-fc-bg: #7C3AED;
    --ewpda-fc-content-height: 140px;
    --ewpda-fc-padding: 30px;
    --ewpda-fc-image-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    min-height: 400px;
    border-radius: 20px;
    display: block;
    background-color: var(--ewpda-fc-bg);
}

/* Imagem via ::before usando CSS variable */
.ewpda-fc::before {
    content: "";
    position: absolute;
    /* Fallback para Safari < 14.1 que não suporta inset */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background-image: var(--ewpda-fc-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Estado normal: imagem com "moldura" roxa ao redor - NÃO cobre área do texto */
    /* Fallback sem round para Safari < 16.4 */
    -webkit-clip-path: inset(
        var(--ewpda-fc-padding) 
        var(--ewpda-fc-padding) 
        calc(var(--ewpda-fc-content-height) + var(--ewpda-fc-padding)) 
        var(--ewpda-fc-padding)
    );
    clip-path: inset(
        var(--ewpda-fc-padding) 
        var(--ewpda-fc-padding) 
        calc(var(--ewpda-fc-content-height) + var(--ewpda-fc-padding)) 
        var(--ewpda-fc-padding)
    );
    /* Versão com round para navegadores modernos (Safari 16.4+, Chrome, Firefox) */
    border-radius: var(--ewpda-fc-image-radius);
    -webkit-transition: -webkit-clip-path var(--ewpda-fc-transition) ease,
                        clip-path var(--ewpda-fc-transition) ease,
                        transform var(--ewpda-fc-transition) ease;
    transition: -webkit-clip-path var(--ewpda-fc-transition) ease,
                clip-path var(--ewpda-fc-transition) ease,
                transform var(--ewpda-fc-transition) ease;
    z-index: 1;
}

/* Overlay escuro via ::after - aparece no hover */
.ewpda-fc::after {
    content: "";
    position: absolute;
    /* Fallback para Safari < 14.1 */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    -webkit-transition: opacity var(--ewpda-fc-transition) ease;
    transition: opacity var(--ewpda-fc-transition) ease;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
}

/* Content Area - Área de texto embaixo */
.ewpda-fc__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    z-index: 10;
    min-height: var(--ewpda-fc-content-height);
    box-sizing: border-box;
    background-color: transparent !important;
}

/* Texto */
.ewpda-fc__text {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* Seta */
.ewpda-fc__arrow {
    color: #FFFFFF;
    font-size: 24px;
    margin-top: 12px;
    transition: transform var(--ewpda-fc-transition) ease;
}

.ewpda-fc__arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
}

/* ==========================================================================
   Feature Card - Estado Hover
   ========================================================================== */

/* clip-path com round para navegadores que suportam (Safari 16.4+, Chrome, Firefox) */
@supports (clip-path: inset(0 round 0)) {
    .ewpda-fc::before {
        -webkit-clip-path: inset(
            var(--ewpda-fc-padding) 
            var(--ewpda-fc-padding) 
            calc(var(--ewpda-fc-content-height) + var(--ewpda-fc-padding)) 
            var(--ewpda-fc-padding) 
            round var(--ewpda-fc-image-radius)
        );
        clip-path: inset(
            var(--ewpda-fc-padding) 
            var(--ewpda-fc-padding) 
            calc(var(--ewpda-fc-content-height) + var(--ewpda-fc-padding)) 
            var(--ewpda-fc-padding) 
            round var(--ewpda-fc-image-radius)
        );
    }
}

/* No hover, a imagem expande para preencher TODO o card */
.ewpda-fc:hover::before {
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    border-radius: 0; /* Reset border-radius do fallback */
}

/* Overlay aparece no hover */
.ewpda-fc:hover::after {
    opacity: 1;
}

/* Seta move para direita */
.ewpda-fc:hover .ewpda-fc__arrow {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
}

/* Link styles */
a.ewpda-fc {
    color: inherit;
    text-decoration: none;
    display: block;
}

a.ewpda-fc:hover {
    text-decoration: none;
}

a.ewpda-fc:focus {
    outline: none;
}

/* ==========================================================================
   Feature Card - Responsivo
   ========================================================================== */

@media (max-width: 767px) {
    .ewpda-fc {
        --ewpda-fc-padding: 20px;
    }
    
    .ewpda-fc__content {
        padding: 25px 20px;
    }
    
    .ewpda-fc__text {
        font-size: 16px;
    }
    
    .ewpda-fc__arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   EWPDA Info Card Widget
   ========================================================================== */

.ewpda-ic {
    --ewpda-ic-transition: 0.3s;
    --ewpda-ic-bg: #7C3AED;
    --ewpda-ic-header-height: 80px;
    --ewpda-ic-content-height: 140px;
    --ewpda-ic-padding: 30px;
    --ewpda-ic-image-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    min-height: 400px;
    border-radius: 20px;
    display: block;
    background-color: var(--ewpda-ic-bg);
}

/* Imagem via ::before usando CSS variable */
.ewpda-ic::before {
    content: "";
    position: absolute;
    /* Fallback para Safari < 14.1 que não suporta inset */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background-image: var(--ewpda-ic-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Estado normal: imagem com "moldura" ao redor - NÃO cobre área do título nem do texto */
    /* Fallback sem round para Safari < 16.4 */
    -webkit-clip-path: inset(
        calc(var(--ewpda-ic-header-height) + var(--ewpda-ic-padding)) 
        var(--ewpda-ic-padding) 
        calc(var(--ewpda-ic-content-height) + var(--ewpda-ic-padding)) 
        var(--ewpda-ic-padding)
    );
    clip-path: inset(
        calc(var(--ewpda-ic-header-height) + var(--ewpda-ic-padding)) 
        var(--ewpda-ic-padding) 
        calc(var(--ewpda-ic-content-height) + var(--ewpda-ic-padding)) 
        var(--ewpda-ic-padding)
    );
    /* Versão com round para navegadores modernos (Safari 16.4+, Chrome, Firefox) */
    border-radius: var(--ewpda-ic-image-radius);
    -webkit-transition: -webkit-clip-path var(--ewpda-ic-transition) ease,
                        clip-path var(--ewpda-ic-transition) ease,
                        transform var(--ewpda-ic-transition) ease;
    transition: -webkit-clip-path var(--ewpda-ic-transition) ease,
                clip-path var(--ewpda-ic-transition) ease,
                transform var(--ewpda-ic-transition) ease;
    z-index: 1;
}

/* Overlay escuro via ::after - aparece no hover */
.ewpda-ic::after {
    content: "";
    position: absolute;
    /* Fallback para Safari < 14.1 */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    -webkit-transition: opacity var(--ewpda-ic-transition) ease;
    transition: opacity var(--ewpda-ic-transition) ease;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
}

/* Header Area - Área do título em cima */
.ewpda-ic__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    z-index: 10;
    min-height: var(--ewpda-ic-header-height);
    box-sizing: border-box;
    background-color: transparent !important;
}

/* Título */
.ewpda-ic__title {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    transition: color var(--ewpda-ic-transition) ease, text-shadow var(--ewpda-ic-transition) ease;
}

/* Content Area - Área de texto embaixo */
.ewpda-ic__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    z-index: 10;
    min-height: var(--ewpda-ic-content-height);
    box-sizing: border-box;
    background-color: transparent !important;
}

/* Texto */
.ewpda-ic__text {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* Seta */
.ewpda-ic__arrow {
    color: #FFFFFF;
    font-size: 24px;
    margin-top: 12px;
    transition: transform var(--ewpda-ic-transition) ease;
}

.ewpda-ic__arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
}

/* ==========================================================================
   Info Card - Estado Hover
   ========================================================================== */

/* No hover, a imagem expande para preencher TODO o card */
.ewpda-ic:hover::before {
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    border-radius: 0; /* Reset border-radius do fallback */
}

/* Overlay aparece no hover */
.ewpda-ic:hover::after {
    opacity: 1;
}

/* Seta move para direita */
.ewpda-ic:hover .ewpda-ic__arrow {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
}

/* clip-path com round para navegadores que suportam (Safari 16.4+, Chrome, Firefox) */
@supports (clip-path: inset(0 round 0)) {
    .ewpda-ic::before {
        -webkit-clip-path: inset(
            calc(var(--ewpda-ic-header-height) + var(--ewpda-ic-padding)) 
            var(--ewpda-ic-padding) 
            calc(var(--ewpda-ic-content-height) + var(--ewpda-ic-padding)) 
            var(--ewpda-ic-padding) 
            round var(--ewpda-ic-image-radius)
        );
        clip-path: inset(
            calc(var(--ewpda-ic-header-height) + var(--ewpda-ic-padding)) 
            var(--ewpda-ic-padding) 
            calc(var(--ewpda-ic-content-height) + var(--ewpda-ic-padding)) 
            var(--ewpda-ic-padding) 
            round var(--ewpda-ic-image-radius)
        );
    }
}

/* Link styles */
a.ewpda-ic {
    color: inherit;
    text-decoration: none;
    display: block;
}

a.ewpda-ic:hover {
    text-decoration: none;
}

a.ewpda-ic:focus {
    outline: none;
}

/* ==========================================================================
   Info Card - Responsivo
   ========================================================================== */

@media (max-width: 767px) {
    .ewpda-ic {
        --ewpda-ic-padding: 20px;
    }
    
    .ewpda-ic__header {
        padding: 25px 20px;
    }
    
    .ewpda-ic__title {
        font-size: 18px;
    }
    
    .ewpda-ic__content {
        padding: 25px 20px;
    }
    
    .ewpda-ic__text {
        font-size: 16px;
    }
    
    .ewpda-ic__arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   Gallery Carousel Widget
   Half-contained / Full-bleed with offset
   
   IMPORTANTE: O container pai do Elementor DEVE estar em FULL WIDTH (100% da tela)
   O widget calcula automaticamente o padding-left para alinhar com o container boxed do site
   ========================================================================== */

/* Esconder scroll horizontal */
html.ewpda-gc-active,
body.ewpda-gc-active {
    overflow-x: hidden !important;
}

/* 
 * Container principal - Half-contained carousel
 * --ewpda-gc-padding-left: padding para alinhar com container boxed
 * O container pai deve estar em 100% da viewport
 */
.ewpda-gc {
    --ewpda-gc-padding-left: 0px;
    position: relative;
    width: 100%;
    /* Padding esquerdo alinha o conteúdo com o container boxed do site */
    padding-left: var(--ewpda-gc-padding-left);
    padding-right: 0;
    box-sizing: border-box;
}

/* Container do swiper */
.ewpda-gc__container {
    width: 100%;
    overflow: visible;
}

.ewpda-gc__swiper {
    width: 100%;
    overflow: visible !important;
}

.ewpda-gc__swiper .swiper-wrapper {
    align-items: stretch;
}

.ewpda-gc__slide {
    height: auto;
    flex-shrink: 0;
}

.ewpda-gc__slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Navigation - fica dentro da área do container boxed */
.ewpda-gc__navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* Safari < 14.1 flex gap fallback */
.ewpda-gc__navigation > * + * {
    margin-left: 10px;
}

@supports (gap: 10px) {
    .ewpda-gc__navigation > * + * {
        margin-left: 0;
    }
}

.ewpda-gc__navigation {
    /* Padding direito igual ao esquerdo para alinhar com container */
    padding-right: var(--ewpda-gc-padding-left);
    box-sizing: border-box;
}

.ewpda-gc__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: none;
    background: transparent !important;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    /* Reset Elementor button styles */
    box-shadow: none !important;
    outline: none !important;
    line-height: 1;
    font-size: 0;
}

.ewpda-gc__nav:hover,
.ewpda-gc__nav:focus,
.ewpda-gc__nav:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.ewpda-gc__nav:hover {
    transform: scale(1.1);
}

.ewpda-gc__nav:active {
    transform: scale(0.95);
}

.ewpda-gc__nav img {
    width: 50px;
    height: auto;
    display: block;
}

.ewpda-gc__nav svg {
    width: 50px;
    height: 50px;
    color: #333;
    display: block;
}

.ewpda-gc__nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================================================
   Gallery Carousel - Responsivo
   ========================================================================== */

@media (max-width: 767px) {
    .ewpda-gc__slide img {
        height: 250px;
    }
    
    .ewpda-gc__nav {
        width: 30px;
        height: 30px;
        padding: 6px;
    }
}

/* ==========================================================================
   EWPDA Typewriter Gallery Widget
   ========================================================================== */

.ewpda-tw {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ewpda-tw__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 5px;
}

/* Safari < 14.1 flex gap fallback */
.ewpda-tw__line > * {
    margin: 2.5px;
}

@supports (gap: 5px) {
    .ewpda-tw__line > * {
        margin: 0;
    }
}

.ewpda-tw__line:last-child {
    margin-bottom: 0;
}

.ewpda-tw__text {
    font-family: var(--e-global-typography-66b5a79-font-family), Sans-serif;
    font-size: var(--e-global-typography-66b5a79-font-size);
    font-weight: var(--e-global-typography-66b5a79-font-weight);
    color: var(--e-global-color-cf1a2a6);
    line-height: 1.2;
    display: inline;
}

.ewpda-tw__rotating-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.ewpda-tw__rotating {
    font-size: 48px;
    font-weight: 700;
    color: #1B4F72;
    line-height: 1.2;
    display: inline;
    min-width: 1ch;
}

.ewpda-tw__cursor {
    font-size: 48px;
    font-weight: 400;
    color: #1B4F72;
    line-height: 1.2;
    display: inline;
    animation: ewpdaCursorBlink 0.7s infinite;
    margin-left: 2px;
}

@keyframes ewpdaCursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Images */
.ewpda-tw__image-wrapper {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.ewpda-tw__image-wrapper.ewpda-tw__image--break-before {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.ewpda-tw__image-wrapper.ewpda-tw__image--break-after {
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.ewpda-tw__image {
    width: 200px ;
    height: 105px ;
    object-fit: cover;
    object-position: center;
    border-radius: 2px;
    margin: 0 10px;
    vertical-align: middle;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.ewpda-tw__text {
    transition: transform 0.1s ease-out;
    will-change: transform;
    display: inline-block;
}

/* Typewriter Animation States */
.ewpda-tw__rotating.is-typing {
    border-right-color: currentColor;
}

.ewpda-tw__rotating.is-deleting {
    border-right-color: currentColor;
}

/* Pause cursor animation when typing/deleting */
.ewpda-tw__rotating.is-typing + .ewpda-tw__cursor,
.ewpda-tw__rotating.is-deleting + .ewpda-tw__cursor {
    animation: none;
    opacity: 1;
}

/* ==========================================================================
   Typewriter Gallery - Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .ewpda-tw__text,
    .ewpda-tw__rotating,
    .ewpda-tw__cursor {
        font-size: 36px;
    }
    
    .ewpda-tw__image {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 767px) {
    .ewpda-tw__text,
    .ewpda-tw__rotating,
    .ewpda-tw__cursor {
        font-size: 28px;
    }
    
    .ewpda-tw__image {
        width: 100px;
        height: 70px;
        margin: 0 5px;
    }
    
    .ewpda-tw__line {
        margin-bottom: 15px;
        gap: 3px;
    }
}

/* ==========================================================================
   EWPDA Scroll Image Widget
   Image moves horizontally based on page scroll
   ========================================================================== */

.ewpda-si {
    position: relative;
    width: 100%;
    /* height controlled by Elementor */
    overflow: hidden; /* default, can be overridden by Elementor control */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ewpda-si--overflow-visible {
    overflow: visible !important;
}

/* Overflow via Elementor prefix class */
.ewpda-si-overflow-yes .ewpda-si {
    overflow: visible !important;
}

.ewpda-si__image {
    /* width/height/max-height controlled by Elementor */
    object-fit: contain;
    will-change: transform;
    transition: none;
}

/* ==========================================================================
   CAROUSEL INDIVIDUAL LINKS - Links individuais no Image Carousel
   ========================================================================== */

.ewpda-carousel-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border: none;
    outline: none;
}

.ewpda-carousel-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ewpda-has-individual-links .swiper-slide {
    cursor: default;
}

.ewpda-has-individual-links .swiper-slide .ewpda-carousel-link {
    cursor: pointer;
}

