/* Restaurant Avelaar · Instagram-tegels: beeld met een korte regel erop, in de huisstijl van de site.
   Gedeeld door de site (strook boven de footer), social/feed.html en social/content.html.
   Tekstmaten schalen met de tegel (container query units). */
.ig-tegel{position:relative;display:block;text-align:left;aspect-ratio:3/4;overflow:hidden;background:#121110;color:#EDE6D8;container-type:inline-size;isolation:isolate}
.ig-tegel.ig-reel{aspect-ratio:9/16}
.ig-tegel>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.6s cubic-bezier(.19,.7,.1,1)}
.ig-tegel.v-foto::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(18,17,16,.58) 0%,rgba(18,17,16,.12) 20%,rgba(18,17,16,0) 38%,rgba(18,17,16,.35) 62%,rgba(18,17,16,.92) 100%)}
.ig-merk{position:absolute;left:7cqw;top:7cqw;z-index:2;font:400 5.6cqw/1 'Cormorant Garamond',Georgia,serif;letter-spacing:.32em;text-transform:uppercase;color:#EDE6D8;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.ig-icoon{position:absolute;right:5cqw;top:5.5cqw;z-index:2;line-height:0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.ig-icoon svg{width:max(13px,8.5cqw);height:auto}
.ig-tekst{position:absolute;left:7cqw;right:7cqw;bottom:7.5cqw;z-index:2;display:flex;flex-direction:column;gap:3cqw}
.ig-kicker{font:500 4.2cqw/1.25 'Hanken Grotesk','Helvetica Neue',Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#B49671;display:flex;align-items:center;gap:3cqw}
.ig-kicker::before{content:"";width:6cqw;height:1px;background:currentColor;flex:none}
.ig-titel{font:300 11.4cqw/1.02 'Cormorant Garamond',Georgia,serif;letter-spacing:-.01em;color:#EDE6D8}
.ig-titel em{font-style:italic;color:#D9C3A3}
.ig-sub{font:400 italic 5.4cqw/1.3 'Cormorant Garamond',Georgia,serif;color:rgba(237,230,216,.7)}
.ig-reel .ig-titel{font-size:12.6cqw}
.ig-reel .ig-tekst{bottom:17cqw}

/* tekstposts zonder foto */
.ig-tegel.v-nacht{background:radial-gradient(120% 90% at 50% 0%,#24211D 0%,#121110 62%)}
.ig-tegel.v-nacht .ig-tekst,.ig-tegel.v-papier .ig-tekst{top:0;bottom:0;justify-content:center;align-items:center;text-align:center;gap:5cqw}
.ig-tegel.v-nacht .ig-titel{font-size:9.4cqw;line-height:1.1;padding:0 2cqw}
.ig-tegel.v-nacht .ig-kicker{order:2}
.ig-tegel.v-nacht .ig-kicker::before{display:none}
.ig-tegel.v-papier{background:#F4F0E8;color:#1A1916;box-shadow:inset 0 0 0 4cqw #F4F0E8,inset 0 0 0 calc(4cqw + 1px) rgba(139,106,66,.4)}
.ig-tegel.v-papier .ig-merk{color:#1A1916;text-shadow:none;left:0;right:0;text-align:center;top:11cqw}
.ig-tegel.v-papier .ig-kicker{color:#8B6A42}
.ig-tegel.v-papier .ig-kicker::before{display:none}
.ig-tegel.v-papier .ig-titel{color:#1A1916;font-size:10cqw;padding:0 4cqw}
.ig-tegel.v-papier .ig-titel em{color:#8B6A42;display:block;margin-top:2cqw}
.ig-tegel.v-papier .ig-sub{color:#8A8377}
.ig-tegel.v-nacht .ig-merk{left:0;right:0;text-align:center;top:11cqw;color:#B49671}
@container (max-width:150px){.ig-kicker{display:none}.ig-sub{display:none}}

/* strook op de site, boven de footer */
.insta{padding:clamp(80px,10vw,140px) 0 clamp(72px,8vw,110px);background:var(--paper-2)}
.insta-kop{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:clamp(30px,4vw,52px)}
.insta-kop .h2{margin-top:18px}
.insta .handle{display:inline-flex;align-items:center;gap:12px}
.insta .handle svg{width:18px;height:18px}
.insta-raster{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.insta-raster a{display:block;overflow:hidden}
.insta-raster a:hover .ig-tegel>img{transform:scale(1.04)}
.insta-raster a:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
@media (min-width:1000px){.insta-raster{grid-template-columns:repeat(6,1fr);gap:8px}}
