/* ===============================
   DJ ORANGES –  CSS
   Breakpoint: <= 768px = mobile
   =============================== */

:root {
  --primary-color: #9b59b6;
  --accent-color: #e91e63;
  --light-bg: #fce4ec;
  --text-color: #222;
  --card-bg: #fff;
  --section-even: #f7e9f7;
  --section-odd: #fdeef8;
  --border-color: #ddd;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-pop: 0 12px 24px rgba(0, 0, 0, 0.12);
  --header-h: 110px;

  /* Accessibility helpers */
  --focus-ring: 0 0 0 3px rgba(233, 30, 99, 0.25), 0 0 0 6px rgba(155, 89, 182, 0.25);
  --focus-outline: 2px solid rgba(233, 30, 99, 0.6);
  --link-color: #e91e63;
  --font-display: 'Exo 2', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* RESET & BASE */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
[id] { scroll-margin-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: rgba(255,255,255,0.85);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 70px; /* keep if your header visually needs this; can switch to var(--header-h) */
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom right, rgba(233, 30, 99, 0.28), rgba(155, 89, 182, 0.28)),
    url('images/background.png') center/cover no-repeat;
  background-attachment: fixed;
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

/* HEADER (Glass Effect) */
header {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .6em 1em;
  gap: .25em;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(155, 89, 182, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s ease, backdrop-filter .3s ease;
}
.logo { height: 50px; width: auto; max-width: 100%; margin-top: .25em; }

/* MENU TOGGLE FOR MOBILE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 1001;
}

/* NAVIGATION */
nav { margin-top: 1em; }
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5em 1em;
  border-radius: 10px;
  font-family: var(--font-display);
  transition: background-color .2s ease, color .2s ease;
}
nav a:hover {
  background-color: rgba(255,255,255,0.9);
  color: var(--accent-color);
}

/* LOGO CONTAINER */
.logo-container {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1em;
}
.logo-link { display: inline-block; }
.site-title {
  font-size: 2em; font-family: var(--font-display); margin: 0; color: #fff;
  flex: 1; text-align: center;
}

/* --- DESKTOP DROPDOWNS --- */
nav ul.nav-root { position: relative; gap: 1em; }
nav li.has-submenu { position: relative; }

/* Parent link + caret button sit inline (caret glyph lives INSIDE the button, e.g. ▾) */
nav .parent-link { padding-right: .4em; }

/* CARET: match Hotline behavior (rotate when open or aria-expanded=true) */
nav .submenu-toggle{
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font: 700 1.1rem var(--font-display);
  line-height: 1;
  cursor: pointer;
  padding: 0 .25em;
  transform-origin: 50% 50%;
  transition: transform .2s ease, color .2s ease;
}
nav li.has-submenu.open > .submenu-toggle,
nav .submenu-toggle[aria-expanded="true"]{
  transform: rotate(180deg);
  color: #fff; /* keep white caret on desktop; change to var(--accent-color) if desired */
}
/* desktop only: show submenu on hover/focus */
@media (min-width: 769px) {
  nav li.has-submenu:hover > .submenu,
  nav li.has-submenu:focus-within > .submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

/* caret button contains the ▾ glyph in HTML */
nav .submenu-toggle {
  appearance: none; border: 0; background: transparent; color: #fff;
  font: 700 1.1rem var(--font-display); line-height: 1; cursor: pointer;
  padding: 0 .25em; transform-origin: 50% 50%;
  transition: transform .2s ease, color .2s ease;
}

/* Submenu panel (desktop) */
nav .submenu {
  position: absolute;
  left: 0;
  top: calc(100% + .4rem);
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: .6rem;
  background: rgba(155, 89, 182, 0.95); /* matches header tint */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
nav .submenu a {
  display: block;
  text-align: center;
  padding: .45rem .6rem;
  border-radius: 8px;
}
nav .submenu a:hover {
  background: rgba(255,255,255,0.9);
  color: var(--accent-color);
}

/* Desktop: show on hover/focus */
@media (min-width: 769px) {
  nav li.has-submenu:hover > .submenu,
  nav li.has-submenu:focus-within > .submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

/* Keep dropdowns inside viewport on narrower desktops */
@media (min-width: 769px) and (max-width: 900px) {
  nav li.has-submenu { position: static; }
  nav .submenu { right: 1rem; left: auto; max-width: min(520px, 90vw); }
}

/* Optional two-column submenu (desktop only) */
@media (min-width: 769px) {
  nav .submenu--wide {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    column-gap: 1rem;
    row-gap: 0.4rem;
    min-width: 420px;
    max-height: none;
    overflow: visible;
  }
  nav .submenu--scrollable {
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255,255,255,0.15);
  }
  nav .submenu--scrollable::-webkit-scrollbar { width: 10px; }
  nav .submenu--scrollable::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 10px; }
  nav .submenu--scrollable::-webkit-scrollbar-thumb { background-color: var(--accent-color); border-radius: 10px; }
}
@media (min-width: 769px) {
  nav ul { display: flex; }
}

/* --- MOBILE DRAWER & SUBMENUS (<=768px) —  */
@media (max-width: 768px) {
  /* use the dynamic header height for spacing */
  body { padding-top: var(--header-h); }
  header { padding: .25em 1em; gap: 0; }
  .logo  { height: 40px; }
  nav    { margin-top: .5em; }

  /* burger visible */
  .menu-toggle {
    display: block;
    font-size: 1.5em;
    top: .4em;
    right: .5em;
  }

  /* drawer under header */
  nav.site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 1001;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  nav.site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* the panel (ul) */
  nav.site-nav .nav-links {
    display: none;                /* closed by default */
    flex-direction: column;
    gap: .5rem;
    padding: 1rem 1rem 1.25rem;
    background: rgba(233, 30, 99, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    align-items: stretch;
    text-align: right;
    max-height: calc(100vh - var(--header-h) - 12px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav.site-nav.open .nav-links { display: flex !important; }

  /* parent row: label (flexes) + caret (auto) */
  nav li.has-submenu {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    gap: .35rem;
  }
  /* label on the left */
  nav li.has-submenu > .parent-link {
    grid-column: 1;
    justify-self: end;
    padding: .55rem 0;
  }
  /* caret on the right */
  nav li.has-submenu > .submenu-toggle {
    grid-column: 2;
    justify-self: end;
    font-size: 1.35rem;
    padding: .3rem .4rem;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: 0;
    transform-origin: 50% 50%;
    transition: transform .2s ease, color .2s ease;
  }

  /* MOBILE SUBMENU: inline accordion (force-visible overrides) */
  nav .submenu {
    position: static !important;
    display: none;                 /* closed until .open on parent */
    margin: .35rem 0 .25rem;
    padding: .6rem .6rem .6rem .75rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: none;

    /* override desktop fade/hidden flags */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  nav li.has-submenu.open > .submenu { display: block; }
  nav .submenu a { display: block; padding: .45rem 0; text-align: right; }

  /* rotate caret when open (JS also sets aria-expanded="true") */
  nav li.has-submenu.open > .submenu-toggle,
  nav .submenu-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    color: #fff;
  }
}


/* Keep logo centered in header */
header .logo-container { justify-content: center !important; text-align: center; }
header .logo { margin: 0 auto; display: block; }

/* MAIN CONTENT */
main { padding: 1em 2em; }
section {
  padding: 2em 0;
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-color);
  padding-left: 1em;
  scroll-margin-top: 240px;
}
#series {
  background-color: #fdf1f9;
  background-image: linear-gradient(to bottom right, #fdf1f9, #fdeef8);
  text-align: center;
  padding-bottom: 3em;
  scroll-margin-top: 240px;
  border-left-color: transparent;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text-color) !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
  margin-bottom: 1em;
}
p { font-family: var(--font-body); }
.book-card h3 { font-size: 1.3em; margin-top: 1em; }

/* BOOK GRID & CARD */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2em;
  margin-top: 2em;
  align-items: start;
}
@media (min-width: 1000px) { .book-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1200px) { .book-grid { grid-template-columns: repeat(3,1fr); } }

.book-card {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  background-color: #fffafc; border: 2px solid var(--accent-color);
  border-radius: 12px; padding: 1.5em; box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.book-card:hover { transform: scale(1.015); box-shadow: var(--shadow-pop); }
.book-grid article:nth-child(even) { background-color: var(--section-even); }
.book-grid article:nth-child(odd) { background-color: var(--section-odd); }

/* COVER IMAGE + SLIDESHOW */
.book-cover {
  width: 100%; max-width: 200px; height: auto; display: block;
  margin: 0 auto 1em; border-radius: 8px; border: 2px solid #fff; background:#fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.book-cover:hover { transform: scale(1.03); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }

.cover-slideshow {
  position: relative; width: 100%; max-width: 200px; aspect-ratio: 2/3;
  margin: 0 auto 1em;
}
.cover-slideshow img {
  position: absolute; inset: 0 0 0 0; width: 100%;
  border-radius: 8px; border: 2px solid #fff; background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  opacity: 0; transition: opacity .6s ease-in-out; object-fit: cover;
}
.cover-slideshow img.active { opacity: 1; position: relative; z-index: 1; }

/* HERO SLIDESHOW WRAPPER (no card chrome) */
.portfolio-grid{display:flex;justify-content:center}
.property-card{background:transparent;border:0;box-shadow:none;padding:0}
#series .property-card{background:transparent}

/* ===========================
   Shared hover/focus effects
   =========================== */

/* Wrap clickable media (images or slideshows) in a link with this class */
.media-link {
  display: inline-block;
  border-radius: 12px;
  outline: none; /* focus ring below */
}

/* Apply to plain <img> elements you want styled like your cards */
.media-img,
.cover-slideshow img,
.office-slideshow img {
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease, filter .35s ease;
  cursor: pointer;           /* shows it's interactive */
}

/* Only animate the visible slide to avoid flicker */
.media-link:hover .media-img,
.media-link:focus-visible .media-img,
.media-link:hover .cover-slideshow img.active,
.media-link:focus-visible .cover-slideshow img.active,
.media-link:hover .office-slideshow img.active,
.media-link:focus-visible .office-slideshow img.active {
  transform: scale(1.04);
  box-shadow: var(--shadow-pop);
  border-color: var(--accent-color);
  filter: saturate(1.05);
}

/* Accessible focus ring on the wrapper link */
.media-link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 14px;
}


/* BUY BUTTONS: primary grid */
.buy-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .75em; margin-top: 1em;
}
.buy-link {
  display: inline-block; text-align: center; background-color: var(--accent-color); color: #fff;
  padding: .55em 1em; text-decoration: none; border-radius: 10px; font-weight: 700;
  font-family: var(--font-display);
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-soft); line-height: 1.2;
}
.buy-link:hover { background-color: var(--primary-color); transform: translateY(-1px); }
.buy-link:active { transform: translateY(0); }
.buy-link:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.buy-link--outline {
  background: transparent; color: var(--accent-color); border: 2px solid var(--accent-color);
}
.buy-link--outline:hover { background: var(--accent-color); color: #fff; }

.buy-group { margin-top: .75em; border: 0; padding: 0; }
.buy-group > summary { list-style: none; cursor: pointer; }
.buy-group > summary::-webkit-details-marker { display: none; }
.buy-group > summary::after {
  content: '▾'; margin-left: .5em; font-size: .9em; transition: transform .2s ease;
}
.buy-group[open] > summary::after { transform: rotate(180deg); }

.buy-links-sub{
  margin-top: .75em;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .5em;
}
.buy-link-sub {
  font-weight: 600; padding: .45em .9em;
  background: rgba(0,0,0,0.06); color: #111; border: 1px solid rgba(0,0,0,0.08);
}
.buy-link-sub:hover { background: rgba(0,0,0,0.12); color: #111; }

.buy-subgroup > summary { cursor: pointer; list-style: none; }
.buy-subgroup > summary::-webkit-details-marker { display: none; }
.buy-subgroup > summary::after {
  content: '▾'; margin-left: .4em; font-size: .8em; transition: transform .2s ease;
}
.buy-subgroup[open] > summary::after { transform: rotate(180deg); }
.buy-subgroup .buy-link-sub { font-size: .9em; padding: .4em .8em; }

/* CAST / CHARACTERS */
#characters .cast-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 1rem;
  align-items: start; margin-bottom: 1.25em;
  background-color: rgba(255,255,255,0.92);
  border-radius: 12px; padding: 1.25em; box-shadow: var(--shadow-soft);
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (max-width: 640px) {
  #characters .cast-card { grid-template-columns: 1fr; }
}
#characters .cast-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
#characters .cast-img {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: 8px; border: 2px solid var(--section-odd);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
#characters .cast-img:hover { transform: scale(1.05); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
#characters .ref-caption h4 { font-family: var(--font-display); margin: .15em 0 .25em; color: var(--text-color); }
#characters .ref-caption p { margin: 0 0 .8em; }

/* inspiration panel toggle */
details.insp { grid-column: 1 / -1; }
details.insp > summary.insp-toggle {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .35em .75em; border-radius: 999px;
  background: rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.08);
  cursor: pointer; user-select: none; font: 600 0.9rem var(--font-display);
  color: #111;
}
details.insp[open] > summary.insp-toggle { background: rgba(0,0,0,.12); }
details.insp > summary.insp-toggle::after { content: '▾'; transition: transform .2s ease; }
details.insp[open] > summary.insp-toggle::after { transform: rotate(180deg); }
details.insp .insp-panel { margin-top: .75em; 
}
/* === Inspiration gallery === */
.insp-panel .insp-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: .5rem;
}

@media (min-width: 768px){
  .insp-panel .insp-grid{
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
}

/* Make any images inside grid look like polished thumbnails */
.insp-panel .insp-grid img{
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;            /* uniform square thumbs */
  object-fit: cover;               /* crops nicely without distortion */
  border-radius: 10px;
  border: 2px solid var(--section-odd);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}

.insp-panel .insp-grid img:hover{
  transform: scale(1.03);
  box-shadow: var(--shadow-pop);
  border-color: var(--accent-color);
}
/* ===== Inspiration grid: mobile-first fix ===== */

/* Make sure the panel actually uses a grid */
details.insp .insp-panel .insp-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3-wide on typical phones */
  gap: 10px;
}

/* Very narrow phones: fall back to 2-wide */
@media (max-width: 360px){
  details.insp .insp-panel .insp-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets & up: auto-fill neat tiles */
@media (min-width: 768px){
  details.insp .insp-panel .insp-grid{
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

/* Override character thumb sizing INSIDE inspiration so grid works */
#characters details.insp .insp-panel .insp-grid img{
  width: 100% !important;            /* beats the #characters .cast-img rule */
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--section-odd);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: block;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}

#characters details.insp .insp-panel .insp-grid img:hover{
  transform: scale(1.03);
  box-shadow: var(--shadow-pop);
  border-color: var(--accent-color);
}


/* AUTHOR BLOCK */
.author-block {
  display: flex; align-items: center; gap: 1.5em; flex-wrap: wrap;
  background-color: var(--card-bg); padding: 2em; border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s ease, transform .2s ease;
}
.author-block:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.author-img {
  width: 120px; height: 120px; object-fit: cover; border-radius: 8px;
  background: #fff; transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3); flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.author-img:hover { transform: scale(1.05); box-shadow: 0 6px 14px rgba(0,0,0,0.25); }
.author-text { flex: 1; min-width: 240px; }

/* FOOTER */
footer {
  background: linear-gradient(to top, #9b59b6, #8e44ad);
  color: #f8f8f8; text-align: center; padding: 2em 1em 2em;
  font-size: .875em; font-family: var(--font-body);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  border-top: 1px solid var(--border-color);
}

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  padding: .6rem .8rem;
  border-radius: 999px;
  border: 2px solid var(--accent-color);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
#back-to-top:hover { transform: translateY(-2px); background: rgba(0,0,0,0.8); }
#back-to-top[hidden] { opacity: 0; pointer-events: none; }

/* PRODUCTS */
.product-grid { display: flex; flex-wrap: wrap; gap: 2em; justify-content: center; }
.product-card {
  width: 200px; background-color: rgba(255,255,255,0.92); border-radius: 12px; padding: 1em;
  text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform .3s ease;
}
.product-card:hover { transform: scale(1.03); }
.product-card img { width: 100%; border-radius: 8px; margin-bottom: .75em; }
.product-card h3 { font-size: 1.2em; margin-bottom: .5em; }
.product-card p { font-size: 1em; margin-bottom: 1em; }

/* === Coloring Page thumbnail: force cast-card look === */
#activities a.coloring-link{
  display:inline-block;
  border-radius:12px;
  overflow:hidden;                 /* keep rounded corners crisp */
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s ease, transform .2s ease;
}
#activities a.coloring-link:hover{
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}

#activities img.coloring-thumb{
  /* size */
  width: clamp(110px, 28vw, 160px) !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;

  /* visuals (match cast cards) */
  display:block !important;
  margin: 1em auto !important;
  border-radius: 8px !important;
  border: 2px solid var(--section-odd) !important;
  background:#fff !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.10) !important;

  /* motion */
  transition: transform .2s ease, box-shadow .2s ease !important;
}
#activities img.coloring-thumb:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.20);
}

