/*! ============================================================
 *  Yellow Marketing — Responsive
 *  Plain CSS. Edit directly (no SCSS source).
 *  One merged block per breakpoint: 1399 / 1199 / 991 / 767 / 575
 *  Loaded after style.css in inc/header.php
 * ============================================================ */

/*! ===== Desktop only (>= 1200px) ===== */
@media (min-width: 1200px) {
  /*! hover rotates the chevron; below 1200px .is_open drives it instead,
        because :hover sticks after a tap on touch devices */
  .header_main .nav_list .has_dropdown:hover > a i {
    transform: rotate(180deg);
  }

  /*! WordPress menus have no <i>, the arrow is the ::after chevron */
  .header_main .nav_list .has_dropdown:hover > a::after,
  .header_main .nav_list .menu-item-has-children:hover > a::after {
    margin-top: 2px;
    transform: rotate(-135deg);
  }
}

@media (max-width: 1399px) {
  .hero .container {
    max-width: 100%;
  }

  .process_sec .process_img {
    height: auto;
    /* min-height: 520px; */
  }

  .about_sec .about_media_img,
  .about_sec .about_media_img.is_framed {
    height: 379px;
  }

  .work_card .work_img {
    height: auto;
  }

  .method_card {
    padding: 24px;
  }

  .campaign_card .campaign_meta {
    flex-wrap: wrap;
  }
}

@media (max-width: 1199px) {
  /*! chevron is the submenu toggle on mobile — give it a real tap target */
  /* .header_main .nav_list .has_dropdown > a .nav_arrow {
        padding: 15px 10px;
        margin: -15px -10px -15px 0;
    } */

  h1 {
    font-size: 46px;
    line-height: 60px;
  }

  h2 {
    font-size: 34px;
    line-height: 46px;
  }

  .header_main .nav_list,
  .header_main .header_btn {
    display: none;
  }

  .header_main .nav_toggle {
    display: block;
  }

  .header_main .main_nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85%;
    display: block;
    margin: 0;
    padding: 70px 24px 30px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1003;
  }

  .header_main.nav_active .main_nav {
    transform: translateX(0);
  }

  .header_main .nav_close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 20px;
    color: #d9ab00;
    background: transparent;
    border: 0;
  }

  .header_main .nav_list {
    display: block;
  }

  .header_main .nav_list > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .header_main .nav_list > li > a {
    height: auto;
    width: 100%;
    padding: 14px 0;
    justify-content: space-between;
  }

  .header_main .nav_list .dropdown,
  .header_main .nav_list .sub-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 12px 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header_main .nav_list .has_dropdown.is_open > a i {
    transform: rotate(180deg);
  }

  .header_main .nav_list .has_dropdown.is_open > a::after,
  .header_main .nav_list .menu-item-has-children.is_open > a::after {
    margin-top: 2px;
    transform: rotate(-135deg);
  }

  .header_main .nav_list .has_dropdown.is_open > .dropdown,
  .header_main .nav_list .has_dropdown.is_open > .sub-menu,
  .header_main .nav_list .menu-item-has-children.is_open > .dropdown,
  .header_main .nav_list .menu-item-has-children.is_open > .sub-menu {
    display: block;
  }

  /*! nested WordPress levels stay stacked and indented, not floated */
  .header_main .nav_list .sub-menu .sub-menu {
    margin-left: 0;
    padding: 0 0 8px 16px;
  }

  /*! submenu chevrons point down here, the flyout is an accordion on mobile */
  .header_main .nav_list .sub-menu li.menu-item-has-children > a::after {
    transform: rotate(45deg);
  }

  .header_main
    .nav_list
    .sub-menu
    li.menu-item-has-children.is_open
    > a::after {
    transform: rotate(-135deg);
  }

  .header_main .nav_list .sub-menu li a {
    padding-left: 0;
  }

  .header_main .nav_cta {
    display: block;
    margin-top: 24px;
  }

  .header_main .nav_cta .btn {
    width: 100%;
  }

  .site_footer .footer_cta_inner h2 {
    font-size: 34px;
    line-height: 46px;
  }

  .site_footer .footer_cta {
    margin-bottom: -140px;
  }

  .site_footer .footer_body {
    padding-top: 220px;
  }

  .page_hero {
    min-height: 520px;
  }

  .page_hero .page_hero_content h1 {
    font-size: 48px;
    line-height: 60px;
  }

  .featured_sec .featured_info h2 {
    line-height: 46px;
  }

  .featured_sec .featured_media {
    height: 420px;
  }

  .featured_case_sec .featured_case_visual {
    height: 400px;
  }

  .featured_case_sec .featured_case_txt h3 {
    font-size: 28px;
    line-height: 38px;
  }

  .story_sec .story_txt h2 {
    line-height: 46px;
  }

  .story_sec .featured_media {
    height: 420px;
  }

  /* .team_card .team_img {
        height: 220px;
    } */

  .direct_box {
    padding: 32px;
  }

  .direct_list .direct_icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    font-size: 26px;
  }

  .planner_sec .planner_txt h2 {
    font-size: 34px;
  }

  .brief_card {
    padding: 32px;
  }

  /*! Common page :: legal content */
  .legal_sec {
    padding: 80px 0;
  }

  .legal_sec h1 {
    font-size: 40px;
    line-height: 52px;
  }

  .legal_sec h2 {
    font-size: 28px;
    line-height: 38px;
  }

  /*! 404 page */
  .error_sec {
    min-height: 600px;
    padding: 80px 0;
  }

  .error_sec .error_code {
    font-size: 160px;
  }

  .error_sec hgroup h1 {
    font-size: 48px;
    line-height: 60px;
  }
}

