/* ---- Lent Page Specific Styles ---- */
.lent-page-header {
    background: var(--navy);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lent-page-header .container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lent-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.lent-back-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.lent-page-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lent-page-title .bolt-icon {
    color: #ffd900;
    font-size: 16px;
}


/* Feed items */
.lent-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 5px 0;
}

.lent-date-divider {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 65px;
    z-index: 5;
}

.lent-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    background: var(--white);
}

.lent-item:hover {
    background: var(--gray-50);
}

.lent-item-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
    min-width: 40px;
    padding-top: 3px;
    font-family: var(--font-heading);
}

.lent-item-img {
    width: 90px;
    height: 66px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-100);
}

.lent-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lent-item-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lent-item:hover .lent-item-title {
    color: var(--red);
}

.lent-item.breaking .lent-item-title {
    color: var(--red);
}

.lent-item.breaking {
    border-left: 3px solid var(--red);
}

/* Load more */
.lent-load-more {
    display: block;
    width: calc(100% - 32px);
    margin: 20px 16px;
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.lent-load-more:hover {
    background: var(--navy);
    color: var(--white);
}

.lent-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scroll to top button */
.lent-scroll-top {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.lent-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.lent-scroll-top:hover {
    background: var(--red);
}

/* Empty state */
.lent-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.lent-loading i {
    font-size: 36px;
    color: var(--gray-300);
    margin-bottom: 15px;
    display: block;
}

/* ---- Video Page Specific Styles ---- */
.video-page-header {
    background: var(--navy);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.video-page-header .container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.video-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.video-back-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.video-page-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px 15px;
}

/* Video Filters */
.video-filters-wrapper {
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.video-filters-wrapper::-webkit-scrollbar {
    display: none;
}

.video-filters {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.filter-btn {
    cursor: pointer;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
    text-decoration: none;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Video Card */
.video-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: var(--gray-100);
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

/* Overlay Gradient */
.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
    z-index: 1;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.video-play-btn {
    width: 55px;
    height: 55px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-left: 3px;
    font-size: 20px;
    transition: transform 0.2s;
    position: relative;
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
}

.video-body {
    padding: 12px;
    flex-grow: 1;
    z-index: 2;
}

/* On-Image Tags */
.video-tags-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 5;
    height: 24px;
}

.video-tag {
    font-size: 10px;
    font-weight: 700;
    color: white;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-tag-date {
    background: var(--navy);
    flex: 1;
}

.video-tag-cat {
    background: var(--red);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex: 2;
}

.video-tag-time {
    background: #1a3251;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skeleton Loading */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.skeleton-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    height: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.skeleton-img {
    height: 160px;
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 160px;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

.skeleton-text {
    height: 12px;
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

/* Grid specific */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-container {
        padding: 15px 10px 20px 10px;
    }
}

/* ---- Mobile Index Hero Slider ---- */
.hero-manset {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-manset img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px 20px 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@media (max-width: 767px) {
    .hero-manset img {
        height: 280px;
    }

    .hero-title {
        font-size: 17px;
    }

    .hero-overlay {
        padding: 20px 15px 12px 15px;
    }
}

/* ---- Mobile News Card ---- */
.mobile-news-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    background: var(--white);
    transition: background 0.15s;
    overflow: hidden;
}

.mobile-news-card:hover {
    background: var(--gray-50);
}

.mobile-card-thumb {
    width: 130px;
    min-width: 130px;
    height: 90px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-card-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 22px;
}

.mobile-meta-item {
    font-size: 9px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.mobile-meta-date {
    background: var(--navy);
    flex: 1.2;
}

.mobile-meta-cat {
    background: var(--red);
    flex: 2;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-meta-time {
    background: #1a3251;
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-news-card-body {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    align-items: center;
}

.mobile-news-card-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-news-card:hover .mobile-news-card-title {
    color: var(--red);
}

/* Load More Button */
.load-more-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid var(--navy);
    border-top: none;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.03em;
}

.load-more-btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* ============================================
   Bütün Xəbərlər (All News Archive) Page
   ============================================ */

.all-news-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--red);
}

.all-news-page-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--red);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

/* Category filter pills */
.all-news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.all-news-cat-pill {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.all-news-cat-pill:hover,
.all-news-cat-pill.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* 3-column card grid */
.all-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.all-news-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.all-news-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

.all-news-card.is-breaking {
    border-top: 3px solid var(--red);
}

.all-news-card-img-link {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

.all-news-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.all-news-card:hover .all-news-card-img-link img {
    transform: scale(1.04);
}

.all-news-breaking-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.all-news-card-date {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    padding: 14px 10px 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.90);
}

.all-news-card-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.all-news-card-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.all-news-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.45;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.all-news-card-title:hover {
    color: var(--red);
}

/* Pagination */
.all-news-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.all-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    background: #fff;
    transition: all 0.18s;
}

.all-news-pagination .page-numbers:hover,
.all-news-pagination .page-numbers.current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Mobile: single column */
@media (max-width: 768px) {
    .all-news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .all-news-page-title {
        font-size: 18px;
    }
    .all-news-categories {
        display: none;
    }
}

@media (max-width: 480px) {
    .all-news-grid {
        grid-template-columns: 1fr;
    }
}