@media(min-width: 1200px) {
  /* Header */
  .header-menu {
    align-self: flex-end;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
  }
  header .navbar-nav {
    padding: 0.3rem;
    background: #f2f2f21a;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-right: 1rem;
    transition: var(--transition);
  }

  .mobile-dropdown-icon {
    display: none;
  }
  .navbar-expand-xl .navbar-nav .dropdown-menu {
    position: relative;
    flex-direction: column;
    background-color: #fff;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    padding: 1rem;
    border-color: #00000014;
  }
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  .dropdown-menu-wrapper {
    position: absolute;
    min-width: calc(100% + 2rem);
    left: -1rem;
  }
  ul.dropdown-menu.show {
    width: 100%;
    border: 1px solid #fff5;
  }

  /* Header Fixed/Opened */
  header.fixed .navbar-nav,
  .menu-opened header .navbar-nav {
    background: var(--primary-color-light);
  }
}

@media(min-width: 991px) {
  .mobile-only {
    display: none;
  }
  .category-short-description {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .biletul-sau-cota-zilei-description-long {
    max-height: 20rem;
    overflow: auto;
  }
  .bcz-card-content {
    max-height: 30vh;
    overflow: auto;
  }
  .bcz-card-content::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 2px;
  }
  .bcz-card-content::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 20px;
  }


  /* Article Page */
  .article-text .card-reclama {
    display: none;
  }

  /* Pacanele Gratis */
  .interior-top .module-text p {
    width: 50%;
    max-width: 45rem;
  }
  .interior-top-inner .bg {
    max-width: 50%;
  }
  .interior-top-inner .bg img {
    /* object-fit: contain; */
  }
  .slot-item:hover .slot-item-details {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9;
  }

}


@media(max-width: 1200px) {
    .desktop-dropdown-icon {
      display: none;
    }
    .d-lg-none {
      display: block !important;
    }

    body.menu-opened {
      overflow: hidden;
    }
    body.menu-opened .menu-overlay {
      opacity: 0.5;
      pointer-events: all;
    }

    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      pointer-events: none;
      opacity: 0;
      z-index: 99;
      transition: var(--transition);
    }

    /* Menu */
    header .navbar-nav {
      padding: 2rem calc(calc(var(--bs-gutter-x) * 0.5) + 2.5%);
      background: #fff;
    }
    .header-menu-buttons {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    /* Menu Fixed */
    header.fixed .navbar-toggler .icon-bar,
    .menu-opened header .navbar-toggler .icon-bar {
      background: #000;
    }

    /* Menu Opened */
    .header-elements .navbar {
      position: fixed;
      left: 0;
      right: 0;
      top: var(--header-height);
    }

    .header-elements .navbar-toggler {
      top: auto;
      right: auto;
    }
    .navbar-toggler .icon-bar {
      display: block;
      width: 1.5rem;
      height: 1.5px;
      background-color: #fff;
      transform: rotate(0deg) translate(0px, 0px);
      transition: var(--transition);
    }
    .interiorpage .navbar-toggler .icon-bar {
      background: #000;
    }
    .navbar-toggler .icon-bar+.icon-bar {
      margin-top: 4px;
    }
    .navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
      transform: rotate(45deg) translate(5px, 3px);
    }
    .navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
      opacity: 0;
    }
    .navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
      transform: rotate(-45deg) translate(4px, -4px);
      transition: ease all .2s;
    }

    .nav-item-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .mobile-dropdown-icon {
      display: flex;
      padding: 0.5rem;
      align-items: center;
      justify-content: center;
      background: var(--primary-color-light);
      border-radius: var(--radius-xs);
      transition: var(--transition);
    }
    .mobile-dropdown-icon svg {
      transition: var(--transition);
    }
    .mobile-dropdown-icon svg path {
      fill: #000;
      transition: var(--transition);
    }
    .dropdown-menu-wrapper {
      position: static;
      display: none;
    }
    .dropdown-menu {
      display: flex;
      flex-direction: column;
      padding: 0;
      border: none;
      gap: 0.25rem;
    }
    .nav-item-inner.active svg {
      transform: rotate(180deg);
    }
    .nav-item-inner.active .mobile-dropdown-icon {
      background: #000;
    }
    .nav-item-inner.active .mobile-dropdown-icon svg path {
      fill: #fff;
    }
    .dropdown-item {
      font-size: 1.1rem;
      background: var(--primary-color-light);
      border-radius: var(--radius-xs);
    }

    .home-intro-inner .title {
      transform: none;
    }
    .home-intro-inner h1 {
      font-size: 4rem;
      letter-spacing: -2px;
    }
    .home-intro-inner .intro-titles {
      max-width: 15rem;
    }
    .home-intro-inner .h1 {
      font-size: 4rem;
    }
    .home-intro-inner .h1:before,
    .home-intro-inner .h1:after {
      left: 2.5rem;
    }
    .home-intro-inner .subhead > * {
      font-size: 1.6rem;
    }

    .article-image {
        float: none;
        padding: 0;
        width: 100%;
        margin-bottom: 1rem;
    }

    .article-image img {
        object-fit: cover;
        height: auto;
    }


    /* Pontul Zilei */
    .pontul-zilei-page-module .biletul-sau-cota-zilei-inside .pbc-zilei-detalii-box {
      grid-row: inherit;
      margin-top: 1rem;
      height: auto;
    }
    .pontul-zilei-page-module .pbc-zilei-inside {
      grid-template-columns: 1fr;
    }
    .pontul-zilei-page-module .event-card-content {
      margin-bottom: 1rem;
    }
    .pontul-zilei-page-module .pbc-zilei-detalii-box {
      grid-column: 1/2;
      grid-row: inherit;
    }
}


