.wspdfl-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.wspdfl-search-box {
margin-bottom: 30px;
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: stretch;
}
.wspdfl-search-input {
flex: 1;
min-width: 250px;
padding: 0 20px;
height: var(--wspdfl-search-height, 40px);
font-size: 16px;
border: 2px solid #ddd;
border-radius: 8px;
transition: all 0.3s ease;
line-height: var(--wspdfl-search-height, 40px);
box-sizing: border-box;
}
.wspdfl-search-input:focus {
outline: none;
border-color: var(--wspdfl-primary, #22b24c);
box-shadow: 0 0 0 3px rgba(34, 178, 76, 0.1);
}
.wspdfl-search-button {
padding: 0 30px;
height: var(--wspdfl-search-height, 40px);
background: var(--wspdfl-primary, #22b24c);
color: #fff;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
line-height: var(--wspdfl-search-height, 40px);
white-space: nowrap;
box-sizing: border-box;
}
.wspdfl-search-button:hover {
background: var(--wspdfl-secondary, #1a8f3c);
transform: translateY(-2px);
}
.wspdfl-clear-search {
padding: 0 20px;
height: var(--wspdfl-search-height, 40px);
background: #f0f0f0;
color: #666;
text-decoration: none;
border-radius: 8px;
font-size: 14px;
transition: all 0.3s ease;
line-height: var(--wspdfl-search-height, 40px);
display: inline-block;
white-space: nowrap;
box-sizing: border-box;
}
.wspdfl-clear-search:hover {
background: #e0e0e0;
color: #333;
}
.wspdfl-category-filter {
min-width: 200px;
height: var(--wspdfl-search-height, 40px);
padding: 0 15px;
font-size: 16px;
border: 2px solid #ddd;
border-radius: 8px;
background: #fff;
cursor: pointer;
transition: all 0.3s ease;
line-height: var(--wspdfl-search-height, 40px);
box-sizing: border-box;
}
.wspdfl-category-filter:focus {
outline: none;
border-color: var(--wspdfl-primary, #22b24c);
box-shadow: 0 0 0 3px rgba(34, 178, 76, 0.1);
}
.wspdfl-grid {
display: grid;
gap: 30px;
margin-bottom: 40px;
}
.wspdfl-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.wspdfl-grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.wspdfl-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }
.wspdfl-grid[data-columns="5"] { grid-template-columns: repeat(5, 1fr); }
.wspdfl-grid[data-columns="6"] { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
.wspdfl-grid[data-columns="5"],
.wspdfl-grid[data-columns="6"] {
grid-template-columns: repeat(3, 1fr) !important;
}
}
@media (max-width: 768px) {
.wspdfl-container {
max-width: none !important;
padding: 15px !important;
margin: 0 auto !important;
box-sizing: border-box !important;
}
.wspdfl-search-box {
flex-direction: column !important;
align-items: stretch !important;
gap: 10px !important;
width: 100% !important;
margin: 0 0 30px 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
.wspdfl-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
.wspdfl-search-input,
.wspdfl-search-button,
.wspdfl-clear-search,
.wspdfl-category-filter {
width: 100% !important;
min-width: 0 !important;
margin: 0 !important;
padding-left: 20px !important;
padding-right: 20px !important;
flex: none !important;
box-sizing: border-box !important;
}
.wspdfl-search-button {
padding-left: 30px !important;
padding-right: 30px !important;
}
}
@media (max-width: 480px) {
.wspdfl-container {
max-width: none !important;
padding: 10px !important;
margin: 0 auto !important;
box-sizing: border-box !important;
}
.wspdfl-search-box {
gap: 8px !important;
width: 100% !important;
margin: 0 0 30px 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
.wspdfl-grid {
grid-template-columns: 1fr !important;
gap: 20px !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
.wspdfl-search-input,
.wspdfl-search-button,
.wspdfl-clear-search,
.wspdfl-category-filter {
width: 100% !important;
min-width: 0 !important;
margin: 0 !important;
padding-left: 20px !important;
padding-right: 20px !important;
flex: none !important;
box-sizing: border-box !important;
}
.wspdfl-search-button {
padding-left: 30px !important;
padding-right: 30px !important;
}
.wspdfl-category-filter {
padding-left: 15px !important;
padding-right: 15px !important;
}
.wspdfl-card-title {
font-size: 16px !important;
}
.wspdfl-download-btn {
font-size: 13px !important;
padding: 8px 20px !important;
}
}
.wspdfl-card {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
}
.wspdfl-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.wspdfl-card-image {
position: relative;
width: 100%;
overflow: hidden;
background: #f5f5f5;
}
.wspdfl-container[data-ratio="vertical"] .wspdfl-card-image {
aspect-ratio: 2 / 3;
}
.wspdfl-container[data-ratio="square"] .wspdfl-card-image {
aspect-ratio: 1 / 1;
}
.wspdfl-container[data-ratio="horizontal"] .wspdfl-card-image {
aspect-ratio: 16 / 9;
}
.wspdfl-card-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.wspdfl-card-content {
padding: 20px;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.wspdfl-card-title {
margin: 0 0 15px 0;
font-size: 18px;
font-weight: 600;
line-height: 1.4;
color: #333;
}
.wspdfl-card-description {
margin: -10px 0 15px 0;
font-size: 14px;
line-height: 1.5;
color: #666;
text-align: inherit;
}
.wspdfl-card-description p {
margin: 0 0 10px 0;
}
.wspdfl-card-description p:last-child {
margin-bottom: 0;
} .wspdfl-card-description .alignleft,
.wspdfl-card-description p[style*="text-align: left"] {
text-align: left !important;
}
.wspdfl-card-description .aligncenter,
.wspdfl-card-description p[style*="text-align: center"] {
text-align: center !important;
}
.wspdfl-card-description .alignright,
.wspdfl-card-description p[style*="text-align: right"] {
text-align: right !important;
}
.wspdfl-card-description .alignjustify,
.wspdfl-card-description p[style*="text-align: justify"] {
text-align: justify !important;
}
.wspdfl-card-description a {
color: var(--wspdfl-primary, #22b24c);
text-decoration: underline;
}
.wspdfl-card-description a:hover {
color: var(--wspdfl-secondary, #1a8f3c);
}
.wspdfl-download-btn {
display: inline-block;
width: auto;
max-width: 180px;
margin: auto auto 0 auto;
padding: 10px 20px;
background: var(--wspdfl-primary, #22b24c);
color: #fff !important;
text-align: center;
text-decoration: none !important;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
transition: all 0.3s ease;
border: none;
cursor: pointer;
white-space: nowrap;
box-sizing: border-box;
} .wspdfl-btn-small {
padding: 8px 16px;
font-size: 13px;
max-width: 150px;
}
.wspdfl-btn-normal {
padding: 10px 20px;
font-size: 14px;
max-width: 180px;
}
.wspdfl-btn-large {
padding: 14px 28px;
font-size: 16px;
max-width: 220px;
}
.wspdfl-download-btn i {
margin-right: 8px;
}
.wspdfl-download-btn:hover {
background: var(--wspdfl-secondary, #1a8f3c);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(34, 178, 76, 0.3);
color: #fff;
text-decoration: none;
}
.wspdfl-counter {
margin-top: 10px;
font-size: 14px;
color: #666;
text-align: center;
}
.wspdfl-counter span {
font-weight: 600;
color: var(--wspdfl-primary, #22b24c);
}
.wspdfl-pagination {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 40px;
}
.wspdfl-pagination a,
.wspdfl-pagination span {
display: inline-block;
padding: 10px 15px;
background: #f5f5f5;
color: #333;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
}
.wspdfl-pagination a:hover {
background: var(--wspdfl-primary, #22b24c);
color: #fff;
}
.wspdfl-pagination .current {
background: var(--wspdfl-primary, #22b24c);
color: #fff;
font-weight: 600;
}
.wspdfl-no-results {
text-align: center;
padding: 60px 20px;
color: #666;
font-size: 18px;
}
.wspdfl-card.hidden {
display: none;
} .wspdfl-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.wspdfl-modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
cursor: pointer;
}
.wspdfl-modal-content {
position: relative;
max-width: 90%;
max-height: 90%;
z-index: 100000;
text-align: center;
}
.wspdfl-modal-image {
max-width: 100%;
max-height: 80vh;
object-fit: contain;
border-radius: 8px;
box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}
.wspdfl-modal-close {
position: fixed;
top: 20px;
right: 20px;
background: rgba(0, 0, 0, 0.7);
border: 2px solid #fff;
color: #fff;
font-size: 32px;
cursor: pointer;
padding: 0;
width: 50px;
height: 50px;
line-height: 46px;
border-radius: 50%;
transition: all 0.3s ease;
z-index: 100001;
}
.wspdfl-modal-close:hover {
background: rgba(0, 0, 0, 0.9);
transform: scale(1.1);
}
.wspdfl-modal-title {
color: #fff;
margin-top: 20px;
font-size: 18px;
font-weight: 600;
}