/**
 * Section Divider Block Styles
 */

/* Link wrapper styles - only apply for image dividers */
.wp-block-ruoungon24h-section-divider-link-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.wp-block-ruoungon24h-section-divider-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.wp-block-ruoungon24h-section-divider-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
}

/* Specific styles for background dividers */
.wp-block-ruoungon24h-section-divider.is-background-divider {
    /* Add any specific styles for background dividers */
}

/* Styles for image dividers */
.wp-block-ruoungon24h-section-divider-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-block-ruoungon24h-section-divider-image-link {
    display: inline-block;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.wp-block-ruoungon24h-section-divider-image-link:hover {
    opacity: 0.9;
}

.wp-block-ruoungon24h-section-divider-image-placeholder {
    background-color: #f0f0f0;
    color: #666;
    text-align: center;
    padding: 2rem;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.wp-block-ruoungon24h-section-divider {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-ruoungon24h-section-divider-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Parallax effect */
.wp-block-ruoungon24h-section-divider.has-parallax {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Ensure full width when alignfull is used */
.wp-block-ruoungon24h-section-divider.alignfull {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Ensure wide width when alignwide is used */
.wp-block-ruoungon24h-section-divider.alignwide {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
}
