@import url("fonts.b7cdaf5df73e.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

:root {
  /* Base tokens */
  --primary-50: #fdf8fb;
  --primary-100: #fae7f1;
  --primary-400: #e281b3;
  --primary-500: #c40266;
  --primary-600: #b0025b;
  --primary-700: #890147;


  --primary-800: #52012b;
  --primary-900: #2a0016;
  --neutral-900: #222222;
  --neutral-700: #595959;
  --neutral-500: #848484;
  --neutral-300: #cecece;
  --neutral-200: #dedede;
  --neutral-100: #ececec;
  --neutral-50: #fefefe;
  --secondary-sky-50: #f4fafd;
  --secondary-sky-100: #dcf0f7;
  --secondary-sky-400: #79c4e1;
  --secondary-sky-500: #0491c6;
  --secondary-sky-700: #03749e;
  --secondary-sky-800: #02445d;
  --secondary-sky-900: #012a3a;
  --secondary-sage-400: #b2c091;
  --secondary-sage-900: #3b422b;
  --semantic-error: #d12c1d;
  --semantic-success: #39853b;
  --rounded: 4px;
  --rounded-avatar: 8px;
  --secondary-turmeric-100: #fbeacf;
  --secondary-turmeric-800: #7a510c;
  --secondary-turmeric-700: #94620f;
  --secondary-turmeric-500: #ea9b18;

  /* Named tokens */
  --link-color: var(--secondary-sky-700);
  --link-hover: var(--secondary-sky-500);
  --link-active: var(--primary-900);

  /* Width tokens */
  --max-width-content: 1440px;
  --desktop-x-padding: 72px;
  --mobile-x-padding: 16px;
  --donate-button-container-width: 238px;

  /* Navbar height tokens */
  --navbar-height-desktop: 99px;
  --navbar-height-mobile: 64px;

  /* Typography tokens */
  --body-bold-larger: 600 18px/125% "Poppins";
  --body-bold: 600 16px/24px "Poppins";
  --body-semi-bold: 600 16px/24px "Poppins";
  --body-semi-bold-small: 600 14px/150% "Poppins";
  --body-medium: 500 16px/150% "Poppins";
  --navigation-link: 500 18px/125% "Poppins";
  --form-section-description: 400 16px/150% "Poppins";
  --body-regular-small: 400 14px/150% "Poppins";
  --body-regular-smaller: 500 12px/150% "Poppins";
  --body-regular: 400 16px/24px "Poppins";
  --section-header: 600 44px/150% "Lora";
  --section-subheader: 600 24px/130% "Lora";
  --section-header-smaller: 600 32px/140% "Lora";
  --collection-short-description: 600 24px/125% "Lora";

  /* Layout tokens */
  --gap-between-form-submit-actions: 16px;
  --gap-between-form-field-elements: 8px;
  --gap-between-form-fields: 16px;
  --gap-between-entrance-header-and-social: 48px;
  --gap-between-page-sections: 56px;
  --gap-between-navigation-and-main: 64px;
  --gap-between-member-form-fields: 24px;
  --modal-padding: 24px;
  --gap-between-member-sections: 32px;
  --notifications-padding: 16px;

  /* Z-index tokens */
  --z-index-below-all: -1;
  --z-index-background: 0;
  --z-index-base: 1;
  --z-index-banner-gradient: 2;
  --z-index-banner-gradient-content: 3;
  --z-index-notifications: 4;
  --z-index-sticky-header: 5;
  --z-index-dropdown: 6;

  /* Shadow tokens */
  --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
                  0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                   0 2px 4px -2px rgba(0, 0, 0, 0.05);

  /* Collection card tokens */
  --collection-card-stack-top-offset: 18px;
  --collection-card-stack-middle-offset: 9px;

  /* Pagination tokens */
  --border-radius-medium: 5px;

  /*////// Icon tokens //////*/

  /* Font Awesome icons */
  /* TODO Replace with fa- classes */
  --fa-icon-circle-check-light: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 464c-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216 0 118.7-96.1 216-216 216zm141.6-275L217.2 376.1c-4.7 4.7-12.3 4.6-17-.1l-85.9-86.6c-4.7-4.7-4.6-12.3 .1-17l8.5-8.5c4.7-4.7 12.3-4.6 17 .1l69 69.5 163.4-162.1c4.7-4.7 12.3-4.6 17 .1l8.5 8.5c4.7 4.7 4.6 12.3-.1 17z"/></svg>');

  --fa-icon-magnifying-glass: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>');

  --fa-icon-circle-check-solid: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E");

  --fa-icon-circle-xmark-solid: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"/></svg>');

  --fa-icon-xmark-classic: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>');

  --fa-icon-pen-to-square-classic: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"/></svg>');

  --fa-icon-pen-classic: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"/></svg>');

  --fa-icon-link-classic: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"/></svg>');

  --fa-icon-chevron-down-classic: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');

  --fa-icon-user-classic: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"/></svg>');
}

html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-900);

  text-underline-position: "from-font";
  text-decoration-skip-ink: none;
  margin: 0;
}

/* Sticky Footer Layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
  position: relative;
}

/* Button reset */
button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

a {
  color: var(--link-color);

  &:hover {
    color: var(--link-hover);
  }
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  margin: 0;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 32px;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }
}

.hidden {
  display: none;
}

form h3 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

form .errorlist {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: var(--gap-between-form-fields);

  li {
    color: var(--semantic-error);
  }
}

form .field,
.field-display-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-field-elements);
}

/** Align a checkbox and label side by side */
form .field:has(input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
}

form .field.error,
form .field .error {
  color: var(--semantic-error);
}
form .field.error input,
form .field .error input {
  outline: 1px solid var(--semantic-error);
  border: 1px solid var(--neutral-50);
}

form label,
.form-saved-label {
  font: var(--body-bold);
  text-align: left;
}

form label:has(+ :required)::after {
  content: " *Required";
  color: var(--semantic-error);
  font: var(--body-regular);
}

form textarea {
  font: var(--body-regular);
  padding: 8px 16px;
  border-radius: var(--rounded, 4px);
  border: 1px solid var(--neutral-700);
  background: var(--neutral-50);
  height: 160px;
}

.field-display {
  font: var(--body-regular);
  color: var(--neutral-500);
}

.account-management-fields {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

allauth */ form label[for="id_remember"] {
  font: var(--body-regular);
}

form input,
form select {
  padding: 8px;
  font: var(--body-regular);
  border-radius: var(--rounded, 4px);
  border: 1px solid var(--neutral-700);
}

.date-type-selector {
  min-height: 40px;
}

form input[type="text"],
form input[type="textarea"],
form input[type="search"],
form input[type="url"] {
  border-radius: 4px;
  outline: 1px solid var(--neutral-700);
  border: 1px solid var(--neutral-50);
  width: 100%;
}

form input[type="text"]:focus,
form input[type="textarea"]:focus,
form input[type="text"]:focus-visible,
form input[type="textarea"]:focus-visible,
form input[type="text"]:active,
form input[type="textarea"]:active,
form input[type="search"]:focus,
form input[type="search"]:focus-visible,
form input[type="search"]:active {
  border-radius: 4px;
  outline: 2px solid -webkit-focus-ring-color;
  border: 1px solid var(--neutral-50);
}

.button-primary,
button[type="submit"] {
  padding: 12px 16px;
  border-radius: 4px;
  border: 2px solid var(--primary-500);
  background-color: var(--primary-500);
  color: var(--neutral-50);
  font: var(--body-bold);
  line-height: 100%;
  text-decoration: none;
  cursor: pointer;
  text-align: center;

  &:hover {
    background-color: var(--primary-900);
    border-color: var(--primary-900);
    color: var(--neutral-50);
  }

  &:active {
    background-color: var(--primary-700);
    border: 2px solid var(--primary-400);
  }

  &:focus-visible {
    border: 2px solid var(--neutral-50);
    background: var(--primary-500);
    outline: 2px solid var(--secondary-sky-500);
    outline-offset: 1px;
  }

  &:disabled,
  &:disabled:hover {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
    opacity: 0.5;
  }
}

form button[type="submit"].element-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--link-color);
  cursor: pointer;
  text-decoration: underline;
  width: unset;
  font: var(--body-regular);
  text-align: center;

  &:hover {
    color: var(--link-hover);
  }
}

.button-secondary {
  padding: 12px 16px;
  border-radius: var(--rounded, 4px);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-900);
  color: var(--neutral-900);
  font: var(--body-bold);
  line-height: 100%;
  text-decoration: none;
  cursor: pointer;
  text-align: center;

  &:hover {
    background: var(--neutral-100);
    color: var(--neutral-900);
  }

  &:active {
    border-radius: var(--rounded, 4px);
    border: 2px solid var(--primary-700);
    background: var(--neutral-100);
    /* Avoid shifting when adding 1px to border */
    margin: -1px;
  }

  &:focus-visible {
    border-radius: var(--rounded, 4px);
    outline-offset: 1px;
    border: 1px solid var(--neutral-900);
    background: var(--neutral-100);
    outline: 2px solid var(--secondary-sky-500);
  }

  &:disabled,
  &:disabled:hover {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
    opacity: 0.5;
  }
}

