/*
Theme Name: Tollywood Focus Kolkata
Theme URI: https://tollywoodfocuskolkata.com
Author: Tollywood Focus Kolkata
Author URI: https://tollywoodfocuskolkata.com
Description: Custom theme for Tollywood Focus Kolkata - Bengali cinema, television & entertainment news portal
Version: 1.0.0
License: Private
Tags: news, entertainment, Bengali, Tollywood, custom-theme
Text Domain: tfk
*/

/* --------------------------------------------------
   GLOBAL RESET & BASE STYLES
-------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    background-color: #000;
    color: #ffffff;
    line-height: 1.5;
    padding-top: 166px !important;
}

a { color: inherit; text-decoration: none; }

/* --------------------------------------------------
   MAIN WRAPPER
-------------------------------------------------- */
.tfk-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.tfk-main-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 30px;
    background: #000000;
}

/* --------------------------------------------------
   SECTION TITLE
-------------------------------------------------- */
.tfk-section-title {
    color: #F5C518;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    border-left: 6px solid #F5C518;
    padding-left: 20px;
    text-transform: uppercase;
    background: transparent;
}

/* --------------------------------------------------
   CARD GRID
-------------------------------------------------- */
.tfk-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.tfk-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2d2d2d;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    will-change: transform;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.tfk-card:hover {
    transform: translateY(-8px);
    border-color: #F5C518;
    box-shadow: 0 10px 25px rgba(245, 197, 24, 0.15);
}

.tfk-card-image-wrap {
    width: 100%;
    height: 170px;
    overflow: hidden;
    position: relative;
    background: #000000;
}

.tfk-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tfk-card:hover .tfk-card-image-wrap img {
    transform: scale(1.05);
}

.tfk-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tfk-card-body h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.tfk-card-body p {
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tfk-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #2d2d2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tfk-card-meta {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --------------------------------------------------
   PAGINATION
-------------------------------------------------- */
.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li a,
.pagination li span {
    padding: 10px 18px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.pagination li a:hover {
    background: #F5C518;
    color: #000;
    border-color: #F5C518;
}

.pagination .active span,
.page-numbers.current {
    background: #F5C518;
    color: #000;
    border-color: #F5C518;
    font-weight: bold;
}

/* --------------------------------------------------
   CATEGORY HEADER
-------------------------------------------------- */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2d2d2d;
}

.category-header h3 {
    color: #F5C518;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.view-more-btn {
    background: #F5C518;
    color: #000;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-more-btn:hover {
    background: #e0b014;
    color: #000;
    transform: translateY(-2px);
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 900px) {
    body { padding-top: 140px !important; }
}

@media (max-width: 768px) {
    .tfk-main-wrapper { padding: 0 15px; margin: 30px auto; }
    .tfk-section-title { font-size: 24px; }
    .tfk-card-grid { grid-template-columns: 1fr; gap: 20px; }
    .tfk-card-image-wrap { height: 180px; }
    .tfk-card-body h3 { font-size: 15px; }
    .tfk-card-body p { font-size: 12px; }
}
