/* Contents: 1. Design tokens and elements 2. Layout and states 3. Responsive and reduced motion. */
.inoforest-story-panels{--primary:var(--inoforest-color-primary,#b23a1e);--accent:var(--inoforest-custom-accent,#3f6b32);--primary-on-dark:var(--inoforest-custom-primary-on-dark,#f2a58c);--primary-light:var(--inoforest-custom-primary-light,#fbeae4);--primary-dark:var(--inoforest-custom-primary-dark,#8e2c15);--heading:var(--inoforest-color-heading,#2b1a12);--text:var(--inoforest-color-text,#56463d);--muted:var(--inoforest-custom-muted,#6e5f55);--dark:var(--inoforest-custom-dark,#22150f);--white:#fff;--bg-soft:var(--inoforest-color-surface,#faf4ec);--bg-warm:var(--inoforest-custom-warm,#f3e9dc);--border:var(--inoforest-color-border,#ece2d6);--shadow-color:var(--inoforest-color-heading,#2b1a12);--shadow:0 18px 44px #2b1a121f;--font-heading:var(--inoforest-font-heading-family,Georgia);--font-script:var(--inoforest-custom-font-script,Caveat,cursive);--radius:16px;--radius-lg:26px;--radius-pill:999px;--transition:.3s ease;--ease:cubic-bezier(.2,.8,.2,1);}
.inoforest-story-panels :where(a){color:inherit;text-decoration:none}
.inoforest-story-panels :where(ul,ol){padding:0;margin:0}
.inoforest-story-panels :where(p){margin-top:0}
.inoforest-story-panels img{display:block}

.inoforest-story-panels figure{margin:0}
.inoforest-story-panels .ino-season-btn-group{display:flex;flex-wrap:wrap;gap:14px}
.inoforest-story-panels .ino-season-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 30px;font-weight:700;font-size:.975rem;color:var(--white);background:var(--primary);border:2px solid transparent;border-radius:999px;line-height:1.7}
.inoforest-story-panels .ino-season-btn:is(:hover,:focus-visible){background:var(--primary-dark);color:var(--white)}
.inoforest-story-panels .ino-season-btn--outline{background:transparent;color:var(--heading);border-color:var(--border)}
.inoforest-story-panels .ino-season-btn--outline:hover{background:var(--heading)}
.inoforest-story-panels .ino-season-btn--ghost-light{background:transparent;color:white;border-color:#ffffff80}
.inoforest-story-panels :is(a,button):focus-visible{outline:2px solid var(--primary);outline-offset:4px}
/* ==========================================================================
   36h. Story panels  [data-f26-widget="inoforest-story-panels"]  (inoforest-core: a posts query)
   Tall photo panels side by side; the open one (.is-active) widens and shows its title, excerpt and link, the others
   show their number and category. main.js opens the panel pointed at (trigger="hover"), focused or pressed; phones
   stack the panels, all open.
   ========================================================================== */
.inoforest-story-panels__list { display: flex; gap: 14px; height: var(--f26-panel-height, 560px); }
.inoforest-story-panel {
  position: relative; isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--white) 86%, transparent);
  background: var(--dark);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: flex-grow 0.85s var(--ease);
}
.inoforest-story-panel.is-active { flex-grow: 3.2; cursor: auto; }
.elementor .inoforest-story-panel__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(0.6); transition: transform 1.3s var(--ease), filter 0.8s var(--ease); }
.inoforest-story-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--dark) 88%, transparent) 10%, color-mix(in srgb, var(--dark) 35%, transparent) 60%, color-mix(in srgb, var(--dark) 20%, transparent)); transition: opacity 0.6s var(--ease); }
.elementor .inoforest-story-panel:not(.is-active):hover .inoforest-story-panel__img { transform: scale(1.06); filter: saturate(0.85); }
.elementor .inoforest-story-panel.is-active .inoforest-story-panel__img { transform: none; filter: none; }
.inoforest-story-panel__rail { position: absolute; inset: 26px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; transition: opacity 0.4s var(--ease) 0.2s; }
.inoforest-story-panel__num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--white); }
.inoforest-story-panel__cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.inoforest-story-panel.is-active .inoforest-story-panel__rail { opacity: 0; transition-delay: 0s; }
.inoforest-story-panel__body {
  position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: min(560px, 52vw);
  max-width: 100%;
  padding: 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.inoforest-story-panel.is-active .inoforest-story-panel__body { width: min(560px, 100%); opacity: 1; transform: none; transition: opacity 0.6s var(--ease) 0.3s, transform 0.7s var(--ease) 0.3s; }
.inoforest-story-panel__meta { display: block; margin-block-end: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.inoforest-story-panel__meta a { color: var(--primary-on-dark); }
.inoforest-story-panel__title { margin-block-end: 12px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12; color: var(--white); }
.inoforest-story-panel__title a:hover { color: var(--primary-on-dark); }
.inoforest-story-panel__excerpt { margin-block-end: 20px; }
.inoforest-story-panel__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white); }
.inoforest-story-panel__link i { transition: transform var(--transition); }
.inoforest-story-panel__link:hover { color: var(--white); }
.inoforest-story-panel__link:hover i { transform: translateX(5px); }
.inoforest-story-panels[data-f26-show-category="false"] :is(.inoforest-story-panel__cat, .inoforest-story-panel__meta a) { display: none; }
.inoforest-story-panels[data-f26-show-excerpt="false"] .inoforest-story-panel__excerpt { display: none; }
@media (max-width: 1199px) {
  .inoforest-story-panels__list { gap: 10px; }
  .inoforest-story-panel__body { width: min(520px, 60vw); padding: 30px; }
}
@media (max-width: 767px) {
  .inoforest-story-panels__list { flex-direction: column; gap: 16px; height: auto; }
  .inoforest-story-panel { flex: none; min-height: 420px; cursor: auto; }
  .elementor .inoforest-story-panel__img { transform: none; filter: none; }
  .inoforest-story-panel__rail { display: none; }
  .inoforest-story-panel__body,
  .inoforest-story-panel.is-active .inoforest-story-panel__body { width: 100%; padding: 26px; opacity: 1; transform: none; }
}


.inoforest-story-panels img{max-width:100%}
@media(prefers-reduced-motion:reduce){.inoforest-story-panels *{animation:none;transition:none;scroll-behavior:auto;translate:none}}

/* A preference change also stops already-initialised motion. */
@media(prefers-reduced-motion:reduce){.elementor .inoforest-story-panels .inoforest-story-panel__img{transform:none}}
@media(prefers-reduced-motion:reduce){.elementor .inoforest-story-panel:not(.is-active):hover .inoforest-story-panel__img{transform:none}}
