/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/components/ArtworkGrid.module.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
.ArtworkGrid_grid__XoBBH {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-gap: clamp(1rem, 2.5vw, 2rem);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.ArtworkGrid_card__WzScX a {
  display: block;
  color: inherit;
}

.ArtworkGrid_thumb__hAfuA {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ArtworkGrid_thumb__hAfuA img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ArtworkGrid_placeholder__2gA5L {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg,
      var(--border) 0 8px,
      transparent 8px 16px);
}

.ArtworkGrid_card__WzScX a:hover .ArtworkGrid_thumb__hAfuA {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ArtworkGrid_meta__VfpyT { padding-block: 0.75rem; }

.ArtworkGrid_title__E4BkS {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.ArtworkGrid_sub__UvAoM {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.ArtworkGrid_status__4FHXT {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.ArtworkGrid_status__4FHXT[data-status="available"] { color: var(--fg); border-color: var(--fg-muted); }
.ArtworkGrid_status__4FHXT[data-status="sold"]      { color: var(--fg-subtle); }
.ArtworkGrid_status__4FHXT[data-status="not_for_sale"] { color: var(--fg-subtle); }

.ArtworkGrid_empty__buEHq {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* Larger grids on wider screens */
@media (min-width: 1440px) {
  .ArtworkGrid_grid__XoBBH { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
}
@media (min-width: 2000px) {
  .ArtworkGrid_grid__XoBBH { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
}

/* Home variant: strict 1 / 3 / 4 columns with exactly 3 / 6 / 8 items shown.
   Works with an <ul> that receives up to 8 children. Extra children are
   hidden via :nth-child visibility per breakpoint, so the grid never leaves
   an empty trailing cell. */
.ArtworkGrid_gridHome____PvO {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-gap: clamp(1rem, 2.5vw, 1.75rem);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}
.ArtworkGrid_gridHome____PvO > li { display: block; }

/* Phone portrait: 1 col, show 3 */
.ArtworkGrid_gridHome____PvO > li:nth-child(n+4) { display: none; }

/* Tablet + phone landscape: 3 cols, show 6 */
@media (min-width: 641px) {
  .ArtworkGrid_gridHome____PvO { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ArtworkGrid_gridHome____PvO > li:nth-child(n+4) { display: block; }
  .ArtworkGrid_gridHome____PvO > li:nth-child(n+7) { display: none; }
}

/* Desktop / large: 4 cols, show 8 */
@media (min-width: 1024px) {
  .ArtworkGrid_gridHome____PvO { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ArtworkGrid_gridHome____PvO > li:nth-child(n+7) { display: block; }
  .ArtworkGrid_gridHome____PvO > li:nth-child(n+9) { display: none; }
}

/* Ultrawide stays at 4 cols — keeps a comfortable card size */

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/app/[locale]/home.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
.home_hero__UPzNc {
  padding-block: clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top right, rgba(139, 111, 71, 0.08), transparent 60%),
    var(--bg);
}

.home_heroInner__R8BNF {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: clamp(1.25rem, 3vw, 2rem);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.home_heroText__MZwUN { min-width: 0; }

.home_heroText__MZwUN h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 0.4rem;
}

.home_lead__HqfyW {
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg-muted);
  margin-top: 0;
}

.home_actions__sBlRa {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Featured artwork card ---------- */

.home_featured__1ysZw {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;   /* vertical: image over info, for narrow widths */
  color: inherit;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  min-width: 0;
  /* overflow: visible so the hover popover can grow beyond the card bounds.
     Child elements that need clipping (the cropped media image) round their
     own corners via border-radius to keep the card looking clean. */
  overflow: visible;
}

/* The Lightbox trigger is a button that wraps the media + hover popover,
   sitting in the first grid cell of the card. */
.home_featuredTrigger__99cHp {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

/* Cropped square preview — object-fit: cover self-clips, so we don't need
   overflow: hidden on its parent. Rounded corners match the card. */
.home_featuredMedia__4q8xf {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;   /* keeps cover crop inside the rounded corners */
}
.home_featuredMedia__4q8xf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home_featuredMeta__eHwD6 {
  padding: 0.9rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.home_featuredLabel__XeoCn {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.home_featuredTitle__2NKQL {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.2;
  text-decoration: none;
}
.home_featuredTitle__2NKQL:hover { color: var(--accent); }

.home_featuredFacts__rXlhK {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.15rem 0.75rem;
  gap: 0.15rem 0.75rem;
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
}
.home_featuredFacts__rXlhK dt {
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.7rem;
  align-self: center;
}
.home_featuredFacts__rXlhK dd { margin: 0; color: var(--fg); }

.home_featuredDesc__Sc_xy {
  margin: 0.25rem 0 0;
  color: var(--fg);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home_featuredCta__wrQSo {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-decoration: none;
  align-self: flex-start;
}
.home_featuredCta__wrQSo:hover { color: var(--accent-hover); }

/* Hover popover — a second copy of the primary image.
   Sized by natural aspect ratio (height: 100%, width: auto) so horizontal
   paintings fill the full card height without white letterboxing.
   Anchored at the bottom-right corner of the media area so scaling grows
   upward and leftward — never rightward into the info text. */
.home_featuredHover__YLVb6 {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;              /* override globals.css `max-width: 100%` */
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(40, 30, 15, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.22s ease;
  z-index: 3;
  display: none;
}

/* Full-page dim overlay — appears while the featured card is hovered. */
.home_pageDim__NWMeE {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 15;
}

@media (hover: hover) and (pointer: fine) {
  .home_featuredHover__YLVb6 { display: block; }

  /* Trigger hover effect when mouse is over the clickable image area
     (not the whole card) so the text doesn't dim on meta hover. */
  .home_featuredTrigger__99cHp:hover ~ .home_featuredMeta__eHwD6,
  .home_featuredTrigger__99cHp:hover {
    /* text stays visible — no opacity change */
  }
  .home_featuredTrigger__99cHp:hover .home_featuredHover__YLVb6 {
    opacity: 1;
    transform: scale(1.2);
  }

  /* Dim the rest of the page + raise the card above the dim. */
  body:has(.home_featuredTrigger__99cHp:hover) .home_pageDim__NWMeE { opacity: 1; }
  body:has(.home_featuredTrigger__99cHp:hover) .home_featured__1ysZw { z-index: 20; }
}

/* ---------- Latest section ---------- */

.home_latest__7Jh6l {
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

.home_sectionHead__gL_Qj {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.home_moreLink__wcPW4 {
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
.home_moreLink__wcPW4:hover { color: var(--accent); }

/* ---------- Tablet (vertical) + phone landscape: two-column hero ---------- */

@media (min-width: 768px) {
  .home_heroInner__R8BNF {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: center;
  }
  .home_featured__1ysZw {
    margin-inline: 0;
    justify-self: start;
  }
}

/* ---------- Tablet landscape + desktop: horizontal card ---------- */

@media (min-width: 1024px) {
  .home_heroInner__R8BNF {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 560px);
  }
  .home_featured__1ysZw {
    grid-template-columns: 220px minmax(0, 1fr);
    max-width: none;
    align-items: stretch;
  }
  /* Horizontal layout: the media sits on the left, with rounded left
     corners matching the card instead of top corners. */
  .home_featuredMedia__4q8xf {
    aspect-ratio: auto;
    height: 100%;
    min-height: 220px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .home_featuredMeta__eHwD6 {
    padding: 1rem 1.25rem 1.1rem;
    gap: 0.45rem;
  }
  .home_featuredDesc__Sc_xy {
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
}

@media (min-width: 1280px) {
  .home_heroInner__R8BNF {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 620px);
  }
  .home_featured__1ysZw {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .home_featuredMedia__4q8xf { min-height: 260px; }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/components/Lightbox.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
.Lightbox_trigger__VJfS9 {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
  display: block;
  width: 100%;
  position: relative;
}

.Lightbox_overlay__YKzVa {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(0.5rem, 2vw, 2rem);
  cursor: zoom-out;
  animation: Lightbox_fadeIn__l_cpK 0.15s ease;
}

@keyframes Lightbox_fadeIn__l_cpK {
  from { opacity: 0; }
  to { opacity: 1; }
}

.Lightbox_image__a0tj5 {
  max-width: 98vw;
  max-height: 98vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.Lightbox_close__U31KE {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.Lightbox_close__U31KE:hover { background: rgba(255, 255, 255, 0.25); }
.Lightbox_close__U31KE:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

