/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {}

@media (min-width: 1200px) {
  .site-search {
    width: 60%;
  }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  :root {
    --site-header-offset: 90px;
  }

  .container {
    max-width: 100%;
  }

  .header-shell {
    width: 100%;
  }

  .site-header .logo {
    width: auto;
    min-width: 120px;
    max-width: 180px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
  }

  .site-header .logo img,
  .site-header .logo .logo-svg svg {
    width: 100px;
    max-width: 100%;
    height: auto;
  }

  .heading h2 {
    font-size: 3.8rem;

  }



  .site-nav {
    position: fixed;
    top: 5.9rem;
    left: 0;
    width: 100%;
    min-height: calc(100vh - 5.9rem);
    padding: 2.8rem 1.8rem 3rem;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.6rem;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.45s ease, visibility 0.35s ease;
    overflow-y: auto;
    margin-left: 0;
  }

  .site-nav a {
    font-size: var(--nav-font-size);
    font-family: var(--nav-font, "TBWAGrotesk", "Times", Helvetica, sans-serif);
    font-weight: var(--nav-font-weight);
    line-height: 1.1;
    color: #fff;
    opacity: 0;
    transform: translateY(28px);
    transition: transform 0.55s ease, opacity 0.55s ease, color 0.35s ease;
  }

  .header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 84px;
    gap: 1.4rem;
  }

  .mobile-search-btn,
  #searchIcon,
  #hamburgerIcon {
    position: relative;
    z-index: 1004;
    pointer-events: auto;
  }

  .mobile-search-btn {
    display: inline-flex;
  }

  html.navbar-in .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  html.navbar-in .site-nav a {
    opacity: 1;
    transform: translateY(0);
  }

  html.navbar-in .site-nav a:nth-child(1) {
    transition-delay: 0.08s;
  }

  html.navbar-in .site-nav a:nth-child(2) {
    transition-delay: 0.14s;
  }

  html.navbar-in .site-nav a:nth-child(3) {
    transition-delay: 0.20s;
  }

  html.navbar-in .site-nav a:nth-child(4) {
    transition-delay: 0.26s;
  }

  html.navbar-in .site-nav a:nth-child(5) {
    transition-delay: 0.32s;
  }

  html.navbar-in .site-nav a:nth-child(6) {
    transition-delay: 0.38s;
  }

  html.navbar-in .site-nav a:nth-child(7) {
    transition-delay: 0.44s;
  }

  .header .static-menu {
    display: none;
  }

  .hamburger-icon {
    display: block;
  }

  .navbar-search .hamburger-icon {
    display: none;
  }

  .header .row {
    align-items: center;
    justify-content: space-between;
  }

  .header .anim-menu ul {
    padding-left: 0;
  }

  .header .menu a {
    margin-left: 1.5rem;
  }



  .showcase-cont {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .team .team-desc {
    opacity: 1;
    position: static;
    visibility: visible;
  }

  .team .col {
    padding: 0 15px;
  }

  .cannes-news .container {
    max-width: 90%;
  }

  .site-header .site-search {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    padding: 9.5rem 2.4rem 3rem !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.98) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0) !important;
    z-index: 1001 !important;
  }

  .site-header .site-search.slideAni {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-header .site-search .input-group,
  .site-header .site-search .header-search-form,
  .site-header .site-search form {
    width: 80% !important;
    max-width: 80% !important;
    margin: 8rem auto 0 !important;
  }

  html.navbar-search .site-header .logo {
    position: relative;
    z-index: 1003;
  }

  html.navbar-search #hamburgerIcon {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html.navbar-search .header-icons {
    min-width: 84px;
    justify-content: flex-end;
  }

  .space {
    padding: var(--space_sm) 0 var(--space_sm);
  }

  .space_top {
    padding-top: var(--space_sm);
  }

  .space_bottom {
    padding-bottom: var(--space_sm);
  }

  .subscribe p {
    padding-right: 0px;
  }

  .subscribe a {
    position: inherit;
    margin-top: 2rem;
  }
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .header {
    padding: 1rem;
  }

  .hero-image {
    height: calc(70vh - 72px);
  }

  .header-icons {
    gap: 1.5rem;
  }

  .site-search {
    width: 100%;
    padding: 10.5rem 3rem 3rem;
  }

  .site-search.slideAni {
    transform: translateY(0);
  }

  .header .logo img {
    max-height: 40px;
  }

  .header .anim-menu {
    top: 100px;
    align-items: flex-start;
  }

  .header .menu a {
    margin-left: 1rem;
  }

  .header.expand .anim-menu ul li {
    line-height: 2;
  }

  .showcase {
    height: 80vw;
  }

  .showcase-cont .title {
    font-size: 1.125rem;
  }

  .showcase-cont .desc {
    font-size: 2rem;
  }

  .footer .inquiries {
    text-align: center;
  }

  .footer .col-md ul {
    margin-bottom: 2rem;
  }

  .team .team-pic img {
    height: 45vw;
  }

  .team .col {
    width: 50%;
    flex: auto;
    margin: 1rem 0;
  }

  .team .team-desc {
    font-size: 1.25rem;
    padding: 1rem;
  }

  .only-text p {
    font-size: 2.25rem;
  }

  .hero-image .hero-cont h1 {
    font-size: 2.5rem;
    width: 95%;
  }

  .quote .quote-text {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  /* showcase card */
  .showcase-card .card-title {
    font-size: 1.5rem;
  }

  .showcase-card .card-text {
    font-size: 1rem;
  }

  /* hero image */
  .hero-image {
    height: calc(100vh - 66px);
  }

  /* Event page */
  .event_intro {
    font-size: 1rem;
  }

  .site-search input.form-control {
    font-size: 1.7rem;
  }

  .site-search input.form-control::placeholder {
    font-size: 1.7rem;
  }

  .site-search svg {
    width: 25px;
    height: 25px;
  }
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --site-header-offset: 76px;
  }

  .site-header .container {
    padding-left: 1.4rem !important;
    padding-right: 1.4rem !important;
  }

  .header {
    padding: 1.125rem 0.5rem;
  }

  .site-header::before {
    height: 4.8rem;
  }

  .site-header .header-shell {
    min-height: 76px;
    padding: 0.75rem 1rem 0.8rem;
    gap: 1rem;
  }

  .site-header .logo {
    min-width: 92px;
    max-width: 132px;
  }

  .site-header .logo img,
  .site-header .logo .logo-svg svg {
    width: 82px;
  }

  .header-icons {
    gap: 1rem;
    margin-left: 0.8rem;
  }

  .search-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .search-btn svg {
    width: 2rem;
    height: 2rem;
  }

  .hamburger-icon>div {
    width: 2.5rem;
    height: 1.9rem;
  }

  .site-search {
    width: 90%;
  }

  .site-header .site-search,
  .site-header .site-search.slideAni {
    width: 100vw !important;
    max-width: none !important;
    padding: 9rem 2rem 2.5rem !important;
  }

  .site-header .site-search .input-group,
  .site-header .site-search .header-search-form,
  .site-header .site-search form {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 7rem !important;
  }

  .hero-image {
    height: calc(60vh - 66px);
  }

  .header .anim-menu {
    top: 90px;
  }

  .site-nav {
    top: 0;
    min-height: 100dvh;
    padding: 8.2rem 2rem 3rem;
    gap: 0.9rem;
    background: #000 !important;
    z-index: 1000;
  }

  html.navbar-in .site-header {
    background: #000 !important;
    mix-blend-mode: normal;
  }

  html.navbar-in .site-header::before {
    height: 100dvh;
    background: #000 !important;
    opacity: 1;
  }

  html.navbar-in .site-header .container,
  html.navbar-in .site-header .row,
  html.navbar-in .site-header .header-shell {
    background: transparent !important;
  }

  html.navbar-in .site-nav a,
  .site-nav a {
    font-size: 2rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.35rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a .back-ddb {
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
  }

  html.navbar-in .site-nav a:hover,
  html.navbar-in .site-nav a:focus,
  .site-nav a:hover,
  .site-nav a:focus {
    opacity: 1;
    color: #fff;
  }

  html.navbar-in .site-header .logo,
  html.navbar-in .site-header .header-icons,
  html.navbar-in .site-header .header-shell {
    position: relative;
    z-index: 1002;
  }

  .quote img,
  .top-hero .image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
  }

  .showcase-card .card-img-top {
    /* aspect-ratio: 4 / 5.6; */
    object-fit: cover;
    object-position: center top;
  }

  .showcase {
    height: 90vw;
  }

  .showcase-cont .desc {
    max-width: 100%;
    line-height: 1.2;
    font-size: 1.875rem;
  }

  .showcase-cont .title {
    font-size: 1rem;
  }

  .footer-btm .policy ul {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-btm .policy ul li {
    width: auto;
  }

  .team .col {
    width: 100%;
  }

  .hero-image .hero-cont h1 {
    font-size: 2rem;
  }

  .quote .quote-text {
    font-size: 2rem;
  }

  .only-text p {
    font-size: 2rem;
    line-height: 1.4;
  }

  /* showcase card */
  .showcase-card .card-title {
    font-size: 1.5rem;
  }

  .showcase-card .card-text {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .site-header .site-search {
    width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .site-header .site-search {
    width: 100% !important;
    max-width: none !important;
    padding: 10rem 2.4rem 3rem !important;
  }

  .site-search form {
    margin-top: 10rem;
  }

  .video-container:not(.mb-5) {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .video-container:not(.mb-5) img,
  .video-container:not(.mb-5) iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .detail_page .container,
  .supporting .container {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .about_campaign {
    margin-top: 2.4rem;
  }

  .agency_name {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .about_campaign .title {
    font-size: clamp(3.2rem, 12vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .about_campaign .b-name,
  .about_campaign .agency {
    font-size: 1.8rem;
    line-height: 1.25;
  }
}
