/* =================================================================== */
/* COMPONENT: Layered Image (Universal)                                */
/* FILE:      layered-images.scss                                      */
/* =================================================================== */
.layered-image {
  /* --- 1. CONFIGURATION (Variables) --- */
  /* DEFAULT (Mobile Base) - "5/8" */
  --offset-amount: 5px;
  --offset-y: 8px;
  /* Visual Defaults */
  --bg-color: #e5e7f1;
  --bg-image: none;
  --border-color: #151d42;
  --radius: 5px;
  --border-width: 0.75px;
  /* Derived variable for default left-shift behavior */
  --offset-x: calc(var(--offset-amount) * -1);
  /* --- 2. LAYOUT ENGINE --- */
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  /* Dynamic width calculation based on current offset */
  width: calc(100% - var(--offset-amount));
  height: auto;
  position: relative;
  z-index: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  /* --- 3. RESPONSIVE LOGIC (The "Shift" Magic) --- */
  /* Tablet / Medium - "9/12" */
  /* Desktop / Large - "13/15" */
  /* Note: I merged your 1200px and 1920px logic for cleanliness, 
     but you can split them if you want the border to grow separately */
  /* --- 4. MODIFIERS --- */
  /* Note: Shift-sm/md/lg classes are REMOVED as they are now automatic */
  /* --- 5. INTERNAL LAYERS --- */
  /* --- 6. OFFSET DIRECTIONS (Update X based on new Amount) --- */
  /* --- 7. STANDARD THEMES --- */
  /* --- 8. AUTOMATIC THEMES --- */
}
@media (min-width: 768px) {
  .layered-image {
    --offset-amount: 9px;
    --offset-y: 12px;
    /* Existing styling updates */
    --border-width: 1px;
    --radius: 8px;
  }
}
@media (min-width: 1200px) {
  .layered-image {
    --border-width: 1.25px;
    --radius: 10px;
  }
}
@media (min-width: 1920px) {
  .layered-image {
    --offset-amount: 15px;
    --offset-y: 13px;
    --border-width: 1.5px;
  }
}
.layered-image--circle {
  --radius: 50%;
  aspect-ratio: 1/1;
}
.layered-image__frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.layered-image__bg, .layered-image__frame {
  grid-area: 1/1/-1/-1;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.layered-image__bg {
  transform: translate(var(--offset-x), var(--offset-y));
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  border: var(--border-width) solid var(--border-color);
  z-index: 1;
}
.layered-image__frame {
  z-index: 2;
  overflow: hidden;
  transform: translate(0, 0);
  background: none;
  border: none;
}
.layered-image__img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.layered-image--offset-bl {
  --offset-x: calc(var(--offset-amount) * -1);
  margin-left: var(--offset-amount);
  margin-right: 0;
}
.layered-image--offset-tr {
  --offset-x: var(--offset-amount);
  --offset-y: calc(var(--offset-amount) * -0.8);
  margin-left: 0;
  margin-right: var(--offset-amount);
}
.layered-image--offset-br {
  --offset-x: var(--offset-amount);
  margin-left: 0;
  margin-right: var(--offset-amount);
}
.layered-image--offset-tl {
  --offset-x: calc(var(--offset-amount) * -1);
  --offset-y: calc(var(--offset-amount) * -0.8);
  margin-left: var(--offset-amount);
  margin-right: 0;
}
.layered-image--theme-grey {
  --bg-color: #e5e7f1;
  --border-color: #151d42;
}
.layered-image--theme-green-gradient {
  --bg-image: linear-gradient(
    180deg,
    #51e78d 12%,
    #31b063 49%,
    #156836 81%,
    #0f4625 100%
  );
  --border-color: transparent;
}
body.theme-winter-holiday .layered-image {
  --border-color: #bc8118;
  --bg-image: linear-gradient(
    180deg,
    rgba(204, 157, 62, 0.2) 0%,
    rgba(204, 157, 62, 0.06) 100%
  );
  backdrop-filter: blur(7.3px);
  -webkit-backdrop-filter: blur(7.3px);
}
body.theme-new-year .layered-image {
  --border-color: #bc8118;
  --bg-image: linear-gradient(
    180deg,
    rgba(204, 157, 62, 0.2) 0%,
    rgba(204, 157, 62, 0.06) 100%
  );
  backdrop-filter: blur(7.3px);
  -webkit-backdrop-filter: blur(7.3px);
}
body.theme-womens-history .layered-image {
  --bg-image: linear-gradient(180deg, #ff9a9e 0%, #fecfef 100%);
  --border-color: transparent;
}/*# sourceMappingURL=layered-image.css.map */