.button-primary,
.button-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/** TODO(HP-48): I think this may be redundant with the above */
form.form-inline {
  display: flex;
  flex-direction: row;
  gap: var(--gap-between-form-submit-actions);

  button[type="submit"] {
    width: unset;
  }
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-submit-actions);
}

.form-or {
  border: 0;
  line-height: 1em;
  position: relative;
  text-align: center;
  height: 1.5em;
  font-size: 16px;
  font-weight: 400;
}

.form-or::before {
  content: "";
  background: var(--neutral-200);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.form-or::after {
  content: attr(data-content);
  position: relative;
  padding: 0 7px;
  line-height: 1.5em;
  background-color: var(--neutral-50);
}

.confirm-email-form-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-submit-actions);
}

.notifications {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-index-notifications);
  padding: var(--notifications-padding) 0 0;

  /* TODO: let's figure out if we want this to be a list or not */
  .notifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .notification {
    min-width: 340px;
    width: fit-content;
    max-width: 600px;
    margin: auto;
    padding: 16px;
    border-radius: var(--rounded);
    background-color: var(--neutral-700);
    color: var(--neutral-50);
    border-radius: var(--rounded, 4px);
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
                0px 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .success {
    background-color: var(--semantic-success);
  }

  .error {
    background-color: var(--semantic-error);
  }
}

img {
  object-fit: contain;
}

button[type="submit"].google-button {
  display: flex;
  justify-content: center;
  padding: 15px;
  align-items: flex-start;
  gap: 15px;
  border: none;
  color: rgba(20, 20, 20, 0.54);
  font: var(--body-bold) 20px;
  font: semi-var(--body-bold) 20px;
  border-radius: 10px;
  background: var(--Neutral-50, #fefefe);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08),
              0px 2px 3px 0px rgba(0, 0, 0, 0.17);
  cursor: pointer;
  width:100%;

  /* TODO: figure out better press design */
  &:active,
  &:focus,
  &:hover {
    position: relative;
    top: 2px;
    left: 2px;
    box-shadow: 0px 0px -3px 0px rgba(0, 0, 0, 0.08),
                0px -2px -3px 0px rgba(0, 0, 0, 0.17);
  }
}

.entrance-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-fields);
  max-width: 400px;
  margin: auto;
}

.entrance-header {
  margin-bottom: var(--gap-between-entrance-header-and-social);
}

.password-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  span {
    color: var(--primary-500);
    cursor: pointer;
  }
}

/* ==========================================================================
  Homepage Styles
  ========================================================================== */

.home-hero-section {
  background-color: var(--primary-600);
  width: 100%;
}

.home-hero-container {
  position:relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width-content);
  margin: auto;
  gap: 48px;

  @media screen and (max-width: 1580px) {
    max-width: 100%;
  }
}

.home-hero-image-desktop {
  width: 400px;
  height: auto;
  object-fit: stretch;
  flex-shrink: 0;
  align-self: flex-end;
}

.hero-right{
  width:541px;
}

.home-hero-image-mobile {
  display: none;
}

.home-hero-content-wrapper {
  position:absolute;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 56px 0 48px;
  width:100%;

  h1 {
    text-align: center;
  }

  .home-hero-content-description {
    text-align: center;
    margin-bottom: 48px;
  }

  .home-hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
  }
}

@media screen and (max-width: 1327px) {
  .home-hero-content-wrapper {
    .home-hero-content{
      max-width: 500px;
    }
  }

  .home-hero-image-desktop {
    width: 300px;
  }

  .hero-right{
    width:441px;
  }
}

@media screen and (max-width: 1093px) {
  .home-hero-image-desktop {
    width: 285px;
  }

  .hero-right{
    width: 385px;
  }


  .home-hero-content-wrapper {
    .home-hero-content{
      max-width: 300px;
    }
  }


}

@media screen and (max-width: 910px) {
  .home-hero-image-desktop {
    width: 235px;
  }

  .hero-right{
    width: 335px;
  }

  h1{
    font-size:34px;
  }

}

@media screen and (max-width: 816px) {
  .home-hero-container {

    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .home-hero-content-wrapper {
    position:relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    order: 1;

    .home-hero-content-description {
      max-width: 300px;
      margin: 16px auto 32px;
    }
  }

  .home-hero-image-desktop {
    display: none;
  }

  .home-hero-image-mobile {
    display: block;
    min-width: 60%;
    width: 100%;
    height: auto;
    object-fit: stretch;
    align-self: flex-end;
    order: 2;
  }
}

/* ==========================================================================
  Edit Settings Screen
  ========================================================================== */

.member-edit-container {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 600px;
}

.member-edit-form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.member-edit-image-container {
  margin: 28px 0;
}

.member-edit-image {
  border-radius: var(--rounded-avatar);
  width: 96px;
  height: 96px;

  @media screen and (min-width: 768px) {
    width: 128px;
    height: 128px;
  }
}

.member-edit-form-fields-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-fields);
}

.member-edit-container .image-uploader .image-uploader-preview-img {
  width: 178px;
  height: 178px;
  max-width: 178px;
  max-height: 178px;
  flex: 1 1 178px;
  object-fit: cover;
  border-radius: 50%;
}

.member-edit-container .image-uploader .image-uploader-preview-container {
  min-height: 178px;
  max-height: 178px;
}

/* Password form button layout */
.password-form-buttons {
  display: flex;
  gap: var(--gap-between-form-submit-actions);
}

@media screen and (max-width: 768px) {
  .password-form-buttons {
    flex-direction: column;
  }
}

.member-form-buttons {
  display: flex;
  gap: var(--gap-between-form-submit-actions);
  margin-top: 32px;
}

@media screen and (max-width: 768px) {
  .member-form-buttons {
    flex-direction: column;
  }
}

.email-form-buttons,
.password-form-buttons {
  margin-top: 28px;
  display: flex;
  gap: var(--gap-between-form-submit-actions);
}

/* ==========================================================================
  Profile Screen
  ========================================================================== */

.member-detail {
  dl,
  dd {
    margin: 0;
    padding: 0;
  }

  dt {
    font: var(--body-regular);
    color: var(--neutral-900);
  }

  dd {
    font: var(--body-regular-small);
    color: var(--neutral-700);
  }
}

.member-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.member-stats {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
}

.member-stats-item {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  color: var(--neutral-900);
}

.member-stats-item-label {
  font-weight: 500;
}

.member-header {
  display: flex;
  flex-direction: column;
  gap: 28px;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
  }
}

.member-left {
  min-width: 265px;
  flex-shrink: 0;
}

.member-left-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}

.member-right {
  min-width: 100%;
  max-width: 100%;

  @media screen and (min-width: 768px) {
    max-width: 700px;
    min-width: 0;
    flex: 1;
  }
}

.member-image {
  width: 128px;
  height: 128px;
}

.member-edit-container {
  h1 {
    font: var(--section-header);
    margin-bottom: 8px;
  }

  h2 {
    font: var(--section-header-smaller);
  }
}

.member-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

/* ==========================================================================
  Member Donation Block
  ========================================================================== */

.member-donation-section,
.homepage-donation-section {
  border-radius: 8px;
  padding: 0 var(--desktop-x-padding);
}

.member-donation-section {
  background: var(--secondary-sky-50);
}

.homepage-donation-section {
  background: var(--primary-50);
}

.donation-inner {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.donation-content {
  padding: 56px 0 72px;
  max-width: 756px;
}

.donation-content p {
  margin-bottom: 48px;
}

.donation-link {
  padding: 12px 16px;
  border-radius: 6px;
  width: fit-content;
}

.donation-image {
  max-width: 314px;
  min-width: 250px;
  display: flex;
  align-self: flex-end;

  img {
    max-width: 100%;
  }
}

.homepage-donation-section .donation-image {
  max-width: 440px;
}

@media screen and (max-width: 768px) {
  .member-donation-section,
  .homepage-donation-section {
    padding: 0 var(--mobile-x-padding);
  }

  .donation-inner {
    flex-direction: column;
    gap: 0;
  }

  .donation-content {
    max-width: 100%;
  }

  .donation-image {
    max-width: 400px;
    width: 100%;
    margin: 0 0 0 auto;
  }
}

.signup-background-image {
  position: fixed;
  bottom: 0;
  max-height: 390px;
  width: unset;
  right: 0;
  z-index: var(--z-index-below-all);
}

section header {
  font: var(--section-header);
}

/* ==========================================================================
  Account Settings Account Management Section

  Uses checkboxes to toggle visibility of the forms to avoid javascript.
  ========================================================================== */

.field-display-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-fields);
}