@media (max-width: 991px) {
  .row_gy {
    --bs-gutter-y: 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 52px;
  }

  h2 {
    font-size: 30px;
    line-height: 36px;
  }

  h3 {
    font-size: 22px;
    line-height: 32px;
  }

  h4 {
    font-size: 17px;
    line-height: 24px;
  }

  h5 {
    font-size: 16px;
    line-height: 24px;
  }

  h6 {
    font-size: 14px;
    line-height: 22px;
  }

  /*! uniform 60px vertical rhythm for every section */
  .hero,
  .page_hero,
  .about_sec,
  .work_sec,
  .process_sec,
  .clients_sec,
  .blog_sec,
  .tinted_sec,
  .band_sec,
  .testimonial_sec,
  .featured_sec,
  .capability_sec,
  .metric_sec,
  .values_sec,
  .why_sec,
  .campaign_sec,
  .industry_sec,
  .filter_sec,
  .featured_case_sec,
  .portfolio_sec,
  .story_sec,
  .team_sec,
  .timeline_sec,
  .logo_strip_sec,
  .contact_sec,
  .office_sec,
  .follow_sec,
  .faq_sec,
  .method_sec,
  .planner_sec,
  .type_sec,
  .deliver_sec {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .page_hero .page_hero_content h1 {
    font-size: 40px;
    line-height: 46px;
  }

  .sec_head {
    margin-bottom: 40px;
  }

  .tinted_sec,
  .band_sec,
  .site_footer {
    margin-top: 0px;
  }

  .testimonial_sec {
    margin-top: 0;
  }

  .about_sec .about_top {
    --bs-gutter-y: 16px;
  }

  .about_sec .about_media {
    margin-top: 0px;
  }

  .about_sec .about_media_img,
  .about_sec .about_media_img.is_framed {
    height: 320px;
  }

  /* .process_sec .process_img {
        min-height: 380px;
    } */

  .process_sec .process_steps {
    padding-top: 0px;
  }

  .process_sec .process_row {
    align-items: flex-start;
  }

  .sec_foot {
    margin-top: 20px;
  }

  /* .case_card {
        height: 420px;
    } */

  .testimonial_sec .sec_foot,
  .blog_sec .sec_foot {
    margin-top: 20px;
  }

  .band_sec .band_inner {
    flex-wrap: wrap;
  }

  .band_sec .band_inner h2,
  .band_sec .band_inner p {
    flex: 1 1 100%;
  }

  .band_sec .band_inner .btn {
    margin-left: 0;
  }

  .client_grid > [class*="col"]:nth-child(4n) .client_logo {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  .client_grid > [class*="col"]:nth-child(3n) .client_logo {
    border-right: 0;
  }

  .client_grid > [class*="col"]:nth-child(-n + 4) .client_logo {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .client_grid > [class*="col"]:nth-child(-n + 3) .client_logo {
    border-top: 0;
  }

  .client_logo {
    min-height: 160px;
  }

  .featured_sec .featured_media {
    height: 380px;
  }

  /* .industry_card .industry_img {
        height: 220px;
    } */

  .featured_case_sec .featured_case_visual {
    height: 360px;
  }

  .story_sec .featured_media {
    height: auto;
    width: 100%;
    max-width: 100%;
  }

  .contact_sec .contact_form_wrap h2 {
    font-size: 28px;
  }

  .deliver_sec .deliver_txt p {
    font-size: 16px;
  }

  .why_sec .sec_head .why_intro,
  .why_sec .sec_head h2 {
    max-width: 100%;
  }

  .sec_head.sec_head_center {
    text-align: left;
  }

  .industry_sec .row.row_gy,
  .portfolio_sec .row.row_gy {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }

  .filter_sec {
    padding: 40px 0;
  }

  .office_sec .row.row_gy {
    --bs-gutter-x: 20px;
  }

  .service_card .service_txt {
    justify-content: flex-start;
    gap: 12px;
  }

  .service_card .service_txt p {
    font-size: 16px;
    line-height: 24px;
  }

  .service_card {
    min-height: auto;
  }

  .campaign_sec .row.row_gy {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }

  .form_field input,
  .form_field textarea {
    font-size: 14px;
  }

  .direct_list .direct_txt a {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  /*! process steps stack once the two columns get too narrow */
  .process_sec .process_step {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .process_sec .process_step .step_head,
  .process_sec .process_step .step_body {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .row_gy {
    --bs-gutter-y: 20px;
  }

  body {
    font-size: 15px;
    line-height: 26px;
  }

  h1 {
    font-size: 34px;
    line-height: 46px;
  }

  h2 {
    font-size: 26px;
    line-height: 34px;
  }

  h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .header_main .header_inner {
    height: 76px;
  }

  .header_main a.logo {
    width: 120px;
    height: 66px;
  }

  .hero {
    min-height: 560px;
    padding: 70px 0;
  }

  .hero .hero_content h1 {
    margin-bottom: 20px;
  }

  .hero .hero_content p {
    margin-bottom: 34px;
  }

  .hero .hero_img::after {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.75) 60%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .btn {
    min-height: 45px;
    padding: 8px 20px;
  }

  .btn_grp {
    gap: 14px;
  }

  .service_card {
    min-height: 0;
  }

  .work_card .work_img {
    height: auto;
    margin: 0 0 16px;
  }

  /* .blog_card .blog_img {
        height: 260px;
    } */

  /* .case_card {
        height: 360px;
    } */

  .case_card .case_meta {
    left: 20px;
    right: 20px;
    bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .case_card .case_meta h3 {
    max-width: 100%;
    font-size: 16px;
  }

  .client_grid > [class*="col"]:nth-child(3n) .client_logo,
  .client_grid > [class*="col"]:nth-child(4n) .client_logo {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  .client_grid > [class*="col"]:nth-child(2n) .client_logo {
    border-right: 0;
  }

  .client_grid > [class*="col"]:nth-child(-n + 4) .client_logo,
  .client_grid > [class*="col"]:nth-child(-n + 2) .client_logo {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .client_grid > [class*="col"]:first-child .client_logo,
  .client_grid > [class*="col"]:nth-child(2) .client_logo {
    border-top: 0;
  }

  .client_logo {
    min-height: 130px;
    padding: 20px;
  }

  .band_sec {
    padding: 50px 0;
  }

  .band_sec .band_inner h2 {
    font-size: 26px;
    line-height: 36px;
  }

  .site_footer .footer_cta {
    margin-bottom: -110px;
    padding: 40px 20px;
    border-width: 6px;
  }

  .site_footer .footer_cta_inner h2 {
    font-size: 26px;
    line-height: 36px;
  }

  .site_footer .footer_body {
    padding: 160px 0 40px;
  }

  .deco_pattern,
  .deco_corner {
    display: none;
  }

  .about_sec .about_media {
    margin-top: 0;
  }

  .page_hero {
    padding: 70px 0;
  }

  .page_hero .page_hero_content h1 {
    font-size: 30px;
    line-height: 36px;
    margin: 0 0 16px;
  }

  .page_hero .page_hero_content > p {
    font-size: 16px;
    line-height: 28px;
    margin: 0 0 20px;
    color: #fff;
  }

  .featured_sec .featured_info > p {
    font-size: 16px;
  }

  .capability_card,
  .stat_card {
    padding: 24px;
  }

  .stat_card .stat_no {
    font-size: 40px;
  }

  .campaign_card .campaign_meta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .campaign_card .campaign_meta .campaign_client {
    white-space: normal;
  }

  .industry_card {
    padding: 20px;
  }

  .industry_card h3 {
    font-size: 20px;
  }

  .metric_card .metric_no {
    font-size: 30px;
    line-height: normal;
  }

  .filter_sec {
    padding: 24px 0;
  }

  .featured_case_sec .featured_case_txt .case_kicker {
    font-size: 16px;
  }

  .featured_case_sec .featured_case_txt h3 {
    font-size: 24px;
    line-height: 34px;
  }

  .featured_case_sec .impact_grid .impact_no {
    font-size: 30px;
  }

  .story_sec .story_txt > p {
    font-size: 16px;
  }

  .team_card,
  .timeline_step {
    padding: 20px;
  }

  .team_card h3 {
    font-size: 20px;
  }

  .logo_strip_sec {
    padding: 40px 0;
  }

  .logo_strip_row li a img {
    max-height: 36px;
  }

  .contact_sec .contact_form_wrap h2 {
    font-size: 24px;
  }

  .direct_box {
    padding: 24px;
  }

  .office_card .acc_trigger,
  .faq_box .acc_trigger {
    gap: 12px;
    padding: 16px 20px;
    font-size: 16px;
    text-align: left;
  }

  .faq_box .acc_container p {
    text-align: left;
  }

  .office_card .acc_container p,
  .faq_box .acc_container p {
    padding: 0 20px 16px;
  }

  .office_card h3 {
    font-size: 20px;
  }

  .social_grid {
    gap: 12px;
  }

  .social_grid a {
    padding: 12px 18px;
    font-size: 14px;
  }

  .planner_sec .planner_txt h2 {
    font-size: 28px;
  }

  .planner_sec .planner_txt > p {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .brief_card {
    padding: 20px;
  }

  .brief_card > h3 {
    font-size: 20px;
  }

  .method_card h3 {
    font-size: 20px;
  }

  .planner_perks .perk_icon,
  .deliver_list .deliver_icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .planner_perks .perk_icon img {
    width: 16px;
    height: 16px;
  }

  .deliver_list li {
    gap: 16px;
    padding: 20px 0;
  }

  .hero,
  .page_hero,
  .about_sec,
  .work_sec,
  .process_sec,
  .clients_sec,
  .blog_sec,
  .tinted_sec,
  .band_sec,
  .testimonial_sec,
  .featured_sec,
  .capability_sec,
  .metric_sec,
  .values_sec,
  .why_sec,
  .campaign_sec,
  .industry_sec,
  .filter_sec,
  .featured_case_sec,
  .portfolio_sec,
  .story_sec,
  .team_sec,
  .timeline_sec,
  .logo_strip_sec,
  .contact_sec,
  .office_sec,
  .follow_sec,
  .faq_sec,
  .method_sec,
  .planner_sec,
  .type_sec,
  .deliver_sec {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
  }

  .tinted_sec,
  .band_sec,
  .site_footer {
    margin-top: 0px;
  }

  .hero,
  .page_hero {
    min-height: 0;
  }

  .sec_head {
    margin-bottom: 28px;
  }

  .sec_foot {
    margin-top: 28px;
  }

  .about_sec .about_top {
    justify-content: center;
  }

  .about_sec .usp_list {
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
    max-width: -moz-max-content;
    max-width: max-content;
    margin: 20px auto 0;
  }

  .about_sec .about_body .btn {
    margin-top: 24px;
  }

  .sec_head h2,
  .sec_head p,
  .sec_head .sec_head_right,
  .hero .hero_content p,
  .page_hero .page_hero_content p,
  .featured_case_visual {
    margin-left: auto;
    margin-right: auto;
  }

  .btn_grp,
  .band_inner,
  .filter_row,
  .filter_list,
  .impact_grid,
  .social_grid,
  .logo_strip_row,
  .site_footer .social_links,
  .client_grid,
  .footer_bottom .row {
    justify-content: center;
  }

  .direct_list li,
  .planner_perks li,
  .deliver_list li {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .site_footer {
    text-align: center;
  }

  .site_footer .footer_body {
    padding-bottom: 30px;
  }

  .site_footer .footer_bottom {
    padding-top: 30px;
    gap: 10px;
  }

  .site_footer .footer_about .footer_logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site_footer .footer_links ul {
    align-items: center;
  }

  .service_card .service_icon,
  .method_card .method_no {
    margin-left: auto;
    margin-right: auto;
  }

  .form_field,
  .form_field label,
  .form_field input,
  .form_field textarea {
    text-align: left;
  }

  .service_card .service_txt p {
    font-size: 16px;
    line-height: 24px;
  }

  .link_explore {
    justify-content: center;
  }

  .process_sec .process_steps {
    padding-top: 0;
  }

  .band_sec .band_inner {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .testimonial_card .testimonial_head {
    flex-direction: column;
  }

  .testimonial_card .rating {
    margin: auto;
  }

  .testimonial_card {
    padding: 22px;
    gap: 16px;
    min-height: auto;
  }

  .site_footer .footer_links ul {
    gap: 10px;
  }

  .service_card .service_txt h3 {
    max-width: 100%;
  }

  .service_card .service_txt {
    gap: 10px;
  }

  .sec_head.sec_head_center {
    text-align: center;
  }

  .featured_sec .highlight_list li {
    text-align: left;
  }

  .featured_sec .highlight_list {
    max-width: max-content;
    width: 100%;
    margin: auto;
  }

  .story_sec .story_txt h2 {
    line-height: normal;
  }

  .brief_card .brief_field label {
    text-align: left;
  }

  .site_footer .deco_cta_right {
    display: none;
  }

  .site_footer .footer_cta_inner p {
    margin: 0px auto 20px;
  }

  .work_card h3 {
    margin-bottom: 10px;
  }

  /* add on css for testimonial slider */
  .testimonial_slider.row {
    row-gap: 20px;
  }
  .blog_slider.row {
    row-gap: 20px;
  }

  .dbf {
    font-size: 15px;
  }

  /*! Common page :: legal content */
  .legal_sec {
    padding: 60px 0;
  }

  .legal_sec h1,
  .legal_sec h2,
  .legal_sec h3,
  .legal_sec h4,
  .legal_sec h5,
  .legal_sec h6 {
    margin-top: 32px;
  }

  .legal_sec h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .legal_sec h2 {
    font-size: 24px;
    line-height: 34px;
  }

  .legal_sec h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .legal_sec table {
    min-width: 560px;
    font-size: 14px;
  }

  .legal_sec table th,
  .legal_sec table td {
    padding: 10px 12px;
  }

  /*! 404 page */
  .error_sec {
    min-height: 0;
    padding: 60px 0;
  }

  .error_sec .error_code {
    font-size: 110px;
    letter-spacing: -3px;
  }

  .error_sec hgroup h1 {
    font-size: 34px;
    line-height: 44px;
  }

  .error_sec .error_txt {
    margin: 16px auto 32px;
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 28px;
    line-height: 38px;
  }

  .testimonial_card {
    padding: 22px;
  }

  .blog_card .blog_meta {
    flex-direction: column;
    justify-content: center !important;
  }

  /*! 404 page */
  .error_sec .error_code {
    font-size: 88px;
  }

  .error_sec .error_btns {
    flex-direction: column;
    gap: 16px;
  }

  .error_sec .error_btns .btn {
    width: 100%;
  }
}
