@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Source+Sans+3:wght@400;600&display=swap');

/* Monica's Mates overrides for the 2shine BS5 theme.
   Lives in /Portals/1/portal.css so it survives 2shine upgrades.
   Selectors start with body[data-bs-theme] because portal.css loads before the
   theme's own CSS, so we win on specificity rather than load order. */

body[data-bs-theme="default-theme"] {
  /* Palette (Forest) */
  --mm-forest: #2F5D3A;
  --mm-forest-dark: #1E3D26;
  --mm-sage: #8FAE8B;
  --mm-soft: #E3ECD9;
  --mm-meadow: #F4F7EF;
  --mm-amber: #E0A100;
  --mm-on-amber: #1F2A1F;
  --mm-ink: #2B2B2B;

  /* Map onto 2shine / Bootstrap variables */
  --bs-primary: var(--mm-forest);
  --bs-primary-rgb: 47, 93, 58;
  --bs-secondary: var(--mm-amber);
  --bs-body-bg: var(--mm-meadow);
  --bs-body-color: var(--mm-ink);
  --theme-backdrop-bg: var(--mm-meadow);
  --theme-page-main-bg: var(--mm-meadow);
  --theme-nav-bg: var(--mm-forest);
  --theme-footer-bg: var(--mm-forest);
  --bs-link-color: var(--mm-forest);
  --bs-link-hover-color: var(--mm-forest-dark);

  /* Type */
  --theme-font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --theme-font-headlines: "Fraunces", Georgia, serif;
  --bs-body-font-size: 1.125rem;
  --bs-body-line-height: 1.6;

  /* Softer corners, as in the mockup */
  --bs-border-radius: 0.75rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-xl: 1.25rem;
}

/* Headings */
body[data-bs-theme="default-theme"] h1,
body[data-bs-theme="default-theme"] h2,
body[data-bs-theme="default-theme"] h3,
body[data-bs-theme="default-theme"] h4 {
  font-family: var(--theme-font-headlines);
  color: var(--mm-forest);
  font-weight: 700;
  line-height: 1.15;
}

/* Header: white links on the green bar (desktop and mobile menu) */
body[data-bs-theme="default-theme"] .navbar-nav {
  --bs-nav-link-color: #fff;
  --bs-nav-link-hover-color: var(--mm-soft);
  --bs-navbar-active-color: var(--mm-amber);
}
body[data-bs-theme="default-theme"] .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
body[data-bs-theme="default-theme"] .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}
body[data-bs-theme="default-theme"] .navbar-brand .logo {
  max-height: 44px;
  width: auto;
}

/* Buttons: pill shape; amber "secondary" button carries dark text for contrast */
body[data-bs-theme="default-theme"] .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
}
body[data-bs-theme="default-theme"] .btn-secondary {
  --bs-btn-color: var(--mm-on-amber);
  --bs-btn-hover-color: var(--mm-on-amber);
  --bs-btn-active-color: var(--mm-on-amber);
  --bs-btn-disabled-color: var(--mm-on-amber);
}

/* Footer links stay readable on green */
body[data-bs-theme="default-theme"] .footer {
  --bs-link-color: #fff;
  --bs-link-hover-color: var(--mm-soft);
}

/* Type scale from the mockup: body 18px, intro 21px, h1 56px, h2 40px, card titles 26px.
   clamp() scales the headings down smoothly on phones. */
body[data-bs-theme="default-theme"] h1,
body[data-bs-theme="default-theme"] .h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  margin-bottom: 1.5rem;
}
body[data-bs-theme="default-theme"] h2,
body[data-bs-theme="default-theme"] .h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  margin-bottom: 1rem;
}
body[data-bs-theme="default-theme"] h3,
body[data-bs-theme="default-theme"] .h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.625rem);
}
body[data-bs-theme="default-theme"] h4,
body[data-bs-theme="default-theme"] .h4 {
  font-size: 1.375rem;
}
body[data-bs-theme="default-theme"] p {
  margin-bottom: 1.25rem;
}

/* Intro text (Monica's welcome, species introductions): 21px, comfortable line length */
body[data-bs-theme="default-theme"] .lead {
  font-size: 1.3125rem;
  font-weight: 400;
}
body[data-bs-theme="default-theme"] .mm-intro {
  max-width: 40rem;
  margin-inline: auto;
}

/* DNN's Text/HTML module wraps content in .Normal, which DNN styles as 12px grey.
   Let it inherit the site's 18px body text instead. */
body[data-bs-theme="default-theme"] .Normal {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* Section headings in long text pages (privacy policy etc.) a step smaller than page headings */
body[data-bs-theme="default-theme"] .mm-intro h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  margin-top: 2.5rem;
}

/* Contact form: line up with the text column, and hide Mobius's own h2 title
   (the page title comes from an HTML module above it as a proper h1) */
