.hw-content-cluster-wrapper {
    font-family: sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.hw-cluster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.hw-cluster-header h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin: 0;
    display: flex;
    align-items: center;
}

.hw-cluster-header h2 .marker {
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #008000;
    margin-right: 8px;
}

.hw-cluster-header .view-all {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
}

.hw-cluster-grid {
    display: flex;
    gap: 30px;
    /* Reverse row to put the main post on the right and side posts on the left */
    flex-direction: row-reverse;
}

.hw-cluster-main {
    flex: 2;
    overflow: hidden;
    border-radius: 12px;
}

.main-post-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

.hw-cluster-main:hover .main-post-card {
    transform: scale(1.05);
}

.main-post-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
}

.main-post-overlay {
    position: relative;
    padding: 30px;
    color: white;
    width: 100%;
}

.main-post-overlay .post-title {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.main-post-overlay .post-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-post-overlay .post-title a:hover {
    color: #ffb6c1;
}

.main-post-overlay .post-excerpt {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #ddd;
}

.post-meta {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-post-overlay .post-meta {
    color: #ccc;
}

.hw-cluster-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.side-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.side-post-item:first-child {
    padding-top: 0;
}

.side-post-item:last-child {
    border-bottom: none;
}

.post-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ddd;
    line-height: 1;
}

.post-content .post-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.3;
}

.post-content .post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content .post-title a:hover {
    color: #ffb6c1;
}
