/* Pentamedia Network Aggregator — CSS Pendukung
   Taruh di: Penampilan > Kustomisasi > CSS Tambahan (Additional CSS)
   atau di file style.css tema aktif. */

.pentamedia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.pentamedia-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pentamedia-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.pentamedia-card .pentamedia-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.pentamedia-source-strip {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    min-height: 52px;
}

.pentamedia-source-strip .pentamedia-source-logo {
    height: 38px;
    width: auto;
    max-width: 95%;
    object-fit: contain;
    display: block;
}

.pentamedia-source-text {
    font-size: 12px;
    font-weight: 700;
    color: #3730a3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pentamedia-grid,
.pentamedia-grid * {
    font-family: Arial, Helvetica, sans-serif !important;
}

.pentamedia-title {
    margin: 14px 14px 0;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal !important;
    overflow: visible !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-overflow: unset !important;
}

.pentamedia-title a {
    color: #111;
    text-decoration: none;
    white-space: normal !important;
}

.pentamedia-title a:hover {
    text-decoration: underline;
}

.pentamedia-excerpt {
    margin: 8px 14px 0;
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
    white-space: normal !important;
    overflow: visible !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-overflow: unset !important;
}

.pentamedia-readmore {
    display: inline-block;
    margin: 12px 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.pentamedia-readmore:hover {
    text-decoration: underline;
}

.pentamedia-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 32px 0;
}

.pentamedia-page-link {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.pentamedia-page-link:hover {
    background: #f5f5f5;
}

.pentamedia-page-active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}
