.pva-grid-item {
    max-width: 280px;
    max-height: 170px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: inline-block;
    border-radius: 10px;
}
.pva-archive-list li{
  list-style: none;
}
.pva-grid-item img{
  transition: transform 0.7s ease-in-out;
}
.pva-grid-item:hover img{
  transform: scale(1.5);
}
.photo-video-archive-sidebar {
    padding: 0 50px 0 0;
    border: solid black;
    border-width: 0px 1px 0px 0px;
}

html[dir="rtl"] .photo-video-archive-sidebar {
    padding: 0 0 0 50px;
    border-width: 0px 0px 0px 1px;
}
ul.pva-archive-list {
    padding: 0;
}
html[dir="rtl"] ul.pva-archive-list {
    padding: 0 30px 0 0;
}

/* Main Layout */
#pva-archive-container {
    display: flex;
    width: 100%;
}

/* Left Sidebar (Archive Tree) */
#pva-archive {
    width: 25%;
    min-width: 250px;
    border-right: 2px solid #ddd;
    padding: 15px;
    overflow-y: auto;
    background: #f8f8f8;
    height: 100vh;
}

/* Right Side: Display Photos/Videos */
#pva-content {
    width: 100%;
    padding: 20px;
    background: #fff;
}

/* Grid Layout for Images/Videos */
.pva-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

/* Expand/Collapse Icon */
.pva-toggle {
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    color: orange;
}

/* Archive Structure: Year → Month */
.pva-year {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
}

.pva-months {
    list-style: none;
    padding-left: 20px;
    display: none; /* Months hidden until year is clicked */
}

.pva-month {
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 3px;
}


@media (max-width: 1024px) {
    #pva-archive-container {
        flex-direction: column;
    }
  .photo-video-archive-sidebar {
    border-width: 0px 0px 0px 0px;
	}

@media (max-width: 768px) { 
    #pva-archive-container {
        flex-direction: column;
    }
  .photo-video-archive-sidebar {
    border-width: 0px 0px 0px 0px;
	}
}