@media(max-width: 990px) {
  html {
    font-size: 14px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .home-intro {
    height: auto;
    min-height: 25rem;
  }
  .home-intro-inner {
    column-gap: 12rem;
  }

  .agency-bonuses {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }

  /* Mobile Menu */
  .mobile-secondary-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem 0.5rem;
    z-index: 99;
    background: var(--primary-color-dark);
    box-shadow: 0px -5px 15px -3px rgba(0,0,0,0.1);
  }
  body.phone:not(.ios) .mobile-secondary-menu {
    padding: 0.5rem 1rem 1.5rem !important;
  }
  .mobile-secondary-menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  .mobile-secondary-menu .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Afacad';
  }
  .mobile-secondary-menu .nav-link:hover {
    background: transparent;
  }
  .mobile-secondary-menu .nav-link.active {
    color: var(--primary-color);
  }
  .mobile-secondary-menu .nav-link.active svg {
    fill: var(--primary-color);
  }
  .mobile-secondary-menu .icon {
    height: 1.8rem;
  }
  .mobile-secondary-menu svg {
    height: 100%;
    width: auto;
  }
  .mobile-secondary-menu .nav-link:hover svg {
    filter: none;
  }

  .interior-top:before {
    display: none;
  }
  .interior-top-inner {
    flex-direction: column;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    gap: 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    min-height: auto;
  }
  .interior-top-inner h1 {
    font-size: 2.1rem;
    line-height: 1em;
  }
  .interior-top-inner .bg {
    position: static;
    background: var(--primary-color-dark);
    border-radius: var(--radius-md);
    margin-top: 4rem;
  }
  .interior-top-inner .bg img {
    width: 100%;
    margin-top: -4rem;
  }

  /* Footer */
  footer {
    padding-top: 0.75rem;
    padding-bottom: 5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .footer-cards {
    grid-template-columns: 1fr;
  }
  .footer-cards .module-fickle:first-child {
    grid-row: 1/2;
  }
  .footer-cards .module-fickle:last-child {
    grid-column: 1/2;
  }
  .footer-cards .module-fickle:not(:first-child) .fickle-content {
    transform: none;
  }
  .footer-cards .module-fickle:not(:first-child) .fickle-image {
    filter: brightness(0.3);
  }
  .footer-cards .module-fickle:not(:first-child) .fickle-content p {
    font-size: 0.95rem;
  }


  /* Category Page */
  .breadcrumbs-container {
    top: calc(var(--header-height) + 1rem);
  }

  /* Article Page */
  .article-header {
    /*height: 30vh;*/
    /*min-height: 10rem;*/
  }
  .article-header-inner {
    /*padding: 1rem;*/
  }
  .article-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .article-header-content .article-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1em;
  }

  .slot-iframe iframe {
    aspect-ratio: 3/1.5;
  }
}



