﻿/* ============================================================
   Auerswald Agency – Custom Overrides & Mobile Fixes
   ============================================================ */

/* 1. HEADER: Hide CTA button on mobile, show hamburger only */
@media (max-width: 1024px) {
  .header .header-right .tf-btn {
    display: none !important;
  }
  .header .mobile-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--white, #fff);
  }
}

/* 2. TOPBAR */
.topbar .topbar-contact-link {
  color: var(--mono-gray, #9aa0ab);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar .topbar-contact-link:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .topbar .left p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 58%;
  }

  .topbar .right p {
    white-space: nowrap;
    font-size: 12px;
  }
}

/* 3. COOKIE BANNER: Compact on mobile */
@media (max-width: 600px) {
  #cookie-consent-banner {
    width: calc(100% - 24px) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 12px !important;
    padding: 16px !important;
  }
  #cookie-consent-banner p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  #cookie-consent-banner .cookie-buttons {
    flex-direction: row !important;
    gap: 8px !important;
  }
  #cookie-consent-banner button {
    font-size: 13px !important;
    padding: 10px 14px !important;
  }
}

/* 4. SERVICE PAGE: Hero image full width, proper height on mobile */
@media (max-width: 767px) {
  .section-meet-team .main-post .img-wrap img {
    height: 280px !important;
  }
}

/* 5. FOOTER: Better mobile layout */
@media (max-width: 767px) {
  #footer .footer-body .top {
    flex-direction: column;
  }
  #footer .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-top: 32px;
  }
}

/* 6. CONTACT PAGE: Fix theme .icon conflict + layout */
.section-contact.style-1 .contact-info-icon {
  position: static !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 18px !important;
  flex-shrink: 0;
  min-width: 24px;
  text-align: center;
  line-height: 1;
}

.section-contact.style-1 .contact-info-icon i {
  display: inline-block;
  font-size: 18px;
  color: #0C5AF5;
}

/* Theme sets .right to flex-row + justify end → title beside form; force vertical stack */
.section-contact.style-1 > .d-flex {
  align-items: flex-start;
  gap: 48px;
}

.section-contact.style-1 .left {
  flex: 0 0 42%;
  max-width: 42%;
}

.section-contact.style-1 .right {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  flex: 1 1 58%;
  max-width: 58%;
  width: auto;
}

.section-contact.style-1 .right .heading-section {
  width: 100%;
  margin-bottom: 28px !important;
}

.section-contact.style-1 .right .form-request {
  width: 100%;
  max-width: 100%;
}

.section-contact.style-1 .contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.section-contact.style-1 .contact-social-link:hover {
  border-color: #0C5AF5;
  background: rgba(12, 90, 245, 0.1);
}

.section-contact.style-1 .contact-social-link i {
  font-size: 16px;
}

.section-contact.style-1 .contact-submit-btn,
.section-contact.style-1 .form-request button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px !important;
  width: auto !important;
  height: auto !important;
  min-height: 48px !important;
  border-radius: 8px !important;
  background: #0C5AF5 !important;
  border: none !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  z-index: 2;
  margin-top: 4px;
  flex-shrink: 0;
}

.section-contact.style-1 .contact-submit-btn:hover {
  background: #0a4ad4;
}

/* Hide duplicate footer form on contact page */
.page-contact #footer .footer-body .content-left {
  display: none;
}

.page-contact #footer .footer-body .content-right {
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .section-contact.style-1 {
    padding: 32px 24px !important;
  }

  .section-contact.style-1 > .d-flex {
    flex-direction: column;
    gap: 40px !important;
  }

  .section-contact.style-1 .left {
    order: 1;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .section-contact.style-1 .right {
    order: 2;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .section-contact.style-1 .heading-title {
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.2;
  }
}

/* 7. BLOG: images + mobile layout */
.blog-popular-grid .swiper-slide {
  height: auto;
  display: flex;
  min-width: 0;
}

.blog-popular-grid .blog-article-item {
  width: 100%;
  min-width: 0;
}

.blog-popular-grid .article-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.blog-popular-grid .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.page-blog .blog-featured .article-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
}

.page-blog .blog-featured .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.page-blog .wrap-list-blog.style-2 .blog-article-item.style-list {
  min-width: 0;
}

.page-blog .wrap-list-blog.style-2 .blog-article-item.style-list .article-content {
  min-width: 0;
  flex: 1;
}

.page-blog .wrap-list-blog.style-2 .blog-article-item.style-list .article-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  min-height: 0 !important;
  background: rgba(255, 255, 255, 0.06);
}

