.wb-instagram-page {
  --wb-instagram-frame-image: url("https://wbphotography.nl/wp-content/uploads/2026/03/Gemini_Generated_Image_2xs6fp2xs6fp2xs61.png");
  --wb-instagram-canvas:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,245,238,.92)),
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.66), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(167,205,219,.20), transparent 33%),
    radial-gradient(circle at 24% 88%, rgba(203,227,234,.18), transparent 28%);
  --wb-instagram-text: #171b1e;
  --wb-instagram-sub: #5d7179;
  --wb-instagram-panel: rgba(233, 246, 249, .82);
  --wb-instagram-panel-strong: rgba(244, 251, 252, .9);
  --wb-instagram-border: rgba(120, 176, 193, .64);
  --wb-instagram-blue: #7db7c8;
  --wb-instagram-blue-strong: #4c889d;
  --wb-instagram-red: #ed2024;
  --wb-instagram-black: #11181d;
  --wb-instagram-black-soft: #26343c;
  --wb-instagram-success: #166534;
  --wb-instagram-danger: #b91c1c;
  --wb-instagram-heading: #191817;
  color: var(--wb-instagram-text);
}

body.page-id-56108 {
  --wbp-frame-line: #ed2024;
  --wbp-frame-divider: rgba(237, 32, 36, 0.16);
  --wbp-frame-stroke: 3px;
  --wb-instagram-frame-offset-desktop: 62px;
  --wbp-frame-mobile-parallax-y: 0px;
  --wbp-frame-bg-image: url("https://wbphotography.nl/wp-content/uploads/2026/03/Gemini_Generated_Image_2xs6fp2xs6fp2xs61.png");
  --wbp-frame-surface: linear-gradient(180deg, rgba(235, 249, 251, 0.88), rgba(209, 239, 244, 0.74));
  --wbp-frame-shadow: 0 24px 68px rgba(92, 141, 156, 0.18);
  --wbp-frame-toolbar-bg: rgba(212, 239, 245, 0.84);
  --wbp-frame-toolbar-bg-hover: rgba(221, 244, 248, 0.9);
  --wbp-frame-toolbar-border: #7db7c8;
  --wbp-frame-toolbar-shadow: 0 10px 26px rgba(69, 50, 36, 0.1);
  --wbp-frame-panel-bg: rgba(221, 244, 248, 0.74);
  --wbp-frame-panel-bg-strong: rgba(212, 239, 245, 0.84);
  --wbp-frame-panel-bg-soft: rgba(236, 249, 251, 0.68);
}

body.page-id-56108 {
  background: #ffffff;
  position: relative;
}

body.page-id-56108 #x-site,
body.page-id-56108 #cs-content,
body.page-id-56108 #cs-content > .x-section,
body.page-id-56108 .entry-wrap,
body.page-id-56108 .entry-content,
body.page-id-56108 .entry-content.content,
body.page-id-56108 .x-container.max.width {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.page-id-56108 .x-main {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 40px));
  max-width: 1440px;
  margin: 18px auto 42px !important;
  padding: clamp(26px, 3.2vw, 42px) !important;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58)),
    var(--wbp-frame-bg-image) center top / cover no-repeat !important;
  box-shadow: 0 24px 60px rgba(92, 141, 156, 0.16);
  border: 0 !important;
}

body.page-id-56108 .x-main > article,
body.page-id-56108 .entry-wrap,
body.page-id-56108 .entry-content,
body.page-id-56108 .entry-content.content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-56108 .entry-title,
body.page-id-56108 .entry-header,
body.page-id-56108 .p-meta,
body.page-id-56108 .x-article .entry-featured {
  display: none !important;
}

.wb-instagram-page *,
.wb-instagram-page *::before,
.wb-instagram-page *::after {
  box-sizing: border-box;
}

.wb-instagram-shell {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.wb-instagram-shell::before {
  display: none;
}

.wb-instagram-shell > * {
  position: relative;
  z-index: 1;
}

.wb-instagram-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--wb-instagram-border);
  border-radius: 26px;
  background: var(--wb-instagram-panel);
  box-shadow: 0 20px 42px rgba(92, 141, 156, .12);
  backdrop-filter: blur(8px);
  margin-top: 20px;
}

.wb-instagram-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,0)),
    radial-gradient(circle at top right, rgba(255,255,255,.44), transparent 30%);
  pointer-events: none;
}

/* Gecentreerde labels + help-teksten binnen upload-blok en details-paneel */
.wb-instagram-upload .wb-instagram-help,
.wb-instagram-panel--details .wb-instagram-label,
.wb-instagram-panel--details .wb-instagram-help {
  text-align: center;
}

