.hcp-wrapper {
    position: relative;
    width: 100%;
}

.hcp-carousel {
    padding-bottom: 20px;
}

.hcp-slide {
    height: auto;
    display: flex;
}

.hcp-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 0.3s ease;
    height: 100%;
}

.hcp-img-link {
    display: block;
    position: relative;
}

.hcp-img-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.hcp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

.hcp-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

.hcp-card:hover .hcp-img {
    transform: scale(1.1);
}

.hcp-date-badge {
    position: absolute;
    bottom: -15px;
    left: 24px;
    z-index: 10;
}

.hcp-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #0056b3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.hcp-content {
    padding: 35px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hcp-title {
    margin: 0 0 12px;
}

.hcp-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hcp-excerpt {
    margin-bottom: 16px;
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

.hcp-excerpt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hcp-line-wrapper {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.hcp-line {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 0;
    background-color: #0056b3;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.hcp-card:hover .hcp-line {
    width: 100%;
}

.hcp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hcp-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hcp-btn:hover {
    background-color: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.hcp-cat-wrapper {
    display: flex;
    align-items: center;
}

.hcp-cat {
    font-size: 14px;
    color: #666;
}

.hcp-cat a {
    color: inherit;
    text-decoration: none;
}

/* Pagination */
.hcp-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.hcp-button-prev,
.hcp-button-next {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.hcp-button-prev:hover,
.hcp-button-next:hover {
    color: #0056b3;
}

.hcp-button-prev.swiper-button-disabled,
.hcp-button-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

.hcp-progress-bar {
    width: 150px;
    height: 2px;
    background-color: #e5e5e5;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.hcp-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #0056b3;
    width: 0;
    transition: width 0.3s ease;
}