.field-display-container-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* INITIAL STATE
  - Forms are hidden
  - Cancel buttons are hidden
  - Checkboxes are hidden (always)
*/
.form-change-email-container,
.form-change-password-container,
.form-saved-change-button-cancel,
.form-saved-change-button-activate ~ input {
  display: none;
}
.form-saved-change-button-activate {
  display: block;
  width: 100%;
}

/* ON CHECKED STATE
  - Forms are visible
  - Cancel buttons are visible
  - Activate buttons are hidden
*/
.field-display-container:has(#change-email:checked)
                            .form-change-email-container,
.field-display-container:has(#change-email:checked)
                            .form-saved-change-button-cancel,
.field-display-container:has(#change-password:checked)
                            .form-change-password-container,
.field-display-container:has(#change-password:checked)
                            .form-saved-change-button-cancel,
.field-display-container:has(.has-errors) .has-errors {
  display: block;
}
.field-display-container:has(#change-email:checked)
                            .field-display-container-right,
.field-display-container:has(#change-password:checked)
                            .field-display-container-right {
  display: none;
}

.member-edit-button {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  padding: 12px 16px; /* TODO(HP-50): convert to var? */
  width: fit-content;
  font-size: 14px;
  line-height: 1em;
  height: fit-content;

  i {
    mask-image: var(--fa-icon-pen-to-square-classic);
    background-color: var(--neutral-900);
    display: inline-block;
    width: 13px;
    height: 13px;
  }
}

.disconnect-google-form-input {
  display: none;
}

.field-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--body-bold);
  font-size: 16px;
  line-height: 150%;
  font-weight: 600;
  color: var(--neutral-900);
}

.field-description {
  margin: 4px 0 8px;
}

.field-help-text {
  color: var(--neutral-500);
  font: var(--body-regular-small);
}

form hr {
  border: 0;
  border-top: 1px solid var(--neutral-200);
  margin: 16px 0 32px 0; /** Figma shows 32px/48px margin but this compensates for existing gap */
}

/* This works similar to the `form hr` but was needed in a separate case for
the collection update form. This would be a good frontend refactor opportunity
for with spare spoons to do some cleanup. */
.form-actions-divider {
  margin-top: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--neutral-200);
}

.section-header {
  font: var(--section-header);
}

.section-subheader {
  font: var(--section-subheader);
  margin-bottom: 8px;
}

.input-character-counter {
  font: var(--body-regular-small);
  color: var(--neutral-500);
}

.nav-member-profile-link {
  border-radius: 36px;
  width: 48px;
  height: 48px;
}

.create-collection-container,
.update-collection-container,
.create-pin-container {
  max-width: 600px;
  margin: auto;
}

.create-pin-container-description {
  margin-bottom: 0;
}

.collection-form-buttons {
  display: flex;
  gap: var(--gap-between-form-submit-actions);
  margin-top: 28px;
}

@media screen and (max-width: 768px) {
  .collection-form-buttons {
    flex-direction: column;
  }
}

.collection-detail-content-container {
  display: flex;
  width: 100%;
  min-height: 250px;
  gap: 32px;
}

.collection-detail-content-section {
  max-width: 700px;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collection-detail-header,
.pin-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
}

.collection-detail-header h1,
.pin-detail-header h1 {
  font: var(--section-header);
  margin-bottom: 16px;
  line-height: 1;
}

.collection-detail-actions,
.pin-detail-actions {
  order: 2;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  height: fit-content;
  flex-shrink: 0;
}

.collection-detail-owner,
.pin-detail-owner {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
}

.collection-detail-owner-text {
  line-height: 1.1;
}

.collection-detail-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.collection-detail-stats-item {
  font: var(--body-semi-bold-small);
  display: flex;
  align-items: center;
  gap: 16px;
}

.collection-detail-short-description {
  font: var(--collection-short-description);
}

@media screen and (max-width: 768px) {
  .collection-detail-content-container {
    flex-direction: column;
    gap: 16px;
  }

  .collection-detail-header,
  .pin-detail-header {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }

  .collection-detail-header h1,
  .pin-detail-header h1 {
    font: var(--section-header-smaller);
  }

  .collection-detail-actions,
  .pin-detail-actions {
    order: 1;
  }

  .collection-detail-image-section {
    min-height: 200px;
    max-width: 100%;
    min-width: 100%;
  }
}

.collection-detail-stats-item-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.collection-detail-stats-item-location img {
  width: 16px;
  height: 16px;
}

.collection-detail-image-section {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.collection-detail-default {
  .collection-detail-image-section {
    flex: 1 1 0;
    min-width: 300px;
    background-image: url("/static/web/images/collection-detail-background.4c0c0bd1b20c.png");
    backdrop-filter: blur(10px);
  }
}

/* ==========================================================================
  Custom Collection Header
  ========================================================================== */

.custom-collection-section {
  background-color: var(--theme-bg);
  position: relative;
  padding: 0 var(--desktop-x-padding);

  /* Default Maroon theme */
  --theme-bg: var(--primary-800);
  --theme-links: var(--primary-400);

  /* Sage theme */
  &[data-theme="sage"] {
    --theme-bg: var(--secondary-sage-900);
    --theme-links: var(--secondary-sage-400);
  }

  /* Midnight sky theme */
  &[data-theme="midnight-sky"] {
    --theme-bg: var(--secondary-sky-900);
    --theme-links: var(--secondary-sky-400);
  }

  .section-middle {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: var(--z-index-base);
    padding: 56px 0 48px;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      right: -60px;
      width: 100%;
      height: 100%;
      max-height: 500px;
      background-image: url("/static/web/images/collection-detail-background-custom.d6866fa02694.png");
      background-size: contain;
      background-position: top right;
      background-repeat: no-repeat;
      opacity: 0.1;
      pointer-events: none;
      z-index: var(--z-index-background);

      @media screen and (max-width: 768px) {
        right: -16px;
        top: 0;
        width: 200px;
        background-image: url("/static/web/images/collection-detail-background-custom-mobile.ebb29bbc1f51.png");
      }
    }

    @media screen and (max-width: 768px) {
      padding: 48px 0 32px;
    }
  }

  .section-inner {
    max-width: var(--max-width-content);
    margin: auto;
    position: relative;
    z-index: var(--z-index-base);
  }

  @media screen and (max-width: 768px) {
    padding: 0 var(--mobile-x-padding);
  }
}

.collection-detail-custom {
  color: white;
  position: relative;

  .collection-detail-short-description {
    font-size: 32px;
  }

  /* white icon workaround */
  .collection-detail-stats-item-location img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7495%)
            hue-rotate(270deg) brightness(100%) contrast(100%);
  }

  .disclosure-button,
  .collection-detail-owner-text a {
    color: var(--theme-links);
  }

  .disclosure-button:hover,
  .disclosure-button:active,
  .collection-detail-owner-text a:hover,
  .collection-detail-owner-text a:active {
    color: var(--theme-links);
    opacity: 0.8;
  }

  .collection-detail-actions {
    position: absolute;
    top: 0;
    right: 0;
    z-index: var(--z-index-base);
  }
  .collection-detail-image-section {
    display: none;
  }

  @media screen and (max-width: 768px) {
    .collection-detail-actions {
      position: relative;
      margin-bottom: 16px;
    }
  }
}

/* ==========================================================================
  Collection Banner Header
  ========================================================================== */

.collection-banner-header {
  position: relative;
  width: 100vw;
  height: 800px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: #000;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.banner-header-container {
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.banner-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: var(--z-index-banner-gradient);
}

.banner-content {
  position: relative;
  z-index: var(--z-index-banner-gradient-content);
  padding: 0 var(--desktop-x-padding) 48px;
  text-align: left;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.banner-title {
  color: var(--neutral-50, #fefefe);
  font-family: Lora;
  font-size: 72px;
  font-style: italic;
  font-weight: 600;
  line-height: 125%;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.banner-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.banner-scroll-down-btn {
  display: flex;
  height: 88px;
  padding: 24px 4px;
  align-items: center;
  gap: 10px;
  border-radius: 400px;
  border: 2px solid var(--neutral-50, #fefefe);
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.banner-scroll-down-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(2px);
}

.banner-scroll-down-btn:active {
  transform: translateY(1px);
}

.banner-scroll-down-btn svg {
  transition: transform 0.3s ease;
}

.banner-scroll-down-btn:hover svg {
  transform: translateY(2px);
}

.banner-background-video-container,
.banner-background-image,
.banner-background-default {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.banner-background-default{
  background-color:#000;
}

.banner-background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .collection-banner-header {
    height: 600px;
  }

  .banner-title {
    font-size: 48px;
  }

  .banner-content {
    padding: 0 var(--mobile-x-padding) 48px;
  }

  .banner-title-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
  Custom Collection Form Themes
  ========================================================================== */

.form-custom-collection-banner-fields-container {
  margin-top: 28px;
}

.form-custom-collection-banner-fields {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-custom-collection-description {
  margin-bottom: 24px;
}

.form-custom-collection-label {
  display: flex;
  align-items: center;
  gap: 8px;

  .form-radio {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.form-custom-collection-label {
  margin-bottom: 16px;
}

.form-custom-collection-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
  margin-right: 12px;
}

.form-custom-collection-circle[data-theme="maroon"] {
  background-color: var(--primary-800);
}

.form-custom-collection-circle[data-theme="midnight-sky"] {
  background-color: var(--secondary-sky-900);
}

.form-custom-collection-circle[data-theme="sage"] {
  background-color: var(--secondary-sage-900);
}

/* Make the radio button and label clickable */
.form-custom-collection-label .form-radio {
  cursor: pointer;
}

.form-custom-collection-label .radio-label {
  font-weight: 500;
}

.button-collection-actions {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.5em;
  font: var(--body-semi-bold-small);
  padding: 12px;
}

.edit-button-icon {
  mask-image: var(--fa-icon-pen-classic);
  background-color: var(--neutral-900);
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 8px;
}

.share-button-icon {
  mask-image: var(--fa-icon-link-classic);
  background-color: var(--neutral-900);
  display: inline-block;
  width: 16px;
  height: 13px;
}

.x-button-icon {
  mask-image: var(--fa-icon-xmark-classic);
  background-color: var(--neutral-900);
  display: inline-block;
  width: 11px;
  height: 13px;
}

@media screen and (max-width: 481px) {
  .collection-detail-image-section {
    min-height: 100px;
  }
}

.pin-detail-title {
  margin-bottom: 16px;
}

.pin-detail {
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }
}

.pin-detail-content {
  display: flex;
  min-height: 458px;
}

.pin-detail-image img {
  max-width: 100%;
  min-width: 100%;
}

.pin-detail-image,
.pin-detail-copy {
  width: 50%;
}

.pin-detail-copy {
  padding-left: 48px;
}

.pin-detail-disclosure-mobile {
  display: none;
}

.pin-detail-disclosure-desktop {
  display: block;
}

.pin-detail-metadata-image {
  width: 100%;
  margin: 28px 0;
}

.pin-detail-metadata-image img {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .pin-detail h2 {
    font-size: 24px;
  }

  .pin-detail h3 {
    font-size: 20px;
  }

  .pin-detail-content {
    display: block;
  }

  .pin-detail-image,
  .pin-detail-copy {
    width: 100%;
  }

  .pin-detail-copy {
    padding-left: 0;
    margin-top: 32px;
  }

  .pin-detail-disclosure-mobile {
    display: block;
  }

  .pin-detail-disclosure-desktop {
    display: none;
  }
}

/* TODO: Reconcile form-section with form-section-field-group */
.form-section {
  display: flex;
  flex-direction: column;
}

.form-section h2 {
  font: var(--section-header-smaller);
  margin: 0;
  margin-bottom: 8px;
}

.form-section > p {
  font: var(--form-section-description);
  margin: 0;
  margin-bottom: 28px;
}

.form-section > *:not(h2):not(p) {
  margin-top: 0;
}

.form-section-description {
  font: var(--form-section-description);
}

.field-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  align-items: center;
}

.form-section-field-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-between-form-fields);
  padding: 28px 0;
}

.form-switch {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-size: 1.5em;
  cursor: pointer;
  user-select: none;
  margin-bottom: var(--gap-between-form-fields);
}

/* Hide the checkbox visually but keep it accessible for screen readers */
.form-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-switch .switch {
  position: relative;
  width: 80px;
  height: 30px;
  background: var(--neutral-200);
  border-radius: 1em;
  transition: background 0.2s;
  display: inline-block;
  vertical-align: middle;
  fill: var(--Neutral-50, #fefefe);
  margin-top: 8px;
}

.form-switch .switch-label::before {
  content: attr(data-label) " off";
  font-family: var(--body-bold);
  font: var(--body-medium);
  color: var(--neutral-900);
}

.form-switch input[type="checkbox"]:checked ~ .switch-label::before {
  content: attr(data-label) " on";
}

.form-switch .switch::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  background: var(--neutral-50);
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--neutral-500);
}

.form-switch input[type="checkbox"]:checked ~ .switch {
  background: var(--primary-500);
}

.form-switch input[type="checkbox"]:checked ~ .switch {
  content: "Open";
}

.form-switch input[type="checkbox"]:checked ~ .switch::before {
  left: calc(100% - 24px - 3px);
  border: 1px solid var(--primary-700);
}

.form-switch input[type="checkbox"]:focus ~ .switch {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.form-switch input[type="checkbox"]:disabled ~ .switch {
  background: var(--neutral-200);
  cursor: not-allowed;
}

.form-switch input[type="checkbox"]:disabled ~ .switch::before {
  background: var(--neutral-200);
}

.form-switch .label {
  color: var(--neutral-900);
  font-weight: 400;
  transition: color 0.2s;
}

.form-switch input[type="checkbox"]:disabled ~ .label {
  color: #bbb;
}

.media-type-select {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.media-type-select li {
  list-style: none;
}

.media-type-select label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 400;
}

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.media-type-select input[type="radio"] {
  margin: 0;
}

.media-type-select input[type="radio"]:checked + label {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
}

@media screen and (max-width: 768px) {
  .media-type-select {
    flex-direction: column;
    gap: 0.5rem;
  }

  .button-mobile-full-width {
    width: 100% !important;
  }
}

.divider-full {
  border-bottom: 1px solid var(--neutral-200);
  height: 1px;
  width: 100%;
}

.divider {
  border-bottom: 1px solid var(--neutral-200);
  height: 1px;
  width: calc(100% - var(--desktop-x-padding) * 2);
  max-width: 1296px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .divider {
    width: calc(100% - var(--mobile-x-padding) * 2);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pin-metadata {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pin-metadata-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pin-metadata-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-900);
}

.pin-metadata-value {
  font-size: 12px;
  color: var(--neutral-900);
}

.pin-metadata-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pin-metadata-value a {
  color: inherit;
}

.pin-list h1 {
  margin-bottom: 24px;
}

.collection-list-header {
  position: sticky;
  top: var(--navbar-height-desktop);
  background: white;
  z-index: var(--z-index-sticky-header);
  border-bottom: 1px solid var(--neutral-200);
  padding: 24px var(--desktop-x-padding);

  @media screen and (max-width: 768px) {
    padding: 24px var(--mobile-x-padding);
    top: var(--navbar-height-mobile);
  }
}

.collection-list-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

@media screen and (max-width: 768px) {
  .collection-list-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

.collection-list-pagination-results {
  font: var(--body-regular-smaller);
  margin-bottom: 48px;
  color: var(--neutral-700);
  font-weight: 400;
}

/* Used by Pin Card and Collection Card */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Collection card container must account for the top offset of the stack */
.collection-card-offset {
  padding-top: var(--collection-card-stack-top-offset);
  gap: calc(24px + var(--collection-card-stack-top-offset)) 24px;
}

/* Pin tags on pin card and pin detail page */
.pin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pin-tag {
  display: flex;
  padding: 0 4px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: var(--rounded-sm, 2px);
  background: var(--secondary-turmeric-100);
  border: 1px solid var(--secondary-turmeric-800);
  color: var(--secondary-turmeric-800);
  font-size: 12px;
  width: fit-content;
}

.pin-tag-icon {
  width: 12px;
  height: 12px;
  margin-right: 1px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--secondary-turmeric-800);
}

/* Pin Date Fields */
.pin-date-fields-container,
.pin-tags-fields-container {
  margin-bottom: 32px;
  .year-range-container {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
  }

  .date-type-field {
    margin-bottom: 8px;
  }

  .year-input {
    width: 50%;
  }

  .date-input-and-icon-container {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  input[type="number"] {
    width: 100%;
  }

  input[type="number"],
  input[type="date"] {
    margin-top: 6px;
  }

  input[type="date"] {
    width: 100%;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    display: block;
    width: 18px;
    height: 18px;

    /* Get the calendar icon to show up in datepicker*/
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"      viewBox="0 0 448 512"><path fill="%23c40266" d="M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192z"/></svg>');
  }

  .calendar-icon {
    color: var(--primary-500);
  }

  @media screen and (max-width: 768px) {
    .date-field-container .year-range-container {
      flex-direction: column;
      gap: 0.5rem;
    }

    .year-input {
      width: 100%;
    }
  }
}

.pagination {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin-top: 48px;
}
.pagination ul {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.pagination li {
  list-style: none;
}
.pagination-button {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #222;
  background: none;
  color: #222;
  text-decoration: none;
  border-radius: var(--border-radius-medium);
  font: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pagination-button:hover:not(.disabled) {
  border-radius: var(--border-radius-medium);
  border: 1px solid var(--primary-900);
  background: var(--primary-900);
  color: var(--neutral-50);
}
.pagination-button:active:not(.disabled) {
  border: 1px solid var(--primary-400);
  background: var(--primary-700);
  color: var(--neutral-50);
}
.pagination-button-active {
  border: 1px solid var(--primary-400);
  background: var(--primary-700);
  color: var(--neutral-50);
}
.pagination-button:focus-visible {
  outline: 2px solid var(--secondary-sky-700);
  background: var(--primary-700);
  outline-offset: 2px;
}
.pagination-button.disabled,
.pagination-button[disabled] {
  border-radius: var(--border-radius-medium);
  border: 1px solid var(--neutral-500);
  opacity: 0.5;
  background: var(--neutral-200);
  user-select: none;
  pointer-events: none;
}
.pagination-info {
  margin-top: 10px;
  font-size: 14px;
  color: var(--neutral-500);
}

/* Pin detail pagination */
.pin-detail .pagination ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Prevent flicker during HTMX swaps */
#pin-detail-container {
  min-height: 650px;
}

.member-section-header {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.member-image-placeholder {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background-color: var(--secondary-turmeric-100);
  border-radius: 50%;
  border: 1px solid var(--secondary-turmeric-700);
  background: var(--secondary-turmeric-100);
  /* Don't let the image shrink when scaled, keep width at baseline */
  flex: 0 0 128px;
}

.navbar-member-image {
  width: 48px;
  height: 48px;
}

.rounded-image {
  border-radius: 50%;
  object-fit: cover;
}

.max-width-content {
  max-width: var(--max-width-content);
  margin: auto;
}

.auth-errors-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-errors-error {
  color: var(--semantic-error);
}

.auth-errors-success {
  color: var(--semantic-success);
}

.password-hint-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.password-hint {
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  position: relative;
}

.password-hint i {
  width: 1em;
  height: 1em;
  position: absolute;
  left: 0;
  top: 5px;
}

.password-hint.password-hint-initial i {
  background-color: var(--neutral-900);
  mask-image: var(--fa-icon-circle-check-light);
}
.password-hint.password-hint-error i {
  background-color: var(--semantic-error);
  mask-image: var(--fa-icon-circle-xmark-solid);
}

.password-hint.password-hint-success i {
  background-color: var(--semantic-success);
  mask-image: var(--fa-icon-circle-check-solid);
}

.password-hint-error {
  color: var(--semantic-error);
}

.password-hint-success {
  color: var(--semantic-success);
}

.password-toggle {
  color: blue;
}

.required-indicator {
  color: var(--semantic-error);
  font: var(--body-regular);
  margin-left: 4px;
}

.cancel-modal-content {
  .modal-title {
    font-size: 18px !important;
    font-family: Poppins !important;
  }

  .modal-text {
    margin: 24px 0 48px;
  }
}

.modal-actions {
  display: flex;
  gap: 16px;
  flex-direction: row;
}

/* ==========================================================================
  Sitewide Donation Section
  ========================================================================== */
.donation-section {
  background: var(--primary-600);
  height: 146px;
  padding: 0 var(--desktop-x-padding);

  @media screen and (max-width: 768px) {
    padding: 0;
  }
}

.donation-section-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--max-width-content);
  margin: auto;
  height: 100%;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 0;
  }
}

.donation-section-left,
.donation-section-right {
  height: 100%;
  display: flex;
  align-items: center;
}

.donation-section-left {
  width: 80%;
  background-color: var(--primary-600);
  color: var(--Neutral-50, #fefefe);
  justify-content: flex-start;

  @media screen and (max-width: 768px) {
    padding: 24px var(--mobile-x-padding);
  }
}

.donation-section-right {
  width: 20%;
  background-color: var(--primary-100);
  justify-content: center;

  @media screen and (max-width: 1580px) {
    padding: 0 72px;
    margin-right: calc(var(--desktop-x-padding) * -1);
    width: var(--donate-button-container-width);
  }

  @media screen and (max-width: 768px) {
    margin-right: 0;
    padding: 24px var(--mobile-x-padding);
  }
}

@media screen and (max-width: 768px) {
  .donation-section {
    background: transparent;
    height: fit-content;

    .button-primary {
      width: 100%;
    }
  }

  .donation-section-inner {
    flex-direction: column;
  }

  .donation-section-left {
    width: 100%;
  }

  .donation-section-right {
    width: 100%;
  }
}

/* ==========================================================================
  Home Featured Collections Section
  ========================================================================== */

.home-featured-collections-container {
  padding-bottom: 32px;
}

.home-featured-collections-description {
  max-width: 800px;
  margin-bottom: 48px;
}

/* ==========================================================================
  Home Testimonials Section
  ========================================================================== */

.home-testimonials-section {
  background-color: var(--primary-900);
  color: var(--neutral-50);
  padding: 120px var(--desktop-x-padding) 160px;
  position: relative;

  @media screen and (max-width: 768px) {
    padding: 60px var(--mobile-x-padding);
  }
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
  }
}

.testimonials-container {
  flex: 1;
  max-width: 600px;
  min-height: 200px;
  margin: 0 40px;
  position: relative;
  overflow: hidden;

  @media screen and (max-width: 768px) {
    margin: 0;
    width: 100%;
  }
}

.testimonial-slide {
  display: none;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  &.active {
    display: block;
    opacity: 1;
  }
}

.testimonial-quote {
  font-family: Lora;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 2rem 0;

  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.testimonial-author {
  font-size: 1rem;
  font-style: normal;
  color: var(--neutral-50);
  line-height: 1.5;
}

.testimonial-nav-button {
  background: white;
  border: 1px solid var(--neutral-900);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-50);
  cursor: pointer;
  flex-shrink: 0;

  /* TODO: Add hover and active states */

  svg {
    color: var(--neutral-900);
    width: 16px;
    height: 16px;
  }
}

.testimonial-nav-desktop {
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.testimonial-nav-mobile {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
  }
}

.testimonial-indicators {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;

  @media screen and (max-width: 768px) {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 40px auto 0;
  }
}

.testimonial-counter {
  font-size: 12px;
  color: var(--neutral-300);
  font-weight: 400;

  @media screen and (max-width: 768px) {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
  Home Sections - Shared Base Styles
  ========================================================================== */

.home-section {
  z-index: var(--z-index-base);
  padding: 84px var(--desktop-x-padding) 56px;

  @media screen and (max-width: 768px) {
    padding: 56px var(--mobile-x-padding);
  }
}

.home-section-inner {
  max-width: calc(var(--max-width-content));
  margin: auto;
  display: flex;
  flex-direction: column;
}

.home-section-description {
  max-width: 800px;
  margin-bottom: 48px;
}

/* ==========================================================================
  Home About Section
  ========================================================================== */

.home-about-section {
  background-color: var(--primary-800);
  color: var(--neutral-50);
  z-index: var(--z-index-background);

  /* Custom breakpoints to accommodate overlapping image design in the Home Collection Themes Section */

  @media screen and (max-width: 1108px) {
    padding-top: 110px;
  }

  @media screen and (max-width: 578px) {
    padding-top: 160px;
  }
}

.home-about-section-white {
  background-color: white;
  color: var(--neutral-900);
}

.home-about-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  max-width: 920px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 24px;
  }
}

.home-about-block {
  width: calc(50% - 24px);
  h3 {
    font-size: 24px;
  }

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.home-about-bg-image {
  max-width: 64%;
  height: auto;
  align-self: flex-end;
  margin-bottom: -56px;

  /* media queries for one-off image layout */
  @media screen and (max-width: 1580px) {
    margin-right: calc(var(--desktop-x-padding) * -1);
  }

  @media screen and (max-width: 1096px) {
    margin-top: 0;
    max-width: 780px;
    width: 780px;
  }

  @media screen and (max-width: 768px) {
    max-width: 100%;
    margin-right: calc(var(--mobile-x-padding) * -1);
  }
}

/* ==========================================================================
  Home Collection Themes Section
  ========================================================================== */
.home-section .button-primary {
  width: fit-content;
  margin-bottom: 64px;
  z-index: var(--z-index-base);
}

.home-collection-themes-bg-image {
  max-width: 530px;
  margin-bottom: -235px;
  transform: scaleX(-1);
  z-index: var(--z-index-base);

  /* Custom breakpoints to accommodate overlapping image design into the Home About Section */
  @media screen and (max-width: 1580px) {
    margin-right: calc(var(--desktop-x-padding) * -1);
  }

  @media screen and (max-width: 1108px) {
    margin-bottom: -188px;
    width: 390px;
  }

  @media screen and (max-width: 768px) {
    margin-right: calc(var(--mobile-x-padding) * -1);
  }

  @media screen and (max-width: 578px) {
    transform: scaleX(1);
  }

  @media screen and (max-width: 389px) {
    max-width: 320px;
    margin-bottom: -164px;
  }
}

.home-collection-themes-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin-bottom: -300px;
  position: relative;
  z-index: var(--z-index-banner-gradient);

  @media screen and (max-width: 1108px) {
    max-width: 100%;
    margin-bottom: 64px;
  }

  @media screen and (max-width: 900px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.theme-image-card {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 4px;
  background: lightgray 50% / cover no-repeat;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12);
  }

  @media screen and (max-width: 1108px) {
    width: 100%;
  }
}

.theme-image-label {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  height: 26px;
  padding: 0 8px;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  border: 1px solid var(--secondary-sky-800);
  background: var(--secondary-sky-50);
  color: var(--secondary-sky-800);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;

  @media screen and (max-width: 389px) {
    font-size: 10px;
    padding: 0 6px;
  }
}

/* Theme-specific background images */
.theme-image-card[href*="creativity"] {
  background-image: url("/static/web/images/creativity-tile.89b7af32fa3f.png");
}

.theme-image-card[href*="resistance"] {
  background-image: url("/static/web/images/resistance-tile.009d7765ce58.png");
}

.theme-image-card[href*="movements"] {
  background-image: url("/static/web/images/movements-tile.0f0eb674d5bb.png");
}

.theme-image-card[href*="the_world_around_us"] {
  background-image: url("/static/web/images/world-around-us-tile.9d8b1968536b.png");
}

.theme-image-card[href*="rituals"] {
  background-image: url("/static/web/images/rituals-tile.fc3f6634e9ef.png");
}

.theme-image-card[href*="humans"] {
  background-image: url("/static/web/images/humans-tile.e498a3adfe90.png");
}

.theme-image-card[href*="family"] {
  background-image: url("/static/web/images/family-tile.967631415413.png");
}

.theme-image-card[href*="innovation"] {
  background-image: url("/static/web/images/innovation-tile.91ed4edc5e72.png");
}

/* ==========================================================================
  Paid Feature Toggle Display
  ========================================================================== */
.donation-fields,
form#member_form:has(input[data-name="donation_block"]:not(:checked))
                    .donation-fields {
  display: none;
}
form#member_form:has(input[data-name="donation_block"]:checked)
                    .donation-fields,
/* For server side rendered context state */
.donation-fields[data-show-donation-fields="true"] {
  display: block;
}

.form-custom-collection-banner-fields-container,
form#collection_form:has(input[data-name="customizations"]:not(:checked))
                        [data-id="customization-fields-to-toggle"] {
  display: none;
}
form#collection_form:has(input[data-name="customizations"]:checked)
                        [data-id="customization-fields-to-toggle"],
.form-custom-collection-banner-fields-container[data-show-customizations="true"] {
  display: block;
}

.form-sponsor-logos-fields-container,
form#collection_form:has(input[data-name="sponsor_logos"]:not(:checked))
                        [data-id="sponsor-logos-fields-to-toggle"] {
  display: none;
}
form#collection_form:has(input[data-name="sponsor_logos"]:checked)
                        [data-id="sponsor-logos-fields-to-toggle"],
.form-sponsor-logos-fields-container[data-show-sponsor-logos="true"] {
  display: block;
}

.form-resources-section-container,
form#collection_form:has(input[data-name="customizations"]:not(:checked)):has(input[data-name="sponsor_logos"]:not(:checked))
                                                                             [data-id="resources-section-to-toggle"] {
  display: none;
}

/* For server side rendered context state */
form#collection_form:has(input[data-name="customizations"]:checked)
                        [data-id="resources-section-to-toggle"],
form#collection_form:has(input[data-name="sponsor_logos"]:checked)
                        [data-id="resources-section-to-toggle"],
.form-resources-section-container[data-show-customizations="true"],
.form-resources-section-container[data-show-sponsor-logos="true"] {
  display: block;
}

/* ==========================================================================
  File Field Dropzone for multi-image file uploads

  TODO(HP-135): Styling still in progress as we figure out we want to build
  a removal interface, and how we want to style the previews
  ========================================================================== */

.file-field-dropzone,
.file-field-dropzone-empty {
  min-width: 100%;
  margin: 0 auto;
  padding: 2em;
  border: 2px dashed #3f3f3f;
  border-radius: 8px;
  background: var(--neutral-100);
  text-align: center;
}
.file-field-dropzone label {
  display: inline-block;
  margin-top: 1em;
  padding: 12px 16px;
  background: var(--primary-500);
  font-weight: 600;
  color: white;
  border-radius: 4px;
  font-size: 16px;

  &:has(+ :required)::after {
    display: none;
  }
}

.file-field-dropzone label:hover {
  background: black;
}

.file-field-dropzone input {
  display: none;
}

.file-field-dropzone-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.file-field-preview-item {
  display: flex;
}
.file-field-preview-item img {
  max-width: 110px;
  max-height: 10048px;
  object-fit: cover;
}
.file-field-preview-item button {
  margin-top: 1rem;
}

.pin-metadata-detail-map {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
  Collections Search Styles
  ========================================================================== */

.collections-search-container {
  width: 100%;

  .collection-location-chooser-search-container {
    width: 404px;
  }

  .collection-location-chooser-search-container .search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--rounded);
    font-size: 16px;
    line-height: 1.5;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .collection-location-chooser-search-container .search-input::placeholder {
    color: var(--neutral-500);
  }

  @media screen and (max-width: 768px) {
    .collection-location-chooser-search-container {
      width: 100%;
    }
  }
}

.collections-search-form {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

@media screen and (max-width: 768px) {
  .collections-search-form {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    justify-content:flex-start;
  }
}

.filter-button {
  padding: 16px 20px;
}

.filter-dropdown {
  position: absolute;
  max-width: 500px;
  top: 48px;
  right: 0;
  background: white;
  border-radius: var(--rounded);
  z-index: var(--z-index-dropdown);
  margin-top: 8px;
  background: var(--neutral-50);
  box-shadow: var(--shadow-small);
  max-height: 70vh;
  overflow: scroll;

  @media screen and (max-width: 768px) {
    top: 100%;
    left: 0;
    right: 0;
  }
}

.filter-dropdown-content {
  padding: 24px;
}

.filter-dropdown-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-900);
}

/* Sort options styling */
.sort-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
}

.sort-option input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

.sort-option .radio-label {
  font-size: 14px;
  color: var(--neutral-700);
  cursor: pointer;
}

.sort-option:hover .radio-label {
  color: var(--neutral-900);
}

.filter-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--neutral-200);
}

.filter-group:last-of-type {
  margin-bottom: 0;
  border-bottom: none;
}

.filter-group label {
  margin-bottom: 8px;
  font-weight: 500;
  white-space:nowrap;
}

.filter-group input[type="text"],
.filter-group input[type="search"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--rounded);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-group input[type="text"]:focus,
.filter-group input[type="search"]:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(196, 2, 102, 0.1);
}

