/*
Theme Name: DNA² Art Creations
Description: Portfolio block theme for Katie Harman and Faith Harman.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: dna2-art-creations
*/

body {
  overflow-wrap: anywhere;
  background:
    radial-gradient(ellipse at 5% 24%, #ead6f6 0%, transparent 47%),
    radial-gradient(ellipse at 93% 47%, #c9f6e8 0%, transparent 46%),
    radial-gradient(ellipse at 82% 0%, #f6def2 0%, transparent 37%),
    #fff9eb;
}

.dna2-header {
  border-bottom: 1px solid #d8c2e9;
  background: #fff9eb70;
}

.dna2-header > .wp-block-group,
.dna2-footer > .wp-block-group {
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
}

.dna2-header .wp-block-navigation,
.dna2-header .wp-block-site-title {
  min-width: 0;
  max-width: 100%;
}

.dna2-header .wp-block-site-title {
  font: 700 1.4rem/1.2 Georgia, serif;
}

.dna2-hero {
  box-sizing: border-box;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.dna2-hero .dna2-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  align-items: center;
}

.dna2-hero-logo {
  width: min(100%, 32rem);
  justify-self: center;
  margin: 0;
}

.dna2-hero-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.dna2-hero-copy {
  min-width: 0;
}

.dna2-hero .dna2-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  text-wrap: balance;
}

.dna2-artist-names {
  font: 700 clamp(1.35rem, 2.6vw, 2rem)/1.25 Georgia, serif;
  text-wrap: balance;
}

.dna2-artist-role {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.875rem;
}

@media (max-width: 680px) {
  .dna2-hero .dna2-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .dna2-hero-logo {
    max-width: 22rem;
  }
}

.dna2-content {
  box-sizing: border-box;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.dna2-content:empty { padding-block: 0; }

.dna2-footer {
  background: #341345;
  color: #fff9eb;
}

.dna2-footer a { color: inherit; }
