/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com
 Description:  Child tema za Hello Elementor
 Author:       Vaše ime
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/



.elementor-field-group-gdpr label{font-size: 12px !important; font-weight: 300 !important; line-height: 18px; color: #1F1F1F !important;}
.elementor-field-group-gdprcareers label{font-size: 12px !important; font-weight: 300 !important; line-height: 18px; color: #1F1F1F !important;}
.elementor-field-group-gdpr{padding-left: 30px !important; margin-bottom: 35px !important; margin-top: 35px !important;}
.elementor-field-group-gdprcareers{padding-left: 30px !important; margin-bottom: 35px !important; margin-top: 70px; }

.elementor-field-group-identity {
    margin: 35px 0px 0px 0px !important;
    padding: 0px !important;
}


.elementor-field-group-identity .elementor-field-subgroup {
    flex-wrap: nowrap !important;
    width: 100%;
}
/* 1. Hide the radio inputs (still accessible via their labels) */
.elementor-field-group-identity .elementor-field-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.elementor-field-group-identity .elementor-field-option {
    display: inline-flex;
    border: 1px solid #9E9E9E;
    width: calc(33.333% - 10px); /* 3 in a row, accounting for margin */
    margin: 5px;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 25px 20px;
    position: relative;
    transition: border 0.2s;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .elementor-field-group-identity .elementor-field-option {
        width: 100%;
    }
}
.elementor-field-group-identity .elementor-field-subgroup{
    flex-wrap: wrap !important;
}

#explore-more{
    cursor: pointer;
}
.horizontal-hidden{
    overflow-x: hidden !important;
}
.elementor-field-group-identity .elementor-field-option.active {
border: 1px solid #FECE0B !important;
box-shadow: 0 0 10px 10px rgba(254, 206, 11, 0.03) !important;
}

/* 3. Style the labels to look like option boxes and cover the container */
.elementor-field-group-identity .elementor-field-option label {
    display: block;
    color: #1F1F1F !important;
    position: relative;
    transition: background-color 0.2s;
    font-size: 21px !important;  /* Main text font size */
    font-weight: bold;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.elementor-field-group-identity .elementor-field-option label::after {
    display: block;
    font-size: 12px !important;  /* Description text font size */
    color: #1f1f1f;
    line-height: 24px !important;  /* Description text line height */
    margin-top: 5px;
    font-weight: normal;
    text-align: left;
    cursor: pointer;
    max-width: 80%;
}

.elementor-field-group-identity .elementor-field-option:nth-child(1) label::after {
    content: "You deliver live channels and want to go beyond traditional ad spots.";
}
.elementor-field-group-identity .elementor-field-option:nth-child(2) label::after {
    content: "You distribute linear TV and are exploring smarter ways to monetize your service.";
}
.elementor-field-group-identity .elementor-field-option:nth-child(3) label::after {
    content: "You stream live or linear content and aim to unlock new ad revenue opportunities.";
}

.yellow-arrow.left span{
box-shadow: 0 0 10px 10px rgba(254, 206, 11, 0.03) !important;
}
.yellow-arrow.right span{
box-shadow: 0 0 10px 10px rgba(254, 206, 11, 0.03) !important;
}
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}
.visible {
opacity: 1;
transform: translateY(0);
}

.fade-in-down {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 1;
    transform: translateY(-10px);
}

.hero-showcase.dimmed {
    opacity: 0.05;
    transition: opacity 1.5s ease;
}

/* Newsroom */

.newsroom-category {
    background: black;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.newsroom-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.newsroom-title a {
    color: black;
    text-decoration: none;
    transition: color 0.2s;
}

.newsroom-title a:hover {
    color: #000;
}

.newsroom-meta {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.newsroom-excerpt {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
}

.newsroom-readmore {
    color: black;
    padding: 8px 0px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    font-size: 16px;
}


.newsroom-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    flex-wrap: wrap;
    gap: 1rem;
}

.elementor-field-group-identity label.elementor-field-label{
    font-family: "Inter" !important;
    color: #000 !important;
    font-weight: 400 !important;
    margin: 7px;
}

/*SIngle post*/

/*.single-post .elementor-widget-text-editor,
.single-post .elementor-widget-container{
    color: #000000 !important;
}*/

.filter-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-icon {
    font-size: 1.2rem;
}

.newsroom-filter label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.filter-button {
    background-color: #FFD400;
    border: none;
    color: #000;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-button:hover, .filter-button:focus {
    background-color: #000;
    color: #fff;
}
.newsroom-post-image-wrapper {
    position: relative;
}

.newsroom-post-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 6px 6px 0 0;
}

.newsroom-post-plus {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 76px;
    font-weight: 500;
    color: #ffcb05;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    pointer-events: none;
    z-index: 5;
}






/* Layout */
/* Container */
.page-container {
  display: flex;
  gap: 2rem;
  max-width: 1350px;
  margin: 30px auto;
}

.page-content {
  flex: 1;
}

.sidebar-right {
  width: 30%;
  margin-left: 5%;
  padding-top: 8px;
}
.sidebar-right a { color: #000; text-decoration: none; }

/* Remove bullets & bump icon size */
.social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  font-size: 1.5rem; /* bigger icons */
}
.social-icons li { list-style: none; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; }

/* Subscribe button */
.btn-subscribe {
  background: #ffcb05;
  color: #000;
  border: none;
  padding: .75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  margin-top: .5rem;
}

/* Subscribe note */
.subscribe-text {
  font-size: .9rem;
  margin-top: .5rem;
  line-height: 1.3;
}

/* Widget titles & separators */
.widget-title {
  margin: 0 0 .5rem;
  font-size: 1.125rem;
  color: #000;
}
.widget-separator,
.item-separator {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1rem 0;
}

/* Related Insights items */
.insight-item { display: flex; gap: .75rem; align-items: flex-start; }
.insight-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}
.insight-title {
  font-size: .95rem;
  line-height: 1.2;
  color: #000;
}

