<!-- start Simple Custom CSS and JS -->
<style type="text/css"> #posts-results {
display: grid;
grid-template-columns: repeat(3, 1fr);
column-gap: 30px;
row-gap: 60px;
margin-top: 60px; } .post-item {
display: flex; flex-direction: column; } .post-item img {
width: 100%; 
max-width: 100%;
height: 240px;
object-fit: cover; border-radius: 20px;
} .post-row-1 {
margin-top: 16px; display: flex;
align-items: center;
gap: 16px; } .post-type {
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 140%;
text-transform: uppercase;
color: #042354; display: flex;
align-items: center;
} .post-edicion {
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 140%;
color: #667892;
} .post-title {
font-family: Montserrat;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 130%; letter-spacing: -0.36px;
color: #042354;
margin-top: 13px; 
} .post-author {
margin-top: 16px; } .post-row-2 {
margin-top: 16px; display: flex;
align-items: center;
justify-content: start; gap: 16px; } .post-date,
.post-tema {
display: inline-flex; align-items: center; gap: 6px; font-family: "TT Norms Pro";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 140%;
color: #667892;
} .post-row-2 img {
width: 18px;
height: 18px;
} #posts-search-form {
display: flex;
gap: 12px;
align-items: center;
background: #fff;
padding: 12px;
border-radius: 8px;
}
#toggle-posts-filters,
#posts-clear-btn,
#posts-search-btn {
border: none;
border-radius: 8px;
padding: 8px 16px;
cursor: pointer;
font-weight: 600;
}
#posts-filters-dropdown {
display: none;
position: absolute;
width: 100%;
background: #fff;
border-top: 1px solid #ccc;
border-radius: 0 0 30px 30px;
padding: 16px;
box-sizing: border-box;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
margin-bottom: 16px;
display: grid;
grid-template-columns: auto auto auto auto auto;
gap: 16px;
z-index: 100;
}
.filter-column h4 {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 140%;
color: #042354;
}
.filter-column label {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 6px;
cursor: pointer;
}
#posts-results-counter {
color: #3B485A;
margin-bottom: 16px;
font-size: 18px;
font-weight: 400;
font-family: "TT Norms Pro"; }
.posts-total-count {
color: #3B485A;
font-weight: 700;
}
.filter-column {
height: 400px;
overflow-y: auto;
} #active-filters {
margin: 12px 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.filter-pill {
display: inline-flex;
align-items: center;
background: #E5EDF6;
color: #004EA8;
border: 1px solid #E5EDF6;
border-radius: 8px;
padding: 6px 10px;
font-size: 14px;
}
.remove-pill {
background: transparent;
border: none;
cursor: pointer;
margin-left: 6px;
padding: 0;
}
.remove-pill img {
width: 14px;
height: 14px;
display: block;
}
.clear-filters-btn {
background: transparent;
border: none;
color: #042354;
font-weight: 600;
cursor: pointer;
text-decoration: underline;
}
.clear-filters-btn:hover {
text-decoration: none;
}
.post-row-2 .post-date img {
border-radius: 0;
}
.my-filter-svg{
width: 24px;
height: 24px;
transition: color 0.3s ease;	
}
.my-filter-svg.active {
fill: #042354;
} .post-type-pill {
padding: 2px 14px 2px 8px; border-radius: 100px;
display: inline-flex;
align-items: center;
font-size: 14px;
font-weight: 700;
font-family: 'Montserrat';
}
.post-type-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 6px; }  .post-author {
display: flex;
align-items: center;
gap: 10px;
} .post-author-img {
width: 48px !important;
height: 48px !important;
border-radius: 100% !important;
object-fit: cover !important; } .post-author-info {
display: flex;
flex-direction: column;
align-items: flex-start; 
} .post-author-name {
color: #667892;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 140%; } .post-author-rol {
color: #667892;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 140%; 
text-transform: uppercase;
margin-top: 2px;
}
@media (max-width: 768px) {
#posts-results {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 576px) {
#posts-results {
grid-template-columns: repeat(1, 1fr);
}
}
#posts-search-form {
display: flex;
align-items: center;
background: white;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0,0,0,0.06);
gap: 12px;
flex-wrap: wrap; transition: border-radius 0.1s ease-in-out;
}
#posts-search-form.open { border-radius: 12px 12px 0 0;
}
#posts-search-input {
flex: 1;
border: none;
outline: none;
color: #667892;
font-size: 16px;
padding: 12px 16px 12px 40px;
border-radius: 8px;
background: #fff url(https://memoria.ludik.pe/wp-content/uploads/2025/04/Search.svg) no-repeat 14px center;
font-family: 'Montserrat';
background-size: 18px;
}
#toggle-posts-filters,
#posts-clear-btn,
#posts-search-btn {
border: none;
border-radius: 8px;
padding: 0px 20px;
height: 50px;
font-weight: bold;
font-size: 16px;
cursor: pointer;
font-family: 'Montserrat';
}
#toggle-posts-filters {
display: inline-flex;
align-items: center;
justify-content: space-between;
background: #fff;
color: #042354;
font-size: 16px;
font-weight: 600;
line-height: 140%;
border: 1px solid #B3C6C6;
border-radius: 12px;
height: 50px;
padding: 0 20px;
text-align: left;
cursor: pointer;
transition: background 0.3s ease-in-out;
font-family: 'Montserrat';
gap: 12px;
}
#toggle-posts-filters:hover {
background: rgba(0, 78, 168, 0.10);
}
#toggle-posts-filters .filter-icon {
width: 24px;
height: 24px;
}
#toggle-posts-filters .dropdown-arrow {
width: 12px;
height: auto;
margin-left: 26px;
}
#posts-clear-btn {
background: transparent;
color: #042354;
transition: background 0.3s ease-in-out;
}
#posts-clear-btn:hover {
background: rgba(0, 78, 168, 0.10);
}
#posts-search-btn {
background: #ADD754;
color: #042354;
} .posts-filter-edicion,
.posts-filter-tema,
.posts-filter-category,
.posts-filter-month,
.posts-filter-year { appearance: none;
-webkit-appearance: none;
width: 18px;
height: 18px;
border-radius: 4px; border: 1px solid #667892;
background: #fff;
position: relative;
cursor: pointer;
flex-shrink: 0;
} .posts-filter-edicion:checked,
.posts-filter-tema:checked,
.posts-filter-category:checked,
.posts-filter-month:checked,
.posts-filter-year:checked {
border: 1px solid #ADD754;
background: #ADD754;
} .posts-filter-edicion:checked::after,
.posts-filter-tema:checked::after,
.posts-filter-category:checked::after,
.posts-filter-month:checked::after,
.posts-filter-year:checked::after {
content: '';
position: absolute;
left: 5px;
top: 1px;
width: 5px;
height: 10px;
border: solid #042354;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
} .filter-column label {
color: #042354;
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 140%;
}
.dropdown-arrow {
transition: transform 0.3s ease;
}
.dropdown-arrow.rotated {
transform: rotate(180deg);
}
.filter-options {
margin-top: 8px;
} .filter-column h4.open {
color: #004EA8; 
}
.dropdown-arrow {
transition: transform 0.3s;
}
.dropdown-arrow.rotated {
transform: rotate(180deg);
} #posts-pagination .pagination-wrapper {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-top: 40px;
} #posts-pagination .pagination-page {
font-family: Montserrat, sans-serif;
font-size: 16px;
font-weight: 700;
line-height: 140%;
text-align: center;
color: #667892;
width: 46px;
height: 46px;
border-radius: 10px;
cursor: pointer;
border: 1px solid #DFDFE1;
background: #FFF;
transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
} #posts-pagination .pagination-page:not(.page-active):hover {
background: #E5EDF6;
border-color: #E5EDF6;
color: #004EA8;
} #posts-pagination .pagination-page.page-active {
border: 1px solid #ADD754;
background: #ADD754;
color: #042354;
} #posts-pagination .pagination-arrow {
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border-radius: 10px;
cursor: pointer;
border: 1px solid #DFDFE1;
background: #FFF;
transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
} #posts-pagination .pagination-arrow:hover {
background: #f2f2f2;
} #posts-pagination .pagination-arrow img {
display: block;
width: 24px;
height: 24px;
}  .mobile-filters-trigger {
display: none; margin: 16px 0;
} .mobile-filters-trigger button {
border: 1px solid #B3C6C6;
background: #fff;
color: #042354;
font-weight: 600;
border-radius: 8px;
padding: 8px 12px;
cursor: pointer;
font-size: 16px;
font-family: Montserrat;
}
.mobile-filters-trigger select {
border: 1px solid #B3C6C6;
border-radius: 8px;
padding: 6px 12px;
font-weight: 600;
color: #042354;
} @media (max-width: 768px) {
.mobile-filters-trigger {
display: grid;
grid-template-columns: 1fr 1fr; gap: 0; width: 100%; margin: 0; padding: 0;
} #posts-search-form {
display: none !important;
}
#open-mobile-filters,
#mobile-order-select {
width: 100%;
border-radius: 0px !important;
margin: 0; padding: 0; box-sizing: border-box; }
#posts-results, #active-filters, #posts-results-counter{
padding: 0 20px;
}
} .mobile-filters { position: fixed;
top: 0;
right: -100%;
width: 80%;
height: 100%;
background: #fff;
z-index: 2000;
transition: right 0.3s ease-in-out;
overflow-y: auto;
padding: 20px;
} .mobile-filters.open {
right: 0;
} .mobile-filters-header {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 16px;
background: #fff;
position: relative;
} #close-mobile-filters {
align-self: flex-end;
display: flex;
align-items: center;
gap: 6px;
padding: 13px 20px;
border-radius: 10px;
background: #EFF0F1;
color: #878B96;
font-family: Montserrat;
font-size: 16px;
font-weight: 500;
line-height: 120%;
border: none;
cursor: pointer;
}
.mobile-filters-heading {
display: flex;
justify-content: space-between;
align-items: center
width: 100%;
align-items: center;
}
#mobile-active-filters{
margin-top: 16px;
}
.mobile-filters-title {
color: #252525;
font-family: Montserrat;
font-size: 28px;
font-style: normal;
font-weight: 600;
line-height: 120%;
margin: 0; }
.mobile-clear-filters {
color: #878B96;
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 500;
cursor: pointer;
display: none; }
#clear-mobile-filters {
background: transparent;
border: none;
color: #878B96;
font-family: Montserrat;
font-weight: 500;
font-size: 14px;
cursor: pointer;
display: none; } .mobile-filters-header-line {
width: 100%;
height: 1px;
background: #6D758F;
}
.mobile-filters-header-title-row {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-top: 16px;
}
.mobile-filters-header button {
border: none;
background: transparent;
font-size: 16px;
font-weight: 600;
cursor: pointer;
color: #042354;
} .mobile-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
} .mobile-filter-group .accordion {
margin-bottom: 12px;
} .accordion-title {
display: flex;
align-items: center;
justify-content: space-between; font-size: 16px;
font-weight: 600;
margin-bottom: 6px;
cursor: pointer;
color: #042354;
position: relative;
} .accordion-title::after {
content: url(https://memoria.ludik.pe/wp-content/uploads/2025/04/Vector-drop-down.svg);
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 12px; height: auto;
transition: transform 0.3s ease;
} .accordion-title.open::after {
transform: translateY(-50%) rotate(180deg);
} .accordion-content {
display: none; padding-left: 8px;	
max-height: 400px;
overflow-y: auto;
} .mobile-apply {
display: block;
width: 100%;
background: #ADD754;
color: #042354;
border: none;
border-radius: 8px;
padding: 12px;
font-size: 16px;
font-weight: 600;
text-align: center;
margin-top: 16px;
cursor: pointer;
} .posts-filter-edicion,
.posts-filter-tema,
.posts-filter-category,
.posts-filter-month,
.posts-filter-year {
appearance: none;
-webkit-appearance: none;
width: 18px;
height: 18px;
border-radius: 4px;
border: 1px solid #667892;
background: #fff;
position: relative;
cursor: pointer;
flex-shrink: 0;
margin-right: 6px; } .posts-filter-edicion:checked,
.posts-filter-tema:checked,
.posts-filter-category:checked,
.posts-filter-month:checked,
.posts-filter-year:checked {
border: 1px solid #ADD754;
background: #ADD754;
}
.posts-filter-edicion:checked::after,
.posts-filter-tema:checked::after,
.posts-filter-category:checked::after,
.posts-filter-month:checked::after,
.posts-filter-year:checked::after {
content: '';
position: absolute;
left: 5px;
top: 1px;
width: 5px;
height: 10px;
border: solid #042354;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
} .accordion-content label {
font-family: Montserrat;
font-size: 14px;
font-weight: 600;
color: #042354;
margin-bottom: 6px;
display: flex;
align-items: center;
}
#posts-results-toolbar {
display: flex;
justify-content: space-between;
margin-top: 70px;
align-items: center; flex-wrap: wrap;
margin-bottom: 16px;
gap: 12px;
width: 100%;
} #posts-results-counter,
#desktop-order-buttons {
display: flex;
align-items: center;
gap: 4px;
font-family: 'Montserrat';
}
#desktop-order-buttons{
padding: 4px;
border: 1px solid #004591;
border-radius: 14px;
} #desktop-order-buttons .order-btn {
border: none;
border-radius: 10px;
padding: 10px 20px;
cursor: pointer;
font-weight: 600;
font-size: 14px;
background: #fff;
color: #042354;
transition: background 0.3s ease;
}
#desktop-order-buttons .order-btn:hover {
background: #E5EDF6;
}
#desktop-order-buttons .order-btn.active {
background: #004591;
color: #FFF;
} @media (max-width: 768px) {
#desktop-order-buttons {
display: none;
}
} @media (max-width: 768px) {
#posts-search-form {
display: none !important;
}
} #mobile-search-form {
display: none !important; 
width: 100%;
box-sizing: border-box;
gap: 12px; display: flex;
flex-direction: column;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
border-radius: 12px;
} @media (max-width: 768px) {
#posts-search-form {
display: none !important;
}
#mobile-search-form {
display: flex !important;
padding: 20px 0 !important;
}
} #mobile-posts-search-input {
flex: 1;
border: none;
outline: none;
color: #667892;
font-size: 16px;
padding: 12px 16px 12px 40px;
border-radius: 8px;
background: #fff url(https://memoria.ludik.pe/wp-content/uploads/2025/04/Search.svg) no-repeat 14px center;
font-family: 'Montserrat';
} .mobile-filters-trigger {
display: flex;
width: 100%;
} #open-mobile-filters {
flex: 1;
border: 1px solid #B3C6C6;
border-radius: 8px;
background: #fff;
color: #042354;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: start;
padding-left: 20px;
align-items: center;
gap: 10px;
} #mobile-order-select {
flex: 1;
border: 1px solid #B3C6C6;
border-radius: 8px;
font-size: 16px;
color: #042354;
font-weight: 600;
padding: 8px;
} #mobile-posts-search-btn {
width: 100%;
height: 50px;
margin-top: 8px; border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
font-family: 'Montserrat', sans-serif;
color: #042354;
background: #ADD754;
cursor: pointer;
}
.post-img-wrapper {
width: 100%;
overflow: hidden;
border-radius: 20px;
aspect-ratio: 16/9;
background-color: #000;
}
.post-img {
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.3s ease-in-out;
}
.post-item:hover .post-img {
transform: scale(1.1);
}
.post-title {
font-family: 'Montserrat', sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 130%;
color: #042354;
display: inline-block; position: relative;
transition: all 0.3s ease-in-out;
width: fit-content; 
}
.post-item:hover .post-title {
text-decoration: underline #042354;
}
.pagination-ellipsis-dots {
display: inline-flex;
gap: 4px;
align-items: center;
justify-content: center;
padding: 0 8px;
}
.pagination-ellipsis-dots .dot-pagination {
width: 4px;
height: 4px;
background-color: #000000;
border-radius: 50%;
display: inline-block;
opacity: 0.6;
}
</style>
<!-- end Simple Custom CSS and JS -->