@media screen and (max-width: 1700px) {
  /* <--------------------------------------------------------- OAR Prahova ---------------------------------------------------------> */

  .section-grid-secondary :is(.section-pdf, .btn-pdf) {
    padding: 10px 30px;
    justify-content: flex-start;
  }

  .section-grid-secondary {
    grid-template: auto / 1fr;
  }

  .team-section .team-cards .team-grid {
    grid-template: auto/repeat(4, 1fr);
  }
}

@media screen and (max-width: 1440px) {
  /* <--------------------------------------------------------- NAVBAR ---------------------------------------------------------> */

  header #main-navbar #main-navbar-collapse .main-nav {
    gap: 5px;
  }

  /* <--------------------------------------------------------- OAR Prahova ---------------------------------------------------------> */
  .section-grid {
    grid-template: auto / 1fr 0.5fr;
  }

  .section-grid .section-img {
    aspect-ratio: inherit;
  }
  /* <--------------------------------------------------------- PROIECTE CULTURALE ---------------------------------------------------------> */

  .section-card-gallery {
    gap: 20px;
  }

  .section-card-gallery .card-gallery {
    padding: 20px;
  }
}
@media screen and (max-width: 1300px) {
  /* <--------------------------------------------------------- NAVBAR ---------------------------------------------------------> */
  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link-main {
    padding: 5px;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link-wrapper .nav-link-arrow-dropdown {
    padding-right: 5px;
  }

  /* <--------------------------------------------------------- PROFESIE ---------------------------------------------------------> */

  .download-cards-inner {
    grid-template: auto / repeat(4, 1fr);
  }

  /* <--------------------------------------------------------- PROIECTE CULTURALE ---------------------------------------------------------> */

  .section-card-gallery {
    grid-template: auto / repeat(3, 1fr);
  }
}

@media screen and (max-width: 1199px) {
  .team-section .team-cards .team-grid {
    grid-template: auto/repeat(3, 1fr);
  }
  /* <--------------------------------------------------------- NAVBAR ---------------------------------------------------------> */

  header .secondary-nav .secondary-nav-inner .nav-item .nav-link {
    font-size: 0;
    display: initial;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item {
    padding: 10px 0;
    border-bottom: 1px solid rgb(0, 0, 0, 10%);
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link-wrapper {
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link {
    padding: 5px 0;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link-wrapper .nav-link-arrow-dropdown {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--primary-color);
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item.active .nav-link-arrow-dropdown svg path {
    stroke: var(--black);
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item {
    flex-direction: column;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .dropdown-menu {
    padding: 0;
    box-shadow: none;
  }
  header #main-navbar #main-navbar-collapse .main-nav {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    border-top: 1px solid rgb(0, 0, 0, 20%);
    gap: 0;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link {
    padding: 10px 0;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item::before {
    display: none;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item::after {
    display: none;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link::before {
    display: none;
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link::after {
    display: none;
  }

  header #main-navbar #main-navbar-collapse {
    height: calc(100vh - 200px);
    overflow-x: auto;
  }

  /* <--------------------------------------------------------- NAVBAR ---------------------------------------------------------> */

  /* <--------------------------------------------------------- ACASA ---------------------------------------------------------> */

  .hero-slider-arrow {
    bottom: 50px;
    width: 100%;
    justify-content: space-between;
    right: 0;
  }

  .hero-slider-arrow .slick-arrow {
    padding: 13px 5vw;
  }

  .hero-slider-arrow .slick-arrow .arrow svg path {
    stroke: var(--primary-color);
  }

  .hero-slider .slide-inner .module-text {
    gap: 10px;
    justify-content: center;
  }

  /* <--------------------------------------------------------- ACASA ---------------------------------------------------------> */
}

@media screen and (max-width: 991px) {
  .contact-section .map-section::before {
    display: none;
  }
  /* <--------------------------------------------------------- NAVBAR ---------------------------------------------------------> */
  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .dropdown-menu .nav-item-level-2 .nav-link-first:hover {
    color: var(--black);
    background: transparent;
    transition: var(--transition-medium);
  }

  header #main-navbar #main-navbar-collapse .main-nav .main-nav-item .nav-link-main:hover {
    color: var(--black);
  }

  footer .links-footer .module-text ul li::before {
    display: none;
  }
  footer .links-footer .module-text ul li::after {
    display: none;
  }

  footer .links-footer .module-text ul li a::before {
    display: none;
  }

  footer .links-footer .module-text ul li a::after {
    display: none;
  }
  /* <--------------------------------------------------------- NAVBAR ---------------------------------------------------------> */

  .section-img-text-s {
    gap: 20px;
  }
  .team-section .team-cards .team-grid {
    grid-template: auto/repeat(2, 1fr);
  }

  /* <--------------------------------------------------------- ACASA ---------------------------------------------------------> */

  .section-text-lines {
    padding: 20px;
  }

  .section-grey-banner {
    padding: 20px;
  }

  .section-red-banner {
    gap: 40px;
    padding: 20px;
  }

  .section-red-banner .banner-text {
    padding-right: 0;
  }

  .hero-slider .slide-inner .module-text {
    overflow-x: auto;
    justify-content: space-between;
  }

  .hero-slider .slide-inner .module-text p {
    white-space: nowrap;
  }

  .hero-slider .slide-inner .module-text::-webkit-scrollbar {
    display: none;
  }

  .hero-slider .slide-inner .module-text {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* <--------------------------------------------------------- OAR Prahova ---------------------------------------------------------> */

  .section-img-text-square .section-img {
    padding-right: 15px;
  }

  .section-img-text-square .section-text {
    margin: 0 15px;
    padding: 20px;
  }

  .section-img-text-square .section-img::before {
    right: 15px;
    bottom: 0px;
    border-left: none;
    border-bottom: none;
  }
  .section-img-text-square .section-img::after {
    right: 15px;
    bottom: 50px;
    width: 40%;
  }

  .why-us-section .why-us-text-inner .text ul {
    padding: 20px;
  }

  .section-grid {
    grid-template: auto / 1fr;
    padding: 20px;
    gap: 40px;
  }

  .section-grid .section-img {
    padding: 40px;
    justify-content: inherit;
  }

  .section-grid .section-img .module-code {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    margin: 20px;
  }

  .section-grid .section-img .title {
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }

  .section-grid .section-img .module-text {
    padding: 0;
  }

  .section-grid .section-red {
    padding: 20px;
  }

  .section-grid .section-red::before {
    height: 1px;
    top: calc(100% + 20px);
    right: -20px;
    width: calc(100% + 40px);
  }

  .why-us-section {
    gap: 10px;
  }

  .section-grid-secondary .btn-pdf .title {
    width: 100%;
  }

  .section-grid-secondary .btn-pdf {
    flex-wrap: wrap;
  }

  .section-img-text-double .section-img-top-text .module-text * {
    text-align: left;
  }

  .section-img-text-double .section-img-top-text .module-text * {
    text-align: left;
  }

  .section-img-text-double .section-img-bottom-text .module-image {
    order: 1;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .section-img-text-double .section-img-bottom-text .title {
    order: 2;
  }

  .section-img-text-double .section-img-bottom-text .text {
    order: 3;
  }

  .section-img-text-double {
    gap: 60px;
  }

  .section-grid-secondary :is(.section-pdf, .btn-pdf) {
    padding: 10px 20px;
  }

  .article-section .text-section .text {
    padding: 20px;
  }

  .why-us-section .why-us-text-inner .text ul li::before {
    height: 6px;
    width: 6px;
  }

  .section-img-text-square:hover .section-img .module-image img {
    transform: scale(2) translate(50px, -10px);
    transition: var(--transition-slow);
  }

  /* <--------------------------------------------------------- PROFESIE ---------------------------------------------------------> */

  .download-cards-inner {
    grid-template: auto / repeat(2, 1fr);
    gap: 20px;
  }

  .article-section .text-section .text ul {
    padding-left: 10px;
  }

  .section-img-text.reverse-section {
    flex-direction: column-reverse;
  }

  .section-img-slider.reverse-section {
    flex-direction: column-reverse;
  }

  .section-img-slider {
    gap: 30px;
  }

  .section-img-text {
    gap: 20px;
  }

  /* <--------------------------------------------------------- PROIECTE CULTURALE ---------------------------------------------------------> */

  .text-on-image-section .text-on-image-card {
    padding: 20px;
  }

  .text-on-image-section .text-on-image-card .module-text {
    padding: 20px;
  }

  .text-on-image-section {
    grid-template: auto / 1fr;
  }

  .section-img-slider .arrow-slider-section svg {
    width: 40px;
  }

  .section-card-gallery {
    grid-template: auto / repeat(2, 1fr);
  }

  /* <--------------------------------------------------------- COMUNITATE ---------------------------------------------------------> */

  .border-section .border-section-inner {
    padding: 20px;
  }

  /* <--------------------------------------------------------- ECHIPA ---------------------------------------------------------> */

  .team-group-section .group-section {
    padding: 20px;
  }

  /* <--------------------------------------------------------- CONTACT ---------------------------------------------------------> */

  .contact-section .details-section {
    padding: 30px 5vw;
  }

  .contact-form .contact-form-col {
    padding: 20px;
  }

  /* <--------------------------------------------------------- BLOG/PROJECT ---------------------------------------------------------> */

  [data-pagetype="posts"] .content-wrapper {
    overflow-x: hidden;
  }

  [data-pagetype="project"] .content-wrapper {
    overflow-x: hidden;
  }

  .blog-page-wrapper {
    flex-direction: column-reverse;
    gap: 60px;
  }

  .blog-page-wrapper .blog-content-inner {
    padding-left: 15px;
    border-left: none;
  }

  .breadcrumbs-container .breadcrumbs-inner {
    gap: 20px;
  }

  .breadcrumbs-container .breadcrumbs-inner .breadcrumb {
    justify-content: flex-start;
  }

  .blog-page-wrapper .blog-similar-inner {
    padding-right: 15px;
  }

  .blog-grid .blog-item-wrapper .blog-item .blog-item-header .blog-title .title > * {
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  /* <--------------------------------------------------------- FOOTER ---------------------------------------------------------> */

  footer .footer-content .logo-social-footer .module-image img {
    max-height: 140px;
  }

  footer .footer-content .logo-social-footer {
    gap: 40px;
    flex-direction: row;
    justify-content: space-between;
  }

  footer .footer-content {
    gap: 40px;
  }

  footer .footer-content .links-footer {
    gap: 20px;
  }

  .module-newsletter #subscribeNewsletter .input-btn .form-group {
    width: 100%;
  }

  footer .links-footer .module-text ul li a {
    margin: 0 -10px;
  }

  footer .links-footer .module-text ul {
    gap: 0 20px;
    justify-content: space-between;
  }

  footer .footer-content .logo-social-footer .module-social ul {
    flex-direction: row;
    justify-content: space-between;
  }

  footer .footer-content .logo-social-footer .module-social {
    display: flex;
    align-items: flex-end;
  }
  footer .footer-content .links-footer {
    flex-direction: column;
  }

  footer .links-footer .module-text p {
    padding-left: 0px;
  }

  footer .footer-gdpr {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
  }

  footer .footer-gdpr .gdpr-image {
    justify-content: center;
  }

  .footer-gdpr .gdpr-links {
    justify-content: center;
  }
}

@media screen and (max-width: 575px) {
  #cookie_notice .cookie_notice_container .cookie-title svg {
    width: 40px;
  }
  #cookie_notice .cookie_notice_container .cookie-title {
    flex-direction: column;
    gap: 0;
  }
  #cookie_notice {
    padding: 20px 5vw;
    margin: 0;
  }
  .team-section .team-title {
    justify-content: center;
  }
  .team-section-title .team-title .title > * {
    text-align: center;
  }
  .team-section .team-cards .team-grid {
    grid-template: auto/repeat(1, 1fr);
  }
  /* <--------------------------------------------------------- ACASA ---------------------------------------------------------> */
  .section-text-lines {
    padding: 15px;
    gap: 20px;
  }

  .section-text-lines .title-button {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .section-grey-banner .title-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .section-grey-banner {
    padding: 15px;
    gap: 20px;
  }

  .section-red-banner {
    padding: 15px;
  }

  .section-red-banner .text ul {
    padding-left: 25px;
  }

  /* <--------------------------------------------------------- OAR Prahova ---------------------------------------------------------> */

  .section-img-text-square .section-text {
    padding: 15px;
  }

  .section-grid {
    padding: 15px;
  }

  .why-us-section .why-us-text-inner .text ul {
    padding: 15px;
  }

  /* <--------------------------------------------------------- PROFESIE ---------------------------------------------------------> */

  .download-cards-inner {
    grid-template: auto / repeat(1, 1fr);
    gap: 20px;
  }

  .article-section .text-section .text {
    padding: 15px;
  }

  .section-grid .section-red::before {
    top: calc(100% + 15px);
    right: -15px;
    width: calc(100% + 30px);
  }

  .section-grid {
    gap: 30px;
  }

  .section-grid .section-red {
    padding: 15px;
  }

  .section-grid .section-img {
    padding: 30px;
  }

  .section-grid .section-img .module-code {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    margin: 15px;
  }

  .section-grid-secondary :is(.section-pdf, .btn-pdf) {
    padding: 10px 15px;
  }

  .btn-download {
    padding: 10px;
  }

  .container-fluid:has(.section-grey-banner) {
    padding: 30px 0;
  }

  /* <--------------------------------------------------------- PROIECTE CULTURALE ---------------------------------------------------------> */

  .text-on-image-section .text-on-image-card {
    padding: 15px;
  }

  .text-on-image-section .text-on-image-card .module-text {
    padding: 15px;
  }

  .section-card-gallery {
    grid-template: auto / repeat(1, 1fr);
  }

  .section-card-gallery .card-gallery {
    padding: 15px;
  }

  .section-img-slider .text-slider .text p {
    -webkit-text-stroke: 1px var(--primary-color);
  }

  .section-img-slider .text-slider .text * {
    font-size: min(max(20px, calc(1.25rem + ((1vw - 2.8px) * 2.6829))), 64px);
  }

  .section-img-slider .text-slider .text p:has(strong) {
    margin-left: 20vw;
  }

  /* <--------------------------------------------------------- COMUNITATE ---------------------------------------------------------> */

  .border-section .border-section-inner {
    padding: 15px;
  }

  /* <--------------------------------------------------------- ECHIPA ---------------------------------------------------------> */

  .team-group-section .group-section {
    padding: 15px;
  }

  /* <--------------------------------------------------------- CONTACT ---------------------------------------------------------> */

  .contact-form .contact-form-col {
    padding: 15px;
  }

  /* <--------------------------------------------------------- FOOTER ---------------------------------------------------------> */

  footer .footer-content .links-footer .module-text ul {
    justify-content: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  footer .footer-content .links-footer .module-newsletter #subscribeNewsletter .form-control {
    min-width: inherit;
  }

  footer .footer-gdpr .links-footer .module-text ul {
    justify-content: center;
  }

  footer .footer-content .logo-social-footer {
    flex-direction: column;
  }
}