.page-blog .wrap-list-blog.style-2 .blog-article-item.style-list .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog .relatest-post-item .image-rotate {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 10px;
}

.page-blog .relatest-post-item .image-rotate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .page-blog .wrap-list-blog.style-2 .blog-article-item.style-list {
    flex-direction: column;
    gap: 16px;
  }

  .page-blog .wrap-list-blog.style-2 .blog-article-item.style-list .article-thumb {
    width: 100%;
    max-width: 100%;
  }

  .page-blog .content-with-slidebar {
    gap: 32px;
  }

  .page-blog .content-with-slidebar .sidebar {
    width: 100%;
    max-width: 100%;
  }
}

/* Team grids: equal columns on mobile */
.team-page-grid,
.section-team .tf-grid-layout-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-page-grid .box-team,
.section-team .box-team {
  min-width: 0;
}

.team-page-grid .img-style,
.section-team .box-team .img-style {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.team-page-grid .img-style img,
.section-team .box-team .img-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .team-page-grid.lg-col-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .team-page-grid,
  .section-team .tf-grid-layout-2 {
    gap: 16px 10px;
  }
}

/* CMS rich text on detail pages */
.prose-blog h2,
.prose-blog h3 {
  color: #fff;
  margin: 1.5em 0 0.75em;
}

.prose-blog p {
  margin-bottom: 1em;
  line-height: 1.7;
}

.prose-blog a {
  color: var(--primary, #0c5af5);
}

@media (max-width: 575px) {
  .page-blog .blog-featured {
    padding: 16px !important;
  }

  .page-blog .blog-featured h2 {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.3;
  }
}

/* Portfolio grid: equal columns + real image aspect ratio */
.wg-listing .tf-grid-layout-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
}

.wg-listing .tf-filter-item {
  min-width: 0;
}

.wg-listing .project-item .article-thumb {
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.06);
}

.wg-listing .project-item .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .wg-listing .tf-grid-layout-2.lg-col-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 24px;
  }
}

@media (max-width: 575px) {
  .wg-listing .tf-grid-layout-2 {
    gap: 20px 10px;
  }

  .wg-listing .project-item .article-thumb {
    border-radius: 16px;
    margin-bottom: 12px !important;
  }

  .wg-listing .project-item h6 {
    font-size: 13px;
    line-height: 1.35;
  }

  .wg-listing .project-item .tag {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .section-contact.style-1 .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .section-contact.style-1 .contact-submit-btn {
    width: 100% !important;
    justify-content: center;
  }

  .page-contact #footer .footer-body .content-right {
    flex-direction: column;
    gap: 32px;
  }
}

/* Team-Seite: Lesbare Texte auf dunklem Hintergrund */
body.page-team .section-meet-team .box-team.style-4 .content p,
body.page-team .section-meet-team .box-team.style-4 .team-role,
#page-team-grid .box-team.style-4 .content p,
#page-team-grid .box-team.style-4 .team-role {
  color: #e8ecf1 !important;
}

body.page-team .team-page-cta-wrap .team-cta-text,
body.page-team .team-page-cta-wrap .box-team.style-no-img p {
  color: #ffffff !important;
}

body.page-team .career-footer .heading-section p,
body.page-team .career-footer .heading-section .text_mono-gray,
body.page-team .career-footer .heading-section .text_mono-gray9 {
  color: #e8ecf1 !important;
}

body.page-team .career-footer .list li a,
body.page-team .career-footer .list li div {
  color: #e8ecf1 !important;
}

body.page-team .career-footer .list li:hover a,
body.page-team .career-footer .list li:hover div {
  color: #ffffff !important;
}

/* Karriere-Liste auf dunklem Hintergrund (Team-Seite) */
.career-footer-dark .career-list li a,
.career-footer-dark .career-list li div,
.career-footer-dark .career-list-link,
.career-footer-dark .career-list-location {
  color: #e8ecf1 !important;
}

.career-footer-dark .career-list li:hover a,
.career-footer-dark .career-list li:hover div {
  color: #ffffff !important;
}