body[data-bs-theme="default-theme"] .app-mobius6-wrapper {
  max-width: 40rem;
  margin-inline: auto;
}
body[data-bs-theme="default-theme"] .app-mobius6-wrapper > h2 {
  display: none;
}

/* 2shine pads every module top and bottom; when two modules follow each other
   (e.g. intro text then a form) drop the top padding of the second one */
body[data-bs-theme="default-theme"] .DnnModule + .DnnModule .to-shine-background-container {
  padding-top: 0 !important;
}

/* Form fields: white boxes with a visible green-grey border, green focus ring */
body[data-bs-theme="default-theme"] .form-control,
body[data-bs-theme="default-theme"] .form-select {
  background-color: #fff;
  border: 1px solid #6B8A67;
}
body[data-bs-theme="default-theme"] .form-control:focus,
body[data-bs-theme="default-theme"] .form-select:focus {
  border-color: var(--mm-forest);
  box-shadow: 0 0 0 0.25rem rgba(47, 93, 58, 0.25);
}

/* Home: Monica's round portrait */
body[data-bs-theme="default-theme"] .mm-portrait {
  display: block;
  width: 320px;
  max-width: 80%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--mm-soft);
  box-shadow: 0 0 0 2px var(--mm-sage);
  margin: 0 auto 2rem;
}

/* Buttons from the mockup: amber "donate" pill and green outline pill */
body[data-bs-theme="default-theme"] .mm-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1875rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s;
}
body[data-bs-theme="default-theme"] .mm-btn-donate {
  background: var(--mm-amber);
  color: var(--mm-on-amber);
}
body[data-bs-theme="default-theme"] .mm-btn-donate:hover,
body[data-bs-theme="default-theme"] .mm-btn-donate:focus-visible {
  background: #C98F00;
  color: var(--mm-on-amber);
}
body[data-bs-theme="default-theme"] .mm-btn-outline {
  background: transparent;
  color: var(--mm-forest);
  border-color: var(--mm-forest);
}
body[data-bs-theme="default-theme"] .mm-btn-outline:hover,
body[data-bs-theme="default-theme"] .mm-btn-outline:focus-visible {
  background: var(--mm-forest);
  color: #fff;
}

/* Home: breathing space above Monica's portrait, as in the mockup */
body[data-bs-theme="default-theme"] .mm-hero {
  padding-top: clamp(1rem, 2.5vw, 2.25rem);
  padding-bottom: clamp(2rem, 5vw, 4.5rem);
}

/* Full-width pale green band (e.g. "Who lives here").
   The band module's outer 2shine container gets the background; .mm-band handles the spacing. */
body[data-bs-theme="default-theme"] .to-shine-background-container:has(.mm-band) {
  background: var(--mm-soft);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body[data-bs-theme="default-theme"] .mm-band {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* Jump links (#who-lives-here, #food-fund) land below the sticky header, not under it */
body[data-bs-theme="default-theme"] [id] {
  scroll-margin-top: 100px;
}

/* Species tiles */
body[data-bs-theme="default-theme"] .mm-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color: var(--mm-ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
body[data-bs-theme="default-theme"] .mm-tile:hover,
body[data-bs-theme="default-theme"] .mm-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47, 93, 58, 0.15);
  color: var(--mm-ink);
}
body[data-bs-theme="default-theme"] .mm-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
body[data-bs-theme="default-theme"] .mm-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem 1.5rem 1.5rem;
}
body[data-bs-theme="default-theme"] .mm-tile-title {
  font-family: var(--theme-font-headlines);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--mm-forest);
  line-height: 1.2;
}
body[data-bs-theme="default-theme"] .mm-tile-link {
  font-weight: 600;
  color: var(--mm-forest);
}

