.tiles-widget-container {
width: 100%;
position: relative;
} .tiles-grid {
display: grid;
width: 100%;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
} .tile-item {
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: #2c2c2c;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
height: 350px;
} .tile-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.tile-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} .tile-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
transition: all 0.3s ease;
z-index: 2;
} .tile-content {
position: relative;
z-index: 3;
padding: 30px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
.tile-content-inner {
max-width: 100%;
} .tile-title {
margin: 0 0 10px 0;
color: #ffffff;
font-size: 24px;
font-weight: 700;
line-height: 1.3;
text-align: center;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.tile-subtitle {
margin: 0 0 20px 0;
color: #ffffff;
font-size: 16px;
opacity: 0.9;
line-height: 1.5;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
} .tile-button-wrapper {
margin-top: 20px;
}
.tile-button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 30px;
background-image: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
color: #ffffff;
text-decoration: none;
font-weight: 600;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
position: relative;
overflow: hidden;
}
.tile-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(118, 75, 162, 0.35);
}
.tile-button .button-icon {
display: inline-flex;
transition: transform 0.3s ease;
}
.tile-button:hover .button-icon {
transform: translateX(4px);
} .tile-item:hover .tile-overlay {
opacity: 0.6;
} [data-animation="zoom"] .tile-item:hover .tile-image img {
transform: scale(1.1);
} [data-animation="slide"] .tile-item:hover .tile-image img {
transform: translateX(10px);
} [data-animation="rotate"] .tile-item:hover .tile-image img {
transform: scale(1.05) rotate(2deg);
} [data-animation="blur"] .tile-item:hover .tile-image img {
filter: blur(2px);
transform: scale(1.05);
} .layout-overlay .tile-item {
border-radius: 0;
} .layout-card .tile-item {
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.layout-card .tile-content {
background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
justify-content: flex-end;
text-align: left;
align-items: flex-start;
padding-bottom: 40px;
}
.layout-card .tile-title,
.layout-card .tile-subtitle {
text-align: left;
}
.layout-card .tile-item:hover {
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
} .layout-minimal .tile-overlay {
background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}
.layout-minimal .tile-content {
justify-content: flex-end;
padding-bottom: 40px;
}
.layout-minimal .tile-button {
background: transparent;
border: 2px solid #ffffff;
color: #ffffff;
}
.layout-minimal .tile-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(118, 75, 162, 0.35);
} .layout-hover-lift .tile-item {
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layout-hover-lift .tile-item:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
} .layout-gradient .tile-overlay {
background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.layout-gradient .tile-item:hover .tile-overlay {
background: linear-gradient(135deg, rgba(255, 215, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
} .layout-modern .tile-item {
border-radius: 16px;
background: #1a1a1a;
}
.layout-modern .tile-border {
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347, #FFD700);
background-size: 300% 300%;
border-radius: 16px;
z-index: 0;
opacity: 0;
transition: opacity 0.3s ease;
animation: gradientShift 3s ease infinite;
}
.layout-modern .tile-item:hover .tile-border {
opacity: 1;
}
.layout-modern .tile-image,
.layout-modern .tile-overlay,
.layout-modern .tile-content {
border-radius: 14px;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
} .tiles-lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
}
.tiles-lightbox.active {
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
cursor: pointer;
}
.lightbox-content {
position: relative;
max-width: 90%;
max-height: 90%;
}
.lightbox-image {
max-width: 100%;
max-height: 90vh;
object-fit: contain;
}
.lightbox-close {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
color: #ffffff;
cursor: pointer;
padding: 10px;
transition: transform 0.3s ease;
}
.lightbox-close:hover {
transform: rotate(90deg);
} @media (max-width: 1024px) {
.tiles-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.tiles-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.tile-item {
min-height: 300px;
}
.tile-content {
padding: 20px;
}
.tile-title {
font-size: 20px;
}
.tile-subtitle {
font-size: 14px;
}
.tile-button {
padding: 10px 20px;
font-size: 12px;
}
}
@media (max-width: 480px) {
.tiles-grid {
grid-template-columns: 1fr;
gap: 10px;
}
.tile-item {
min-height: 250px;
}
.tile-content {
padding: 15px;
}
.tile-title {
font-size: 18px;
}
} .tile-item:focus-within {
outline: 3px solid #FFD700;
outline-offset: 2px;
}
.tile-button:focus {
outline: 3px solid #000000;
outline-offset: 2px;
} .tiles-grid.loading .tile-item {
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.6; }
100% { opacity: 1; }
} @media print {
.tiles-grid {
grid-template-columns: repeat(2, 1fr);
}
.tile-overlay {
opacity: 0.2 !important;
}
.tile-button {
display: none;
}
} .tile-stretched-link{
position:absolute;
top:0;left:0;right:0;bottom:0;
z-index:5;
text-indent:-9999px;
}
.tile-item { position: relative; }.modern-news-widget {
width: 100%;
position: relative;
} .mnw-grid {
display: grid;
gap: 20px;
}
.mnw-columns-1 .mnw-grid {
grid-template-columns: 1fr;
}
.mnw-columns-2 .mnw-grid {
grid-template-columns: repeat(2, 1fr);
}
.mnw-columns-3 .mnw-grid {
grid-template-columns: repeat(3, 1fr);
}
.mnw-columns-4 .mnw-grid {
grid-template-columns: repeat(4, 1fr);
} .mnw-layout-masonry .mnw-grid {
column-count: var(--mnw-columns, 2);
column-gap: 20px;
column-fill: balance;
}
.mnw-layout-masonry .mnw-card {
break-inside: avoid;
page-break-inside: avoid;
margin-bottom: 20px;
display: inline-block;
width: 100%;
} .mnw-layout-masonry.mnw-columns-1 .mnw-grid {
column-count: 1;
}
.mnw-layout-masonry.mnw-columns-2 .mnw-grid {
column-count: 2;
}
.mnw-layout-masonry.mnw-columns-3 .mnw-grid {
column-count: 3;
}
.mnw-layout-masonry.mnw-columns-4 .mnw-grid {
column-count: 4;
} .mnw-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
display: flex;
flex-direction: column;
height: 100%;
cursor: pointer;
}
.mnw-card:hover {
transform: translateY(-3px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
} .mnw-image {
position: relative;
width: 100%;
overflow: hidden;
}
.mnw-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}
.mnw-card:hover .mnw-image img {
transform: scale(1.05);
} .mnw-category {
position: absolute;
top: 15px;
left: 15px;
z-index: 2;
transition: all 0.3s ease;
display: inline-block;
}
.mnw-category a {
text-decoration: none;
color: inherit;
}
.mnw-card:hover .mnw-category {
transform: translateY(-2px);
} .mnw-card-content {
padding: 20px;
display: flex;
flex-direction: column;
flex: 1;
}
.mnw-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 10px;
}
.mnw-title a {
color: #333;
text-decoration: none;
}
.mnw-title a:hover {
color: #0066cc;
}
.mnw-meta {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
color: #999;
font-size: 13px;
}
.mnw-meta .mnw-author,
.mnw-meta .mnw-date {
display: inline-flex;
align-items: center;
gap: 6px;
}
.mnw-excerpt {
font-size: 14px;
color: #666;
margin-bottom: 15px;
} .mnw-read-more-wrapper {
margin-top: auto;
padding-top: 15px;
}
.mnw-read-more {
display: inline-flex;
align-items: center;
text-decoration: none;
transition: all 0.2s ease;
}
.mnw-read-more::after {
content: '→';
transition: transform 0.2s ease;
}
.mnw-read-more:hover::after {
transform: translateX(3px);
} .mnw-load-more-button,
.mnw-load-more-button:link,
.mnw-load-more-button:visited {
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 700;
}
.mnw-load-more-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.mnw-load-more-button:active {
transform: translateY(0);
}
.mnw-load-more-button.loading {
opacity: 0.8;
pointer-events: none;
} .mnw-load-more-wrapper {
margin-top: 30px;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mnw-load-more-wrapper.hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
} .mnw-layout-carousel .mnw-grid {
display: flex;
overflow-x: auto;
overflow-y: hidden;
scroll-behavior: smooth;
gap: 20px;
scrollbar-width: none;
-ms-overflow-style: none;
}
.mnw-layout-carousel .mnw-grid::-webkit-scrollbar {
display: none;
}
.mnw-layout-carousel .mnw-card {
flex: 0 0 calc(33.333% - 13.333px);
min-width: 300px;
} .mnw-layout-carousel .mnw-slides-1 .mnw-card {
flex: 0 0 calc(100% - 20px);
}
.mnw-layout-carousel .mnw-slides-2 .mnw-card {
flex: 0 0 calc(50% - 10px);
}
.mnw-layout-carousel .mnw-slides-3 .mnw-card {
flex: 0 0 calc(33.333% - 13.333px);
}
.mnw-layout-carousel .mnw-slides-4 .mnw-card {
flex: 0 0 calc(25% - 15px);
}
.mnw-carousel-wrapper {
position: relative;
}
.mnw-carousel-track {
display: flex;
gap: 20px;
scroll-behavior: smooth;
overflow-x: auto;
scrollbar-width: none;
}
.mnw-carousel-track::-webkit-scrollbar {
display: none;
}
.mnw-carousel-item {
min-width: calc(33.333% - 13.333px);
}
.mnw-carousel-nav {
display: flex;
justify-content: space-between;
margin-top: 15px;
}
.mnw-carousel-nav button {
width: 40px;
height: 40px;
border-radius: 50%;
background: white;
border: 2px solid #e0e0e0;
cursor: pointer;
color: #333;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.mnw-carousel-nav button:hover:not(:disabled) {
background: linear-gradient(135deg, #667EEA, #764BA2);
color: white;
border-color: transparent;
transform: scale(1.1);
}
.mnw-carousel-nav button:disabled {
opacity: 0.5;
cursor: not-allowed;
} .mnw-skeleton {
position: relative;
overflow: hidden;
background: #f2f2f2;
}
.mnw-skeleton::after {
content: '';
position: absolute;
inset: 0;
transform: translateX(-100%);
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 100%);
animation: mnw-shimmer 1.5s infinite;
}
@keyframes mnw-shimmer {
100% {
transform: translateX(100%);
}
} .mnw-card.compact .mnw-title {
font-size: 16px;
margin-bottom: 8px;
}
.mnw-card.compact .mnw-excerpt {
font-size: 13px;
margin-bottom: 12px;
}
.mnw-card.no-excerpt .mnw-excerpt {
display: none;
} .mnw-align-center .mnw-title,
.mnw-align-center .mnw-excerpt,
.mnw-align-center .mnw-meta {
text-align: center;
}
.mnw-align-right .mnw-title,
.mnw-align-right .mnw-excerpt,
.mnw-align-right .mnw-meta {
text-align: right;
} .mnw-image.square img {
aspect-ratio: 1 / 1;
}
.mnw-image.landscape img {
aspect-ratio: 16 / 9;
}
.mnw-image.portrait img {
aspect-ratio: 3 / 4;
} .mnw-badge {
position: absolute;
bottom: 15px;
right: 15px;
background: rgba(0,0,0,.6);
color: #fff;
padding: 6px 10px;
border-radius: 6px;
font-size: 12px;
} .mnw-layout-list .mnw-grid {
grid-template-columns: 1fr;
}
.mnw-layout-list .mnw-card {
flex-direction: row;
}
.mnw-layout-list .mnw-image {
width: 40%;
height: var(--mnw-list-image-height, 220px);
max-height: none;
}
.mnw-layout-list .mnw-card-content {
width: 60%;
} .mnw-layout-overlay .mnw-card {
position: relative;
color: #fff;
}
.mnw-layout-overlay .mnw-image img {
filter: brightness(0.75);
}
.mnw-layout-overlay .mnw-card-content {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 24px;
background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 100%);
color: #fff;
}
.mnw-layout-overlay .mnw-title a {
color: #fff;
} .mnw-masonry-item {
break-inside: avoid;
} .mnw-loading {
position: relative;
opacity: 0.7;
pointer-events: none;
}
.mnw-loading::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.8);
z-index: 99;
}
.mnw-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 4px solid #f0f0f0;
border-top-color: #667EEA;
border-radius: 50%;
animation: mnw-spin 1s linear infinite;
z-index: 100;
}
@keyframes mnw-spin {
to { transform: translate(-50%, -50%) rotate(360deg); }
} .mnw-hidden {
display: none !important;
}
.mnw-center {
display: flex;
justify-content: center;
align-items: center;
} @media (max-width: 1200px) {
.mnw-columns-4 .mnw-grid {
grid-template-columns: repeat(3, 1fr);
}
.mnw-layout-carousel .mnw-grid {
grid-template-columns: repeat(2, 1fr);
}
.mnw-carousel-item {
min-width: calc(50% - 10px);
}
}
@media (max-width: 992px) {
.mnw-columns-3 .mnw-grid,
.mnw-columns-4 .mnw-grid {
grid-template-columns: repeat(2, 1fr);
}
.mnw-layout-list .mnw-image {
width: 45%;
}
.mnw-layout-list .mnw-card-content {
width: 55%;
}
}
@media (max-width: 768px) {
.mnw-columns-2 .mnw-grid,
.mnw-columns-3 .mnw-grid,
.mnw-columns-4 .mnw-grid {
grid-template-columns: 1fr;
} .mnw-layout-masonry.mnw-columns-2 .mnw-grid,
.mnw-layout-masonry.mnw-columns-3 .mnw-grid,
.mnw-layout-masonry.mnw-columns-4 .mnw-grid {
column-count: 1;
} .mnw-layout-list .mnw-card {
flex-direction: column;
}
.mnw-layout-list .mnw-image,
.mnw-layout-list .mnw-card-content {
width: 100%;
} .mnw-layout-carousel .mnw-card {
flex: 0 0 calc(100% - 20px);
min-width: calc(100% - 20px);
}
} @media (prefers-reduced-motion: reduce) {
.mnw-card,
.mnw-image img,
.mnw-read-more::after,
.mnw-category,
.mnw-carousel-track {
transition: none !important;
animation: none !important;
}
} @media print {
.modern-news-widget {
box-shadow: none;
}
.mnw-card {
box-shadow: none;
border: 1px solid #ddd;
}
.mnw-image img {
filter: none !important;
transform: none !important;
}
.mnw-read-more,
.mnw-carousel-nav {
display: none;
}
.mnw-layout-carousel .mnw-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
overflow: visible;
}
.mnw-card {
break-inside: avoid;
box-shadow: none;
border: 1px solid #ddd;
}
}.mnw-controls {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 30px;
padding: 20px;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
} .mnw-search-wrapper {
position: relative;
flex: 1;
min-width: 250px;
}
.mnw-search-input {
width: 100%;
padding: 12px 45px 12px 15px;
border: 2px solid transparent;
border-radius: 25px;
background: white;
font-size: 14px;
transition: all 0.3s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.mnw-search-input:focus {
outline: none;
border-color: #667EEA;
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}
.mnw-search-button {
position: absolute;
right: 5px;
top: 50%;
transform: translateY(-50%);
width: 35px;
height: 35px;
border: none;
border-radius: 50%;
background: linear-gradient(135deg, #667EEA, #764BA2);
color: white;
cursor: pointer;
transition: all 0.3s ease;
}
.mnw-search-button:hover {
transform: translateY(-50%) scale(1.1);
box-shadow: 0 3px 8px rgba(118, 75, 162, 0.3);
} .mnw-filters {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.mnw-filter-item {
padding: 8px 18px;
border: 2px solid #e0e0e0;
border-radius: 20px;
background: white;
color: #666;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
}
.mnw-filter-item:hover {
border-color: #667EEA;
color: #667EEA;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
background: rgba(102, 126, 234, 0.05);
}
.mnw-filter-item.active {
background: linear-gradient(135deg, #667EEA, #764BA2);
color: white !important;
border-color: transparent;
box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
transform: none;
}
.mnw-filter-item.active:hover {
background: linear-gradient(135deg, #5a72e0, #6a4198);
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(118, 75, 162, 0.4);
} .mnw-sorting {
min-width: 180px;
}
.mnw-sort-select {
width: 100%;
padding: 10px 15px;
border: 2px solid #e0e0e0;
border-radius: 25px;
background: white;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
}
.mnw-sort-select:focus {
outline: none;
border-color: #667EEA;
} .mnw-card {
position: relative;
background: white;
border-radius: 12px;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.mnw-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
} .mnw-image {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
}
.mnw-image::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, 
transparent, 
rgba(255,255,255,0.3), 
transparent);
transition: left 0.5s ease;
z-index: 1;
}
.mnw-card:hover .mnw-image::before {
left: 100%;
}
.mnw-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease, filter 0.5s ease;
}
.mnw-card:hover .mnw-image img {
transform: scale(1.1) rotate(2deg);
filter: brightness(1.1);
} .mnw-meta {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 12px;
font-size: 12px;
color: #999;
}
.mnw-meta > div {
display: flex;
align-items: center;
gap: 5px;
}
.mnw-meta i {
font-size: 11px;
color: #667EEA;
}
.mnw-author a,
.mnw-comments a {
color: #999;
text-decoration: none;
transition: color 0.3s ease;
}
.mnw-author a:hover,
.mnw-comments a:hover {
color: #667EEA;
} .mnw-views {
position: absolute;
top: 15px;
right: 15px;
background: rgba(0,0,0,0.7);
color: white;
padding: 5px 10px;
border-radius: 20px;
font-size: 11px;
display: flex;
align-items: center;
gap: 5px;
z-index: 2;
} .mnw-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 15px;
margin-bottom: 15px;
padding-top: 10px;
border-top: 1px solid #f0f0f0;
}
.mnw-tag {
display: inline-block;
padding: 6px 14px;
background: #f8f9fa;
color: #6c757d;
border: 1px solid #e9ecef;
border-radius: 25px;
font-size: 12px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s ease;
line-height: 1.3;
white-space: nowrap;
}
.mnw-tag:hover {
background: linear-gradient(135deg, #667EEA, #764BA2);
color: white;
border-color: transparent;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
} @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.mnw-card {
animation: fadeInUp 0.6s ease both;
}
.mnw-card:nth-child(1) { animation-delay: 0.1s; }
.mnw-card:nth-child(2) { animation-delay: 0.2s; }
.mnw-card:nth-child(3) { animation-delay: 0.3s; }
.mnw-card:nth-child(4) { animation-delay: 0.4s; }
.mnw-card:nth-child(5) { animation-delay: 0.5s; }
.mnw-card:nth-child(6) { animation-delay: 0.6s; } .mnw-loading {
position: relative;
min-height: 300px;
opacity: 0.7;
pointer-events: none;
}
.mnw-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 4px solid #f0f0f0;
border-top-color: #667EEA;
border-radius: 50%;
animation: spin 1s linear infinite;
z-index: 100;
}
.mnw-loading::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.8);
z-index: 99;
}
@keyframes spin {
to { transform: translate(-50%, -50%) rotate(360deg); }
} .mnw-pagination-wrapper {
display: flex;
justify-content: center;
margin-top: 40px;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mnw-pagination-wrapper.hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.mnw-pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
}
.mnw-pagination a,
.mnw-pagination span {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 35px;
height: 35px;
padding: 0 12px;
border-radius: 18px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
}
.mnw-pagination a {
background: white;
color: #666;
border: 2px solid #e0e0e0;
}
.mnw-pagination a:hover {
background: linear-gradient(135deg, #667EEA, #764BA2);
color: white;
border-color: transparent;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
}
.mnw-pagination .current,
.mnw-pagination .mnw-pagination-current {
background: linear-gradient(135deg, #667EEA, #764BA2);
color: white;
border: 2px solid transparent;
box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
} .mnw-load-more-ajax,
.mnw-pagination-load-more button {
background: linear-gradient(135deg, #667EEA, #764BA2) !important;
color: #ffffff !important;
border-radius: 25px !important;
font-weight: 700 !important;
font-size: 14px !important;
border: none !important;
padding: 14px 32px !important;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
min-height: auto;
}
.mnw-load-more-ajax:hover,
.mnw-pagination-load-more button:hover {
background: linear-gradient(135deg, #5a72e0, #6a4198) !important;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
color: #ffffff !important;
}
.mnw-load-more-ajax:active,
.mnw-pagination-load-more button:active {
transform: translateY(0);
}
.mnw-load-more-ajax.loading,
.mnw-pagination-load-more button.loading {
opacity: 0.8;
pointer-events: none;
}
.mnw-load-more-ajax.loading::after,
.mnw-pagination-load-more button.loading::after {
content: '';
display: inline-block;
width: 16px;
height: 16px;
margin-left: 10px;
border: 2px solid rgba(255,255,255,0.3);
border-top-color: #ffffff;
border-radius: 50%;
animation: spin 1s linear infinite;
} .mnw-pagination-prev-next {
gap: 20px;
align-items: center;
}
.mnw-pagination-info {
color: #666;
font-size: 14px;
font-weight: 500;
} .mnw-infinite-scroll-trigger {
height: 100px;
display: flex;
align-items: center;
justify-content: center;
color: #999;
font-size: 14px;
}
.mnw-infinite-scroll-trigger.loading::after {
content: '';
display: inline-block;
width: 20px;
height: 20px;
margin-left: 10px;
border: 3px solid #f0f0f0;
border-top-color: #667EEA;
border-radius: 50%;
animation: spin 1s linear infinite;
} .mnw-no-posts {
text-align: center;
padding: 60px 20px;
color: #999;
}
.mnw-no-posts::before {
content: '📭';
display: block;
font-size: 48px;
margin-bottom: 20px;
}  .mnw-layout-list .mnw-card:hover {
transform: translateX(10px);
} .mnw-layout-masonry .mnw-card {
transition: all 0.4s ease;
}
.mnw-layout-masonry .mnw-card:hover {
transform: translateY(-5px) scale(1.03);
z-index: 10;
} .mnw-layout-carousel .mnw-card:hover {
transform: scale(1.05);
z-index: 10;
} @media (prefers-color-scheme: dark) {
.mnw-controls {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.mnw-search-input,
.mnw-sort-select,
.mnw-filter-item {
background: #2c2c3e;
color: #e0e0e0;
border-color: #3c3c4e;
}
.mnw-card {
background: #2c2c3e;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.mnw-title a {
color: #e0e0e0;
}
.mnw-excerpt {
color: #b0b0b0;
}
.mnw-tag {
background: #3c3c4e;
color: #e0e0e0;
}
} @media (max-width: 768px) {
.mnw-controls {
padding: 15px;
flex-direction: column;
gap: 10px;
}
.mnw-search-wrapper {
min-width: 100%;
order: 1;
}
.mnw-filters {
width: 100%;
justify-content: center;
order: 3;
}
.mnw-sorting {
width: 100%;
order: 2;
}
.mnw-card {
animation-delay: 0s !important;
} .mnw-carousel-nav {
justify-content: center;
gap: 20px;
}
.mnw-carousel-nav button {
width: 45px;
height: 45px;
}
} @media print {
.mnw-controls,
.mnw-pagination,
.mnw-load-more-wrapper,
.mnw-carousel-nav {
display: none !important;
}
.mnw-card {
break-inside: avoid;
page-break-inside: avoid;
box-shadow: none;
border: 1px solid #ddd;
}
}