/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.top-header {
    background-color:
        color-mix(in oklab, #ffffff 70%, transparent);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: fixed;
    max-width: 100% !important;
}

.videBg {
    position: relative;
    overflow: hidden;
}

.videBg .elementor-widget-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.videBg .e-hosted-video.elementor-wrapper {
    width: 100%;
    height: 100%;
}

.videBg .elementor-widget-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .6;
    filter: grayscale(.3) contrast(1.1);
}

/* Gradient */
.videBg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .15) 40%,
            rgba(255, 255, 255, .75) 75%,
            #fff 100%);
}

/* Grid */
.videBg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .3;
    background-image:
        linear-gradient(90deg, #0000000d 1px, transparent 1px),
        linear-gradient(#0000000d 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at top, #000 40%, transparent 75%);
    mask-image: radial-gradient(ellipse at top, #000 40%, transparent 75%);
}

.videBg .content {
    position: relative;
    z-index: 10;
}

.bttnCstm a.elementor-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bttnCstm a.elementor-button:hover {
    background-color: color-mix(in oklab, #060606 90%, transparent);
}

.bttnCstm a::after {
    content: "→";
    font-size: 11px;
}

.opac-6 a::after {
    opacity: .6;
}

.blue {
    color: #0666ee;
}

.black {
    color: black;
}

.grnLine {
    text-decoration: underline;
    text-underline-offset: .15em;
    text-decoration-color: #005226;
    text-decoration-thickness: 4px;
}

.Grd-Ready::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .3;
    background-image:
        linear-gradient(90deg, #0000000d 1px, transparent 1px),
        linear-gradient(#0000000d 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at top, #000 40%, transparent 75%);
    mask-image: radial-gradient(ellipse at top, #000 40%, transparent 75%);
}

.nf-marquee-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nf-track {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, #0000, #000 5% 95%, #0000);
    mask-image: linear-gradient(90deg, #0000, #000 5% 95%, #0000);
}

.nf-inner {
    display: flex;
    gap: 16px;
    width: max-content;
    --marquee-duration: 80s;
}



@keyframes marquee-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

@keyframes marquee-right {
    from {
        transform: translateX(-25%);
    }

    to {
        transform: translateX(0);
    }
}

/* Card wrap */
.nf-card-wrap {
    flex-shrink: 0;
    width: clamp(390px, 40vw, 450px);

}

/* Card */
.nf-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.2;
    border: 1px solid #0000001F;
}

/* Featured image */
.nf-card__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

/* Top row — company + badge */
.nf-card__top {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 12px;
    z-index: 2;
}

.nf-card__company {
    font-family: "JetBrains Mono", Sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Badge */
.nf-badge {
    font-family: "JetBrains Mono", Sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    padding: 2px 7px;
    border: 1px solid currentColor;
    text-transform: uppercase;
    background: transparent;
}

.nf-badge--online {
    color: #0666ee;
    border-color: #0666ee;
}

.nf-badge--print {
    color: #060606;
    border-color: #060606;
}

.nf-badge--tv {
    color: #005226;
    border-color: #005226;
}

/* Bottom overlay — title + subtitle + date */
.nf-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, transparent 100%);
    z-index: 2;
}

.nf-card__title {
    font-family: "Inter Tight", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nf-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.nf-card__subtitle {
    font-family: "JetBrains Mono", Sans-serif;
    font-size: 11px;
    max-width: 60%;
}

.nf-card__date {
    font-family: "JetBrains Mono", Sans-serif;
    font-size: 11px;
}

/* Green bar */
.nf-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c3fc2f;
    z-index: 3;
    width: 38%;
}

.PromTb1-close {
    display: none;
}

.expand {
    display: inline-block;
    cursor: pointer;
}

.Collapse {
    display: none;
    cursor: pointer;
}

.PromTb1-opn.active .PromTb1-open {
    display: none;
}

.PromTb1-opn.active {
    background: #FDFDFD;
}

.PromTb1-opn.active .elementor-widget.elementor-widget-icon {
    rotate: 50deg;
}

.PromTb1-opn:hover {
    background: #FDFDFD;
    cursor: pointer;
}

.PromTb1-opn.active .PromTb1-close {
    display: flex;
}

.PromTb1-opn.active .expand {
    display: none;
}

.PromTb1-opn.active .Collapse {
    display: inline-block;
}

.elementor-editor-active .PromTb1-close {
    display: flex !important;
}

.elementor-editor-active .PromTb1-open {
    display: flex !important;
}

.elementor-editor-active .expand {
    display: inline-block !important;
}

.elementor-editor-active .Collapse {
    display: inline-block !important;
}

.text-slider {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    position: relative;
    background: white !important;
    border-top: 1px solid #0000001F;
    border-bottom: 1px solid #0000001F;

}

.text-slider-track {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollText 40s linear infinite;
}

.text-slider span:nth-child(1)::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    background: #E4F8A7;
    border-radius: 50px;
}

.text-slider span {
    display: inline-block;
    padding: 0 20px;
    font-family: "JetBrains Mono", Sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 1.8em;
    letter-spacing: 0.2em;
    color: var(--e-global-color-text);
    border-right: 1px solid #0000001F;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}