/* Placeholder photo for species tiles that don't have a picture yet */
body[data-bs-theme="default-theme"] .mm-tile-photo-placeholder {
  height: 200px;
  background: var(--mm-sage);
  color: var(--mm-on-amber);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* General page section spacing (e.g. the food fund block) */
body[data-bs-theme="default-theme"] .mm-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* Goal meter card (placeholder until Donorbox's own meter is embedded) */
body[data-bs-theme="default-theme"] .mm-meter {
  background: #fff;
  border: 1px solid var(--mm-sage);
  border-radius: 16px;
  padding: 1.5rem;
}
body[data-bs-theme="default-theme"] .mm-meter-figures {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
body[data-bs-theme="default-theme"] .mm-meter-track {
  height: 16px;
  border-radius: 999px;
  background: var(--mm-soft);
  overflow: hidden;
}
body[data-bs-theme="default-theme"] .mm-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--mm-amber);
}

/* Dashed box marking where an embed (Donorbox form) will go */
body[data-bs-theme="default-theme"] .mm-embed-placeholder {
  min-height: 420px;
  height: 100%;
  border: 2px dashed var(--mm-sage);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
}
body[data-bs-theme="default-theme"] .mm-embed-placeholder strong {
  font-family: var(--theme-font-headlines);
  font-size: 1.5rem;
  color: var(--mm-forest);
}

/* ---------- Species pages ---------- */

/* Photo carousel (Bootstrap 5) */
body[data-bs-theme="default-theme"] .mm-carousel {
  border-radius: 20px;
  overflow: hidden;
  background: var(--mm-sage);
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-item img,
body[data-bs-theme="default-theme"] .mm-carousel .mm-slide-placeholder {
  width: 100%;
  height: clamp(260px, 45vw, 480px);
  object-fit: cover;
  object-position: 50% 40%;
}
body[data-bs-theme="default-theme"] .mm-slide-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-on-amber);
  font-weight: 600;
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-control-prev,
body[data-bs-theme="default-theme"] .mm-carousel .carousel-control-next {
  width: 64px;
  opacity: 1;
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-control-prev-icon,
body[data-bs-theme="default-theme"] .mm-carousel .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  background-size: 45%;
  filter: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232F5D3A'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232F5D3A'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  margin-inline: 5px;
  border-radius: 50%;
  border: 2px solid var(--mm-forest);
  background-color: #fff;
  opacity: 0.85;
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-indicators .active {
  background-color: var(--mm-forest);
  border-color: #fff;
  opacity: 1;
}

/* "What we eat" / "Where we live" panels */
body[data-bs-theme="default-theme"] .mm-panel {
  height: 100%;
  background: #fff;
  border: 1px solid var(--mm-sage);
  border-radius: 16px;
  padding: 1.75rem;
}
body[data-bs-theme="default-theme"] .mm-panel h2 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}
body[data-bs-theme="default-theme"] .mm-panel p:last-child {
  margin-bottom: 0;
}

/* Individual animal cards (same look as the species tiles, but not links) */
body[data-bs-theme="default-theme"] .mm-animal {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
body[data-bs-theme="default-theme"] .mm-animal img,
body[data-bs-theme="default-theme"] .mm-animal .mm-tile-photo-placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 50% 40%;
}
body[data-bs-theme="default-theme"] .mm-animal-body {
  padding: 1.125rem 1.375rem 1.5rem;
}
body[data-bs-theme="default-theme"] .mm-animal-body h3 {
  margin: 0 0 0.25rem;
  color: var(--mm-forest);
}
body[data-bs-theme="default-theme"] .mm-animal-body p {
  margin: 0;
}
/* Species page sections: the module's own padding gives the spacing between them */
body[data-bs-theme="default-theme"] .mm-section-tight {
  padding-block: 0;
}

/* Bootstrap 5.3 carousel component. 2shine's compiled CSS leaves it out
   (its JavaScript is included), so it lives here. */
.carousel { position: relative; }
.carousel.pointer-event { touch-action: pan-y; }
.carousel-inner { position: relative; width: 100%; overflow: hidden; }
.carousel-inner::after { display: block; clear: both; content: ""; }
.carousel-item {
  position: relative; display: none; float: left; width: 100%;
  margin-right: -100%; backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) { .carousel-item { transition: none; } }
.carousel-item.active, .carousel-item-next, .carousel-item-prev { display: block; }
.carousel-item-next:not(.carousel-item-start), .active.carousel-item-end { transform: translateX(100%); }
.carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start { transform: translateX(-100%); }
.carousel-control-prev, .carousel-control-next {
  position: absolute; top: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 15%; padding: 0; color: #fff; text-align: center;
  background: none; border: 0; opacity: 0.5; transition: opacity 0.15s ease;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover, .carousel-control-next:focus { opacity: 0.9; outline: 0; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  display: inline-block; width: 2rem; height: 2rem;
  background-repeat: no-repeat; background-position: 50%; background-size: 100% 100%;
}
.carousel-indicators {
  position: absolute; right: 0; bottom: 0; left: 0; z-index: 2;
  display: flex; justify-content: center; padding: 0;
  margin: 0 15% 1rem; list-style: none;
}
.carousel-indicators [data-bs-target] {
  box-sizing: content-box; flex: 0 1 auto; padding: 0;
  text-indent: -999px; cursor: pointer; background-clip: padding-box;
  transition: opacity 0.6s ease;
}

/* Breadcrumb: spacing, size and "/" divider as in the mockup */
body[data-bs-theme="default-theme"] .theme-page-breadcrumb .container {
  padding-top: 1.5rem !important;
  padding-bottom: 0 !important;
}
body[data-bs-theme="default-theme"] .theme-page-breadcrumb .breadcrumb {
  font-size: 1rem;
}
body[data-bs-theme="default-theme"] .theme-page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--mm-ink);
}
body[data-bs-theme="default-theme"] .theme-page-breadcrumb .breadcrumb-item.active {
  color: var(--mm-ink);
}

