
.region-slide {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

section.slide-section {
    width: 100%;
    max-width: 100%;
    background: #fff; /* Your selected bg */
    padding: 20px 0;
}


/* Slideshow main wrapper */
.views_slideshow_cycle_teaser_section {
    overflow: hidden;
    background: #2c2f3f;
    box-shadow: 0 6px 25px rgba(0,0,0,0.10);
}

/* Image styling */
.view-slideshow img {
    width: 100%;
    display: block;
}

.views_slideshow_cycle_slide img {
    width: 100% !important;
    height: auto !important;
    height: 550px !important;
}

/* Hide edit link */
.views-field-edit-node {
    display: none !important;
}

/* Title */
.view-slideshow .views-field-title a {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 20px;
    display: block;
}

/* Description text */
.view-slideshow .views-field-body p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    max-width: 900px;
}

/* --------------------------- */
/* BOTTOM PAGINATION (Bullets) */
/* --------------------------- */
.views-slideshow-pager-bullets li {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.views-slideshow-pager-bullets li.active {
    background: #ef6602;
    transform: scale(1.3);
}

/* Center bullets */
.widget_pager_bottom {
    text-align: center;
    margin: 15px 0;
}

/* --------------------------- */
/* Prev / Next Controls */
/* --------------------------- */
.views_slideshow_controls_text a {
    padding: 8px 16px;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 6px;
    transition: background 0.3s ease;
}

.views_slideshow_controls_text_previous a{
    background-image: url('../images/prev.png');
    display: inline-block;
    width: 40px; 
    height: 40px;
    background-size: contain;
    border-radius: 6px;
    margin: 0 6px;
    transition: transform 0.3s ease;
    font-size: 0px;
}

.views_slideshow_controls_text_next a{
    background-image: url('../images/next.png');
    display: inline-block;
    width: 40px; 
    height: 40px;
    background-size: contain;
    border-radius: 6px;
    margin: 0 6px;
    transition: transform 0.3s ease;
    font-size: 0px;
    /* background-color: #bbb; */
}

.views-slideshow-controls-bottom {
    text-align: center;
    margin-top: 10px;
}

/* --------------------------- */
/* Center slide text content */
/* --------------------------- */

/* If your slides have text under image */
.view-slideshow .views-row {
    padding: 20px;
    background: #2c2f3f; 
    /* background-color: #fff; */
}

/* Main wrapper full width */
.views_slideshow_cycle_teaser_section {
    width: 100% !important;
    max-width: 100% !important;
}

/* Each slide full width */
.views_slideshow_cycle_slide {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
}

/* Make image fill width */
.views_slideshow_cycle_slide img {
    width: 100% !important;
}



/* Make slide container positionable */
.views_slideshow_cycle_teaser_section .views-row {
    position: relative;
}

/* Slide overlay animation wrapper */
.slide-overlay {
    position: absolute;
    top: 0%; /* start above the slide */
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    width: 59%;
    z-index: 10;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10),
        rgba(0,0,0,0.50)
    );
    padding: 40px 20px;
    border-radius: 12px;

    opacity: 0; /* start hidden */
    animation: overlaySlideDown 0.6s ease-out forwards;
    animation-delay: 0.2s; /* faster start */
}

/* Overlay slide-down animation */
@keyframes overlaySlideDown {
    0% {
        opacity: 0;
        top: -20%; /* start above */
        transform: translate(-50%, -100%);
    }
    60% {
        opacity: 1;
        top: 55%;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 1;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* H2 with fast slide-down glow */
.slide-overlay h2 {
    font-size: 25px;
    color: #fff;
    /* color: #ff6b00;  */
    margin-bottom: 20px;
text-shadow: 
        0 0 6px rgba(0,0,0,0.7),  /* soft black glow */
        0 2px 12px rgba(0,0,0,0.9); /* deeper shadow for depth */
    transform: translateY(-50px); /* start above */
    animation: textSlideDown 0.5s ease-out forwards;
    animation-delay: 0.4s; /* slightly after overlay */
}

/* H2 links same effect */
.slide-overlay h2 a {
    font-size: 60px;
    font-weight: 800;
    color: #ff6b00; 
    text-decoration: none;
text-shadow: 
        0 1px 4px rgba(0,0,0,0.5),  /* soft black glow */
        0 2px 6px rgba(0,0,0,0.8);   /* deeper shadow */
    opacity: 0;
    transform: translateY(-50px);
    animation: textSlideDown 0.5s ease-out forwards;
    animation-delay: 0.4s;
}

/* Paragraph fast slide-down */
.slide-overlay p {
    font-size: 22px;
    /* color: #ff6b00; */
    color: #fff;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(255,107,0,0.3), 0 2px 6px rgba(0,0,0,0.7);
    opacity: 0;
    transform: translateY(-30px);
    animation: textSlideDown 0.5s ease-out forwards;
    animation-delay: 0.6s;
}

.views_slideshow_controls_text_pause{
  display: none;
}

/* Keyframes for fast slide-down text */
@keyframes textSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Edit button positioned on top of the slide */
.views-field-nothing .edit {
    position: absolute;
    top: 15px;       /* distance from top */
    right: 20px;     /* distance from right */
    z-index: 20;     /* above overlay */
}

.views-field-nothing .edit a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b00;  /* Orange background */
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.views-field-nothing .edit a:hover {
    background-color: #e65a00;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.views-field-nothing .edit a:active {
    background-color: #cc4f00;
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

span#views_slideshow_controls_text_previous_slideshow-block_1 {
    position: absolute;
    left: 0px;
    bottom: 50%;
    z-index: 9;
}

#views_slideshow_controls_text_next_slideshow-block_1{
    position: absolute;
    right: 0px;
    bottom: 50%;
    z-index: 9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .views-field-nothing .edit a {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .views-field-nothing .edit a {
        padding: 6px 12px;
        font-size: 12px;
    }
}

