/*
Theme Name: Just Collected Clean
Theme URI: https://example.com/
Author: OpenAI
Description: A minimal editorial WordPress theme for collected objects, souvenirs, books, print and wearables.
Version: 2.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: just-collected-clean
*/

:root{
  --bg:#fff;
  --text:#111;
  --muted:#727272;
  --line:#dedede;
  --soft:#f5f5f3;
  --max:1560px;
  --gutter:34px;
  /* Appearance > Customize > Just Collected. Defaults preserve v2.3. */
  --jcc-entry-title-min:40px;
  --jcc-entry-title-max:74px;
  --jcc-page-title-min:40px;
  --jcc-page-title-max:74px;
  --jcc-collection-title-min:27px;
  --jcc-collection-title-max:52px;
  --jcc-card-title-desktop:12px;
  --jcc-card-title-mobile:11px;
  --jcc-body-desktop:15px;
  --jcc-body-mobile:15px;
  --jcc-brand-desktop:21px;
  --jcc-brand-mobile:19px;
  --jcc-menu-desktop:9px;
  --jcc-menu-mobile:9px;
  --jcc-columns-desktop:5;
  --jcc-columns-laptop:4;
  --jcc-columns-tablet:3;
  --jcc-columns-mobile:2;
  --jcc-gap-x-desktop:1;
  --jcc-gap-x-mobile:1;
  --jcc-gap-y-desktop:1;
  --jcc-gap-y-mobile:1;
  --jcc-section-space-desktop:1;
  --jcc-section-space-mobile:1;
  --jcc-body:var(--jcc-body-desktop);
  --jcc-gap-x:var(--jcc-gap-x-desktop);
  --jcc-gap-y:var(--jcc-gap-y-desktop);
  --jcc-section-space:var(--jcc-section-space-desktop);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:var(--jcc-body);
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
main{min-height:65vh}
.screen-reader-text{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.jc-shell{
  width:min(var(--max),calc(100% - (var(--gutter) * 2)));
  margin-inline:auto;
}

/* Header */
.jc-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(10,10,10,.97);
  color:#fff;
  border-bottom:1px solid #292929;
  backdrop-filter:blur(12px);
}
.jc-header-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  gap:30px;
}
.jc-brand{
  flex:0 0 auto;
  font-family:Georgia,"Times New Roman",serif;
  font-size:var(--jcc-brand-desktop);
  letter-spacing:.025em;
  white-space:nowrap;
}
.jc-nav{margin-left:auto}
.jc-nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:25px;
  margin:0;
  padding:0;
}
.jc-nav a,
.jc-menu{
  font-size:var(--jcc-menu-desktop);
  letter-spacing:.14em;
  text-transform:uppercase;
}
.jc-nav a{
  color:#bdbdbd;
  transition:color .18s ease;
}
.jc-nav a:hover,
.jc-nav a:focus{color:#fff}
.jc-menu{
  display:none;
  margin-left:auto;
  border:0;
  background:transparent;
  padding:8px 0;
}

/* Home */
.jc-home{padding-top:0}
.jc-home-intro{
  min-height:92px;
  display:flex;
  align-items:flex-end;
  padding:30px 0 20px;
}
.jc-home-intro p{
  margin:0;
  color:var(--muted);
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  font-style:italic;
}
.jc-grid{
  display:grid;
  grid-template-columns:repeat(var(--jcc-columns-desktop),minmax(0,1fr));
  column-gap:calc(clamp(18px,2vw,34px) * var(--jcc-gap-x));
  row-gap:calc(clamp(34px,4vw,62px) * var(--jcc-gap-y));
}
.jc-wrap{min-width:0}
.jc-card{min-width:0}
.jc-image{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#fff;
}
.jc-wrap:nth-child(6n+1) .jc-image{aspect-ratio:4/5}
.jc-wrap:nth-child(6n+2) .jc-image{aspect-ratio:1/1}
.jc-wrap:nth-child(6n+3) .jc-image{aspect-ratio:5/4}
.jc-wrap:nth-child(6n+4) .jc-image{aspect-ratio:3/4}
.jc-wrap:nth-child(6n+5) .jc-image{aspect-ratio:1/1}
.jc-wrap:nth-child(6n) .jc-image{aspect-ratio:4/3}
.jc-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .35s ease,filter .35s ease;
}
.jc-card:hover .jc-image img,
.jc-card:focus-within .jc-image img{
  transform:scale(1.012);
  filter:contrast(1.02);
}
.jc-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:var(--soft);
  color:#989898;
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  font-style:italic;
}
.jc-card-caption{
  position:absolute;
  left:8px;
  right:auto;
  bottom:8px;
  max-width:calc(100% - 16px);
  display:flex;
  flex-direction:column;
  gap:1px;
  padding:6px 8px 5px;
  background:rgba(10,10,10,.94);
  color:#fff;
  opacity:0;
  transform:translateY(3px);
  transition:opacity .18s ease,transform .18s ease;
}
.jc-card:hover .jc-card-caption,
.jc-card:focus-within .jc-card-caption{
  opacity:1;
  transform:translateY(0);
}
.jc-card-maker{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:7px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#b8b8b8;
}
.jc-card-title{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-family:Georgia,"Times New Roman",serif;
  font-size:var(--jcc-card-title-desktop);
  line-height:1.2;
}

