@media (max-width: 991px) {
  #block-cmsinfo {
    padding: 1.25rem 1.875rem;
  }

  #cms .page-header h1,
  .page-header h2.page-header h1,
  .page-header h2 {
    padding: 2rem 1.5em 1em;
  }

  .page-content.page-cms {
    padding: 1rem 1.5rem 4rem;
  }

  .page-cms-22 {
    padding: 0 !important;
  }

  .guide-grid-wrapper {
    flex-direction: column;
  }

  .guide-form {
    width: 100%;
  }

  .guide-form h3 {
    font-size: 30px;
  }

  .cms-guide h2 {
    font-size: 40px;
  }
}

@media (max-width: 1279px) {
  .header-content {
    padding: 40px 40px 0;
    gap: 32px;
  }

  .header-text h1 {
    font-size: 48px;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 22px;
  }

  .description {
    max-width: 100%;
  }

  .header-visual {
    max-width: 420px;
  }

  .cms-guide__container {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    width: auto;
    max-width: 100%;
    padding: 64px 24px;
  }

  .cms-guide .container {
    min-width: 0;
  }

  .guide-card {
    padding: 24px;
  }
}

@media (max-width: 991px) {
  .header-page-cms {
    min-height: auto;
  }

  .header-content {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-text {
    position: relative;
    z-index: 1;
    width: auto;
  }

  .header-text::after {
    width: 140px;
    height: 90px;
    bottom: -12px;
  }

  .header-visual {
    max-width: 320px;
    align-self: center;
  }

  .icon_logo_decoration,
  .icon_guide_logo_decoration,.header-visual {
    display: none;
  }

  .cms-guide__container {
    grid-template-columns: 1fr;
    padding: 56px 24px;
  }

  .cms-guide h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-galerie img {
    width: 100%;
    height: auto;
    display: block;
  }

  .guide-form {
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
    padding: 28px 24px;
  }

}

@media (max-width: 1024px) {
  .job-swiper {
    width: 100%;
    overflow: hidden;
  }

  .job-swiper-wrapper {
    gap: 0;
  }

  .job-section_slide {
    height: auto;
  }
}

@media (max-width: 767px) {

  .guide-preview {
    flex-direction: column;
  }

  .guide-preview img {
    width: 100%;
  }

  .header-content {
    padding: 32px 16px;
    gap: 24px;
  }

  .subtitle {
    font-size: 18px;
  }

  .header-text h1 {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .btn-download {
    width: 100%;
    min-width: 0;
  }

  .header-visual {
    max-width: 220px;
  }

  .cms-guide__container {
    padding: 40px 16px;
    gap: 20px;
  }

  .cms-guide h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .guide-card h3 {
    font-size: 18px;
  }

  .guide-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .guide-galerie {
    margin: 24px 0;
  }

  .guide-bottom {
    padding: 22px 18px;
  }

  .guide-bottom p {
    font-size: 14px;
  }

  .guide-form {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .guide-form h3 {
    font-size: 24px;
    line-height: 1.25;
  }

  .guide-form input,
  .guide-form button {
    height: 50px;
  }

  .header-visual {
    display: none !important;
  }

  .job-section .job-container {
    padding: 56px 16px 72px;
  }

  .job-title {
    font-size: 34px;
    line-height: 1.15;
  }
}