.wb-instagram-intro,
.wb-instagram-help,
.wb-instagram-accordion__intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #191817;
}

.wb-instagram-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.wb-instagram-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid rgba(125, 183, 200, .7);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px rgba(92, 141, 156, .12);
  color: var(--wb-instagram-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wb-instagram-back-link:hover,
.wb-instagram-back-link:focus-visible {
  background: rgba(255,255,255,.92);
  border-color: var(--wb-instagram-blue-strong);
  box-shadow: 0 12px 28px rgba(92, 141, 156, .16);
  color: var(--wb-instagram-text);
  outline: none;
}

.wb-instagram-back-link__icon {
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.wb-instagram-back-link__icon svg {
  width: 100%;
  height: 100%;
}

.wb-instagram-card--main {
  padding: clamp(20px, 3vw, 8px);
  margin-top: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.wb-instagram-main__intro {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.wb-instagram-main__intro h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.02;
  color: var(--wb-instagram-text);
  font-weight: 700;
  letter-spacing: 0;
  opacity: 1;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: var(--wb-instagram-text);
}

.wb-instagram-main__intro .wb-instagram-intro {
  color: var(--wb-instagram-text);
  opacity: 1;
  text-shadow: none;
  -webkit-text-fill-color: var(--wb-instagram-text);
}

.wb-instagram-main__grid,
.wb-instagram-removal-grid {
  display: grid;
  gap: 24px;
}

.wb-instagram-main__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: start;
}

.wb-instagram-removal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wb-instagram-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(125, 183, 200, .48);
  border-radius: 24px;
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(8px);
}

.wb-instagram-frame {
  min-width: 0;
  --wbp-frame-logo-top: -34px;
  margin-top: var(--wb-instagram-frame-offset-desktop);
}

.wb-instagram-frame .wbp-logo-frame__inner {
  padding: 82px 24px 26px;
}

.wb-instagram-frame--selection .wbp-logo-frame__inner,
.wb-instagram-panel--details .wb-instagram-panel__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sticky details-sidebar op desktop — eigen rood kader zoals de selection-box */
.wb-instagram-panel--details {
  position: sticky;
  top: calc(24px + var(--wb-instagram-frame-offset-desktop));
  align-self: start;
  margin-top: var(--wb-instagram-frame-offset-desktop);
  padding: 22px;
  border: var(--wbp-frame-stroke) solid var(--wbp-frame-line);
  border-radius: 18px;
  background: var(--wbp-frame-panel-bg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .04);
  backdrop-filter: none;
}

body.page-id-56108.admin-bar .wb-instagram-panel--details {
  top: calc(56px + var(--wb-instagram-frame-offset-desktop));
}

@media (max-width: 1024px) {
  body.page-id-56108 .x-masthead,
  body.page-id-56108 header[role="banner"],
  body.page-id-56108 .site-header,
  body.page-id-56108 .x-navbar-wrap,
  body.page-id-56108 .x-navbar,
  body.page-id-56108 .x-logobar,
  body.page-id-56108 .x-topbar {
    display: none !important;
  }
}

.wb-instagram-panel__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wb-instagram-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.wb-instagram-panel__head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.08;
}

.wb-instagram-panel__meta {
  flex-shrink: 0;
  padding-top: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wb-instagram-blue-strong);
}

.wb-instagram-notice {
  margin-bottom: 20px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 3px solid var(--wb-instagram-red);
  background: var(--wb-instagram-panel-strong);
  color: var(--wb-instagram-text);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.06);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.wb-instagram-notice--success,
.wb-instagram-notice--error,
.wb-instagram-notice--warning,
.wb-instagram-notice--info {
  background: var(--wb-instagram-panel-strong);
  border-color: var(--wb-instagram-red);
  color: var(--wb-instagram-text);
}

.wb-instagram-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.wb-instagram-input,
.wb-instagram-textarea {
  width: 100%;
  border: 2px solid rgba(125, 183, 200, .62);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  color: var(--wb-instagram-text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}

.wb-instagram-input {
  min-height: 48px;
  padding: 11px 14px;
}

.wb-instagram-input:focus,
.wb-instagram-textarea:focus {
  outline: none;
  border-color: var(--wb-instagram-blue-strong);
  box-shadow: 0 0 0 3px rgba(125, 183, 200, .18);
}

.wb-instagram-caption-field {
  position: relative;
  border: 2px solid rgba(125, 183, 200, .62);
  border-radius: 18px;
  background: rgba(212, 239, 245, .86);
  overflow: hidden;
}

.wb-instagram-caption-field:focus-within {
  border-color: var(--wb-instagram-blue-strong);
  box-shadow: 0 0 0 3px rgba(125, 183, 200, .18);
}

.wb-instagram-emoji-toolbar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
  overflow: hidden;
}