.career-footer-dark .career-list li {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.page-team .box-team.style-4 .tecko-social a + a {
  margin-left: 8px;
}

.section-team.style-1 .box-team.style-4 .team-role,
.section-team.style-1 .box-team.style-4 .content .text_mono-gray3 {
  color: var(--mono-gray9, #d9dce3) !important;
}

/* Header / Footer: Button-Hover ohne weißen Überlagerungs-Bug */
.header .tf-btn.btn-white {
  overflow: hidden;
}

.header .tf-btn.btn-white:hover {
  background-color: var(--primary, #0c5af5) !important;
}

.header .tf-btn.btn-white:hover span {
  color: #fff !important;
}

#footer .form-request button[type="submit"].tf-btn,
#footer .form-request .contact-submit-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px 40px !important;
  width: auto !important;
  height: auto !important;
  min-height: 48px !important;
  border-radius: 8px !important;
  background: #0c5af5 !important;
  border: none !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700;
  overflow: hidden;
  position: relative;
}

#footer .form-request button[type="submit"].tf-btn span,
#footer .form-request .contact-submit-btn span {
  color: #fff !important;
  position: relative;
  z-index: 2;
}

#footer .form-request button[type="submit"].tf-btn:hover,
#footer .form-request .contact-submit-btn:hover {
  background: #0a4ad4 !important;
}

#footer .form-request button[type="submit"].tf-btn:hover span,
#footer .form-request .contact-submit-btn:hover span {
  color: #fff !important;
}

#footer .form-request button[type="submit"] .bg-effect {
  display: none !important;
}

/* Team-Seite: blaue CTA-Karte (unterhalb des Grids) */
.team-page-cta-wrap {
  width: 100%;
  margin-top: 24px;
}

.team-page-cta-wrap .team-page-cta.box-team.style-no-img {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 20px;
  aspect-ratio: auto !important;
  min-height: auto !important;
  height: auto !important;
  overflow: hidden;
  padding: 32px 28px !important;
  justify-content: flex-start !important;
  border-radius: 20px;
}

.team-page-cta-wrap .team-page-cta .team-cta-title {
  margin: 0;
  line-height: 1.25;
  font-size: clamp(22px, 5.5vw, 32px);
}

.team-page-cta-wrap .team-page-cta .team-cta-text {
  margin: 0;
  line-height: 1.55;
  flex: 1 1 auto;
  font-size: 15px;
}

.team-page-cta-wrap .team-page-cta .team-cta-actions {
  width: 100%;
  margin-top: 8px;
  flex-shrink: 0;
}

.team-page-cta-wrap .team-page-cta .team-cta-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: auto !important;
  min-height: 48px !important;
  padding: 14px 20px !important;
  flex-shrink: 0;
  overflow: hidden;
}

.team-page-cta-wrap .team-page-cta .team-cta-btn span {
  position: relative;
  z-index: 2;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}

.team-page-cta-wrap .team-page-cta .team-cta-btn .bg-effect {
  display: none !important;
}

@media (max-width: 575px) {
  .team-page-cta-wrap {
    margin-top: 16px;
  }

  .team-page-cta-wrap .team-page-cta.box-team.style-no-img {
    padding: 24px 18px !important;
    gap: 14px;
    border-radius: 16px;
  }

  .team-page-cta-wrap .team-page-cta .team-cta-btn {
    min-height: 52px !important;
    padding: 16px 16px !important;
  }

  .team-page-cta-wrap .team-page-cta .team-cta-btn span {
    font-size: 15px;
  }

  .team-page-grid {
    gap: 14px 10px;
  }
}

/* Index: Team & Kundenstimmen */
.section-team.style-2 .box-team.style-1 .avatar img {
  width: 100%;
  height: auto;
  display: block;
}

.index-testimonials-grid .testimonial.style-default .box-user .avatar,
.section-testimonial .testimonial.style-6 .author .avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e8e8;
}

.index-testimonials-grid .testimonial .box-user .avatar img,
.section-testimonial .testimonial.style-6 .author .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .index-testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* About-Us Seite */
body.page-about .section-team .box-team.style-4 .team-role,
body.page-about .about-team-grid .box-team.style-4 .team-role {
  color: #e8ecf1 !important;
}

body.page-about .wrap-counter .counter-item p {
  color: #b8bec8 !important;
}

.page-about .about-values-section {
  margin-top: 64px;
  padding-top: 8px;
}

.page-about .about-values-section .heading-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-about .about-values-grid {
  margin-top: 0;
}

body.page-about .value-item p {
  color: #b8bec8 !important;
}

body.page-about .about-team-actions .tf-btn.btn-border span {
  color: #fff !important;
}

body.page-about .about-team-actions .tf-btn.btn-border:hover {
  background-color: var(--primary, #0c5af5) !important;
}

.page-about .about-cta-box {
  background: #0c5af5 !important;
  background-image: none !important;
  border-radius: 20px;
  padding: 32px 28px !important;
  position: relative;
  overflow: hidden;
}

.page-about .about-cta-box .heading-title {
  line-height: 1.2 !important;
  font-size: clamp(24px, 5vw, 40px);
}

.page-about .about-cta-box .about-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 48px !important;
  padding: 14px 28px !important;
  flex-shrink: 0;
  overflow: hidden;
}