.filter-themes-radio-container {
  display: flex;
  gap: 68px;
  margin-top: 24px;
}

.filter-themes-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-theme-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-200);
}

.reset-filters,
.reset-sort {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--neutral-300);
  border-radius: var(--rounded);
  color: var(--neutral-700);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space:nowrap;
}

.reset-filters:hover {
  border-color: var(--neutral-500);
  color: var(--neutral-900);
}

.apply-filters {
  padding: 10px 20px;
  background: var(--primary-500);
  border: 1px solid var(--primary-500);
  border-radius: var(--rounded);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apply-filters:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.apply-filters:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ==========================================================================
  Home Tell Story Section
  ========================================================================== */

.home-tell-story-section {
  background-color: var(--neutral-50);

  h3 {
    font-family: Poppins;
  }
}

.home-tell-story-section .home-section-inner {
  position: relative;
}

.home-tell-story-grid {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  max-width: 80%;
  margin: 0;
  position: relative;
  z-index: var(--z-index-banner-gradient);

  @media screen and (max-width: 1580px) {
    gap: 24px;
    max-width: 100%;
  }

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 48px;
  }
}

.home-tell-story-card {
  border-radius: var(--rounded);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;

  @media screen and (max-width: 768px) {
    max-width: 100%;
  }
}

.home-tell-story-card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.home-tell-story-card-content {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-tell-story-card-description {
  flex-grow: 1;
  margin: 24px 0 36px;
}

.home-tell-story-card .button-secondary {
  align-self: flex-start;
  width: auto;
  display: inline-block;
  margin: 0;
}

.home-tell-story-bg-image {
  position: absolute;
  top: 140px;
  right: 0;
  z-index: var(--z-index-background);
  max-width: 550px;
  height: auto;

  @media screen and (max-width: 768px) {
    position: static;
    max-width: 100%;
    margin-top: 96px;
  }
}

/* ==========================================================================
  Delete Account Section of Edit Profile Page
========================================================================== */
.delete-account-container {
  border-radius: 4px;
  background: var(--primary-50);
  padding: 16px;
}

.delete-account-button-reveal {
  width: fit-content;
}

.delete-account-warning {
  padding: 16px;
  border-radius: 4px;
  background: var(--semantic-error);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -2px rgba(0, 0, 0, 0.05);
  color: var(--neutral-50);
}

.delete-account-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.delete-account-form-confirmation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.delete-account-form-actions {
  display: flex;
  gap: 8px;
}
.delete-account-form-delete-button {
  border-radius: var(--rounded);
  border: 1px solid var(--primary-500);
  opacity: 0.5;
  background: var(--primary-500);
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.delete-account-form-confirmation-input {
  /* TODO(HP-51): we have 100% width set on all inputs, which we should not do.
  Layout should be a responsibility of parents. This was a mistake, oops. */
  width: auto !important;
}

.delete-account-form:has(
  .delete-account-form-confirmation-input:not(:placeholder-shown)
)
                        .delete-account-form-delete-button {
  opacity: 1;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.delete-account-button-disclosure[open] .delete-account-button-reveal {
  display: none;
}
.delete-account-button-disclosure .delete-account-button-reveal {
  display: block;
}



/* Collection Combobox */

.tag-combobox-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;

  .tag-combobox-tag-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
    list-style: none;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 38px;
    outline: 1px solid var(--neutral-700);
    border: 1px solid var(--neutral-50);
  }

  .tag-combobox-dropdown-wrapper {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    position: relative;
  }

  .tag-combobox-tag {
    padding: 4px 4px 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border-radius: 2px;
    border: 1px solid var(--secondary-turmeric-800);
    background: var(--secondary-turmeric-100);
    color: var(--secondary-turmeric-800);
    font-size: 12px;
    line-height: 150%;
    gap: 4px;
  }

  .tag-combobox-tag .remove {
    color: var(--secondary-turmeric-800);
    background: none;
    border: none;
    cursor: pointer;
    padding-right: 4px;
    display: flex;
    align-items: center;
  }

  .tag-combobox-tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }

  .tag-combobox-dropdown-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }

  .tag-combobox-options-list {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--neutral-300);
    border-radius: 4px;
    background: white;
    display: none;
    margin: 0;
    list-style: none;
    padding: 0;
    font-size: 12px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform-origin: top;
    will-change: transform, opacity;
  }

  .tag-combobox-options-list li[role="option"] {
    padding: 8px;
    cursor: pointer;
  }

  .tag-combobox-options-list li[aria-selected="true"],
  .tag-combobox-options-list li:hover {
    background: var(--primary-100);
    color: var(--primary-700);
  }

  &.open .tag-combobox-options-list {
    display: block;
  }

  .tag-combobox-options-list .check-icon {
    display: none;
    width: 1.25em;
    height: 1.25em;
    margin-right: 0.5em;
  }

  .tag-combobox-options-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tag-combobox-options-list li.selected .check-icon {
    display: inline-block;
  }

  .tag-combobox-options-list li.selected .option-label {
    font-weight: 500;
  }

  .tag-combobox-options-list li.disabled .option-label {
    color: #999;
  }

  .tag-combobox-options-list li.disabled:hover {
    background-color: transparent;
    cursor: not-allowed;
  }

  .pin-collection-combobox-options-list li.selected:hover,
  .tag-combobox-options-list li:not(.disabled):not(.selected):hover {
    background: var(--primary-50);
    color: var(--primary-600);
  }

  .placeholder {
    font-size: 14px;
    color: var(--neutral-500);
    display: flex;
    align-items: center;
    position: absolute;
    left: 10px;
  }

  &.has-tags .placeholder {
    display: none;
  }

  .tag-combobox-options-list li.create-option {
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 8px;
    display: block;
    color: black;
  }

  .tag-combobox-options-list li.create-option:hover {
    color: black;
    background: var(--primary-50);
  }

  .tag-combobox-options-list li.create-option strong {
    color: black;
  }

  .combobox-multiselect-option-text {
    margin-left: 4px;
    color: black;
  }

  .combobox-multiselect-option-id {
    display: none;
  }

  .tag-combobox-search-input {
    background-image: var(--fa-icon-magnifying-glass);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
  }

  /* Remove the X button from search input */
  .tag-combobox-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
  }

  .no-results {
    padding: 8px 12px;
    color: var(--neutral-500);
    font-style: italic;
  }
}


