/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */




/*** NEWS Section CSS **/

/* =====================================================
   PLAYZAR / GENESIS STYLE NEWS FINAL CSS
===================================================== */

.playzar-news-section,
.playzar-news-section * {
    box-sizing: border-box;
}

.playzar-news-section a,
.playzar-news-section a:hover,
.playzar-news-section a:focus,
.playzar-news-section a:active {
    text-decoration: none !important;
    outline: none !important;
}

/* SECTION */
.playzar-news-section {
    background: #171a29;
    padding: 50px 20px 90px;
    color: #fff;
    overflow: hidden;
}

.playzar-home-news-section {
    background: transparent !important;
    padding: 0 !important;
}

.playzar-news-inner {
    width: 100%;
    max-width: 1376px;
    margin: 0 auto;
}

/* FILTER + SEARCH */
.playzar-news-topbar {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 30px;
    margin-bottom: 46px;
    width: 100%;
}

.playzar-news-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.playzar-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 24px;
    border: 1px solid #ffffff;
    border-radius: 6px;
    color: #ffffff !important;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
}

.playzar-filter-btn:hover,
.playzar-filter-btn.active {
    background: #d94a2b;
    border-color: #d94a2b;
    color: #ffffff !important;
}

.playzar-news-search {
    width: 300px;
    height: 42px;
    border: 1px solid #555;
    border-radius: 6px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
    margin: 0;
    justify-self: end;
}

.playzar-news-search input {
    flex: 1;
    width: calc(100% - 44px);
    height: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    color: #ffffff;
    padding: 0 14px;
    font-size: 15px;
}

.playzar-news-search input::placeholder {
    color: #bdbdbd;
}

.playzar-news-search button {
    width: 44px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #bdbdbd;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
}

/* GRID */
.playzar-news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 32px !important;
    width: 100%;
    align-items: stretch;
}

/* CARD */
.playzar-news-card {
    width: 100% !important;
    max-width: none !important;
    height: 430px;
    background: #343434;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    transition: transform 120ms ease-in-out, box-shadow 120ms ease-in-out;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .playzar-news-card:hover {
        transform: scale(1.04);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48);
        z-index: 5;
    }
}

/* IMAGE */
.playzar-news-image-wrap {
    width: 100% !important;
    aspect-ratio: 320 / 223;
    height: auto !important;
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}

.playzar-news-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: none !important;
    transition: none !important;
}

.playzar-news-placeholder {
    width: 100%;
    height: 100%;
    background: #111;
}

/* BADGE */
.playzar-news-badge {
    position: absolute;
    right: 16px;
    top: 16px;
    background-color: #d94a2b;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    z-index: 2;
}

/* CONTENT */
.playzar-news-content {
    width: 100% !important;
    flex: 1;
    background-color: #2a2c39;
    padding: 18px 24px 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* META */
.playzar-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cfd2dc;
    font-size: 12px;
    line-height: 1;
    margin-bottom: 12px;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.playzar-news-meta span {
    color: #cfd2dc;
    font-size: 12px;
    line-height: 1.2;
}

/* ARROW */
.playzar-news-arrow {
    font-size: 32px;
    font-weight: 900;
    color: #d94a2b !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.playzar-news-card:hover .playzar-news-arrow {
    transform: translateX(6px);
}

/* TITLE */
.playzar-news-title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 24px;
    line-height: 1.35;
    flex-shrink: 0;
}

.playzar-news-title a {
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.playzar-news-title a:hover,
.playzar-news-card:hover .playzar-news-title a {
    color: #d94a2b !important;
}

/* EXCERPT */
.playzar-news-excerpt {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;

    max-height: calc(16px * 1.45 * 4);
}

/* LOADING */
.playzar-news-grid.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.playzar-no-posts {
    color: #fff;
    font-size: 18px;
    grid-column: 1 / -1;
}

/* DETAIL PAGE */
.playzar-single-news-wrap {
    background: #2a2c39;
    padding: 60px 20px 100px;
    color: #fff;
}

.playzar-single-news-wrap a,
.playzar-single-news-wrap a:hover,
.playzar-single-news-wrap a:focus {
    text-decoration: none !important;
}

.playzar-single-news-card {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: #080b19;
    border-radius: 18px;
    overflow: hidden;
}

.playzar-single-header {
    text-align: center;
    padding: 60px 40px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.playzar-single-date {
    color: #aeb9df;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.playzar-single-title {
    color: #fff;
    max-width: 760px;
    margin: 0 auto;
    font-size: 42px;
    line-height: 1.35;
}

.playzar-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.playzar-single-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 50px 20px 70px;
    color: #fff;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 500;
}

.playzar-single-content p {
    margin: 0 0 24px;
}

.playzar-single-content strong,
.playzar-single-content b {
    color: #fff;
    font-weight: 800;
}

.playzar-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 28px 12px;
}

.playzar-single-nav {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playzar-single-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff !important;
    font-size: 16px;
}

.playzar-nav-box {
    width: 36px;
    height: 36px;
    border: 1px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    transition: all 0.3s ease;
}

.playzar-single-nav a:hover .playzar-nav-box {
    background: #d94a2b;
    border-color: #d94a2b;
}

.playzar-back-news {
    text-align: center;
    margin-top: 65px;
}

.playzar-back-news a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    height: 48px;
    background: #d94a2b;
    color: #fff !important;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.playzar-back-news a:hover {
    background: #c90024;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .playzar-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .playzar-news-topbar {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .playzar-news-search {
        justify-self: start;
        width: 100%;
        max-width: 420px;
    }

    .playzar-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .playzar-news-section {
        padding: 35px 16px 60px;
    }

    .playzar-home-news-section {
        padding: 0 !important;
    }

    .playzar-news-filters {
        gap: 10px;
    }

    .playzar-filter-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 40px;
    }

    .playzar-news-search {
        width: 100%;
        max-width: 100%;
        height: 44px;
    }

    .playzar-news-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .playzar-news-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .playzar-news-image-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 320 / 223 !important;
        flex-shrink: 0 !important;
    }

    .playzar-news-content {
        height: auto !important;
        min-height: 218px !important;
        max-height: none !important;
        padding: 16px 14px 22px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .playzar-news-meta {
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    .playzar-news-title {
        margin: 0 0 12px !important;
        padding: 0 !important;
        font-size: 22px !important;
        line-height: 1.32 !important;
        flex-shrink: 0 !important;
    }

    .playzar-news-title a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: #fff !important;
    }

    .playzar-news-excerpt {
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        font-size: 16px !important;
        line-height: 1.45 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        max-height: 92px !important;
        height: 92px !important;
        flex: 0 0 92px !important;
    }

    .playzar-news-arrow {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 18px !important;
    }

    .playzar-single-news-wrap {
        padding: 35px 15px 80px;
    }

    .playzar-single-news-card {
        border-radius: 14px;
    }

    .playzar-single-header {
        padding: 45px 22px 35px;
    }

    .playzar-single-title {
        font-size: 30px;
    }

    .playzar-single-content {
        padding: 35px 20px 55px;
        font-size: 16px;
    }
}

/*** END NEWS Section CSS **/