@media(max-width: 768px) {
  :root {
    --bs-root-font-size: 15px;
  }

  h1 {
    font-size: 2.1rem;
  }
  h2 {
    line-height: 1em;
    font-size: 1.65rem;
  }
  h3 {
    line-height: 1em;
  }

  .has-bg {
    padding: 1rem;
  }

  /* Header */
  .header-elements,
  header.fixed .header-elements,
  body.menu-opened .header-elements {
    padding: 0.5rem 0;
  }

  .header-logo img {
    max-height: 1.7rem;
    width: auto;
  }
  header .navbar-nav {
    padding: 2rem calc(var(--bs-gutter-x)/2) 1rem;
  }
  header .nav-item:last-child {
    border: none;
  }
  header .nav-link {
    font-size: 1.5rem;
    justify-content: space-between;
    border-radius: 0;
  }
  header .nav-link svg {
    width: 2.6rem;
    height: auto;
    padding: 0.7rem;
  }


  /* Homepage */
  .home-intro {
    align-items: flex-end;
    margin: 0;
    border-radius: 0;
    padding: var(--header-height) 0 1rem 0;
    min-height: 50vh;
  }
  .home-intro .col-lg-12 {
    justify-content: flex-start;
  }
  .home-intro-inner {
    display: flex;
    flex-direction: column;
    column-gap: 0;
    width: 100%;
  }
  .home-intro-inner .intro-titles {
    flex-direction: row-reverse;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: #fff;
    background: var(--primary-color);
  }
  .home-intro-inner .title {
    margin-bottom: 1rem;
  }
  .home-intro-inner h1 {
    font-size: 3rem;
    letter-spacing: 0;
  }
  .home-intro-inner h1 br {
    display: none;
  }
  .home-intro-inner .h1 {
    font-size: 3.5rem;
    margin: 0;
  }
  .home-intro-inner .h1:before,
  .home-intro-inner .h1:after {
    left: 2.2rem;
  }
  .home-intro-inner .subhead > * {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 1.2em;
    max-width: 10rem;
    letter-spacing: 1px;
    color: #fff;
  }
  .home-intro .module-button {
    display: none;
  }
  .home-intro .bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  }


  .top-item {
    background: linear-gradient(to bottom, var(--border-color), #190236) border-box;
  }
  .top-item.is-top {
    margin-left: 0;
    margin-top: 1.5rem;
    padding: 2px;
  }
  .top-item-inner {
    flex-direction: column;
    background: linear-gradient(to bottom, #290b51, #190236) border-box;
  }
  .top-item-trophy {
    position: relative;
    margin-top: calc(-1rem - 2rem);
    margin-left: 0;
    background: none;
  }
  .top-item-trophy img {
    position: relative;
    z-index: 1;
  }

  .top-item-trophy:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 5px;
    background: #290b51;
  }
  .vlist1-item-logo {
    max-width: 8rem;
  }
  .vlist1-item-bonus-title {
    font-size: 1rem;
    line-height: 1.2em;
  }
  .top-item-cta {
    width: 100%;
  }
  .top-item-cta a {
    display: flex;
    justify-content: space-between;
  }

  .module .module-title p,
  .module .module-title h2 {
    font-size: 1.5rem;
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  .pont-card-title h2 {
    font-size: 1.5rem;
  }

  /* Ponturi Pariuri */
  .pontul-zilei-many-wrapper {
    gap: 1rem;
  }
  .pagination .first, .pagination .last {
    display: none;
  }

  /* Fotbal Azi Tv */
  .meciuri-azi-date-items {
    display: flex;
    overflow: auto;
  }
  .meciuri-azi-date-items::-webkit-scrollbar {
    display: none;
  }
  .meciuri-date-item {
    min-width: 4.5rem;
  }

  /* Pacanele Gratis */
  .slots-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slot-item-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65vh;
    transform: translateY(100%);
    z-index: 9999999999;
    transition: var(--transition);
  }
  .slot-item-details {
    position: static;
    width: 100%;
    height: 100%;
    transform: none;
    opacity: 1;
    padding-bottom: 2rem;
  }
  .slot-item.active .slot-item-popup {
    transform: translateY(0);
  }
  .close-slot-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--radius-xs);
    background: #00000030;
    color: #fff;
    backdrop-filter: blur(10px);
    padding-bottom: 0.5rem;
  }
  .slot-item-details-content .ctas > * {
    padding: 0.75rem;
  }

  .agency-header-logo img {
    max-width: 7rem;
  }
  .agency-bonus-inner-content .title {
    font-size: 1.1rem;
  }
  .agency-bonus .bonus-description {
    padding-right: 0;
  }
  .bonus-card-bg img {
    transform: rotate(-20deg) translate(0%, 45%);
  }


  .vlist1-item-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .vlist1-item-logo-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  /* iOS */
  body.ios header {
    border: none;
  }
  body .search-inner input {
    font-size: 16px !important;
  }


}
@media screen and (max-width: 600px) {
  #CookiebotWidget:not(.CookiebotWidget-inactive) {
    bottom: 75px !important;
    left: 10px;
  }
}

@media(max-width: 500px) {
  .slot-iframe iframe {
    aspect-ratio: 3/4.2;
  }
  .slot-iframe.fs iframe {
    aspect-ratio: auto;
  }
}