/* “See All Insights” link */
.all-insights { margin-top: .5rem; }
.all-insights a {
  font-size: .95rem;
  color: #000;
  font-weight: 500;
}

.insight-thumb{
    max-width: 150px;
}
/* Responsive */
@media (max-width: 768px) {
  .page-container { flex-direction: column; }
  .sidebar-right { width: 100%; }
  .single .site-main .page-content{
    width: 100% !important;
    padding-left: 5px;
    padding-right: 5px;
  }
  .sidebar-right {
      width: 100%;
      margin-left: 0px;
      padding-top: 20px;
      padding-left: 15px;
      padding-right: 15px;
    }
    .insight-thumb{
        width: 20%;
        max-width: unset;
    }
    .insight-title{
        width: 80%;
    }
}






/* Base style for the yellow line */
.yellow-line .elementor-divider-separator{
/* Using a top border to simulate a 1px line */
border-top: 1px solid yellow;
box-shadow: 0 0 10px yellow;
position: relative;
overflow: hidden; /* Ensure the animated pseudo-element stays inside */
}

/* Pseudo-element for the sliding opacity effect */
.yellow-line elementor-divider-separator::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: yellow;
opacity: 0.5;
animation: slide 2s infinite;
}


/*Showcases*/
.switcher-images-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* prilagodi */
}

