/* OGV Stylish Post Grid — compact three-column cards with subtle category chips */
.owc-home-post-section {
    width: 100%;
    background: #fff;
    padding: 28px 20px;
    box-sizing: border-box;
}
.owc-home-post-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}
.owc-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}
.owc-post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(25, 35, 50, 0.12);
    border: 1px solid rgba(25, 35, 50, 0.045);
    transition: transform .22s ease, box-shadow .22s ease;
}
.owc-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(25, 35, 50, 0.16);
}
.owc-post-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f4f4;
    flex: 0 0 auto;
}
.owc-post-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
    margin: 0;
}
.owc-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.12) 100%);
}
.owc-image-categories {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5px;
    max-height: 48px;
    overflow: hidden;
    pointer-events: none;
}
.owc-category-chip {
    display: inline-block;
    max-width: 100%;
    padding: 4px 7px;
    border-radius: 4px;
    background: var(--owc-category-colour, #087f8c);
    color: #fff;
    font-size: 9px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.owc-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    color: #fff;
    background: linear-gradient(135deg, #24364b, #66758a);
    font-size: 12px;
    letter-spacing: .14em;
    font-weight: 600;
}
.owc-post-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px 18px;
    background: #fff;
    box-sizing: border-box;
}
.owc-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 7px;
    color: #858585;
    font-size: 11px;
    line-height: 1.4;
}
.owc-post-title {
    margin: 0 0 10px !important;
    padding: 0;
    font-size: clamp(17px, 1.45vw, 20px) !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -.02em;
}
.owc-post-title a {
    color: #283344;
    text-decoration: none;
}
.owc-post-title a:hover {
    color: #d82d63;
}
.owc-post-excerpt {
    margin: 0 0 15px;
    color: #60656c;
    font-size: 13px;
    line-height: 1.55;
}
.owc-read-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 36px;
    margin-top: auto;
    padding: 0 17px;
    border-radius: 7px;
    background: #20bf62;
    color: #fff !important;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(32, 191, 98, .18);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.owc-read-button:hover {
    background: #16a653;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(32, 191, 98, .24);
}
.owc-arrow {
    font-size: 15px;
    letter-spacing: 0;
}
.owc-no-posts {
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(25, 35, 50, .08);
}
@media (max-width: 900px) {
    .owc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .owc-home-post-section { padding: 24px 16px; }
}
@media (max-width: 600px) {
    .owc-post-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .owc-home-post-section { padding: 18px 12px; }
    .owc-post-content { padding: 14px 15px 16px; }
    .owc-post-title { font-size: 18px !important; }
}
