/* Additions for the Instagram version, on top of styles.css */

/* Hero without a background video: dark charcoal with a warm glow */
.hero-ig {
  min-height: 500px;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(208,88,43,.45), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(242,169,0,.22), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #3b3b3b, #161616);
}
.hero-ig .hero-shade { background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45)); }

/* Sub-category chips */
.sub-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sub-chip {
  background: #fff; border: 1px solid #cfcac0; color: #555; cursor: pointer;
  padding: 7px 16px; font: 600 14px var(--sans); text-transform: uppercase; letter-spacing: .05em;
  display: inline-flex; gap: 8px; align-items: center;
}
.sub-chip .n { font-weight: 400; color: var(--muted); }
.sub-chip:hover { border-color: var(--gold); }
.sub-chip.active { background: var(--gold); border-color: var(--gold); color: #222; }
.sub-chip.active .n { color: #4a3a00; }
.sub-chip:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Cards: Instagram embed (min ~326px wide) with the text beside it */
.ig-videos .card { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
.embed { background: #fff; border-right: 1px solid var(--line); min-height: 620px; position: relative; }
.embed iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.embed-loading {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px;
  background: repeating-linear-gradient(135deg, #f8f7f3 0 10px, #f2f0ea 10px 20px);
  pointer-events: none; transition: opacity .3s;
}
.embed.loaded .embed-loading { opacity: 0; }

.card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sub-label {
  background: var(--beige); border: 0; color: #555; cursor: pointer;
  font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px;
}
.sub-label:hover { background: var(--gold); color: #222; }
.ig-videos .desc p { font-size: 17px; }
.ig-videos .link-more { font-size: 16px; margin-top: 8px; }
.ig-videos .meta { padding-top: 0; }

/* Responsive: keep the embed at a usable width */
@media (max-width: 1180px) {
  .ig-videos .card { grid-template-columns: 1fr; }
  .embed { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .ig-videos { grid-template-columns: 1fr; }
  .ig-videos .card { grid-template-columns: 360px minmax(0, 1fr); }
  .embed { border-right: 1px solid var(--line); border-bottom: 0; }
}
@media (max-width: 640px) {
  .ig-videos .card { grid-template-columns: 1fr; }
  .embed { border-right: 0; border-bottom: 1px solid var(--line); }
}
