.tg-profile.tg-profile--template-photography-portfolio {
  --tg-profile-accent: #ffffff;
  --tg-profile-background: #000000;
  --tg-profile-surface: #050505;
  --tg-profile-text: #f7f7f2;
  --tg-profile-muted: #8f8f88;
  --tg-profile-line: #242424;
  --tg-profile-card-radius: 0;
  --tg-profile-avatar-size: 3.75rem;
  --tg-profile-avatar-radius: 999px;
  --tg-profile-avatar-background: #080808;
  --tg-profile-avatar-border-width: 1px;
  --tg-profile-avatar-border-color: rgba(255, 255, 255, .38);
  --tg-profile-avatar-shadow: 0 16px 34px rgba(0, 0, 0, .5);
  --tg-profile-avatar-overlay-background: transparent;
  --tg-profile-avatar-overlay-shadow: none;
  --tg-profile-posts-block-background: transparent;
  --tg-profile-posts-block-border-width: 0;
  --tg-profile-posts-block-padding: 0;
  --tg-profile-posts-gap: 1.5rem;
  --tg-profile-post-card-background: transparent;
  --tg-profile-post-card-border-width: 0;
  --tg-profile-post-card-padding: 0;
  --tg-profile-post-card-radius: 0;
  --tg-profile-post-social-background: rgba(0, 0, 0, .58);
  --tg-profile-post-social-border-color: rgba(255, 255, 255, .18);
  background: #000000;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #f7f7f2;
  gap: 2rem;
  padding: 3rem 1.5rem 4rem;
}

html:has(.tg-profile--template-photography-portfolio),
body.app-route-profile:has(.tg-profile--template-photography-portfolio),
body.app-route-profile-view:has(.tg-profile--template-photography-portfolio) {
  background-color: #000000 !important;
}