.page-about .about-cta-box .about-cta-btn span {
  position: relative;
  z-index: 2;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}

.page-about .about-cta-box .about-cta-btn .bg-effect {
  display: none !important;
}

.page-about .about-quote-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.page-about .about-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .page-about .about-cta-box {
    flex-direction: column;
    align-items: stretch !important;
    text-align: left;
  }

  .page-about .about-cta-actions {
    width: 100%;
  }
}

/* About-us: Hero- und Büro-Bilder kompakter (quer statt hoch) */
.page-about .section-meet-team .main-post .img-wrap {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 400px;
  overflow: hidden;
  border-radius: 24px;
}

.page-about .section-meet-team .main-post .img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.page-about .box-contact.style-2 .img-style {
  aspect-ratio: 4 / 3;
  max-height: 360px;
  overflow: hidden;
  border-radius: 20px;
}

.page-about .box-contact.style-2 .img-style img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-about .section-culture .img-wrap {
  aspect-ratio: 4 / 3;
  max-height: 400px;
  overflow: hidden;
  border-radius: 20px;
}

.page-about .section-culture .img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991px) {
  .page-about .section-meet-team .main-post .img-wrap {
    aspect-ratio: 16 / 9;
    max-height: 300px;
  }

  .page-about .box-contact.style-2 .img-style,
  .page-about .section-culture .img-wrap {
    max-height: 280px;
  }
}

@media (max-width: 767px) {
  .page-about .section-meet-team .main-post .img-wrap {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    border-radius: 16px;
  }

  .page-about .section-meet-team .main-post .img-wrap img {
    height: 100% !important;
  }

  .page-about .wrap-counter.tf-grid-layout-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .page-about .wrap-counter .counter-item {
    padding: 16px;
  }

  .page-about .about-team-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 4px;
  }

  .page-about .about-team-actions .tf-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .page-about .about-cta-box {
    padding: 24px 20px !important;
    border-radius: 16px;
  }

  .page-about .about-cta-box .about-cta-btn {
    min-height: 52px !important;
  }

  .page-about .about-values-section {
    margin-top: 48px;
  }

  .page-about .about-values-section .heading-section {
    margin-bottom: 28px !important;
  }

  .page-about .section-culture .box-quote .h6 {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* Logo: Header, Footer, Mobile-Menü */
.site-logo img,
.footer-logo img,
#menu-mobile .logo img,
.mobile-nav-wrap .logo img {
  display: block;
  width: 188px;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

@media (max-width: 575px) {
  .site-logo img,
  .footer-logo img,
  #menu-mobile .logo img {
    width: 160px;
    height: 38px;
  }
}

/* Rechtliche Seiten: AGB, Impressum, Datenschutz */
.page-legal .page-wrap.mx_24 {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.page-legal .page-wrap .tf-container-inner {
  min-width: 0;
  max-width: 100%;
}

.page-legal .legal-content {
  max-width: 860px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 60px 24px 80px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.page-legal .legal-content h1 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(28px, 7vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.page-legal .legal-content h2 {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-top: 40px;
  margin-bottom: 10px;
}

.page-legal .legal-content h3 {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 28px;
  margin-bottom: 8px;
}

.page-legal .legal-content p,
.page-legal .legal-content li {
  color: #b0b0c0;
  line-height: 1.8;
  margin-bottom: 8px;
}

.page-legal .legal-content a {
  color: #6ea3ff;
}

.page-legal .legal-content ul {
  padding-left: 20px;
}

.page-legal .legal-subtitle {
  color: #6ea3ff;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.page-legal .legal-divider {
  border: none;
  border-top: 1px solid #2a2a3e;
  margin: 32px 0;
}

@media (max-width: 767px) {
  .page-legal .page-wrap.mx_24 {
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 16px;
    overflow: hidden;
  }

  .page-legal .page-wrap .tf-container-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-legal .legal-content {
    padding: 28px 8px 48px;
  }

  .page-legal .legal-content h1 {
    font-size: clamp(20px, 5.2vw, 28px) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
  }

  .page-legal .legal-content h2 {
    font-size: 1.1rem;
    margin-top: 28px;
  }

  .page-legal .legal-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 400px) {
  .page-legal .legal-content h1 {
    font-size: clamp(18px, 4.8vw, 24px) !important;
  }
}