/**
 * Vizuálna identita
 *
 * Pôvodne WPCode snippet #259 (STYLE).
 */

.asp-case-single--identity .asp-case-dock{
  max-width: 1180px;
}

.asp-case-section--identity-logo .asp-identity-logo-main,
.asp-case-section--identity-logo .asp-identity-logo-variation-card,
.asp-case-section--identity-typography .asp-identity-typography-description,
.asp-case-section--identity-typography .asp-identity-font-preview,
.asp-case-section--identity-colors .asp-identity-colors-stack{
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.asp-case-section--identity-logo .asp-identity-logo-main{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 26px;
  align-items: stretch;
  padding: 24px;
  border-radius: 30px;
}

.asp-case-section--identity-logo .asp-identity-logo-main__visual{
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 34px;
}

.asp-case-section--identity-logo .asp-identity-logo-main__visual img{
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.asp-case-section--identity-logo .asp-identity-logo-main__content{
  display: flex;
  align-items: center;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
}

.asp-case-section--identity-logo .asp-identity-logo-main__content p{
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
}

.asp-case-section--identity-logo .asp-identity-logo-variations-grid{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.asp-case-section--identity-logo .asp-identity-logo-variation-card{
  border-radius: 28px;
  overflow: hidden;
}

.asp-case-section--identity-logo .asp-identity-logo-variation-card__inner{
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    radial-gradient(circle at 18% 24%, rgba(255, 54, 0, 0.08), transparent 32%);
}

.asp-case-section--identity-logo .asp-identity-logo-variation-card__inner img{
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.asp-case-section--identity-typography .asp-identity-typography-description{
  border-radius: 30px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.asp-case-section--identity-typography .asp-identity-typography-description p{
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
}

.asp-case-section--identity-typography .asp-identity-font-preview{
  border-radius: 30px;
  padding: 30px;
  overflow: hidden;
}

.asp-case-section--identity-typography .asp-identity-font-preview.has-custom-font{
  font-family: var(--asp-font-preview-family), sans-serif;
}

.asp-case-section--identity-typography .asp-identity-font-preview__header{
  margin-bottom: 18px;
}

.asp-case-section--identity-typography .asp-identity-font-preview__name{
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: .95;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.asp-case-section--identity-typography .asp-identity-font-preview__alphabet{
  color: #fff;
  line-height: .92;
  letter-spacing: -.03em;
  word-break: break-word;
}

.asp-case-section--identity-typography .asp-identity-font-preview__alphabet + .asp-identity-font-preview__alphabet{
  margin-top: 10px;
}

.asp-case-section--identity-typography .asp-identity-font-preview__alphabet--big{
  font-size: clamp(42px, 8vw, 112px);
}

.asp-case-section--identity-typography .asp-identity-font-preview__alphabet--small{
  font-size: clamp(38px, 7vw, 98px);
}

.asp-case-section--identity-typography .asp-identity-font-preview__alphabet--numbers{
  margin-top: 18px !important;
  font-size: clamp(28px, 4vw, 62px);
  line-height: 1.02;
}

.asp-case-section--identity-typography .asp-identity-font-preview__headline{
  margin-top: 58px;
  font-size: clamp(42px, 6vw, 96px);
  line-height: .92;
  font-weight: 700;
  color: #fff;
}

.asp-case-section--identity-colors .asp-identity-colors-stack{
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.08);
}

.asp-case-section--identity-colors .asp-identity-color-band{
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  min-height: 300px;
  background: var(--asp-band-bg);
  color: var(--asp-band-text);
  position: relative;
}

.asp-case-section--identity-colors .asp-identity-color-band + .asp-identity-color-band{
  border-top: 1px solid rgba(255,255,255,0.08);
}

.asp-case-section--identity-colors .asp-identity-color-band__main{
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.asp-case-section--identity-colors .asp-identity-color-band__content{
  width: 100%;
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.asp-case-section--identity-colors .asp-identity-color-band__title{
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 52px);
  line-height: .95;
  font-weight: 700;
  color: inherit;
  text-wrap: balance;
}

.asp-case-section--identity-colors .asp-identity-color-band__codes{
  display: grid;
  gap: 10px;
  max-width: 100%;
}

.asp-case-section--identity-colors .asp-identity-color-band__code-row{
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.asp-case-section--identity-colors .asp-identity-color-band__code-row span{
  font-size: 15px;
  line-height: 1.25;
  opacity: .8;
}

.asp-case-section--identity-colors .asp-identity-color-band__code-row strong{
  font-size: clamp(20px, 2.2vw, 38px);
  line-height: .98;
  font-weight: 500;
  color: inherit;
  word-break: break-word;
}

.asp-case-section--identity-colors .asp-identity-color-band__description{
  margin: 22px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.8;
  color: inherit;
  opacity: .82;
}

.asp-case-section--identity-colors .asp-identity-color-band__tones{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 100%;
}

.asp-case-section--identity-colors .asp-identity-color-band__tone{
  display: block;
  min-width: 0;
  height: 100%;
  border-left: 1px solid rgba(255,255,255,0.14);
}

.asp-case-section--identity-layout .asp-identity-layout-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.asp-case-section--identity-layout .asp-identity-layout-card__media{
  aspect-ratio: 4 / 5 !important;
}

.asp-case-section--identity-layout .asp-identity-layout-card__media img{
  object-position: center center;
}

@media (max-width: 1240px){
  .asp-case-section--identity-layout .asp-identity-layout-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px){
  .asp-case-section--identity-logo .asp-identity-logo-main,
  .asp-case-section--identity-colors .asp-identity-color-band{
    grid-template-columns: 1fr;
  }

  .asp-case-section--identity-colors .asp-identity-color-band__tones{
    min-height: 120px;
  }

  .asp-case-section--identity-logo .asp-identity-logo-variations-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .asp-case-section--identity-logo .asp-identity-logo-main,
  .asp-case-section--identity-logo .asp-identity-logo-variation-card,
  .asp-case-section--identity-typography .asp-identity-typography-description,
  .asp-case-section--identity-typography .asp-identity-font-preview,
  .asp-case-section--identity-layout .asp-identity-layout-card,
  .asp-case-section--identity-colors .asp-identity-colors-stack{
    border-radius: 24px;
  }

  .asp-case-section--identity-logo .asp-identity-logo-main{
    padding: 18px;
  }

  .asp-case-section--identity-logo .asp-identity-logo-main__visual,
  .asp-case-section--identity-logo .asp-identity-logo-main__content{
    border-radius: 20px;
  }

  .asp-case-section--identity-logo .asp-identity-logo-main__visual{
    min-height: 240px;
    padding: 22px;
  }

  .asp-case-section--identity-logo .asp-identity-logo-main__content{
    padding: 22px;
  }

  .asp-case-section--identity-logo .asp-identity-logo-variations-grid,
  .asp-case-section--identity-layout .asp-identity-layout-grid{
    grid-template-columns: 1fr;
  }

  .asp-case-section--identity-colors .asp-identity-color-band{
    min-height: 0;
  }

  .asp-case-section--identity-colors .asp-identity-color-band__content{
    padding: 28px 22px;
  }

  .asp-case-section--identity-colors .asp-identity-color-band__code-row{
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .asp-case-section--identity-colors .asp-identity-color-band__tones{
    min-height: 80px;
  }

  .asp-case-section--identity-typography .asp-identity-font-preview{
    padding: 22px;
  }

  .asp-case-section--identity-typography .asp-identity-font-preview__headline{
    margin-top: 38px;
  }
}
