.Custom-Post-wrap {
    width: 100%;
    --cp-cols-desktop: 4;
    --cp-cols-tablet: 2;
    --cp-cols-phone: 1;
    --cp-gap-desktop: 16px;
    --cp-gap-tablet: 16px;
    --cp-gap-phone: 16px;
}

.Custom-Post-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.Custom-Post-section-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
}

.Custom-Post-grid {
    display: grid;
    grid-template-columns: repeat(var(--cp-cols-desktop), minmax(0, 1fr));
    gap: var(--cp-gap-desktop);
}

.Custom-Post-card {
    display: flex;
    flex-direction: column;
    min-height: 178px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.Custom-Post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
}

.Custom-Post-image-wrap {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.Custom-Post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.Custom-Post-card:hover .Custom-Post-image {
    transform: scale(1.03);
}

.Custom-Post-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 16px 18px;
}

.Custom-Post-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 22px;
}

.Custom-Post-category {
    margin: 0;
    color: #0f6fec;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.Custom-Post-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.Custom-Post-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.Custom-Post-title a {
    color: #0f172a;
    text-decoration: none;
}

.Custom-Post-title a:hover {
    color: #0f6fec;
}

.Custom-Post-excerpt {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.Custom-Post-meta {
    margin-top: auto;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.Custom-Post-empty {
    padding: 16px;
    background: #ffffff;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 10px;
    color: #64748b;
}

@media (max-width: 980px) {
    .Custom-Post-grid {
        grid-template-columns: repeat(var(--cp-cols-tablet), minmax(0, 1fr));
        gap: var(--cp-gap-tablet);
    }
}

@media (max-width: 767px) {
    .Custom-Post-grid {
        grid-template-columns: repeat(var(--cp-cols-phone), minmax(0, 1fr));
        gap: var(--cp-gap-phone);
    }

    .Custom-Post-card-inner {
        padding: 16px;
    }

    .Custom-Post-section-title {
        font-size: 22px;
    }
}


.Custom-Post-card {
    position: relative;
    cursor: pointer;
}
.Custom-Post-category {
    text-decoration: none;
}
.Custom-Post-category:hover {
    color: #0b5ed7;
}


.Custom-Post-wrap--list .Custom-Post-grid {
    display: block;
}

.Custom-Post-grid--list {
    display: block;
}

.Custom-Post-card--list {
    border: 0;
    border-bottom: 1px solid #e3e7ee;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.Custom-Post-card--list:last-child {
    border-bottom: 0;
}

.Custom-Post-card--list .Custom-Post-card-inner {
    padding: 14px 0 16px;
}

.Custom-Post-card--list .Custom-Post-category {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0;
}

.Custom-Post-card--list .Custom-Post-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.35;
}

.Custom-Post-card--list .Custom-Post-meta {
    color: #6c7484;
    font-size: 14px;
}

.Custom-Post-card--list .Custom-Post-excerpt,
.Custom-Post-card--list .Custom-Post-badge,
.Custom-Post-card--list .Custom-Post-topline {
    display: none;
}

@media (max-width: 980px) {
    .Custom-Post-card--list .Custom-Post-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .Custom-Post-card--list .Custom-Post-title {
        font-size: 18px;
    }
}


.Custom-Post-wrap--hover-shadow-off .Custom-Post-card:hover {
    transform: none;
    box-shadow: none;
}

.Custom-Post-wrap--hover-shadow-off .Custom-Post-card:hover .Custom-Post-image {
    transform: none;
}

.Custom-Post-card--list {
    min-height: 0;
    height: auto;
    align-items: stretch;
}

.Custom-Post-card--list .Custom-Post-card-inner {
    display: block;
    flex: none;
}

.Custom-Post-wrap--list-border-off .Custom-Post-card--list {
    border-bottom: 0;
}

.Custom-Post-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.Custom-Post-meta-time{display:inline-flex;align-items:center;gap:4px}.Custom-Post-meta-clock{font-size:12px;line-height:1}.Custom-Post-meta-sep{opacity:.7}

.Custom-Post-card-inner {
    padding: var(--cp-card-inner-padding-desktop, 16px 18px);
    margin: var(--cp-card-inner-margin-desktop, 0px);
}
@media (max-width: 980px) {
    .Custom-Post-card-inner {
        padding: var(--cp-card-inner-padding-tablet, var(--cp-card-inner-padding-desktop, 16px));
        margin: var(--cp-card-inner-margin-tablet, var(--cp-card-inner-margin-desktop, 0px));
    }
}
@media (max-width: 767px) {
    .Custom-Post-card-inner {
        padding: var(--cp-card-inner-padding-phone, var(--cp-card-inner-padding-tablet, 16px));
        margin: var(--cp-card-inner-margin-phone, var(--cp-card-inner-margin-tablet, 0px));
    }
}
.Custom-Post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
}
.Custom-Post-meta-sep {
    opacity: .7;
    margin: 0 8px;
}
.Custom-Post-clock {
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
}
.Custom-Post-meta-time,
.Custom-Post-meta-date {
    display: inline-flex;
    align-items: center;
}

.Custom-Post-meta-author{font-weight:600}.Custom-Post-clock{font-size:12px;line-height:1;display:inline-flex;align-items:center}
