.rd-news-wrapper-bc277b12 { 
    position: relative;
}
.rd-trigger-bc277b12 {
    background: transparent !important;
    border: none;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rd-trigger-plus-bc277b12 {
    display: inline-block;
    border-radius: 50%;
    position: relative;
    width: 24px;
    height: 24px;
    border: 2px solid #000;
}
.rd-trigger-plus-bc277b12::before,
.rd-trigger-plus-bc277b12::after {
    content: '';
    position: absolute;
    background-color: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.rd-trigger-plus-bc277b12::before {
    width: 50%;
    height: 2px;
}
.rd-trigger-plus-bc277b12::after {
    width: 2px;
    height: 50%;
}
.rd-panel-bc277b12 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    overflow-y: auto;
}
body.admin-bar .rd-panel-bc277b12 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .rd-panel-bc277b12 {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
.rd-panel-bc277b12.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (min-width: 768px) {
    .rd-panel-bc277b12 {
        width: 400px;
        transform: translateX(-100%);
    }
    .rd-panel-bc277b12.is-active {
        transform: translateX(0);
    }
}
.rd-close-bc277b12 {
    position: sticky;
    top: 20px;
    margin-left: auto;
    margin-right: 20px;
    margin-bottom: -30px;
    z-index: 1000;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    color: #fff;
}
.rd-close-bc277b12::before,
.rd-close-bc277b12::after {
    content: '';
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.rd-close-bc277b12::before {
    width: 50%; /* default size, can be overridden by control */
    height: 2px;
}
.rd-close-bc277b12::after {
    width: 2px;
    height: 50%; /* default size, can be overridden by control */
}
.rd-panel-inner-bc277b12 {
    padding-top: 40px !important;
}
.rd-item-bc277b12 {
    border-bottom: 1px solid #333;
    padding: 20px 0;
    cursor: pointer;
}
.rd-item-header-bc277b12 {
    pointer-events: none;
}
.rd-item-desc-bc277b12 {
    white-space: pre-line !important;
}
.rd-item-content-bc277b12 {
    display: none;
    padding-top: 15px;
    cursor: default;
}

/* Ensure responsive styling for WYSIWYG editor's inline images on all viewports */
.rd-item-content-bc277b12 img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
    margin: 10px 0 !important;
    border-radius: 8px !important;
}

/* Structural preview image container always visible */
.rd-item-image-preview-bc277b12 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 12px 0 !important;
    height: auto !important;
}
.rd-item-image-preview-bc277b12 img {
    max-width: 100%;
    height: auto;
    border-radius: 8px !important;
    display: block !important;
    object-fit: cover !important;
}

.rd-item-bc277b12.is-expanded .rd-item-content-bc277b12 {
    display: block;
}

/* Compact preview grid layout on mobile devices */
@media (max-width: 767px) {
    .rd-item-bc277b12 {
        display: flex;
        flex-direction: column;
    }
    .rd-item-title-bc277b12 {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    .rd-item-meta-grid-bc277b12 {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 12px !important;
        align-items: start !important;
        width: 100% !important;
    }
    .rd-item-image-preview-bc277b12 {
        flex: 0 0 97px !important;
        width: 97px !important; /* Approximately 97px fallback container */
        max-width: 97px !important;
        margin: 0 !important;
    }
    .rd-item-image-preview-bc277b12 img {
        max-width: 100% !important;
        height: auto !important;
    }
}