.combobox-multiselect-container {
  position: relative;

  .combobox-multiselect-tag-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
    list-style: none;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 44px;
    outline: 1px solid var(--neutral-700);
    border: 1px solid var(--neutral-50);
  }

  .combobox-multiselect-dropdown-wrapper {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
  }

  .combobox-multiselect-tag {
    padding: 4px 4px 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border-radius: 2px;
    border: 1px solid var(--secondary-turmeric-800);
    background: var(--secondary-turmeric-100);
    color: var(--secondary-turmeric-800);
    font-size: 12px;
    gap: 4px;
  }

  .combobox-multiselect-tag .remove {
    color: var(--secondary-turmeric-800);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding-right: 4px;
  }
  .combobox-multiselect-tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .combobox-multiselect-dropdown-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }
  .combobox-multiselect-options-list {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    display: none;
    margin: 4px 0 0;
    list-style: none;
    padding: 0;
    font-size: 12px;
    z-index: var(--z-index-dropdownl);
  }
  .combobox-multiselect-options-list li[role="option"] {
    padding: 8px;
    cursor: pointer;
  }
  .combobox-multiselect-options-list li[aria-selected="true"],
  .combobox-multiselect-options-list li:hover {
    background: var(--primary-100);
    color: var(--primary-700);
  }

  &.open .combobox-multiselect-options-list {
    display: block;
  }

  .combobox-multiselect-options-list .check-icon {
    display: none;
    width: 1.25em;
    height: 1.25em;
    margin-right: 0.5em;
  }

  .combobox-multiselect-options-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .combobox-multiselect-options-list li.selected .check-icon {
    display: inline-block;
  }

  .combobox-multiselect-options-list li.selected .option-label {
    font-weight: 500;
  }

  .combobox-multiselect-options-list li.disabled .option-label {
    color: #999;
  }

  .combobox-multiselect-options-list li.disabled:hover {
    background-color: transparent;
    cursor: not-allowed;
  }

  .combobox-multiselect-options-list li.selected:hover,
  .combobox-multiselect-options-list li:not(.disabled):not(.selected):hover {
    background: var(--primary-50);
    color: var(--primary-600);
  }

  .placeholder {
    font-size: 14px;
    color: var(--neutral-500);
    display: flex;
    align-items: center;
    position: absolute;
    left: 10px;
  }

  &.has-tags .placeholder {
    display: none;
  }
}




