/*
Theme Name: JAG Studio 2026
Theme URI: https://www.jagstudio.it
Author: JAG Studio
Description: Tema proprietario per JAG Studio, general contracting e project management.
Version: 1.3.4
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: jag-studio
*/

body.admin-bar .jag-header--dark {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .jag-header--dark {
    top: 46px;
  }
}

/* Keep every diagonal action arrow typographic and consistent across devices. */
.jag-header__cta span,
.build-hero__content > a span,
.build-hero__scope > a > span,
.project-card__content > strong i,
.projects-section__all > span,
.location-list > a i,
.services-preview__heading > a span,
.services-preview__list > a i,
.services-hero > div a span,
.projects-index-card__copy > strong i,
.contact-form__submit button span,
.site-footer__lead > a i,
.next-project > i {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  place-items: center;
  overflow: hidden;
  font-family: var(--font-manrope), Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-indent: -999px;
  vertical-align: middle;
}

.jag-header__cta span::before,
.build-hero__content > a span::before,
.build-hero__scope > a > span::before,
.project-card__content > strong i::before,
.projects-section__all > span::before,
.location-list > a i::before,
.services-preview__heading > a span::before,
.services-preview__list > a i::before,
.services-hero > div a span::before,
.projects-index-card__copy > strong i::before,
.contact-form__submit button span::before,
.site-footer__lead > a i::before,
.next-project > i::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: currentColor;
  content: '\2197\FE0E';
  font: inherit;
  line-height: 1;
  text-indent: 0;
}

@media (max-width: 520px) {
  .jag-header {
    display: flex;
    justify-content: space-between;
    min-height: 126px;
    padding: 10px 22px 24px;
  }

  .jag-header nav {
    top: 126px;
    gap: clamp(8px, 2.2vw, 12px);
    overflow-x: hidden;
    padding-right: 14px;
    padding-left: 14px;
    border-bottom: 0;
  }

  .jag-header nav a,
  .jag-header__cta {
    font-size: clamp(7.5px, 1.95vw, 8.6px);
    letter-spacing: 0.06em;
  }

  .jag-header__cta {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    white-space: nowrap;
    text-align: left;
  }

  .jag-header__cta span {
    margin-left: 5px;
  }

  .jag-header__cta span,
  .build-hero__content > a span,
  .build-hero__scope > a > span,
  .project-card__content > strong i,
  .location-list > a i,
  .services-preview__heading > a span,
  .services-hero > div a span,
  .projects-index-card__copy > strong i,
  .contact-form__submit button span {
    font-size: 15px;
  }

  .jag-header__cta span,
  .jag-header--dark .jag-header__cta span {
    color: transparent;
  }

  .jag-header__cta span::before {
    color: var(--signal);
  }

  .jag-header--dark .jag-header__cta span::before {
    color: var(--signal);
  }

  .build-hero__media {
    order: -1;
    padding: 54px 0 18px;
  }

  .build-hero__content {
    padding: 32px 22px 48px;
  }

  .leadership-section__portrait {
    min-height: 500px;
  }

  .leadership-section__portrait img {
    width: 78%;
    max-height: 82%;
  }

  .site-footer__lead > a {
    position: relative;
    gap: 0;
    padding-right: 64px;
  }

  .site-footer__lead > a i {
    position: absolute;
    right: 0;
    bottom: 25px;
    font-size: 0.66em;
  }
}
