.about-icons a.icon-static {
  cursor: default;
}

.profile-layout {
  display: grid;
  gap: 1.5rem;
}

.profile-section {
  padding: 1.5rem 1.75rem;
  color: var(--text-color);
  border: 1px solid var(--line-color);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92));
  box-shadow: 0 16px 40px rgba(47, 65, 84, 0.08);
}

.profile-section h2,
.profile-card h3 {
  margin-top: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.profile-card {
  height: 100%;
  padding: 1.25rem;
  color: var(--text-color);
  border: 1px solid var(--line-color);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(47, 65, 84, 0.1);
}


html[data-user-color-scheme="dark"] .profile-section,
html[data-user-color-scheme="dark"] .profile-card {
  background: rgba(37, 45, 56, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.photography-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto;
  padding: 0.5rem 1rem 1rem;
  max-width: none;
}

.photography-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  width: min(100%, 980px);
}

.photography-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sec-text-color);
}

.photography-subtitle {
  max-width: 760px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-color);
}

.photography-grid {
  display: block;
  width: 100%;
  max-width: 100%;
  column-width: 190px;
  column-gap: 16px;
  text-align: left;
}

.photography-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  vertical-align: top;
  transform: rotate(var(--tile-rotate, 0deg));
  text-decoration: none !important;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.photography-item:hover {
  transform: translateY(-6px) rotate(var(--tile-rotate, 0deg));
  filter: saturate(1.04);
}

.photography-item.tilt-flat {
  --tile-rotate: 0deg;
}

.photography-item.tilt-left {
  --tile-rotate: -1.2deg;
}

.photography-item.tilt-right {
  --tile-rotate: 1.2deg;
}

.photography-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 10px;
  border-radius: 18px;
  background: rgba(240, 244, 248, 0.92);
  box-shadow:
    0 16px 30px rgba(32, 44, 58, 0.12),
    0 3px 10px rgba(32, 44, 58, 0.08);
}

.photography-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.photography-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.photography-meta {
  display: grid;
  gap: 0.16rem;
  padding: 0.65rem 0.2rem 0;
  color: var(--sec-text-color);
}

.photography-meta strong {
  margin: 0;
  color: var(--text-color);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.photography-meta em {
  font-style: normal;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--sec-text-color);
}

html[data-user-color-scheme="dark"] .photography-frame {
  background: rgba(37, 45, 56, 0.94);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .photography-grid {
    column-width: 210px;
  }
}

@media (max-width: 767.98px) {
  .photography-layout {
    gap: 1rem;
  }

  .photography-grid {
    column-width: 160px;
    column-gap: 12px;
  }

  .photography-item:hover {
    transform: translateY(-4px);
  }
}
