.portrait-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 16px;
}

.landscape-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
    padding: 16px;
}

.image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image .caption {
  position: absolute;
  left: 12px;
  bottom: 2px;
  font-family: "Oleo Script";
  font-size: 20px;
  /*font-weight: bold;*/
  color: white;
  text-shadow: 0px 1px 2px #23430C;
}

.portrait-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 16px;
}

.landscape-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  padding: 16px;
}

.image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image .caption {
  position: absolute;
  left: 12px;
  bottom: 2px;
  font-family: "Oleo Script";
  font-size: 20px;
  /*font-weight: bold;*/
  color: white;
  text-shadow: 0px 1px 4px #23430C;
}
.image .reference {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 25%;
  height: 25%;
  object-fit: cover;
}

.framed-portrait-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 64px 48px;
  padding: 24px 8px 24px 8px;
}

.framed-landscape-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr));
  gap: 64px 48px;
  padding: 24px 8px 24px 8px;
}

.framed-image-div {
  position: relative;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.framed-image {
  position: relative;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
}

.framed-image.approved::after {
  content: '✔'; /* or use background-image if using custom icons */
  color: green;
  font-size: 80px;
  font-weight: bold;
  position: absolute;
  top: 16px;
  right: 24px;
  width: 120px;
  height: 120px;
  background-size: cover;
}

.framed-image.rejected::after {
  content: '✖'; /* or use background-image if using custom icons */
  color: red;
  font-size: 80px;
  font-weight: bold;
  position: absolute;
  top: 18px;
  right: 20px;
  width: 120px;
  height: 120px;
  background-size: cover;
}

.framed-image.rejected img {
  opacity: 0.5;
}

.framed-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 512px;
  object-fit: cover;
  padding: 30px;
  background-color:#ddc;
  border: solid 20px #eee;
  border-bottom-color:#fff;
  border-left-color:#eee;
  border-radius:2px;
  border-right-color:#eee;
  border-top-color:#ddd;
  box-shadow:0 0 5px 0 rgba(0,0,0,.25) inset, 0 5px 10px 5px rgba(0,0,0,.25);
  box-sizing:border-box;
  &:before {
    border-radius:2px;
    bottom:-8px;
    box-shadow:0 2px 5px 0 rgba(0,0,0,.25) inset;
    content:"";
    left:-8px;
    position:absolute;
    right:-8px;
    top:-8px;
  }
  &:after {
    border-radius:2px;
    bottom:-10px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
    content:"";
    left:-10px;
    position:absolute;
    right:-10px;
    top:-10px;
  }

}
.framed-image .caption {
  position: absolute;
  right: 26px;
  bottom: 20px;
  font-family: "Oleo Script";
  font-size: 16px;
  color: #888;
}
.framed-image .reference {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 25%;
  height: 25%;
  object-fit: cover;
}

.framed-image-div .caption {
  font-family: "Oleo Script";
  font-size: 16px;
  color: #888;
}

