@font-face {
  font-family: "Izmir Editorial";
  src: url("/assets/img/editions-izmir/cormorant-tr.woff") format("woff");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

.gl-home :is(#greenleaf-urunleri, #kategoriler, #gunluk) {
  --ed-serif: "Izmir Editorial", Georgia, serif;
  --ed-ink: #332b29;
  --ed-wine: #4b2428;
  --ed-rule: #dcd2c9;
  scroll-margin-top: 90px;
}
.gl-home :is(#kategoriler, #gunluk) .h-head {
  align-items: end;
  margin-bottom: clamp(18px, 2.8vw, 34px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ed-rule);
}
.gl-home :is(#kategoriler, #gunluk) .h-head h2,
.gl-home #greenleaf-urunleri h2 {
  font: 560 clamp(2.45rem, 4.6vw, 4rem)/.99 var(--ed-serif);
  letter-spacing: -.043em;
  color: var(--ed-ink);
}
.gl-home #kategoriler .h-head .h-link { color: var(--ed-wine); }
.gl-home #kategoriler .h-cats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: clamp(17px, 2.2vw, 30px) clamp(10px, 1.5vw, 20px);
}
.gl-home #kategoriler .h-cat {
  grid-column: span 3;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  color: var(--ed-ink);
}
.gl-home #kategoriler .h-cat:nth-child(n+5) { grid-column: span 4; }
.gl-home #kategoriler .h-cat img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.gl-home #kategoriler .h-cat span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .35em;
  padding: 10px 1px 11px;
  border-bottom: 1px solid var(--ed-rule);
  font: 600 clamp(1.3rem, 2.15vw, 1.85rem)/1.08 var(--ed-serif);
  letter-spacing: -.018em;
}
.gl-home #kategoriler .h-cat span::after {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin: 0 3px;
  border: solid #7a655d;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.gl-home #kategoriler .h-cat:is(:hover,:focus-visible) span {
  color: #772d3c;
  border-color: #845f59;
  text-decoration: none;
}
.gl-home #kategoriler .h-cat:focus-visible { outline: 2px solid #713a45; outline-offset: 4px; }

.gl-home #greenleaf-urunleri {
  background: #362025;
  border: 0;
  border-radius: 7px;
  color: #fff7ec;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  overflow: hidden;
  margin-top: 17px;
}
.gl-home #greenleaf-urunleri .h-shop-copy {
  padding: clamp(24px,3.6vw,48px);
}
.gl-home #greenleaf-urunleri h2 {
  color: #fff4e6;
  margin: 0 0 .25em;
  text-wrap: balance;
}
.gl-home #greenleaf-urunleri .h-shop-copy > p {
  font-size: clamp(.91rem,1.25vw,1rem);
  color: #edddd5;
  line-height: 1.55;
  margin: 0 0 15px;
  max-width: 43ch;
}
.gl-home #greenleaf-urunleri .h-shop-media {
  aspect-ratio: 1.75;
  min-height: 100%;
  background: #362025;
}
.gl-home #greenleaf-urunleri .h-shop-media img { object-fit: cover; object-position: 50% 54%; }
.gl-home #greenleaf-urunleri .h-shop-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,#362025,transparent 23%);
}
.gl-home #greenleaf-urunleri .h-btn {
  color: #3b2029;
  background: #fff1dd;
  border-radius: 3px;
}
.gl-home #greenleaf-urunleri .h-link { color: #fff2e4; }
.gl-home #greenleaf-urunleri a:focus-visible { outline: 2px solid #ffdbc6; outline-offset: 3px; }

.gl-home #gunluk .h-journal { gap: clamp(25px,3vw,40px) clamp(14px,2vw,24px); }
.gl-home #gunluk .h-album {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ed-ink);
}
.gl-home #gunluk .h-album-cover {
  border-radius: 4px;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.gl-home #gunluk .h-album-body { padding: 13px 1px 0; }
.gl-home #gunluk .h-album-tag { color: #70534c; font-size: .76rem; font-weight: 600; }
.gl-home #gunluk .h-album-yeni { color: #6a433e; background: #ede1d7; }
.gl-home #gunluk .h-album h3 {
  font: 580 clamp(1.8rem, 3vw, 2.55rem)/1.02 var(--ed-serif);
  color: var(--ed-ink);
  letter-spacing: -.035em;
  margin: 6px 0 8px;
}
.gl-home #gunluk .h-album-summary { color: #544a46; line-height: 1.47; }
.gl-home #gunluk .h-album summary { color: #68323b; font-weight: 650; }
.gl-home #gunluk .h-album-featured { background: #f4efe8; border-radius: 5px; overflow: clip; }
.gl-home #gunluk .h-album-featured .h-album-body { padding: clamp(18px,3.4vw,44px); }
.gl-home #gunluk .h-album-featured .h-album-cover { border-radius: 0; }
.gl-home #gunluk .h-album-featured h3 { font-size: clamp(2.1rem,4.4vw,3.65rem); }
@media (min-width:761px) {
  .gl-home #gunluk .h-album:has(details[open]) { column-gap: 20px; }
  .gl-home #gunluk .h-album:has(details[open]) .h-album-cover {
    height: auto; min-height: 0; max-height: none; align-self: start; aspect-ratio: 3/2;
  }
}
@media (min-width:591px) and (max-width:900px) {
  .gl-home #kategoriler .h-cats { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .gl-home #kategoriler .h-cat:nth-child(n) { grid-column: span 2; }
  .gl-home #kategoriler .h-cat:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width:680px) {
  .gl-home #greenleaf-urunleri { grid-template-columns: 1fr; }
  .gl-home #greenleaf-urunleri .h-shop-media { grid-row: 1; aspect-ratio: 1.85; min-height: 0; }
  .gl-home #greenleaf-urunleri .h-shop-media img { object-position: 50% 57%; }
  .gl-home #greenleaf-urunleri .h-shop-media::after { background: linear-gradient(0deg,#362025,transparent 14%); }
  .gl-home #greenleaf-urunleri .h-shop-copy { padding: 12px 20px 22px; }
}
@media (max-width:590px) {
  .gl-home #kategoriler .h-cats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 12px; }
  .gl-home #kategoriler .h-cat:nth-child(n) { grid-column: span 1; }
  .gl-home #kategoriler .h-cat:last-child { grid-column: 1/-1; }
  .gl-home #kategoriler .h-cat:last-child img { aspect-ratio: 2.15; object-position: 50% 51%; }
  .gl-home #kategoriler .h-cat span { font-size: clamp(1.22rem, 5.4vw, 1.55rem); align-items: baseline; }
  .gl-home :is(#kategoriler, #gunluk) .h-head { gap: 0 12px; padding-bottom: 9px; }
  .gl-home #gunluk .h-album-body { padding-top: 12px; }
}
@media (max-width:680px) {
  .gl-home :is(#greenleaf-urunleri, #kategoriler, #gunluk) { scroll-margin-top: 180px; }
  .gl-home #kategoriler .h-cat { display: flex; flex-direction: column; }
  .gl-home #kategoriler .h-cat span { flex: 1; }
}