.collection-location-chooser-search-container {
  position: relative;
  display: inline-block;

  fieldset {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 10px;
    border: none;
    padding: 0;
    margin-bottom: 28px;
  }

  .radio-button {
    padding: 24px 32px 24px 24px;
    border-radius: 4px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow 0.2s ease;

    &:hover {
      box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    }

    &:focus-within {
      outline: 2px solid var(--primary-500);
      outline-offset: 2px;
    }

    .radio-label {
      font-weight: 500;
      color: var(--neutral-900);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    input[type="radio"] {
      height: 16px;
      width: 17px;
      margin: 0;
    }

    img {
      max-height: 32px;
      max-width: 32px;
    }

    .subtitle {
      font-size: 12px;
      font-weight: normal;
      color: var(--neutral-700);
      line-height: 1.5;
    }
  }

  .combobox-multiselect-options-list {
    position: absolute;
    left: -1px;
    right: -1px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--neutral-300);
    border-radius: 4px;
    background: #fff;
    list-style: none;
    padding: 0;
    font-size: 12px;
    display: block;
    top: 100%;
    margin-top: 4px;
    z-index: var(--z-index-below-all);
  }

  .combobox-multiselect-options-list:empty {
    display: none;
  }

  /* Style for the suggestion buttons */
  .combobox-multi-select-option {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #d4d4d4;
    width: 100%;
    text-align: left;
  }

  .combobox-multi-select-option:hover,
  .combobox-multi-select-option.combobox-multiselect-option-active {
    background-color: DodgerBlue;
    color: white;
  }

  .combobox-multiselect-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    border-radius: 4px;
    /* Easier to control the vertical flow here upwards since it's an element
    that is hiden on first load. */
    margin-top: 16px;
  }

  .combobox-multiselect-tag-list:empty {
    display: none;
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .combobox-multiselect-tag {
    display: flex;
    padding: 0 8px;
    height: 26px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: var(--rounded-sm, 2px);
    border: 1px solid var(--secondary-sky-800);
    background: var(--secondary-sky-100);
    overflow: hidden;
    color: var(--secondary-sky-800);
    text-overflow: ellipsis;
    font: var(--body-regular-smaller);
  }

  .combobox-multiselect-options-list li[role="option"] {
    padding: 8px;
    cursor: pointer;
  }
  .combobox-multiselect-options-list li[aria-selected="true"],
  .combobox-multiselect-options-list li:hover {
    background: var(--primary-100);
    color: var(--primary-700);
  }

  .combobox-multiselect-tag .remove {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--secondary-sky-800);
    padding: 2px 4px;
  }

  .collection-location-chooser-search-container {
    display: flex;
    flex-direction: column;
  }

  .collection-location-chooser-search-container .field-label {
    margin-bottom: 8px;
  }
}

