/* Home Dedicated Styles - Phase 5 Migration */

/* Opinion Columnistas Section */
.opinion-columnistas-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.opinion-columnistas-container a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.opinion-columnistas-container a:hover {
    color: #ff5100 !important;
}

.highlighted-post {
    flex: 2;
}

.highlighted-post img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.small-posts-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.small-post-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-meta img {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.post-meta .sep {
    color: #ccc;
    margin: 0 4px;
}

.post-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
}

.post-title-small {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.post-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Opinion */
.opinion-columnistas-mobile-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
}

.mobile-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* Ultimas Columnistas List (Sidebar/Bottom) */
.ultimas-columnistas-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 0;
    border-radius: 0;
    border: none;
}

.columnista-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
}

.columnista-item.last {
    border-bottom: none;
}

.columnista-details {
    flex: 1;
}

.columnista-details .author-name {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
    color: #FF5100;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.columnista-details .post-link-title {
    font-size: 16px;
    color: #222;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.35;
    display: block;
}

.columnista-details .post-link-title:hover {
    color: #FF5100;
}

.columnista-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Columna Universitaria */
.columna-universitaria-container {
    display: flex;
    gap: 30px;
}

.small-posts-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.columna-universitaria-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
}

.mobile-grid-item .post-title-small {
    font-size: 14px;
    font-weight: 700;
    margin: 8px 0;
}

/* Category Posts (Home Ranking) */
.category-posts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-post-main .main-img-link img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.category-post-main .main-title {
    font-size: 22px;
    font-weight: 800;
    margin: 12px 0 8px;
}

.category-post-main .main-title a {
    color: #333;
    text-decoration: none;
}

.category-post-main .main-title a:hover {
    color: #FF5100;
}

.category-post-main .main-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.category-post-list {
    display: flex;
    flex-direction: column;
}

.category-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.category-post-item .item-img-link img {
    width: 130px;
    height: 76px;
    object-fit: cover;
    border-radius: 4px;
}

.category-post-item .item-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.category-post-item .item-title a {
    color: #333;
    text-decoration: none;
}

.category-post-item .item-title a:hover {
    color: #FF5100;
}

