.wptext-updates-container {
    margin: 40px 0;
}

.wptext-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.wptext-layout-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wptext-update {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
}

.wptext-update:hover {
    opacity: 0.9;
}

.wptext-update-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wptext-update-icon {
    display: none;
}

.wptext-update-content {
    font-size: 32px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
    font-weight: 400;
}

.wptext-update-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    transition: all 0.3s;
}

.wptext-update-content a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
    background: rgba(102, 126, 234, 0.1);
}

.wptext-update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.3s;
}

.wptext-update-image img:hover {
    opacity: 0.9;
}

.wptext-update-quote blockquote {
    margin: 0;
    padding: 24px;
    background: #f7f7f7;
    border-left: 4px solid #ed8936;
    border-radius: 8px;
    font-size: 36px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.wptext-update-quote cite {
    display: block;
    margin-top: 12px;
    text-align: right;
    color: #999;
    font-size: 20px;
    font-style: normal;
}

.wptext-update-location .wptext-location-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 28px;
    color: #e53e3e;
}

.wptext-update-location .wptext-location-name strong {
    font-weight: 600;
}

.wptext-update-meta {
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #999;
}

.wptext-update-meta time {
    font-style: italic;
}

.wptext-no-updates {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

@media (max-width: 768px) {
    .wptext-layout-grid {
        grid-template-columns: 1fr;
    }
}

.wptext-layout-list .wptext-update {
    max-width: 100%;
}

.wptext-layout-list .wptext-update-inner {
    display: flex;
    flex-direction: column;
}

.wptext-layout-list .wptext-update-icon {
    text-align: left;
    margin-bottom: 12px;
}

.widget .wptext-updates-container {
    margin: 0;
}

.widget .wptext-update {
    margin-bottom: 16px;
}

.widget .wptext-update:last-child {
    margin-bottom: 0;
}

.widget .wptext-update-inner {
    padding: 16px;
}

.widget .wptext-update-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.widget .wptext-update-content {
    font-size: 14px;
}

.widget .wptext-update-quote blockquote {
    font-size: 15px;
    padding: 12px;
}

.widget .wptext-update-meta {
    font-size: 12px;
    padding-top: 12px;
}

.wptext-image-modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.wptext-image-modal.active {
    background-color: rgba(0, 0, 0, 0.9);
}

.wptext-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wptext-image-modal.active .wptext-modal-content {
    opacity: 1;
    transform: scale(1);
}

.wptext-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    display: block;
    border-radius: 8px;
}

.wptext-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
    line-height: 1;
}

.wptext-modal-close:hover {
    opacity: 0.7;
}