body.tg-profile-template-photography-portfolio.app-route-profile .app-shell-header,
body.tg-profile-template-photography-portfolio.app-route-profile-view .app-shell-header {
  background: #000000;
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.tg-profile-template-photography-portfolio.app-route-profile .header-icon,
body.tg-profile-template-photography-portfolio.app-route-profile-view .header-icon,
body.tg-profile-template-photography-portfolio.app-route-profile .app-header-route-link,
body.tg-profile-template-photography-portfolio.app-route-profile-view .app-header-route-link,
body.tg-profile-template-photography-portfolio.app-route-profile .app-header-quick-menu__toggle,
body.tg-profile-template-photography-portfolio.app-route-profile-view .app-header-quick-menu__toggle {
  color: #f7f7f2;
}

body.tg-profile-template-photography-portfolio.app-route-profile .centered-logo .logo,
body.tg-profile-template-photography-portfolio.app-route-profile-view .centered-logo .logo {
  filter: brightness(0) invert(1);
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__region {
  gap: 1.5rem;
  min-width: 0;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__region--masthead {
  flex-basis: 100%;
  justify-items: center;
  max-width: 100%;
  padding: .5rem 0 1.75rem;
  text-align: center;
  width: 100%;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__region--main {
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__region--archive {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid;
  flex-basis: 100%;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
  padding-top: 2rem;
  width: 100%;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #f7f7f2;
  padding: 0;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block--identity-card {
  justify-items: center;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__identity {
  justify-items: center;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__name.header-username {
  color: #ffffff;
  font-size: calc(1.2rem * var(--tg-profile-heading-scale));
  font-style: italic;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
}

.tg-profile.tg-profile--template-photography-portfolio .profile-actions.profile-actions--hero {
  justify-content: center;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__intro,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__custom-text {
  color: #b9b9b1;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__links .links,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__links #links-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.45rem;
  justify-content: center;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__links .link-item {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__links .saved-link,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__external-link {
  background: transparent;
  border: 0;
  color: #777771;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.2;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__links .saved-link:hover,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__links .saved-link:focus-visible,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__external-link:hover,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__external-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.tg-profile.tg-profile--template-photography-portfolio .add-link-button {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #f7f7f2;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block--composer .tg-composer,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block--plugin .bento,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block--plugin .tg-profile-module-card,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block--plugin .tg-upto-card,
.tg-profile.tg-profile--template-photography-portfolio .tg-wall-posts {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  color: #f7f7f2;
  padding: 1rem;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__block--composer {
  margin: 0 auto;
  max-width: 42rem;
  width: 100%;
}

.tg-profile.tg-profile--template-photography-portfolio textarea.input-field,
.tg-profile.tg-profile--template-photography-portfolio .input-field {
  background: #000000;
  border-color: rgba(255, 255, 255, .16);
  color: #f7f7f2;
}

.tg-profile.tg-profile--template-photography-portfolio textarea.input-field::placeholder,
.tg-profile.tg-profile--template-photography-portfolio .input-field::placeholder {
  color: rgba(247, 247, 242, .48);
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile__header-media.header-picture {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  filter: saturate(.82) contrast(1.08);
  min-height: var(--tg-profile-header-height);
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__header {
  border: 0;
  justify-content: center;
  margin: 0 0 2rem;
  padding: 0;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__filters {
  gap: 1.65rem;
  justify-content: center;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__filter {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #555550;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.2;
  padding: .25rem 0;
  text-transform: uppercase;
}

.tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__filter:hover,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__filter:focus-visible,
.tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__filter.is-active {
  background: transparent;
  color: #ffffff;
  outline: none;
}

.tg-photo-mosaic-feed {
  column-count: 4;
  column-gap: 1.5rem;
}

.tg-photo-mosaic-post {
  background: #080808;
  break-inside: avoid;
  color: #f7f7f2;
  display: block;
  margin: 0 0 1.5rem;
  overflow: hidden;
  position: relative;
}

.tg-photo-mosaic-post:nth-child(4n + 1) {
  margin-top: 2.5rem;
}

.tg-photo-mosaic-post:nth-child(4n + 3) {
  margin-top: .9rem;
}

.tg-photo-mosaic-post:first-child {
  margin-top: 0;
}

.tg-photo-mosaic-post__media {
  aspect-ratio: 1 / 1;
  background: #111111;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.tg-photo-mosaic-post--tall .tg-photo-mosaic-post__media {
  aspect-ratio: 3 / 4.35;
}

.tg-photo-mosaic-post--landscape .tg-photo-mosaic-post__media {
  aspect-ratio: 4 / 3;
}

.tg-photo-mosaic-post__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: filter .22s ease, transform .22s ease;
  width: 100%;
}

.tg-photo-mosaic-post:hover .tg-photo-mosaic-post__media img,
.tg-photo-mosaic-post:focus-within .tg-photo-mosaic-post__media img {
  filter: brightness(.72);
  transform: scale(1.025);
}

.tg-photo-mosaic-post__count {
  background: rgba(0, 0, 0, .66);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  padding: .35rem .45rem;
  position: absolute;
  right: .55rem;
  top: .55rem;
}

.tg-photo-mosaic-post__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78) 24%, rgba(0, 0, 0, .94));
  bottom: 0;
  color: #f7f7f2;
  display: grid;
  gap: .65rem;
  left: 0;
  max-height: 100%;
  opacity: 0;
  overflow: auto;
  padding: 2.25rem .85rem .85rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(.45rem);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 2;
}

.tg-photo-mosaic-post:hover .tg-photo-mosaic-post__overlay,
.tg-photo-mosaic-post:focus-within .tg-photo-mosaic-post__overlay,
.tg-photo-mosaic-post--text .tg-photo-mosaic-post__overlay {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.tg-photo-mosaic-post--text {
  border: 1px solid rgba(255, 255, 255, .14);
  min-height: 12rem;
  padding: 1rem;
}

.tg-photo-mosaic-post--text .tg-photo-mosaic-post__overlay {
  background: transparent;
  max-height: none;
  padding: .85rem 0 0;
  position: static;
}

.tg-photo-mosaic-post__text,
.tg-photo-mosaic-post__caption {
  color: #f7f7f2;
  font-size: .92rem;
  line-height: 1.55;
}

.tg-photo-mosaic-post__caption {
  max-height: 8rem;
  overflow: auto;
}

.tg-photo-mosaic-post__meta {
  align-items: center;
  color: #bebeb6;
  display: flex;
  flex-wrap: wrap;
  font-size: .72rem;
  font-weight: 800;
  gap: .35rem;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tg-photo-mosaic-post__author,
.tg-photo-mosaic-post__time,
.tg-photo-mosaic-post__meta a {
  color: inherit;
  text-decoration: none;
}

.tg-photo-mosaic-post .tg-user-post__menu {
  right: .45rem;
  top: .45rem;
  z-index: 4;
}

.tg-photo-mosaic-post .tg-post-social,
.tg-photo-mosaic-post .tg-wall-posts__moderation--feed {
  background: rgba(0, 0, 0, .62);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  color: #f7f7f2;
  margin: 0;
  padding: .6rem;
}

.tg-photo-mosaic-post .tg-post-social__like-button,
.tg-photo-mosaic-post .tg-post-social__message-button,
.tg-photo-mosaic-post .tg-post-social__share-button,
.tg-photo-mosaic-post .tg-post-social__comment-toggle {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  color: #f7f7f2;
  min-width: 2rem;
}

.tg-photo-mosaic-post .tg-post-comment__meta,
.tg-photo-mosaic-post .tg-post-comment__content {
  color: #f7f7f2;
}

.tg-profile.tg-profile--template-photography-portfolio a {
  color: #ffffff;
}

@media (max-width: 1023px) {
  .tg-profile.tg-profile--template-photography-portfolio {
    padding: 2rem 1rem 3rem;
  }

  .tg-profile.tg-profile--template-photography-portfolio .tg-profile__region--archive {
    grid-template-columns: minmax(0, 1fr);
  }

  .tg-photo-mosaic-feed {
    column-count: 3;
  }
}

@media (max-width: 767px) {
  .tg-profile.tg-profile--template-photography-portfolio {
    gap: 1.4rem;
    padding: 1.25rem .85rem 2.25rem;
  }

  .tg-profile.tg-profile--template-photography-portfolio .tg-profile__region--masthead {
    padding-bottom: 1rem;
  }

  .tg-profile.tg-profile--template-photography-portfolio .tg-profile-posts__filters,
  .tg-profile.tg-profile--template-photography-portfolio .tg-profile__links .links,
  .tg-profile.tg-profile--template-photography-portfolio .tg-profile__links #links-container {
    gap: .9rem;
  }

  .tg-photo-mosaic-feed {
    column-count: 2;
    column-gap: .85rem;
  }

  .tg-photo-mosaic-post {
    margin-bottom: .85rem;
  }

  .tg-photo-mosaic-post:nth-child(4n + 1),
  .tg-photo-mosaic-post:nth-child(4n + 3) {
    margin-top: 0;
  }

  .tg-photo-mosaic-post__overlay {
    background: #050505;
    max-height: none;
    opacity: 1;
    padding: .75rem;
    pointer-events: auto;
    position: static;
    transform: none;
  }
}

@media (max-width: 380px) {
  .tg-photo-mosaic-feed {
    column-count: 1;
  }
}
