h1, h2, h3, h4, h5, h6, p {
margin-top: 0.5em;
} .whatsapp-subtle-container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 5x 0;
} .whatsapp-subtle-buttons {
display: inline-flex;
gap: 4px;
background: rgba(255, 255, 255, 0.9);
padding: 6px;
border-radius: 6px;
border: 1px solid rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.subtle-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 10px;
border-radius: 3px;
border: 1px solid transparent;
background: transparent;
color: #313131;
text-decoration: none;
font-weight: bold;
font-size: 14px;
cursor: pointer;
transition: all 0.15s ease;
}
.subtle-subscribe:hover {
color: #25D366;
border-color: #e0f7e9;
background: #f0fcf5;
}
.subtle-share:hover {
color: #128C7E;
border-color: #e0f2f0;
background: #f0f9f7;
}
.subtle-btn i {
font-size: 14px;
} :root {
--posts-grid-gap-mobile: 15px;
--posts-grid-gap-tablet: 20px;
--posts-grid-gap-desktop: 30px;
--posts-grid-card-bg: #ffffff;
--posts-grid-text-color: #333333;
--posts-grid-excerpt-color: #666666;
--posts-grid-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
--posts-grid-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
--posts-grid-border-radius: 12px;
--posts-grid-animation-timing: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
--posts-grid-content-padding-mobile: 15px 12px;
--posts-grid-content-padding-tablet: 18px 16px;
--posts-grid-content-padding-desktop: 24px 20px;
} .posts-grid-shortcode {
position: relative;
width: 100%;
margin: 0 auto;
padding: 20px 0;
} .posts-grid-container {
display: grid;
gap: var(--posts-grid-gap-mobile);
grid-template-columns: repeat(2, 1fr);
width: 92%;
margin: 0 auto;
} .posts-grid-total-records {
text-align: center;
font-size: 0.95rem;
color: var(--posts-grid-excerpt-color);
margin-bottom: 20px;
padding: 0 4%;
} .post-grid-item {
position: relative;
background: var(--posts-grid-card-bg);
border-radius: var(--posts-grid-border-radius);
overflow: hidden;
box-shadow: var(--posts-grid-shadow);
transition: all var(--posts-grid-animation-timing);
opacity: 0;
animation: fadeInUp 0.6s ease forwards;
animation-delay: var(--animation-delay, 0ms);
display: grid;
grid-template-rows: auto 1fr;
height: 100%;
} .post-grid-image {
position: relative;
width: 100%;
overflow: hidden;
aspect-ratio: 1 / 1;
} .post-grid-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--posts-grid-animation-timing);
display: block;
} @supports not (aspect-ratio: 1 / 1) {
.post-grid-image::before {
float: left;
padding-top: 100%;
content: '';
}
.post-grid-image::after {
display: block;
content: '';
clear: both;
}
.post-grid-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
} .post-grid-content {
padding: var(--posts-grid-content-padding-mobile);
display: flex;
flex-direction: column;
height: 100%;
box-sizing: border-box;
} .post-grid-title {
margin: 0 0 12px 0;
font-size: 1.2rem;
line-height: 1.3;
font-weight: 600;
padding: 0;
}
.post-grid-title a {
color: var(--posts-grid-text-color);
text-decoration: none;
transition: color 0.2s ease;
display: block;
width: 100%;
} .post-grid-excerpt {
margin: 0;
color: var(--posts-grid-excerpt-color);
line-height: 1.4;
font-size: 0.95rem;
flex-grow: 1;
padding: 0;
} .posts-grid-no-excerpt .post-grid-excerpt {
display: none;
} .posts-grid-pagination {
margin-top: 40px;
text-align: center;
padding: 0 4%;
}
.posts-grid-pagination .page-numbers {
display: inline-block;
padding: 8px 16px;
margin: 0 4px;
border: 1px solid #ddd;
border-radius: 4px;
text-decoration: none;
color: var(--posts-grid-text-color);
background: var(--posts-grid-card-bg);
transition: all 0.2s ease;
}
.posts-grid-pagination .page-numbers.current {
background: #2271b1;
color: white;
border-color: #2271b1;
}
.posts-grid-pagination .page-numbers:hover:not(.current) {
background: #f5f5f5;
border-color: #999;
} .post-grid-item:hover {
transform: translateY(-8px);
box-shadow: var(--posts-grid-shadow-hover);
}
.post-grid-item:hover::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #2271b1, #1d5f9a);
z-index: 2;
}
.post-grid-image:hover img {
transform: scale(1.05);
}
.post-grid-title a:hover {
color: #2271b1;
} .post-grid-title a:focus,
.post-grid-image a:focus,
.page-numbers:focus {
outline: 2px solid #2271b1;
outline-offset: 2px;
} @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
} @media (prefers-reduced-motion: reduce) {
.post-grid-item,
.post-grid-image img,
.posts-grid-pagination .page-numbers {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.post-grid-item {
opacity: 1;
animation: none;
}
} @media (max-width: 480px) {
.posts-grid-container {
gap: 12px;
width: 94%;
}
.post-grid-content {
padding: 12px 10px;
}
.post-grid-title {
font-size: 1.1rem;
margin-bottom: 8px;
}
.post-grid-excerpt {
font-size: 0.85rem;
line-height: 1.3;
}
} @media (min-width: 768px) and (max-width: 1023px) {
.posts-grid-container {
grid-template-columns: repeat(2, 1fr);
gap: var(--posts-grid-gap-tablet);
width: 90%;
}
.post-grid-content {
padding: var(--posts-grid-content-padding-tablet);
}
.post-grid-title {
font-size: 1.25rem;
margin-bottom: 14px;
}
.post-grid-excerpt {
font-size: 0.95rem;
line-height: 1.4;
}
} @media (min-width: 1024px) {
.posts-grid-container {
gap: var(--posts-grid-gap-desktop);
max-width: 1200px;
width: 90%;
} .post-grid-content {
padding: var(--posts-grid-content-padding-desktop);
}
.post-grid-title {
font-size: 1.3rem;
margin-bottom: 16px;
line-height: 1.35;
}
.post-grid-excerpt {
font-size: 1rem;
line-height: 1.45;
} .posts-grid-1-per-row .posts-grid-container {
grid-template-columns: repeat(1, 1fr);
max-width: 800px;
}
.posts-grid-2-per-row .posts-grid-container {
grid-template-columns: repeat(2, 1fr);
}
.posts-grid-3-per-row .posts-grid-container {
grid-template-columns: repeat(3, 1fr);
}
.posts-grid-4-per-row .posts-grid-container {
grid-template-columns: repeat(4, 1fr);
} .posts-grid-1-per-row .post-grid-item {
display: grid;
grid-template-columns: 300px 1fr;
grid-template-rows: 1fr;
align-items: stretch;
}
.posts-grid-1-per-row .post-grid-image {
aspect-ratio: 1 / 1;
height: 100%;
}
.posts-grid-1-per-row .post-grid-content {
padding: 30px;
display: flex;
flex-direction: column;
justify-content: center;
}
.posts-grid-1-per-row .post-grid-title {
font-size: 1.5rem;
margin-bottom: 20px;
}
.posts-grid-1-per-row .post-grid-excerpt {
font-size: 1.1rem;
line-height: 1.5;
}
} @media (min-width: 1200px) {
.posts-grid-container {
max-width: 1200px;
} .posts-grid-2-per-row .post-grid-content,
.posts-grid-3-per-row .post-grid-content,
.posts-grid-4-per-row .post-grid-content {
padding: 26px 22px;
}
.posts-grid-2-per-row .post-grid-title {
font-size: 1.35rem;
}
.posts-grid-3-per-row .post-grid-title {
font-size: 1.3rem;
}
.posts-grid-4-per-row .post-grid-title {
font-size: 1.25rem;
margin-bottom: 14px;
}
.posts-grid-4-per-row .post-grid-excerpt {
font-size: 0.95rem;
line-height: 1.4;
}
} @media (min-width: 1440px) {
.posts-grid-container {
max-width: 1400px;
}
.posts-grid-2-per-row .post-grid-content,
.posts-grid-3-per-row .post-grid-content {
padding: 28px 24px;
}
} @media (prefers-color-scheme: dark) {
.post-grid-item {
--posts-grid-card-bg: #1e1e1e;
--posts-grid-text-color: #f0f0f0;
--posts-grid-excerpt-color: #b0b0b0;
--posts-grid-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
--posts-grid-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.4);
} .post-grid-item {
background: #ffffff !important;
--posts-grid-text-color: #333333;
--posts-grid-excerpt-color: #666666;
}
.posts-grid-pagination .page-numbers {
background: #ffffff;
color: #333333;
border-color: #ddd;
}
.posts-grid-pagination .page-numbers:hover:not(.current) {
background: #f5f5f5;
}
} [dir="rtl"] .post-grid-item:hover::before {
left: auto;
right: 0;
}
[dir="rtl"] .post-grid-image img {
transform-origin: center;
}
[dir="rtl"] .post-grid-content {
text-align: right;
} @media print {
.posts-grid-container {
display: block !important;
width: 100% !important;
gap: 0 !important;
}
.post-grid-item {
break-inside: avoid;
page-break-inside: avoid;
margin-bottom: 20px;
box-shadow: none !important;
border: 1px solid #ddd !important;
transform: none !important;
display: flex !important;
flex-direction: row;
align-items: flex-start;
}
.post-grid-image {
float: left;
width: 120px !important;
margin-right: 15px;
margin-bottom: 10px;
aspect-ratio: unset !important;
height: 120px !important;
}
.post-grid-image img {
width: 100% !important;
height: 100% !important;
}
.post-grid-content {
padding: 15px !important;
overflow: hidden;
flex: 1;
}
.post-grid-title a::after {
content: " (" attr(href) ")";
font-size: 0.8em;
font-weight: normal;
color: #666;
} .posts-grid-pagination,
.posts-grid-total-records {
display: none !important;
}
} .posts-grid-shortcode,
.posts-grid-container {
max-width: none !important;
}
.posts-grid-shortcode .posts-grid-container {
width: 92% !important;
}
@media (min-width: 768px) {
.posts-grid-shortcode .posts-grid-container {
width: 90% !important;
}
} .post-grid-content > *:first-child {
margin-top: 0;
}
.post-grid-content > *:last-child {
margin-bottom: 0;
}