.dp-gallery-container-ad26bdbf {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.dp-gallery-header-ad26bdbf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eef2f5;
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dp-gallery-title-ad26bdbf {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    position: relative;
}

.dp-gallery-title-ad26bdbf::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3a61aa;
}

.dp-gallery-filters-ad26bdbf {
    display: flex;
    gap: 8px;
}

.dp-filter-btn-ad26bdbf {
    padding: 8px 18px;
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.dp-filter-btn-ad26bdbf:hover,
.dp-filter-btn-ad26bdbf.active {
    background: #3a619a;
    border-color: #3a619a;
    color: #fff;
    text-decoration: none;
}

/* 2-Column Grid */
.dp-gallery-grid-ad26bdbf {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.dp-gallery-item-ad26bdbf {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dp-gallery-item-ad26bdbf:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.dp-gallery-link-ad26bdbf {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dp-gallery-link-ad26bdbf:hover {
    text-decoration: none;
}

.dp-gallery-image-wrapper-ad26bdbf {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.dp-gallery-image-ad26bdbf {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dp-gallery-item-ad26bdbf:hover .dp-gallery-image-ad26bdbf {
    transform: scale(1.08);
}

.dp-gallery-overlay-ad26bdbf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dp-gallery-item-ad26bdbf:hover .dp-gallery-overlay-ad26bdbf {
    opacity: 1;
}

.dp-overlay-icon-ad26bdbf {
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dp-gallery-info-ad26bdbf {
    padding: 20px;
}

.dp-gallery-item-title-ad26bdbf {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.dp-gallery-item-ad26bdbf:hover .dp-gallery-item-title-ad26bdbf {
    color: #3a61aa;
}

.dp-gallery-item-address-ad26bdbf {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Pagination */
.dp-gallery-pagination-ad26bdbf {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
}

.dp-gallery-pagination-ad26bdbf .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.dp-gallery-pagination-ad26bdbf .page-numbers.current,
.dp-gallery-pagination-ad26bdbf .page-numbers:hover {
    background: #ec5e3b;
    border-color: #ec5e3b;
    color: #fff;
    text-decoration: none;
}

.dp-no-posts-ad26bdbf {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 50px 0;
}

@media (max-width: 768px) {
    .dp-gallery-grid-ad26bdbf {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dp-gallery-header-ad26bdbf {
        flex-direction: column;
        align-items: flex-start;
    }
	.dp-gallery-item-ad26bdbf {
		
	}
}

/* Optimization for mobile screens */
@media (max-width: 767px) {
  /* 1. Reduce parent padding to give the grid more horizontal room */
  .post-content.rh_classic_content_zero,
  .elementor-element-7705ca60,
  .dp-gallery-container-ad26bdbf {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* 2. Switch the grid to a single full-width column */
  .dp-gallery-grid-ad26bdbf {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
  }

  /* 3. Ensure the cards and their links stretch to 100% width */
  .dp-gallery-item-ad26bdbf,
  .dp-gallery-link-ad26bdbf {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 4. Optional: Increase image height so it scales nicely with the wider card */
  .dp-gallery-image-wrapper-ad26bdbf {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}