/* Bring the first module up to the breadcrumb (not on the home page, which has its own spacing) */
body[data-bs-theme="default-theme"] #dnn_ContentPane > .DnnModule:first-child > .to-shine-background-container:not(:has(.mm-hero)) {
  padding-top: 1.5rem !important;
}

/* Supporters' wall */
body[data-bs-theme="default-theme"] .mm-supporters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
body[data-bs-theme="default-theme"] .mm-supporter {
  background: #fff;
  border-radius: 16px;
  padding: 1.125rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
body[data-bs-theme="default-theme"] .mm-supporter strong {
  font-weight: 600;
}
body[data-bs-theme="default-theme"] .mm-supporter span {
  color: var(--mm-forest);
}

/* Meet the animals: group heading with a link on the right */
body[data-bs-theme="default-theme"] .mm-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
body[data-bs-theme="default-theme"] .mm-group-head h2 {
  margin: 0;
}
body[data-bs-theme="default-theme"] .mm-group-head a {
  font-weight: 600;
}
/* Meet the animals: space between one group and the next group's heading */
body[data-bs-theme="default-theme"] .DnnModule:has(.mm-group-head) + .DnnModule .mm-group-head {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* "Three ways to help" cards */
body[data-bs-theme="default-theme"] .mm-help-card {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
body[data-bs-theme="default-theme"] .mm-help-card h3 {
  margin: 0;
  color: var(--mm-forest);
}
body[data-bs-theme="default-theme"] .mm-help-card p {
  flex-grow: 1;
  margin: 0;
}
body[data-bs-theme="default-theme"] .mm-help-card .mm-btn {
  font-size: 1.0625rem;
  padding: 0.65rem 1.5rem;
}

/* ---------- Individual animal pages ---------- */

/* Hero: photo beside name, facts and buttons */
body[data-bs-theme="default-theme"] .mm-animal-hero img {
  width: 100%;
  height: clamp(280px, 40vw, 440px);
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 20px;
  display: block;
}
body[data-bs-theme="default-theme"] .mm-eyebrow {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mm-forest);
  margin-bottom: 0.25rem;
}
body[data-bs-theme="default-theme"] .mm-animal-hero h1 {
  font-size: clamp(2.75rem, 2rem + 3vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

/* Facts box */
body[data-bs-theme="default-theme"] .mm-facts {
  margin: 0 0 1.5rem;
  background: #fff;
  border: 1px solid var(--mm-sage);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
}
body[data-bs-theme="default-theme"] .mm-facts dt {
  font-weight: 600;
  color: var(--mm-forest);
}
body[data-bs-theme="default-theme"] .mm-facts dd {
  margin: 0;
}

/* Photo grid */
body[data-bs-theme="default-theme"] .mm-photo,
body[data-bs-theme="default-theme"] .mm-photo-placeholder {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
body[data-bs-theme="default-theme"] .mm-photo-placeholder {
  background: var(--mm-sage);
  color: var(--mm-on-amber);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Named supporters as pills */
body[data-bs-theme="default-theme"] .mm-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
body[data-bs-theme="default-theme"] .mm-pills li {
  background: #fff;
  border: 1px solid var(--mm-sage);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}

/* Animal cards that link to the animal's own page */
body[data-bs-theme="default-theme"] .mm-animal-link {
  display: flex;
  flex-direction: column;
  color: var(--mm-ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
body[data-bs-theme="default-theme"] .mm-animal-link:hover,
body[data-bs-theme="default-theme"] .mm-animal-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47, 93, 58, 0.15);
  color: var(--mm-ink);
}
body[data-bs-theme="default-theme"] .mm-animal-link .mm-tile-link {
  display: block;
  margin-top: 0.5rem;
}

/* DNN's HTML editor turns image width/height attributes into inline styles
   (e.g. style="width:640px; height:640px"), which would override the sizes above.
   These rules win over the inline styles so pasted images keep their intended size. */
body[data-bs-theme="default-theme"] .mm-tile img,
body[data-bs-theme="default-theme"] .mm-animal img {
  width: 100% !important;
  height: 200px !important;
}
body[data-bs-theme="default-theme"] .mm-animal img {
  height: 220px !important;
}
body[data-bs-theme="default-theme"] .mm-photo {
  width: 100% !important;
  height: 240px !important;
}
body[data-bs-theme="default-theme"] .mm-portrait {
  width: 320px !important;
  height: auto !important;
}
body[data-bs-theme="default-theme"] .mm-animal-hero img {
  width: 100% !important;
  height: clamp(280px, 40vw, 440px) !important;
}
body[data-bs-theme="default-theme"] .mm-carousel .carousel-item img {
  width: 100% !important;
  height: clamp(260px, 45vw, 480px) !important;
}