.wb-instagram-emoji-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(125, 183, 200, .72);
  border-radius: 9px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 4px 10px rgba(92, 141, 156, .1);
  color: var(--wb-instagram-text);
  cursor: pointer;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 14px;
  line-height: 1;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.wb-instagram-emoji-button:hover,
.wb-instagram-emoji-button:focus-visible {
  background: rgba(255, 255, 255, .94);
  border-color: var(--wb-instagram-blue-strong);
  box-shadow: 0 8px 18px rgba(92, 141, 156, .16);
  transform: translateY(-1px);
  outline: none;
}

.wb-instagram-emoji-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(92, 141, 156, .1);
}

.wb-instagram-textarea {
  min-height: 200px;
  padding: 14px 46px 14px 16px;
  resize: vertical;
}

.wb-instagram-caption-field .wb-instagram-textarea {
  display: block;
  border: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
}

.wb-instagram-caption-field .wb-instagram-textarea:focus {
  box-shadow: none;
}

.wb-instagram-textarea:disabled {
  opacity: 1;
  cursor: wait;
}

.wb-instagram-caption-loading {
  position: absolute;
  top: 55px;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(125, 183, 200, .38);
  border-top-color: var(--wb-instagram-blue-strong);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
}

.wb-instagram-caption-field.is-loading .wb-instagram-caption-loading {
  opacity: 1;
  animation: wb-instagram-spin .75s linear infinite;
}

@keyframes wb-instagram-spin {
  to {
    transform: rotate(360deg);
  }
}

.wb-instagram-textarea--compact {
  min-height: 120px;
  padding: 14px 16px;
}

.wb-instagram-help {
  margin-top: 10px;
}

.wb-instagram-feedback {
  display: none;
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 3px solid var(--wb-instagram-red);
  background: var(--wb-instagram-panel-strong);
  color: var(--wb-instagram-text);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.06);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.wb-instagram-feedback.is-visible {
  display: block;
}

.wb-instagram-feedback.is-success {
  background: var(--wb-instagram-panel-strong);
  color: var(--wb-instagram-text);
}

.wb-instagram-feedback.is-error {
  background: var(--wb-instagram-panel-strong);
  color: var(--wb-instagram-text);
}

.wb-instagram-selection-wrap {
  display: grid;
  gap: 16px;
}

.wb-instagram-selection-note {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(25, 24, 23, 0.74);
  text-align: center;
}

.wb-instagram-selection {
  display: grid;
  gap: 14px;
}

.wb-instagram-empty-state {
  padding: 20px;
  border: 2px dashed rgba(125, 183, 200, .7);
  border-radius: 20px;
  background: rgba(255,255,255,.6);
}

.wb-instagram-empty-state__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wb-instagram-sub);
}

.wb-instagram-empty-state__action {
  width: 100%;
}

.wb-instagram-upload {
  margin-top: 18px;
  position: relative;
}

/* Visueel verborgen maar toegankelijk */
.wb-instagram-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}

/* Styled tap-label die als knop werkt */
.wb-instagram-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 2px dashed rgba(125, 183, 200, .72);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: var(--wb-instagram-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.wb-instagram-upload-label:hover {
  border-color: var(--wb-instagram-blue-strong);
  background: rgba(255, 255, 255, .95);
}

.wb-instagram-upload-input:focus-visible + .wb-instagram-upload-label,
.wb-instagram-upload-label:focus-visible {
  outline: none;
  border-color: var(--wb-instagram-blue-strong);
  box-shadow: 0 0 0 3px rgba(125, 183, 200, .22);
}

/* Keyboard/drag-state */
.wb-instagram-upload-label.has-file {
  border-style: solid;
  border-color: var(--wb-instagram-blue-strong);
  background: rgba(236, 253, 243, .6);
}

.wb-instagram-upload-label__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wb-instagram-upload-label__icon svg {
  width: 22px;
  height: 22px;
}

.wb-instagram-upload-label__text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-instagram-selection-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 183, 200, .55);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 30px rgba(92, 141, 156, .10);
  cursor: grab;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wb-instagram-selection-card.is-drop-target {
  border-color: var(--wb-instagram-blue-strong);
  box-shadow: 0 0 0 3px rgba(125, 183, 200, .18), 0 16px 32px rgba(92, 141, 156, .12);
}

.wb-instagram-selection-card.is-dragging {
  opacity: .7;
  transform: scale(.99);
  cursor: grabbing;
}