.switch-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.switch-image.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.logo {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo.active {
  opacity: 1;
}

/*Prednosti - Oglaševalci*/

.prednost {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
}

.prednost.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.icon {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.icon.active {
  opacity: 1;
}



/* Keyframes for the slide animation */
@keyframes slide {
0% {
  left: -100%;
  opacity: 0.5;
}
50% {
  left: 0;
  opacity: 1;
}
100% {
  left: 100%;
  opacity: 0.5;
}
}



/*Featured*/

.featured-posts-wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.featured-post-card {
    background-color: #1a1a1a;
    color: white;
    width: calc(33.333% - 20px);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/*.featured-post-card:hover {
    transform: translateY(-5px);
}*/

.featured-post-image img {
    width: 100%;
    display: block;
    height: auto;
}

.featured-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.featured-categories {
    margin-bottom: 10px;
}

.featured-post-plus {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 76px;
    font-weight: 500;
    color: #ffcb05;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    pointer-events: none;
}

.featured-category {
    background: white;
    color: black;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 5px;
}

.featured-post-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.featured-post-excerpt {
    font-size: 15px;
    line-height: 1.5;
}

/* Responsive za mobilne in tablice */
@media screen and (max-width: 1024px) {
    .featured-post-card {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .featured-post-card {
        width: 100%;
    }
}



/*Newsroom posts*/

.newsroom-grid {
    display: flex;
    gap: 40px;
    max-width: 1350px;
    margin: 0 auto;
    padding: 40px 0px;
}

.newsroom-sidebar {
    width: 22%;
    min-width: 220px;
    background-color: #fff;
}

.newsroom-content-area {
    width: 78%;
}

.newsroom-filter span {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.newsroom-filter label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.newsroom-filter input[type="checkbox"] {
    margin-right: 8px;
}

#newsroom-posts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
}

.newsroom-post {
    flex: 0 0 calc(33.333% - 40px); /* don't allow it to grow or shrink */
    max-width: calc(33.333% - 40px); /* ensure it doesn’t go wider */
    border: 1px solid #e2e2e2;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: white;
    min-width: 280px;
    transition: transform 0.2s ease;
}

.newsroom-post-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px 6px 0 0;
    margin-bottom: 15px;
}
.newsroom-content{
    padding: 20px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

#clear-filters {
    font-size: 14px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

#clear-filters:hover {
    color: #000;
}

.newsroom-readmore {
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
}

.newsroom-readmore a {
    color: black;
    font-size: 16px;
    text-decoration: none;
}
.newsroom-readmore.white a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}

.newsroom-readmore a:hover {
    color: #000;
    text-decoration: underline;
}
.newsroom-readmore.white a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.single-post .page-content h2{ margin: 0px; padding: 45px 0px 15px 0px !important; font-size: 1.6rem !important;  }
.single-post .page-content h3{ margin: 0px; padding: 25px 0px 0px 0px !important; text-decoration:underline; font-size: 18px !important; }
.single-post .page-content p{ margin: 0px !important; padding: 10px 0px 5px 0px !important; font-weight: 300 !important; }
.single-post .page-content ul{ margin: 0px; padding: 0px 40px !important; font-weight: 300 !important;}


/*Single post*/

.custom-single-header {
    background-color: #191919;
    color: #fff;
    padding: 150px 0px 100px 0px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.custom-header-inner {
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
}

.custom-single-title {
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 66px;
    line-height: 80px;
    width: 80%;
}

.custom-author-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.custom-author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.custom-author-text {
    font-size: 14px;
    line-height: 1.4;
}

.custom-post-tags {
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

.custom-post-tags span {
    display: inline-block;
    margin-right: 10px;
    font-style: italic;
}

.single .site-main{
    max-width: 100% !important;
}

.single .site-main .page-content{
    width: 65%;
    padding: 0px 0px;
}
.single .site-main .page-content p {
  line-height: 26px;
  font-size: 16px;
  padding: 5px 0px;
  text-align: justify;
  font-weight: 300;
}
.single .site-main .page-content ul {
  text-align: justify;
  line-height: 26px;
  font-size: 16px;
  padding: 10px 40px;
  font-weight: 300;
}

aside p, aside ul, aside a{
    font-family: "Inter";
    font-size: 16px;
    font-weight: 300;
}
.target {
  background: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(4px); 
  -webkit-backdrop-filter: blur(4px); 
  border-radius: 10px; 
  color: white; 
  height: 103px;
}

.animated-bg {
  /* MASKA ZA REVEAL */
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
  -webkit-mask-size: 0% 100%;
  -webkit-mask-repeat: no-repeat;
  animation: revealMask 2s ease-out forwards;
        mask-image: linear-gradient(to right, black 0%, transparent 100%);
mask-size: 0% 100%;
mask-repeat: no-repeat;
}

@keyframes revealMask {
  to {
    -webkit-mask-size: 100% 100%;
  }
}


.blur{
    filter: blur(10px);
}

/* Initial state: hidden and shifted down */
.animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Animated state: visible and in its final position */
.animation.animate {
  opacity: 1;
  transform: translateY(0);
}


/*Demo form*/

#demo-form {
display: none;
opacity: 0;
transition: opacity 2.5s ease; /* 1.5s fade; tweak as needed */
}

/* when this class is added, the form becomes rendered */
#demo-form.fade-in {
display: block;
}

/* when this class is added (after fade-in), opacity animates to 1 */
#demo-form.fade-in.is-visible {
opacity: 1;
transition: opacity 2.5s ease; 
}

.go-to-demo, #get-demo-access-button{
    cursor: pointer;
}

