/* Glass-like button styles for read more links */
/* Higher specificity to override existing Divi styles */
.et_pb_blog_0 .et_pb_post div.post-content a.more-link,
.more-link {
    display: inline-block !important;
    padding: 12px 24px !important;
    margin-top: 15px !important;
    
    /* Glass effect styling */
    background: linear-gradient(135deg, rgba(46, 163, 242, 0.1), rgba(46, 163, 242, 0.2)) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 163, 242, 0.3) !important;
    border-radius: 8px !important;
    
    /* Typography - override existing styles */
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    color: #2ea3f2 !important;
    line-height: 1.4em !important;
    
    /* Transitions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Glass reflection effect */
    position: relative;
    overflow: hidden;
    
    /* Shadow for depth */
    box-shadow: 
        0 4px 15px rgba(46, 163, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.more-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.et_pb_blog_0 .et_pb_post div.post-content a.more-link:hover,
.more-link:hover {
    background: linear-gradient(135deg, rgba(46, 163, 242, 0.3), rgba(46, 163, 242, 0.5)) !important;
    border-color: rgba(46, 163, 242, 0.6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 8px 25px rgba(46, 163, 242, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.et_pb_blog_0 .et_pb_post div.post-content a.more-link:hover:before,
.more-link:hover:before {
    left: 100%;
}

.et_pb_blog_0 .et_pb_post div.post-content a.more-link:active,
.more-link:active {
    transform: translateY(0) !important;
    box-shadow: 
        0 2px 8px rgba(46, 163, 242, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Enhanced glass effect for modern browsers */
@supports (backdrop-filter: blur(10px)) {
    .more-link {
        background: rgba(46, 163, 242, 0.1);
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
    }
    
    .more-link:hover {
        background: rgba(46, 163, 242, 0.15);
        backdrop-filter: blur(15px) saturate(200%);
        -webkit-backdrop-filter: blur(15px) saturate(200%);
    }
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
    .more-link {
        background: linear-gradient(135deg, rgba(46, 163, 242, 0.15), rgba(46, 163, 242, 0.25));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .more-link:hover {
        background: linear-gradient(135deg, rgba(46, 163, 242, 0.25), rgba(46, 163, 242, 0.35));
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .more-link {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .more-link {
        padding: 8px 16px;
        font-size: 12px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* Focus state for accessibility */
.et_pb_blog_0 .et_pb_post div.post-content a.more-link:focus,
.more-link:focus {
    outline: none !important;
    box-shadow: 
        0 4px 15px rgba(46, 163, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 3px rgba(46, 163, 242, 0.3) !important;
    background: rgba(46, 163, 242, 0.15) !important;
}

/* Additional glass shine effect on hover */
.et_pb_blog_0 .et_pb_post div.post-content a.more-link:hover:after,
.more-link:hover:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    transform: skewX(-20deg);
    animation: shine 0.8s ease-out;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-20deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(300%) skewX(-20deg);
        opacity: 0;
    }
}