/**
 * Newspaper Pro Style - Homepage Design
 * Matches https://demo.tagdiv.com/newspaper_pro/
 *
 * @package HaberPro
 */

/* DON'T MISS Section */
.dont-miss-section {
    margin: 40px 0;
    padding: 0;
}

.dont-miss-container {
    max-width: 100%;
    margin: 0 auto;
}

.dont-miss-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.dont-miss-badge {
    background-color: #FFD700;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    display: inline-block;
}

.dont-miss-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.dont-miss-nav-item {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.dont-miss-nav-item:hover,
.dont-miss-nav-item.active {
    color: #b71c1c;
}

.dont-miss-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #b71c1c;
}

.nav-arrow {
    font-size: 10px;
    margin-left: 5px;
}

.dont-miss-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.dont-miss-main {
    min-width: 0;
}

.dont-miss-main-article {
    background: #fff;
}

.dont-miss-main-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.dont-miss-main-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
    min-height: 400px;
}

.dont-miss-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.dont-miss-category-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #0b5d1e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    letter-spacing: 0.5px;
}

.dont-miss-main-content {
    padding: 0;
}

.dont-miss-main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #000;
}

.dont-miss-main-title a {
    color: inherit;
    text-decoration: none;
}

.dont-miss-main-title a:hover {
    color: #FF0000;
}

.dont-miss-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.dont-miss-author-date {
    color: #666;
}

.dont-miss-comments {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.dont-miss-comments svg {
    width: 16px;
    height: 16px;
}

.dont-miss-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.dont-miss-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dont-miss-side-article {
    background: #fff;
}

.dont-miss-side-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.dont-miss-side-link:hover {
    transform: translateX(5px);
}

.dont-miss-side-image {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    overflow: hidden;
    background-color: #f0f0f0;
    min-width: 120px;
    min-height: 90px;
}

.dont-miss-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 120px;
    min-height: 90px;
}

.dont-miss-side-content {
    flex: 1;
    min-width: 0;
}

.dont-miss-side-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #000;
}

.dont-miss-side-link:hover .dont-miss-side-title {
    color: #FF0000;
}

.dont-miss-side-date {
    font-size: 13px;
    color: #999;
}

.dont-miss-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dont-miss-prev,
.dont-miss-next {
    background: transparent;
    border: 1px solid #ddd;
    color: #333;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dont-miss-prev:hover,
.dont-miss-next:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

/* Modern Category Section */
.modern-category-section {
    margin: 50px 0;
    padding: 0;
}

.modern-category-container {
    max-width: 100%;
    margin: 0 auto;
}

.modern-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.modern-category-badge {
    background-color: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    display: inline-block;
}

.modern-category-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.modern-category-nav-item {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.modern-category-nav-item:hover,
.modern-category-nav-item.active {
    color: #FF0000;
}

.modern-category-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #FF0000;
}

.modern-category-content {
    display: grid;
    gap: 30px;
}

.modern-category-content.two-column {
    grid-template-columns: repeat(2, 1fr);
}

.modern-category-content.three-column {
    grid-template-columns: repeat(3, 1fr);
}

.modern-category-article {
    background: #fff;
}

.modern-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.modern-category-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
    min-height: 300px;
}

.modern-category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.modern-category-link:hover .modern-category-image img {
    transform: scale(1.05);
}

.modern-category-badge-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #0b5d1e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    letter-spacing: 0.5px;
    z-index: 10;
}

.modern-category-article-content {
    padding: 0;
}

.modern-category-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #000;
}

.modern-category-link:hover .modern-category-title {
    color: #FF0000;
}

.modern-category-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.modern-category-author-date {
    color: #666;
}

.modern-category-comments {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.modern-category-comments svg {
    width: 16px;
    height: 16px;
}

.modern-category-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dont-miss-content {
        grid-template-columns: 1fr;
    }
    
    .modern-category-content.two-column {
        grid-template-columns: 1fr;
    }
    
    .modern-category-content.three-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dont-miss-header,
    .modern-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .dont-miss-nav,
    .modern-category-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .dont-miss-main-title {
        font-size: 24px;
    }
    
    .modern-category-title {
        font-size: 20px;
    }
    
    .modern-category-content.three-column {
        grid-template-columns: 1fr;
    }
}