.wb-instagram-selection-card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f5f6f7;
}

.wb-instagram-selection-card__remove {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.86);
  cursor: pointer;
  font: inherit;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(17, 24, 29, .18);
}

.wb-instagram-selection-card__remove {
  color: var(--wb-instagram-black);
  font-size: 22px;
  line-height: 1;
}

.wb-instagram-selection-card__remove:hover,
.wb-instagram-selection-card__remove:focus-visible {
  background: rgba(255,255,255,.98);
  outline: none;
}

/* Sorteer-knoppen (mobiel alternatief voor drag-and-drop) */
.wb-instagram-selection-card__sort {
  display: none; /* Alleen tonen op mobiel */
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  gap: 8px;
}

.wb-instagram-selection-card__sort-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--wb-instagram-black);
  box-shadow: 0 8px 18px rgba(17, 24, 29, .18);
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
}

.wb-instagram-selection-card__sort-btn:hover,
.wb-instagram-selection-card__sort-btn:focus-visible {
  background: #ffffff;
  outline: none;
}

.wb-instagram-selection-card__sort-btn:active {
  transform: scale(.94);
}

.wb-instagram-selection-card__sort-btn[disabled] {
  opacity: .35;
  cursor: not-allowed;
}

.wb-instagram-selection-card__sort-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.wb-instagram-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 12px;
}

.wb-instagram-page .wb-instagram-primary-button,
.wb-instagram-page .wb-instagram-secondary-button,
.wb-instagram-page .wb-instagram-link-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
  cursor: pointer;
  background-image: none !important;
  text-shadow: none !important;
}

.wb-instagram-page .wb-instagram-primary-button:hover,
.wb-instagram-page .wb-instagram-secondary-button:hover,
.wb-instagram-page .wb-instagram-link-button:hover,
.wb-instagram-page .wb-instagram-primary-button:focus-visible,
.wb-instagram-page .wb-instagram-secondary-button:focus-visible,
.wb-instagram-page .wb-instagram-link-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.wb-instagram-page .wb-instagram-primary-button {
  border: 2px solid var(--wb-instagram-black) !important;
  background: linear-gradient(135deg, var(--wb-instagram-black), var(--wb-instagram-black-soft)) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(17, 24, 29, .22) !important;
}

.wb-instagram-page .wb-instagram-secondary-button,
.wb-instagram-page .wb-instagram-link-button {
  border: 2px solid var(--wb-instagram-blue-strong) !important;
  background: rgba(255, 255, 255, .88) !important;
  color: var(--wb-instagram-text) !important;
  box-shadow: 0 12px 24px rgba(92, 141, 156, .10) !important;
}

.wb-instagram-page .wb-instagram-primary-button:hover,
.wb-instagram-page .wb-instagram-primary-button:focus-visible {
  box-shadow: 0 20px 34px rgba(17, 24, 29, .26) !important;
}

.wb-instagram-page .wb-instagram-secondary-button:hover,
.wb-instagram-page .wb-instagram-link-button:hover,
.wb-instagram-page .wb-instagram-secondary-button:focus-visible,
.wb-instagram-page .wb-instagram-link-button:focus-visible {
  border-color: var(--wb-instagram-blue-strong) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 14px 28px rgba(92, 141, 156, .14) !important;
}

.wb-instagram-card--accordion {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.wb-instagram-card--accordion::before {
  display: none;
}

.wb-instagram-accordion__toggle {
  appearance: none;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 2px solid rgba(125, 183, 200, 0.78);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--wb-instagram-text);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, color .18s ease;
}

.wb-instagram-accordion__title {
  width: 100%;
  padding: 0;
  font-size: 28px;
  line-height: 1.08;
  text-align: center;
}

.wb-instagram-accordion__icon {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 12px;
  height: 12px;
  margin: 0;
  border-right: 2px solid rgba(25, 24, 23, 0.72);
  border-bottom: 2px solid rgba(25, 24, 23, 0.72);
  transform: translateY(-50%) rotate(45deg);
  transition: transform .18s ease, border-color .18s ease;
}

.wb-instagram-accordion__toggle:hover,
.wb-instagram-accordion__toggle:focus-visible {
  border-color: var(--wb-instagram-blue-strong);
  outline: none;
}

.wb-instagram-accordion__toggle[aria-expanded="true"] {
  border-color: #ed2024;
}

.wb-instagram-accordion__toggle[aria-expanded="true"] .wb-instagram-accordion__title {
  color: #ed2024;
}

.wb-instagram-accordion__toggle[aria-expanded="true"] .wb-instagram-accordion__icon {
  transform: translateY(-50%) rotate(225deg);
  border-right-color: #ed2024;
  border-bottom-color: #ed2024;
}

