.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}.dthps-blog-section {
--dthps-blog-accent: #1b7340;
--dthps-blog-badge: #f39200;
--dthps-blog-card-bg: #f2f2f2;
--dthps-blog-radius: 16px;
--dthps-blog-gap: 28px;
width: 100%;
box-sizing: border-box;
}
.dthps-blog-section *,
.dthps-blog-section *::before,
.dthps-blog-section *::after {
box-sizing: border-box;
}
.dthps-blog-section__search {
position: relative;
max-width: 720px;
margin: 0 auto 28px;
}
.dthps-blog-section__search-input {
width: 100%;
appearance: none;
border: 2px solid var(--dthps-blog-accent);
border-radius: 999px;
padding: 14px 52px 14px 22px;
font-size: 1rem;
line-height: 1.4;
color: #222;
background: #fff;
outline: none;
}
.dthps-blog-section__search-input::placeholder {
color: #777;
}
.dthps-blog-section__search-input:focus {
box-shadow: 0 0 0 3px color-mix(in srgb, var(--dthps-blog-accent) 25%, transparent);
}
.dthps-blog-section__search-icon {
position: absolute;
top: 50%;
right: 18px;
width: 22px;
height: 22px;
transform: translateY(-50%);
color: var(--dthps-blog-accent);
pointer-events: none;
display: flex;
align-items: center;
justify-content: center;
}
.dthps-blog-section__search-icon svg {
width: 100%;
height: 100%;
display: block;
}
.dthps-blog-section__filters {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
margin: 0 0 36px;
}
.dthps-blog-section__filter {
appearance: none;
border: 2px solid var(--dthps-blog-accent);
border-radius: 10px;
background: #fff;
color: var(--dthps-blog-accent);
padding: 10px 22px;
font-size: 0.95rem;
font-weight: 600;
line-height: 1.2;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}
.dthps-blog-section__filter:hover,
.dthps-blog-section__filter.is-active {
background: var(--dthps-blog-accent);
color: #fff;
}
.dthps-blog-section__filter:focus-visible {
outline: 2px solid var(--dthps-blog-accent);
outline-offset: 2px;
}
.dthps-blog-section__grid {
display: grid;
grid-template-columns: 1fr;
gap: var(--dthps-blog-gap);
align-items: stretch;
min-height: 120px;
}
.dthps-blog-section.is-loading .dthps-blog-section__grid {
opacity: 0.55;
pointer-events: none;
}
.dthps-blog-section__empty {
grid-column: 1 / -1;
margin: 0;
padding: 32px 16px;
text-align: center;
color: #555;
}
.dthps-blog-card {
margin: 0;
min-width: 0;
}
.dthps-blog-card__link {
display: flex;
flex-direction: column;
height: 100%;
text-decoration: none;
color: inherit;
border-radius: var(--dthps-blog-radius);
overflow: hidden;
background: transparent;
}
.dthps-blog-card__media {
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: var(--dthps-blog-radius);
background: #d9d9d9;
flex: 0 0 auto;
}
.dthps-blog-card__media--placeholder {
min-height: 180px;
}
.dthps-blog-card__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.dthps-blog-card__badge {
position: absolute;
top: 14px;
left: 14px;
width: 42px;
height: 42px;
border-radius: 50%;
background: var(--dthps-blog-badge);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
z-index: 2;
}
.dthps-blog-card__badge img,
.dthps-blog-card__badge svg {
width: 22px;
height: 22px;
display: block;
}
.dthps-blog-card__body {
position: relative;
background: var(--dthps-blog-card-bg);
border-radius: var(--dthps-blog-radius);
padding: 22px 20px 24px;
flex: 1 1 auto;
display: flex;
flex-direction: column;
gap: 10px;
} .dthps-blog-card__body::before {
content: '';
position: absolute;
top: -10px;
right: 28px;
width: 0;
height: 0;
border-left: 12px solid transparent;
border-right: 12px solid transparent;
border-bottom: 12px solid var(--dthps-blog-card-bg);
z-index: 1;
}
.dthps-blog-card__title {
margin: 0;
font-size: 1.15rem;
line-height: 1.3;
font-weight: 700;
color: #1a1a1a;
}
.dthps-blog-card__excerpt {
margin: 0;
font-size: 0.98rem;
line-height: 1.45;
color: #333;
}
.dthps-blog-section__pagination-wrap {
margin-top: 36px;
}
.dthps-blog-section__pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 8px;
}
.dthps-blog-section__page {
appearance: none;
min-width: 40px;
height: 40px;
padding: 0 12px;
border: 2px solid var(--dthps-blog-accent);
border-radius: 10px;
background: #fff;
color: var(--dthps-blog-accent);
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
line-height: 1;
}
.dthps-blog-section__page.is-current,
.dthps-blog-section__page:hover:not(:disabled):not(.dthps-blog-section__page--ellipsis) {
background: var(--dthps-blog-accent);
color: #fff;
}
.dthps-blog-section__page:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.dthps-blog-section__page--ellipsis {
border: none;
background: transparent;
color: #666;
cursor: default;
min-width: 24px;
padding: 0;
}
.dthps-blog-section__page:focus-visible {
outline: 2px solid var(--dthps-blog-accent);
outline-offset: 2px;
}
@media (min-width: 768px) {
.dthps-blog-section__grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
} .dthps-blog-section__grid .dthps-blog-card:nth-child(3n + 2) .dthps-blog-card__link {
flex-direction: column-reverse;
}
.dthps-blog-section__grid .dthps-blog-card:nth-child(3n + 2) .dthps-blog-card__body::before {
top: auto;
bottom: -10px;
right: auto;
left: 28px;
border-bottom: none;
border-top: 12px solid var(--dthps-blog-card-bg);
}
}
@media (max-width: 767px) {
.dthps-blog-section__search {
margin-bottom: 20px;
}
.dthps-blog-section__filters {
margin-bottom: 24px;
gap: 10px;
}
.dthps-blog-section__filter {
padding: 9px 16px;
font-size: 0.9rem;
}
.dthps-blog-section {
--dthps-blog-gap: 20px;
}
}