.date-range-container {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.date-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field-label-small {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary, #666);
}

.date-input {
  padding: 0.5rem;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 4px;
  font-size: 0.875rem;
}


.view-toggle-group {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
}

.view-toggle-button {
  padding: 8px 16px;
  background: white;
  border: none;
  border-right: 1px solid #ccc;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight:600;
}

.view-toggle-button:last-child {
  border-right: none;
}

.view-toggle-button.active {
  background: #ECECEC;
  color: #222;
}

.view-toggle-button:hover {
  background: #ECECEC;
  color: #222;
  cursor:pointer;
}

.search-input{
  height:100%;
}

.view-toggle-button.active {
  pointer-events: none; /* makes it unclickable */
  cursor: default; /* prevents hover pointer */
}


/* ==========================================================================
  Open Collection Section
  ========================================================================== */

.open-collection-section {
  border-radius: 8px;
  padding: 0 var(--desktop-x-padding);
}

.open-collection-section {
  background: var(--secondary-turmeric-100);
}

.open-collection-inner {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.open-collection-content {
  padding: 56px 0 72px;
  max-width: 756px;
}

.open-collection-content p {
  margin-bottom: 48px;
}

.open-collection-link {
  padding: 12px 16px;
  border-radius: 6px;
  width: fit-content;
}

.open-collection-image {
  max-width: 314px;
  min-width: 250px;
  display: flex;
  align-self: flex-end;

  img {
    max-width: 100%;
  }
}

.open-collection-section .open-collection-image {
  max-width: 440px;
}

@media screen and (max-width: 768px) {
  .open-collection-section {
    padding: 0 var(--mobile-x-padding);
  }

  .open-collection-inner {
    flex-direction: column;
    gap: 0;
  }

  .open-collection-content {
    max-width: 100%;
  }

  .open-collection-image {
    max-width: 400px;
    width: 100%;
    margin: 0 0 0 auto;
  }
}

/* === Collection Sponsors Section === */

.collection-sponsors-section {
  min-height: 169px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-sponsors-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.collection-sponsors-inner h2 {
  margin-bottom: 52px;
  font-size: 1.75rem;
  font-weight: 600;
}


/* === Collection Sponsors Section === */

.collection-sponsors-section {
  min-height: 169px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-sponsors-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.collection-sponsors-inner h2 {
  margin-bottom: 52px;
  font-size: 1.75rem;
  font-weight: 600;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.sponsor-logos img {
  height: 60px;
  object-fit: contain;
  max-width: 120px;
}

@media (max-width: 768px) {

  .collection-sponsors-section {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .collection-sponsors-inner h2 {
    margin-bottom: 32px;
    font-size: 1.4rem;
  }

  .sponsor-logos {
    gap: 20px;
  }

  .sponsor-logos img {
    height: 48px;
    max-width: 100px;
  }
}

/* ===============================
   Dropzone & Upload Area
================================ */
.file-upload-box,
.single-file-upload__dropzone {
  background: var(--neutral-100);
  border: 2px dashed var(--neutral-300);
  border-radius: var(--rounded-avatar);
  padding: 40px;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  width: 100%;
}

.file-upload-box.dragover,
.single-file-upload__dropzone.is-dragover {
  background-color: var(--secondary-sky-50);
  border-color: var(--secondary-sky-500);
}

/* Helper text */
.file-field-dropzone-help-text,
.single-file-upload__help-text {
  color: var(--neutral-700);
  font: var(--body-regular-small);
  margin-bottom: 12px;
}

/* ===============================
   Buttons
================================ */
.file-upload-btn,
.single-file-upload__button {
  background: var(--primary-500);
  color: var(--neutral-50);
  border: none;
  padding: 10px 20px;
  border-radius: var(--rounded-avatar);
  font: var(--body-semi-bold-small);
  cursor: pointer;
  transition: background 0.2s ease;
}

.file-upload-btn:hover,
.single-file-upload__button:hover {
  background: var(--primary-600);
}

/* Remove buttons */
.remove-btn,
.single-file-upload__remove-btn {
  background: var(--neutral-50);
  color: var(--neutral-900);
  border: 1px solid var(--neutral-900);
  padding: 6px 12px;
  border-radius: var(--rounded);
  cursor: pointer;
  font: var(--body-regular-smaller);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.remove-btn:hover,
.single-file-upload__remove-btn:hover {
  background-color: var(--neutral-200);
}

/* Remove all button */
.file-remove-all-btn {
  background: transparent;
  border: none;
  color: var(--semantic-error);
  font: var(--body-regular-smaller);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
}

.file-remove-all-btn:hover {
  color: var(--primary-700);
}

/* ===============================
   Multiple File Preview (vertical)
================================ */
.image-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.image-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 4px 0;
  background: transparent;
  border: none;
}

/* The preview image — constrained to 100x100 */
.image-thumb {
  display: block;
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 100px;
  border-radius: var(--rounded);
  object-fit: contain;
  flex-shrink: 0;
}

/* ===============================
   Single File Upload Preview
================================ */
.single-file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.single-file-upload__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 1rem;
}

.single-file-upload__thumb {
  width: 100%;
  height: auto;
  border-radius: var(--rounded-avatar);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-small);
}

/* ===============================
  Member Discover View Search Input
================================ */
#member-discover-container {
  position: relative;
}

#member-discover-container .search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #555;
}

#member-discover-container .search-clear-btn i {
  font-size: 1rem;
}
}


 .collection-detail-pins-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 1rem;
 }

 .pin-sort-form {
   display: flex;
   align-items: center;
 }

 .sort-options {
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
 }

 .sort-option input[type="radio"] {
   margin-right: 0.3rem;
 }

 .collection-detail-pins-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   flex-wrap: wrap;
   gap: 16px;
   margin-bottom: 16px;
 }

 .pins-title {
   font-size: 1.5rem;
   font-weight: 600;
   margin: 0;
 }

 .pin-sort-form {
   display: flex;
   align-items: center;
   gap: 12px;
 }

 @media screen and (max-width: 768px) {
   .collection-detail-pins-header {
     flex-direction: column;
     align-items: stretch;
   }

   .pin-sort-form {
     justify-content: flex-start;
     flex-wrap: wrap;
   }
 }


 .collection-people-wrapper {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 2rem;
 }
 .collection-people-left {
   max-width: 400px;
 }
 .collection-people-title {
   font-size: 1.75rem;
   font-weight: 600;
   margin-bottom: 2rem;
 }
 .collection-people-subtitle {
   margin-bottom: 0.25rem;
   font-weight: 600;
   font-style: SemiBold;
   font-size: 18px;
   line-height: 125%;
 }
 .collection-people-text {
   margin-bottom: 1rem;
 }
 .collection-people-avatars {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-end;
   gap: 0.5rem;
 }
 .collection-people-avatar {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   object-fit: cover;
 }
 @media (max-width: 768px) {
   .collection-people-wrapper {
     flex-direction: column;
     align-items: flex-start;
   }
   .collection-people-avatars {
     justify-content: flex-start;
   }
 }


 .collection-people-avatars {
   display: flex;
   align-items: center;
 }

 .collection-people-avatar {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   object-fit: cover;
   margin-left: -20px;
   border: 1px solid var(--primary-700);
 }

 .collection-people-avatar:first-child {
   margin-left: 0;
 }


 .view-org-btn{
   margin-top:2rem;
 }

 .member-is-owner-text{
   font-style: normal;
   font-weight: 600;
   font-size: 16px;
   line-height: 24px;
 }


 div.entrance-form form div.form-actions{
   margin-top:48px;
 }

 .account-container{
   min-height:calc(100vh - 204px)
 }


 @media screen and (max-width: 768px) {
   .account-container{
     min-height:calc(100vh - 146px)
   }
 }


 .pin-list{
   min-height:192px;
 }
