.home-premium-container {
    max-width: 1220px;
    margin: 0 auto;
    color: #0f0f0f;
    line-height: 1.4;
    margin-top: -12px;
}

/* Cover & Avatar */
.hp-cover {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.hp-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: #0000007a;
    padding: 20px 24px;
    border-radius: 8px;
}

.hp-avatar.plain {
    margin: 32px 0 48px;
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
    background: none;
    padding: 0;
    border: none;
}

.hp-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.hp-name {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

/* Posts Section */
.hp-posts {
    margin-top: 10px;
}

.hp-posts h3 {
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
}

.hp-posts > p {
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 60px 0;
}

/* Posts Grid */
.premium-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.premium-post {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    height: 360px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.premium-post a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.post-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f9f9f9;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease !important;
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0000002b;
    backdrop-filter: blur(2px);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.premium-badge svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2.5;
}

.post-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)) !important;
    color: #fff;
    z-index: 1;
}

.post-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    text-align: center;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date-vip {
    text-align: center;
    margin-bottom: 0;
    color:#fff;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-premium-container {
        padding: 0 16px;
    }
    
    .hp-cover {
        height: 220px;
        margin-bottom: 70px;
    }
    
    .hp-avatar {
        bottom: -50px;
        left: 50%;
        transform: translateX(-50%);
        padding: 16px 20px;
        gap: 12px;
    }
    
    .hp-avatar img {
        width: 64px;
        height: 64px;
    }
    
    .hp-name {
        font-size: 20px;
    }
    
    .premium-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    }
    
    .post-info {
        padding: 14px;
    }
    
    .post-title {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }
    
    .hp-posts {
        margin-top: 24px;
    }
    
    .hp-posts h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .premium-badge {
        top: 8px;
        left: 8px;
        width: 28px;
        height: 28px;
    }
    
    .premium-badge svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .home-premium-container {
        padding: 0 12px;
    }
    
    .hp-cover {
        height: 220px;
        margin-bottom: 24px;
    }
    
    .hp-avatar {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 16px;
    }
    
    .hp-avatar.plain {
        flex-direction: column;
        text-align: center;
        margin: 24px 0 32px;
    }
    
    .post-info {
        padding: 12px;
    }
    
    .hp-name {
        font-size: 18px;
        margin-top: 0;
    }
    
    .premium-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    }
    .premium-post {
    height: 280px;}
    
    .premium-badge {
        width: 26px;
        height: 26px;
    }
    
    .premium-badge svg {
        width: 14px;
        height: 14px;
    }
}









.membresia-header {
    text-align: center;
}

.membresia-status {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f6f8fa;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    display: inline-block;
}

.status-active {
    background: #e6fcef;
    color: #059669;
    border-color: #bbf7d0;
}

.membresias-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.membresia-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.membresia-card:hover {
    border-color: #d1d5db;
}

.card-header {
    padding: 18px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.precio-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.precio {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
}

.precio-simbolo {
    font-size: 18px;
    color: #6b7280;
}

.duracion {
    font-size: 14px;
    color: #6b7280;
    margin: 0px;
}
.info-mb{
    margin: 0px;
}

.card-content {
    padding: 20px;
    text-align: center;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.card-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
}

.btn-membresia {
    background: rgb(242, 244, 245);
    color: rgb(18, 43, 70);
    border: none;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-membresia:hover {
    color:rgb(0, 124, 255);
}
a.hp-profile-btn:hover {
    color: #ffffffd1;
}

.membresia-config-msg {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 32px;
    font-size: 14px;
    color: #374151;
    text-align: center;
}

.membresia-config-msg a {
    color: #111827;
    text-decoration: underline;
    font-weight: 500;
}

@media (max-width: 768px) {
    .membresias-cards {
        grid-template-columns: 1fr;
    }

    .precio {
        font-size: 24px;
    }
}


a.hp-profile-btn {
    color: white;
    border: 1px solid;
    border-radius: 6px;
    padding: 4px 18px;
    font-size: 14px;
}