._df_thumb {
    width: 390px; /* Adjust the width as needed for larger screens */
    height: auto; /* Maintain aspect ratio */
}

@media only screen and (max-width: 600px) {
    ._df_thumb {
        width: 100%; /* Make the thumbnail width 100% of the container */
        height: auto; /* Maintain aspect ratio */
    }
}

@media only screen and (max-width: 480px) {
    ._df_thumb {
        width: 100%; /* Ensure it fits smaller screens */
        height: auto; /* Maintain aspect ratio */
    }
}

/* Custom Archives Dropdown Styling */
.widget_archive select,
.wp-block-archives select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 20 !important;
    padding: 15px 20px !important;
    width: 100% !important;
    font-size: 16px !important;
    color: #333 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

/* Custom dropdown arrow */
.widget_archive,
.wp-block-archives {
    position: relative !important;
}

.widget_archive::after,
.wp-block-archives::after {
    content: '' !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid #666 !important;
    border-bottom: 2px solid #666 !important;
    pointer-events: none !important;
    transition: transform 0.3s ease !important;
}

/* Hover state */
.widget_archive select:hover,
.wp-block-archives select:hover {
    background-color: #fafafa !important;
}

/* Focus state */
.widget_archive select:focus,
.wp-block-archives select:focus {
    outline: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
}

/* Style the options */
.widget_archive select option,
.wp-block-archives select option {
    padding: 10px !important;
    background-color: #fff !important;
}

/* Remove default arrow in IE */
.widget_archive select::-ms-expand,
.wp-block-archives select::-ms-expand {
    display: none !important;
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
    .widget_archive select,
    .wp-block-archives select {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .widget_archive::after,
    .wp-block-archives::after {
        right: 15px !important;
    }
}

body {
    font-family: Arial, sans-serif;
}
.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-item {
    margin: 20px 0;
    position: relative;
}
.timeline-item img {
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}
.timeline-content {
    text-align: center;
}
.date-scroller {
    margin: 20px 0;
    text-align: center;
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.lightbox:target {
    display: block;
}
.lightbox:target .lightbox-content {
    content: attr(src);
}
