/*
Theme Name: Aykut Kasapoğlu Tattoo
Description: Bilingual tattoo portfolio with editable WordPress pages and shared galleries.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: aykut-kasapoglu
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

.aykut-action,
.aykut-address,
.award-year {
  margin: 0;
}

.hero-actions > .aykut-action {
  display: contents;
}

.hero-tagline > p {
  margin: 0;
  color: inherit;
  white-space: nowrap;
}

.hero-tagline > p:first-child {
  letter-spacing: .01em;
}

.hero-tagline > p:last-child {
  letter-spacing: .055em;
}

.wp-block-image.hero-logo {
  margin: 0;
}

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

.awards-list > .award-entry {
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}

.gallery .wp-block-gallery.gallery-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  align-items: start;
  justify-items: center;
  gap: 1.5rem;
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
}

.gallery .wp-block-gallery.gallery-works > figure.wp-block-image {
  display: block;
  width: 100%;
  max-width: 42rem;
  margin: 0;
}

.gallery .wp-block-gallery.gallery-works > figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery .wp-block-gallery.gallery-works > figure.wp-block-image figcaption {
  position: static;
  max-height: none;
  overflow: visible;
  margin: .65rem 0 0;
  padding: 0;
  background: none;
  color: var(--text);
  font-size: .87rem;
  text-align: left;
  text-shadow: none;
}

html[lang="de"] .gallery-works figcaption > [lang="en"],
html[lang="en"] .gallery-works figcaption > [lang="de"] {
  display: none;
}
