/**
 * PEO Landing Block Widget Styles
 */

/* Block Link Wrapper */
.block-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

:root{
    --block-radius-bg: #f5f4f4;
}


/* Main Block Container */
.peo-landing-block {
    position: relative;
    width: 100%;
    height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Background Overlay */
.peo-landing-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    opacity: 0;
    transition: all 0.8s ease;
}

.peo-landing-block:hover::before {
    opacity: 1;
}

/* Block Content */
.block-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.peo-landing-block-title {
    margin: 0;
    color: #FFF;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: all 0.3s ease;
}

.peo-landing-block:hover .peo-landing-block-title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}



/* Arrow Icon */
.block-arrow-wrapper{
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--block-radius-bg );
    border-radius: 30px 0px 0px 0px;
    padding: 10px 10px 0 10px;
    z-index: 3;
    opacity: 0;
    -webkit-transform: translate3d(15px, 15px, 0);
    -moz-transform: translate3d(15px, 15px, 0);
    transform: translate3d(15px, 15px, 0);
    transition: all 0.33s ease;
}

.peo-landing-block:hover .block-arrow-wrapper{
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


.block-arrow-wrapper:before,
.block-arrow-wrapper:after {
    content: "";
    position: absolute;
    background-color: transparent;
    z-index: -1;
}

.block-arrow-wrapper:before{
  height: 40px;
  width: 20px;
  right: 0;
  left: initial;
  top: -40px;
  bottom: initial;
  -webkit-border-radius: 0;
  border-radius: 0;
   border-bottom-right-radius: 0px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 20px 0 0 var(--block-radius-bg );
}

.block-arrow-wrapper:after{
  height: 40px;
  width: 20px;
  left: -20px;
  right: initial;
  top: initial;
  bottom: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  border-bottom-right-radius: 0px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 20px 0 0 var(--block-radius-bg );
}

.block-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
}

.peo-landing-block:hover .block-arrow {
    opacity: 1;
}

.block-arrow i {
    font-size: 14px;
    position: relative
    z-index: 1;
    transition: all 0.3s ease;
}



/* Responsive Design */
@media (max-width: 768px) {
    .peo-landing-block {
        height: 300px;
        border-radius: 16px;
    }
    
    .block-content {
        padding: 20px;
    }
    
    .peo-landing-block-title {
        font-size: 1.5rem;
    }
    
}

@media (max-width: 480px) {
    .peo-landing-block {
        height: 250px;
        border-radius: 12px;
    }
    
    .block-content {
        padding: 16px;
        align-items: flex-start;
    }
    
    .peo-landing-block-title {
        font-size: 1.25rem;
    }
    
   
}

/* Animation Effects */
/* @keyframes blockFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.peo-landing-block {
    animation: blockFadeIn 0.6s ease-out;
} */


/* PEO Landing Block Widget Styles */
.peo-landing-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    transition: all 0.3s ease;
}

.peo-landing-block .block-bottom-content{
    padding-top: 150px;
    z-index: 2;
}

.peo-landing-block .block-top-content{
    z-index: 2;
}

.peo-landing-block:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 1;
    transition: all 0.3s ease;
}

.peo-landing-block .link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: block;
    opacity: 0;
}

.peo-landing-block-title {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.3;
}

.peo-landing-block-description {
    margin: 0 0 20px 0;
}


/* Responsive styles */
@media (max-width: 768px) {
    .peo-landing-block {
        padding: 15px;
    }

    .peo-landing-block .block-bottom-content {
        padding-top: 50px;
        z-index: 2;
    }

    .peo-landing-block-title {
        font-weight: 400;
        font-size: 24px;
    }
     
}