.elementor-message--error::before{
    content: none !important;
}

#cmplz-manage-consent{
    display: none !important;
    opacity: 0 !important;
}

@media screen and (max-width: 1024px) {
    .newsroom-grid {
        flex-direction: column;
    }

    .newsroom-sidebar,
    .newsroom-content-area {
        width: 100%;
    }

    .newsroom-post {
        flex: 1 1 calc(50% - 20px);
    }
    .single .site-main .page-content{
        max-width: 75%;
    }
}


/* Responsive */

@media screen and (max-width: 1280px) {
  .page-container {
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .page-container { flex-direction: column; }
  .sidebar-right { width: 100%; }
  .single .site-main .page-content{
    width: 100% !important;
    padding-left: 5px;
    padding-right: 5px;
    max-width: 100%;
    padding: 10px 15px;
  }
  .sidebar-right {
      width: 100%;
      margin-left: 0px;
      padding-top: 20px;
      padding-left: 15px;
      padding-right: 15px;
      margin-bottom: 50px;
    }
    .insight-thumb{
        width: 20%;
        max-width: unset;
    }
    .insight-title{
        width: 80%;
    }
}
@media screen and (max-width: 768px) {
    .page-container{
        padding: 0px;
    }
    .blur{
        filter: blur(0px);
    }
    .custom-header-inner{
        padding: 0px 20px;
        max-width: 100%;
    }
    .custom-single-title {
      font-size: 36px;
      line-height: 46px;
    }
    .newsroom-post {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .elementor-widget-n-tabs .e-n-tabs-content > .e-con:not(.e-active){
        display: block !important;
    }

  .paketi {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* poskrbi za gladko inertia drsenje na iOS */
    position: relative;
    /* Dodamo padding, da so sosednji elementi delno vidni */
    padding: 0 3%;
  }
  .carousel-track {
    display: flex;
  }
  .paketi .paket {
    flex: 0 0 51%;
    margin: 0 10px;
    scroll-snap-align: center; /* element postavi na center ko se scrollanje ustavi */
    border-radius: 20px;
  }
  .e-n-tab-title{
    width: 250px !important;
    margin: 60px 0px 60px 0px !important;
    font-size: 24px !important;
    align-self: center;
    background: transparent !important;
  }
    .e-n-tab-title:first-child{
    margin: 0px 0px 60px 0px !important;
  }
  .elementor-nav-menu--dropdown{
    top: -29px !important;
    height: calc(100vh - 1px);
  }
  .elementor-menu-toggle.elementor-active{
    z-index: 9998;
  }
  ul.elementor-nav-menu {
      padding-top: 100px;
    }
    .hero{
        overflow-x: hidden;
    }

    .featured-post-excerpt {
        font-size: 14px;
        line-height: 1.5;
    }
}

}
