/* ================================================================================
   WP INFINITY CINE – STYLESHEET FOR CINEMA/MOVIE BLOG LAYOUT
   ================================================================================ */

:root {
    --cine-dark-bg:      #0b0f19;
    --cine-card-dark:    #161d30;
    --cine-accent:       #E31E24;
    --cine-text-muted:   #94a3b8;
    --cine-shadow:       0 10px 30px -10px rgba(0,0,0,0.3);
}

/* Base wrapper resets for Cine */
.cine-layout-wrapper {
    background: #f8fafc;
    padding-bottom: 60px;
}

.cine-badge {
    display: inline-block;
    background: var(--accent-color, var(--cine-accent));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}
.cine-badge a {
    color: #fff !important;
}
.cine-badge:hover {
    filter: brightness(1.1);
}

/* SECTION TITLES */
.cine-section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}
.cine-section-title {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    margin: 0;
    color: var(--text-dark);
}
.cine-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color, var(--cine-accent));
}

/* ================================================================================
   1. HERO SPLIT SECTION (2 POSTS)
   ================================================================================ */
.cine-hero-section {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}
.cine-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.cine-hero-post {
    position: relative;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.cine-hero-thumb {
    width: 100%;
    height: 100%;
}
.cine-hero-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.cine-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.cine-hero-post:hover .cine-hero-thumb img {
    transform: scale(1.05);
}
.cine-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}
.cine-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 25px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
}
.cine-hero-overlay * {
    pointer-events: auto;
}
.cine-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 5px 0 12px;
}
.cine-hero-title a {
    color: #fff;
}
.cine-hero-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}
.cine-hero-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}
.cine-hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.cine-hero-meta svg {
    opacity: 0.7;
}

/* ================================================================================
   2. CATEGORY CIRCLE NAVIGATION
   ================================================================================ */
.cine-category-carousel {
    padding: 35px 0 15px;
}
.cine-carousel-wrap {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cine-cat-circle-card {
    flex: 1;
    min-width: 120px;
    max-width: 180px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 3px solid transparent;
}
.cine-cat-circle-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e293b;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cine-cat-circle-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.3s ease;
}
.cine-cat-circle-name {
    position: relative;
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.cine-cat-circle-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color, var(--cine-accent));
}
.cine-cat-circle-card:hover .cine-cat-circle-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* ================================================================================
   GENERAL TWO COLUMNS LAYOUT
   ================================================================================ */
.cine-two-cols-grid {
    display: grid;
    grid-template-columns: 2.1fr 0.9fr;
    gap: 30px;
}
.cine-main-col {
    min-width: 0;
}
.cine-sidebar-col {
    min-width: 0;
}

/* ================================================================================
   3. SPOTLIGHT SECTION
   ================================================================================ */
.cine-spotlight-section {
    padding: 30px 0;
}
.cine-spotlight-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 25px;
}
.cine-spotlight-featured {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.cine-spotlight-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.cine-spotlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cine-spotlight-featured:hover .cine-spotlight-thumb img {
    transform: scale(1.03);
}
.cine-spotlight-content {
    padding: 22px;
}
.cine-spotlight-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 8px 0 12px;
    line-height: 1.3;
}
.cine-spotlight-main-title a {
    color: var(--text-dark);
}
.cine-spotlight-main-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}
.cine-spotlight-excerpt {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 15px;
}

/* List Items side */
.cine-spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cine-spotlight-list-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}
.cine-spotlight-list-item:hover {
    transform: translateX(4px);
}
.cine-spotlight-list-thumb {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.cine-spotlight-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cine-spotlight-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.cine-spotlight-list-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0;
}
.cine-spotlight-list-title a {
    color: var(--text-dark);
}
.cine-spotlight-list-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}

.cine-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ================================================================================
   4. SIDEBAR WIDGETS
   ================================================================================ */
.cine-widget {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}
.cine-widget-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}
.cine-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--accent-color, var(--cine-accent));
}

/* Follow Us */
.follow-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.follow-btn {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.follow-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: #fff;
}
.follow-btn .icon {
    display: flex;
    align-items: center;
    margin-right: 12px;
}
.follow-btn .text {
    flex-grow: 1;
}
.follow-btn .count {
    opacity: 0.9;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.15);
    padding: 2px 8px;
    border-radius: 10px;
}
.follow-btn.fb { background: #3b5998; }
.follow-btn.x { background: #000000; }
.follow-btn.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.follow-btn.yt { background: #c4302b; }
.follow-btn.tg { background: #0088cc; }

/* Newsletter */
.newsletter-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.45;
    margin-bottom: 15px;
}
.cine-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cine-newsletter-form input[type="email"] {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.25s ease;
}
.cine-newsletter-form input[type="email"]:focus {
    border-color: var(--accent-color, var(--cine-accent));
}
.cine-newsletter-form button {
    background: var(--accent-color, var(--cine-accent));
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.25s ease;
}
.cine-newsletter-form button:hover {
    background: #c2151a;
}

/* ================================================================================
   5. FAVORITES MOVIES SECTION (POSTER OVERLAYS)
   ================================================================================ */
.cine-favorites-section {
    padding: 30px 0;
}
.cine-favorites-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.cine-fav-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.favorites-medium-card {
    grid-column: span 3;
    height: 300px;
}
.favorites-small-card {
    grid-column: span 2;
    height: 240px;
}
.cine-fav-thumb {
    width: 100%;
    height: 100%;
}
.cine-fav-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.cine-fav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.cine-fav-card:hover .cine-fav-thumb img {
    transform: scale(1.06);
}
.cine-fav-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
}
.cine-fav-overlay * {
    pointer-events: auto;
}
.cine-fav-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 5px 0 8px;
}
.favorites-medium-card .cine-fav-title {
    font-size: 1.2rem;
}
.cine-fav-title a {
    color: #fff;
}
.cine-fav-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}