.wb-instagram-accordion__body {
  padding: 18px 20px 0;
}

.wb-instagram-accordion__intro {
  margin-bottom: 18px;
}

.wb-instagram-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 980px) {
  .wb-instagram-main__grid,
  .wb-instagram-removal-grid {
    grid-template-columns: 1fr;
  }

  .wb-instagram-frame,
  .wb-instagram-panel--details {
    margin-top: 0;
  }

  .wb-instagram-panel--details {
    position: static;
    top: auto;
  }
}

/* ═══ Back link blauw (zoals /winkelwagen) ═══ */
body.page-id-56108 .wb-instagram-back-link {
  background: rgba(212, 239, 245, 0.84) !important;
  border: 2px solid #7db7c8 !important;
  box-shadow: 0 10px 26px rgba(69, 50, 36, 0.1) !important;
  color: #171b1e !important;
}

body.page-id-56108 .wb-instagram-back-link:hover,
body.page-id-56108 .wb-instagram-back-link:focus-visible {
  background: rgba(221, 244, 248, 0.9) !important;
  border-color: #4c889d !important;
}

/* Shell zit binnen .x-main (grote aquarelle-panel) — geen eigen background */

@media (max-width: 1024px) {
  body.page-id-56108 {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
      var(--wbp-frame-bg-image) center top / cover no-repeat !important;
  }

  body.page-id-56108 #x-site,
  body.page-id-56108 #cs-content,
  body.page-id-56108 #cs-content > .x-section,
  body.page-id-56108 .x-container.max.width,
  body.page-id-56108 .entry-wrap,
  body.page-id-56108 .entry-content,
  body.page-id-56108 .entry-content.content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  body.page-id-56108 .x-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px 0 28px !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
      var(--wbp-frame-bg-image) center top / cover no-repeat !important;
    box-shadow: none !important;
  }

  body.page-id-56108 .wb-instagram-footer-cart-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  body.page-id-56108 .wb-instagram-footer-cart-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
  }

  /* Breedte van de content (rood kader) beheren via de shell zelf,
     zodat Cornerstone-wrappers er niet tussen kunnen komen. */
  body.page-id-56108 .wb-instagram-shell {
    padding-left: 22px !important;
    padding-right: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 767px) {
  body.page-id-56108 .wb-instagram-shell {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 767px) {

  .wb-instagram-notice {
    padding: 16px 18px;
    border-radius: 16px;
  }

  .wb-instagram-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    margin-top: 12px;
  }

  .wb-instagram-card::before { display: none; }

  .wb-instagram-main__intro {
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .wb-instagram-main__intro h1 {
    font-size: 26px;
    letter-spacing: 0;
  }

  .wb-instagram-toolbar { margin-bottom: 12px; }

  .wb-instagram-back-link {
    width: 100%;
    justify-content: center;
  }

  /* Grid naar 1 kolom, geen gap (details wordt via JS in frame geplaatst) */
  .wb-instagram-main__grid,
  .wb-instagram-removal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wb-instagram-frame {
    margin-top: 34px;
  }

  .wb-instagram-frame .wbp-logo-frame__inner {
    padding: 62px 16px 22px;
  }

  /* Details-panel op mobiel: geen eigen border/achtergrond/sticky,
     hij zit binnen de wbp-logo-frame via JS */
  .wb-instagram-panel--details {
    position: static !important;
    top: auto !important;
    margin-top: 0 !important;
    padding: 18px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(237, 32, 36, 0.14) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .wb-instagram-panel__head h2 {
    font-size: 20px;
  }

  .wb-instagram-input,
  .wb-instagram-textarea {
    border-width: 1px;
    background: rgba(255, 255, 255, .96);
    box-shadow: none;
  }

  .wb-instagram-caption-field {
    border-width: 1px;
  }

  .wb-instagram-emoji-toolbar {
    gap: 4px;
    padding: 6px 7px;
    border-radius: 16px 16px 0 0;
  }

  .wb-instagram-emoji-button {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
  }

  .wb-instagram-actions { flex-direction: column; }

  .wb-instagram-page .wb-instagram-primary-button,
  .wb-instagram-page .wb-instagram-secondary-button,
  .wb-instagram-page .wb-instagram-link-button {
    width: 100%;
  }

  .wb-instagram-accordion__title { font-size: 22px; }

  .wb-instagram-selection-card {
    border-radius: 14px;
  }

  .wb-instagram-selection-card__remove {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .wb-instagram-selection-card__sort {
    display: inline-flex;
  }
}