.jc-browse{
  margin-top:calc(clamp(80px,10vw,150px) * var(--jcc-section-space));
  padding:calc(clamp(48px,6vw,82px) * var(--jcc-section-space)) 0 calc(clamp(84px,10vw,145px) * var(--jcc-section-space));
  background:#0a0a0a;
  color:#fff;
}
.jc-browse .jc-small-label{
  color:#777;
}
.jc-small-label{
  margin:0 0 18px;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.jc-text-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 24px;
  max-width:1000px;
}
.jc-text-links a{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(16px,1.45vw,21px);
  line-height:1.3;
  border-bottom:1px solid transparent;
}
.jc-browse-size-regular .jc-text-links a{
  font-size:clamp(20px,2.2vw,31px);
}
.jc-text-links a:hover,
.jc-text-links a:focus{border-color:currentColor}
.jc-view-all{
  display:inline-block;
  margin-top:30px;
  color:#999;
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.jc-view-all span{margin-left:5px}

/* Archives and collection index */
.jc-archive-head{
  padding:calc(clamp(62px,8vw,116px) * var(--jcc-section-space)) 0 calc(32px * var(--jcc-section-space));
  border-bottom:1px solid var(--line);
}
.jc-archive-head h1,
.jc-entry-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(min(var(--jcc-page-title-min),var(--jcc-page-title-max)),5.2vw,var(--jcc-page-title-max));
  line-height:.98;
  letter-spacing:-.04em;
}
.jc-term-description{
  max-width:620px;
  margin-top:22px;
  color:#555;
  font-family:Georgia,"Times New Roman",serif;
  font-size:calc(var(--jcc-body) * 16 / 15);
}
.jc-collections-intro{
  max-width:520px;
  margin:22px 0 0;
  color:#555;
  font-family:Georgia,"Times New Roman",serif;
  font-size:calc(var(--jcc-body) * 16 / 15);
  font-style:italic;
}
.jc-category-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  margin-top:27px;
}
.jc-category-links a{
  color:#555;
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  border-bottom:1px solid transparent;
}
.jc-category-links a:hover,
.jc-category-links a:focus{
  color:#111;
  border-color:currentColor;
}
.jc-term-description p:last-child{margin-bottom:0}
.jc-section{padding:calc(46px * var(--jcc-section-space)) 0 calc(110px * var(--jcc-section-space))}
.jc-archive-grid{row-gap:calc(clamp(42px,5vw,72px) * var(--jcc-gap-y))}
.jc-empty{
  grid-column:1/-1;
  margin:0;
  padding:80px 0;
  color:var(--muted);
  font-family:Georgia,"Times New Roman",serif;
  font-size:calc(var(--jcc-body) * 16 / 15);
  font-style:italic;
}
.navigation.pagination{margin-top:70px}
.nav-links{display:flex;align-items:center;gap:8px}
.nav-links .page-numbers{
  min-width:30px;
  padding:7px 9px;
  border:1px solid var(--line);
  text-align:center;
  font-size:9px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.nav-links .current{background:#111;color:#fff;border-color:#111}

.jc-collection-index{
  padding:calc(10px * var(--jcc-section-space)) 0 calc(120px * var(--jcc-section-space));
}
.jc-collection-row{
  display:grid;
  grid-template-columns:1fr auto 18px;
  gap:24px;
  align-items:baseline;
  padding:26px 0 24px;
  border-bottom:1px solid var(--line);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(min(var(--jcc-collection-title-min),var(--jcc-collection-title-max)),3.5vw,var(--jcc-collection-title-max));
  line-height:1;
}
.jc-collection-row:first-child{border-top:0}
.jc-collection-row:hover > span:first-child,
.jc-collection-row:focus > span:first-child{font-style:italic}
.jc-collection-count{
  color:var(--muted);
  font-family:Arial,Helvetica,sans-serif;
  font-size:8px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Single find */
.single-find .jc-entry-title{
  font-size:clamp(min(var(--jcc-entry-title-min),var(--jcc-entry-title-max)),5.2vw,var(--jcc-entry-title-max));
}
.jc-single{
  padding:calc(clamp(48px,7vw,100px) * var(--jcc-section-space)) 0 calc(clamp(90px,10vw,150px) * var(--jcc-section-space));
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(310px,.68fr);
  gap:clamp(42px,6vw,100px);
  align-items:start;
}
.jc-single-media{
  min-height:420px;
  display:flex;
  justify-content:center;
  background:#fff;
}
.jc-single-media img{
  width:100%;
  max-height:78vh;
  object-fit:contain;
}
.jc-single-info{
  position:sticky;
  top:105px;
  align-self:start;
}
.jc-single-note{
  margin:28px 0 0;
  padding-top:24px;
  border-top:1px solid var(--line);
  color:#3e3e3e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:calc(var(--jcc-body) * 1.2);
  line-height:1.55;
}
.jc-entry-copy{
  margin-top:24px;
  color:#444;
  font-family:Georgia,"Times New Roman",serif;
  font-size:calc(var(--jcc-body) * 16 / 15);
  line-height:1.65;
}
.jc-entry-copy > *:last-child{margin-bottom:0}
.jc-taxonomy-links{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  margin-top:26px;
}
.jc-taxonomy-links a{
  color:#606060;
  font-size:8px;
  letter-spacing:.12em;
  text-transform:uppercase;
  border-bottom:1px solid #aaa;
}
.jc-button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin-top:32px;
  padding:14px 15px;
  background:#111;
  border:1px solid #111;
  color:#fff;
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
  transition:background .18s ease,color .18s ease;
}
.jc-button:hover,
.jc-button:focus{background:#fff;color:#111}
.jc-disclosure{
  margin-top:12px;
  color:var(--muted);
  font-size:9px;
  line-height:1.5;
}
.jc-related{
  padding:calc(35px * var(--jcc-section-space)) 0 calc(120px * var(--jcc-section-space));
  border-top:1px solid var(--line);
}
.jc-related-grid{margin-top:25px}

/* Pages */
.jc-content{
  width:min(820px,calc(100% - (var(--gutter) * 2)));
  margin-inline:auto;
  padding:calc(clamp(68px,9vw,125px) * var(--jcc-section-space)) 0 calc(125px * var(--jcc-section-space));
}
.jc-content .entry-content{
  color:#333;
  font-family:Georgia,"Times New Roman",serif;
  font-size:calc(var(--jcc-body) * 1.2);
  line-height:1.7;
}
.jc-content .entry-content a{
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Footer */
.jc-footer{
  border-top:1px solid #2a2a2a;
  background:#0a0a0a;
  color:#fff;
  padding:38px 0 58px;
}
.jc-footer-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr 1fr;
  gap:36px;
}
.jc-footer-brand{
  margin:0 0 7px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
}
.jc-footer-copy,
.jc-footer-small{
  margin:0;
  max-width:460px;
  color:#7f7f7f;
  font-size:10px;
}
.jc-footer-links{display:flex;flex-direction:column;gap:8px}
.jc-footer-links a{
  width:fit-content;
  font-size:9px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.jc-footer-links a:hover,
.jc-footer-small a:hover{text-decoration:underline;text-underline-offset:3px}

/* Responsive */
@media(max-width:1180px){
  :root{--gutter:24px}
  .jc-grid{grid-template-columns:repeat(var(--jcc-columns-laptop),minmax(0,1fr))}
}
@media(max-width:820px){
  :root{
    --gutter:18px;
    --jcc-body:var(--jcc-body-mobile);
    --jcc-gap-x:var(--jcc-gap-x-mobile);
    --jcc-gap-y:var(--jcc-gap-y-mobile);
    --jcc-section-space:var(--jcc-section-space-mobile);
  }
  .jc-nav a,.jc-menu{font-size:var(--jcc-menu-mobile)}
  .jc-header-inner{min-height:62px}
  .jc-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:62px;
    margin:0;
    padding:22px 18px 25px;
    background:#0a0a0a;
    border-bottom:1px solid #292929;
  }
  .jc-nav.is-open{display:block}
  .jc-nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap:17px;
  }
  .jc-menu{display:block}
  .jc-grid{
    grid-template-columns:repeat(var(--jcc-columns-tablet),minmax(0,1fr));
    column-gap:calc(16px * var(--jcc-gap-x));
  }
  .jc-card-caption{
    opacity:1;
    transform:none;
  }
  .jc-single{
    grid-template-columns:1fr;
    gap:40px;
  }
  .jc-single-info{position:static}
  .jc-single-media{min-height:0}
  .jc-footer-inner{grid-template-columns:1fr 1fr}
  .jc-footer-small{grid-column:1/-1}
}
@media(max-width:600px){
  .jc-brand{font-size:var(--jcc-brand-mobile)}
  .jc-home-intro{min-height:74px;padding:24px 0 15px}
  .jc-grid{
    grid-template-columns:repeat(var(--jcc-columns-mobile),minmax(0,1fr));
    column-gap:calc(13px * var(--jcc-gap-x));
    row-gap:calc(32px * var(--jcc-gap-y));
  }
  .jc-card-title{font-size:var(--jcc-card-title-mobile)}
  .jc-browse{margin-top:calc(78px * var(--jcc-section-space));padding-bottom:calc(88px * var(--jcc-section-space))}
  .jc-text-links{gap:7px 16px}
  .jc-text-links a{font-size:17px}
  .jc-browse-size-regular .jc-text-links a{font-size:21px}
  .jc-archive-head{padding-top:calc(60px * var(--jcc-section-space))}
  .jc-section{padding-top:calc(32px * var(--jcc-section-space))}
  .jc-collection-row{
    grid-template-columns:1fr 14px;
    gap:12px;
    padding:21px 0 19px;
  }
  .jc-collection-count{display:none}
  .jc-related-grid .jc-wrap:nth-child(n+5){display:none}
  .jc-footer-inner{grid-template-columns:1fr;gap:25px}
  .jc-footer-small{grid-column:auto}
}
@media(hover:none){
  .jc-card-caption{
    opacity:1;
    transform:none;
  }
}