/* Sidebar Recent Widget */
.cine-recent-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cine-recent-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cine-recent-thumb {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.cine-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cine-recent-content {
    flex-grow: 1;
}
.cine-recent-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px;
}
.cine-recent-title a {
    color: var(--text-dark);
}
.cine-recent-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}

/* ================================================================================
   6. AD BANNERS
   ================================================================================ */
.cine-ad-banner {
    padding: 15px 0;
    text-align: center;
}
.cine-ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    display: inline-block;
}
.ad-sidebar-widget {
    padding: 10px;
    text-align: center;
}
.ad-sidebar-widget img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 4px;
}

/* ================================================================================
   7. TRENDING / VIDEOS SECTION (DARK BACKGROUND)
   ================================================================================ */
.cine-videos-section {
    background: var(--cine-dark-bg);
    color: #fff;
    padding: 50px 0 60px;
    margin: 40px 0;
}
.cine-videos-section .cine-section-title {
    color: #fff;
}
.cine-videos-section .cine-section-title-wrap {
    border-bottom-color: rgba(255,255,255,0.1);
}
.cine-videos-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
}

/* Play button overlay */
.cine-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}
.cine-play-overlay svg {
    color: #fff;
    background: var(--accent-color, var(--cine-accent));
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.cine-play-overlay.small svg {
    padding: 6px;
}
.cine-video-featured:hover .cine-play-overlay svg,
.cine-video-list-item:hover .cine-play-overlay svg {
    transform: scale(1.1);
    background: #fff;
    color: var(--accent-color, var(--cine-accent));
}

.cine-video-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--cine-card-dark);
    box-shadow: var(--cine-shadow);
}
.cine-video-featured .cine-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.cine-video-featured .cine-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cine-video-featured:hover .cine-video-thumb img {
    transform: scale(1.03);
}
.cine-video-featured .cine-video-content {
    padding: 22px;
}
.cine-video-main-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 8px 0;
    line-height: 1.3;
}
.cine-video-main-title a {
    color: #fff;
}
.cine-video-main-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}

.cine-videos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cine-video-list-item {
    display: flex;
    gap: 15px;
    background: var(--cine-card-dark);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}
.cine-video-list-item:hover {
    transform: translateX(4px);
}
.cine-video-list-thumb {
    width: 110px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.cine-video-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cine-video-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cine-video-list-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0;
}
.cine-video-list-title a {
    color: #fff;
}
.cine-video-list-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}

.cine-videos-section .cine-meta,
.cine-videos-section .cine-meta-date {
    color: var(--cine-text-muted);
}

/* ================================================================================
   8. MOVIE REVIEWS SECTION (VERTICAL LIST)
   ================================================================================ */
.cine-reviews-section {
    padding: 20px 0;
}
.cine-reviews-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cine-review-item {
    display: flex;
    gap: 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cine-review-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.cine-review-thumb {
    width: 220px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.cine-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cine-review-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cine-review-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 4px 0 8px;
    line-height: 1.35;
}
.cine-review-title a {
    color: var(--text-dark);
}
.cine-review-title a:hover {
    color: var(--accent-color, var(--cine-accent));
}
.cine-review-excerpt {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
}
.cine-readmore-btn {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-color, var(--cine-accent));
    letter-spacing: 0.05em;
    align-self: flex-start;
}
.cine-readmore-btn:hover {
    text-decoration: underline;
}

/* Hot Movies widget */
.hot-movies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.hot-movie-item {
    display: flex;
    gap: 12px;
    align-items: center;
    transition: transform 0.2s ease;
}
.hot-movie-item:hover {
    transform: translateX(4px);
}
.hot-movie-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.hot-movie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hot-movie-info {
    flex-grow: 1;
}
.hot-movie-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 3px;
    color: var(--text-dark);
}
.hot-movie-meta {
    font-size: 0.72rem;
    color: var(--text-light);
}

/* ================================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ================================================================================ */
@media (max-width: 1024px) {
    .cine-hero-grid {
        grid-template-columns: 1fr;
    }
    .cine-hero-post {
        height: 380px;
    }
    .cine-two-cols-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cine-sidebar-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .cine-sidebar-col .cine-widget {
        margin-bottom: 0;
    }
    .cine-spotlight-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cine-carousel-wrap {
        justify-content: center;
    }
    .cine-cat-circle-card {
        min-width: 100px;
        max-width: 110px;
    }
    .cine-favorites-grid {
        grid-template-columns: 1fr;
    }
    .favorites-medium-card, .favorites-small-card {
        grid-column: span 1;
        height: 250px;
    }
    .cine-videos-layout {
        grid-template-columns: 1fr;
    }
    .cine-review-item {
        flex-direction: column;
        gap: 15px;
    }
    .cine-review-thumb {
        width: 100%;
        height: 200px;
    }
    .cine-sidebar-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cine-cat-circle-card {
        min-width: 80px;
        max-width: 90px;
    }
    .cine-cat-circle-name {
        font-size: 0.7rem;
    }
    .cine-hero-post {
        height: 280px;
    }
    .cine-hero-title {
        font-size: 1.2rem;
    }
}
