.notes-site-header {
  position: relative;
  z-index: 120;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 15px 0;
  box-sizing: border-box;
  color: #252525;
  background: #fff;
  font-family: Manrope, Arial, sans-serif;
}
.notes-site-header .notes-header-inner {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}
.notes-site-header .notes-header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  min-height: 54px;
}
.notes-site-header .notes-logo-left {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 92px;
  height: 54px;
  text-decoration: none !important;
}
.notes-site-header .notes-logo-left img {
  display: block;
  width: 92px;
  max-width: 92px;
  max-height: 32px;
  height: auto;
  object-fit: contain;
}
.notes-site-header .notes-header-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 54px;
  margin-left: auto;
}
.notes-site-header .notes-header-search-toggle,
.notes-site-header .notes-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555550;
  cursor: pointer;
}
.notes-site-header .notes-header-search-toggle {
  width: 25px;
}
.notes-site-header .notes-header-search-toggle svg,
.notes-site-header .notes-search-form button svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notes-site-header .notes-menu-toggle {
  font: 400 12px/1 Manrope, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.notes-site-header .notes-header-search-toggle:hover,
.notes-site-header .notes-menu-toggle:hover { color: #bd783e; }
.notes-site-header .notes-search-panel,
.notes-site-header .notes-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 130;
  border: 1px solid #e5e5e2;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20,20,18,.08);
}
.notes-site-header .notes-search-panel {
  right: 42px;
  width: min(240px, calc(100vw - 60px));
  padding: 8px;
}
.notes-site-header .notes-search-panel[hidden],
.notes-site-header .notes-menu-panel[hidden] { display: none !important; }
.notes-site-header .notes-search-panel br,
.notes-site-header .notes-menu-links br { display: none !important; }
.notes-site-header .notes-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0 4px 0 10px;
  border: 1px solid #e4e4e1;
  border-radius: 999px;
  box-sizing: border-box;
  background: #fff;
}
.notes-site-header .notes-search-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252525;
  font: 400 10px/1 Manrope, Arial, sans-serif;
  box-shadow: none;
}
.notes-site-header .notes-search-form input::placeholder { color: #969692; opacity: 1; }
.notes-site-header .notes-search-form button {
  display: inline-grid;
  flex: 0 0 25px;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4a4a47;
  cursor: pointer;
}
.notes-site-header .notes-menu-panel {
  display: grid;
  align-content: start;
  grid-auto-rows: min-content;
  width: 232px;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 8px 0 6px;
}
.notes-site-header .notes-menu-label {
  margin: 7px 10px 5px !important;
  color: #8d8d88;
  font: 400 8px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.notes-site-header .notes-menu-links {
  display: grid;
  gap: 0;
}
.notes-site-header .notes-menu-links a {
  display: block;
  padding: 8px 10px;
  color: #575752 !important;
  font: 400 9px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .02em;
  text-decoration: none !important;
  text-transform: uppercase;
}
.notes-site-header .notes-menu-links a:hover,
.notes-site-header .notes-menu-links a:focus-visible {
  background: #f7f7f5;
  color: #bd783e !important;
}
.notes-site-header .notes-material-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  margin-top: 2px;
  overflow-x: auto;
  border-top: 1px solid #ececea;
  border-bottom: 1px solid #ececea;
  scrollbar-width: none;
}
.notes-site-header .notes-material-row::-webkit-scrollbar { display: none; }
.notes-site-header .notes-material-tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2.3vw, 30px);
  width: max-content;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
}
.notes-site-header .notes-material-tag {
  flex: 0 0 auto;
  color: #656560 !important;
  font: 400 13px/1.35 Manrope, Arial, sans-serif;
  letter-spacing: .015em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .16s ease;
}
.notes-site-header .notes-material-tag:hover,
.notes-site-header .notes-material-tag:focus-visible { color: #111 !important; }
@media (max-width: 700px) {
  .notes-site-header { padding: 7px 15px 0; }
  .notes-site-header .notes-header-top,
  .notes-site-header .notes-logo-left,
  .notes-site-header .notes-header-controls { height: 46px; min-height: 46px; }
  .notes-site-header .notes-logo-left { width: 82px; }
  .notes-site-header .notes-logo-left img { width: 82px; max-width: 82px; max-height: 28px; }
  .notes-site-header .notes-header-controls { gap: 7px; }
  .notes-site-header .notes-menu-toggle { font-size: 11px; }
  .notes-site-header .notes-material-tags { gap: 20px; }
  .notes-site-header .notes-material-tag { font-size: 12px; }
  .notes-site-header .notes-search-panel { right: 40px; width: min(240px, calc(100vw - 60px)); }
  .notes-site-header .notes-menu-panel { width: min(232px, calc(100vw - 30px)); }
}

/* Menu sizing */
html body .notes-site-header .notes-menu-panel {
  width: 240px;
  min-width: 240px;
  padding: 8px 0;
}
html body .notes-site-header .notes-menu-panel .notes-menu-links a {
  padding: 10px 18px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .04em;
}
@media (max-width: 600px) {
  html body .notes-site-header .notes-menu-panel { width: min(240px, calc(100vw - 30px)); min-width: 0; }
}

/* White page background on home and project pages */
body.page-id-1984,
body.single {
  background: #fff !important;
}

/* Project page: align with header gutter */
body.single .project-masonry,
body.single .project-related {
  width: auto !important;
  max-width: none !important;
  margin-left: 15px !important;
  margin-right: 15px !important;
}
body.single .project-masonry {
  margin-top: 18px !important;
}
body.single .project-related {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.single .project-related > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.notes-gallery-image-link { display: block; }
.notes-gallery-card { cursor: pointer; }


/* Photo captions: flush left under the image, 2px gap */
body.single .project-media-meta {
  padding: 3px 0 0 !important;
  align-items: center !important;
}
body.single .project-media-meta .project-download-image {
  height: 16px !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}

body.single .project-photo-credit {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.3 !important;
}

/* Back to top */
.notes-back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 110;
  padding: 9px 14px;
  border: 1px solid #e5e5e2;
  border-radius: 0;
  background: #fff;
  color: #252525;
  font: 400 11px/1 Manrope, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.notes-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.notes-back-to-top:hover,
.notes-back-to-top:focus-visible {
  color: #bd783e;
}


/* One typeface across the site: Manrope (admin bar and icon fonts excluded) */
html body,
html body *:not(#wpadminbar):not(#wpadminbar *):not(.dashicons):not([class^="dashicons-"]):not([class*=" dashicons-"]) {
  font-family: Manrope, sans-serif;
}


/* Location label in caps */
.project-location-label,
.project-location-label a {
  text-transform: uppercase !important;
}

/* Post titles: Helvetica stack, caps */
html body .wp-block-post-title,
html body .wp-block-post-title a,
html body .project-title,
html body .notes-gallery-project-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
}


/* Caption row: download icon flush with image's right edge, no hover disc, +10% size */
body.single .project-media-meta .project-photo-credit {
  font-size: 13.2px !important;
}
body.single .project-media-meta .project-download-image {
  width: auto !important;
  height: 17.6px !important;
  margin-left: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  justify-content: flex-end !important;
}
body.single .project-media-meta .project-download-image:hover,
body.single .project-media-meta .project-download-image:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  color: #bd783e !important;
}
body.single .project-media-meta .project-download-image svg {
  width: 17.6px !important;
  height: 17.6px !important;
}

/* Info card: text aligned to the cover image edges */
body.single .project-info-card > *:not(.project-cover) {
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}


/* Spacing tweaks 18/10 */
body.single .project-media-meta {
  padding-top: 6px !important;
}
body.single .project-info-card .project-location-label {
  margin-top: 28px !important;
  margin-bottom: 0 !important;
}
body.single .project-info-card .project-title {
  margin-top: 6px !important;
}


/* ---------- Mobile ---------- */

/* Hashtag row: horizontal scroll, swipe or drag */
.notes-site-header .notes-material-row {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.notes-site-header .notes-material-row.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.notes-site-header .notes-material-row.is-dragging a {
  pointer-events: none;
}
.notes-site-header .notes-material-row.has-more-right {
  -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
          mask-image: linear-gradient(to right, #000 85%, transparent);
}
.notes-site-header .notes-material-row.has-more-left.has-more-right {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 85%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 85%, transparent);
}
.notes-site-header .notes-material-row.has-more-left:not(.has-more-right) {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%);
          mask-image: linear-gradient(to right, transparent, #000 12%);
}
.notes-site-header .notes-material-tags {
  flex-wrap: nowrap !important;
}
.notes-site-header .notes-material-tag {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  /* Project gallery: true two-column masonry, no row gaps */
  body.single .project-gallery-grid {
    display: block !important;
    column-count: 2;
    column-gap: 10px;
  }
  body.single .project-gallery-grid > .project-media-card {
    display: inline-block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
  body.single .project-media-meta .project-photo-credit {
    font-size: 11px !important;
  }
  body.single .project-media-meta .project-download-image,
  body.single .project-media-meta .project-download-image svg {
    width: 15px !important;
    height: 15px !important;
  }
  body.single .project-masonry {
    gap: 24px !important;
  }
}

/* Home: image only on touch screens and small widths */
@media (hover: none), (max-width: 900px) {
  html body.page-id-1984 .notes-gallery-overlay {
    display: none !important;
  }
}


/* Search inside the menu panel (Divisare-style) */
html body .notes-site-header .notes-menu-panel {
  width: 280px;
  min-width: 280px;
  padding: 0 0 8px;
}
html body .notes-site-header .notes-menu-search-wrap {
  padding: 12px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e5e5e2;
}
html body .notes-site-header .notes-menu-search {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  height: 36px !important;
  margin: 0;
  padding: 0 6px 0 14px !important;
  box-sizing: border-box;
  border: 1px solid #e4e4e1 !important;
  border-radius: 999px !important;
  background: #fff !important;
}
html body .notes-site-header .notes-menu-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252525;
  font-size: 14px !important;
}
html body .notes-site-header .notes-menu-search button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
html body .notes-site-header .notes-menu-search button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
@media (max-width: 600px) {
  html body .notes-site-header .notes-menu-panel { width: min(280px, calc(100vw - 30px)); min-width: 0; }
}


/* ---------- Related projects (More projects / More from <Country>) ---------- */
body.single .notes-related-section {
  margin: 0 0 56px;
}
body.single .notes-related-heading {
  margin: 0 0 18px !important;
  font-family: Manrope, sans-serif;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #252525;
}
body.single .notes-related-masonry {
  --cols: 5;
  --gap: 30px;
  column-count: var(--cols);
  column-gap: var(--gap);
}
body.single .notes-related-masonry.is-laid-out {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  column-count: auto;
}
body.single .notes-related-col {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 1399px) {
  body.single .notes-related-masonry { --cols: 4; }
}
@media (max-width: 1399px) and (orientation: portrait) {
  body.single .notes-related-masonry { --cols: 3; }
}
@media (max-width: 1023px) {
  body.single .notes-related-masonry { --cols: 3; }
}
@media (max-width: 599px) {
  body.single .notes-related-masonry { --cols: 2; --gap: 16px; }
}
body.single .notes-related-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  vertical-align: top;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  overflow: hidden;
  text-decoration: none !important;
}
body.single .notes-related-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .55s cubic-bezier(.2,.65,.3,1);
}
body.single .notes-related-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 60%, rgba(0,0,0,.6) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
body.single .notes-related-card:hover .notes-related-overlay,
body.single .notes-related-card:focus-visible .notes-related-overlay {
  opacity: 1;
}
body.single .notes-related-card:hover img {
  transform: scale(1.025);
}
html body.single .notes-related-title {
  margin-top: 2px;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}
body.single .notes-related-read-more {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #252525;
  font-size: 11px;
}
@media (hover: none), (max-width: 900px) {
  body.single .notes-related-overlay { display: none; }
}

/* Old rule hid this block when the previous query layout had no cards */
html body.single .project-related:has(.notes-related-section) {
  display: block !important;
  margin-top: 56px !important;
}


/* Faint rule above each related section, same as the header line */
body.single .notes-related-section {
  padding-top: 18px;
  border-top: 1px solid rgb(236, 236, 234);
}


/* ---------- Material hashtag pages ---------- */
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) { background: #fff !important; }
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-main {
  margin: 0 !important;
  padding: 18px 15px 56px !important;
  max-width: none !important;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-heading {
  margin: 0 !important;
  font-family: Manrope, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: .06em;
  text-transform: none;
  color: #252525;
  line-height: 1.3;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-count {
  margin: 2px 0 18px !important;
  font-size: 12px;
  color: #8a8a85;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-masonry {
  --gap: 30px;
  column-count: 5;
  column-gap: var(--gap);
}
@media (max-width: 1399px) { body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-masonry { column-count: 4; } }
@media (max-width: 1399px) and (orientation: portrait) { body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-masonry { column-count: 3; } }
@media (max-width: 1023px) { body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-masonry { column-count: 3; --gap: 20px; } }
@media (max-width: 599px) { body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-masonry { column-count: 2; --gap: 12px; } }
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap);
  vertical-align: top;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  overflow: hidden;
  text-decoration: none !important;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: transform .55s cubic-bezier(.2,.65,.3,1);
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 60%, rgba(0,0,0,.6) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-card:hover .notes-mat-overlay,
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-card:focus-visible .notes-mat-overlay { opacity: 1; }
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-card:hover img { transform: scale(1.025); }
html body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-title {
  margin-top: 2px;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-read {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #252525;
  font-size: 11px;
}
@media (hover: none), (max-width: 900px) {
  body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-overlay { display: none; }
}
/* Current hashtag in the header row */
.notes-site-header .notes-material-tag.is-active { color: #bd783e !important; }

body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-masonry.is-laid-out {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  column-count: auto !important;
}
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country, .search, .notes-studio-profile) .notes-mat-col { flex: 1 1 0; min-width: 0; }

/* Project cover: show the full featured image, no crop */
body.single .project-info-card .project-cover img { aspect-ratio: auto !important; height: auto !important; width: 100% !important; object-fit: contain !important; }

/* Drawings: no zoom on hover */
body.single .project-media-card--drawing img,
body.single .project-media-card--drawing .project-media-link:hover img { transform: none !important; }

/* Info pages: About, Submit, Terms, Privacy */
body.page .notes-info-page { max-width: 720px; margin: 0 !important; padding: 0 0 96px; }
body.page .notes-info-page > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
body.page .notes-info-page p,
body.page .notes-info-page li { font-size: 16px; line-height: 1.65; color: #222; margin: 0 0 14px; }
body.page .notes-info-page ul { padding-left: 18px; margin: 0 0 14px; }
body.page .notes-info-page li { margin-bottom: 6px; }
body.page .notes-info-page h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 40px 0 10px; color: #111; scroll-margin-top: 160px; }
body.page .notes-info-page a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
body.page .notes-info-page .notes-info-meta { font-size: 13px; color: #777; margin-top: 40px; }
body.page .notes-info-page .notes-info-meta:first-child { margin-top: 0; margin-bottom: 24px; }
.notes-menu-legal { display: flex; gap: 16px; margin: 0 !important; padding: 12px 18px 14px !important; border-top: 1px solid #eee; }
.notes-menu-legal a { font-size: 11px !important; color: #888 !important; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none !important; padding: 0 !important; }
.notes-menu-legal a:hover { color: #222 !important; }

/* Plain pages (About, Submit, Terms, Privacy...) */
body.page-template-default { background: #fff !important; }
body.page-template-default .notes-page-main { margin: 0 !important; padding: 48px 15px 0 !important; max-width: none !important; }
body.page-template-default .notes-page-main > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
body.page-template-default .notes-page-title { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-transform: uppercase; font-size: 32px !important; font-weight: 400 !important; line-height: 1.1; letter-spacing: 0.01em; text-align: left !important; margin: 0 0 28px !important; color: #222; }
body.page-template-default .notes-page-content { padding: 0 !important; margin: 0 !important; }
@media (max-width: 599px) { body.page-template-default .notes-page-main { padding-top: 32px !important; } body.page-template-default .notes-page-title { font-size: 26px !important; } }

/* Two-column pages: About + Contact, Submit + form, Terms + Privacy */
body.page .notes-info-page.notes-info-wide { max-width: none; }
body.page .notes-split { gap: 0 !important; margin: 0 !important; align-items: stretch !important; }
body.page .notes-split > .wp-block-column { padding: 0 64px 0 0; min-width: 0; }
body.page .notes-split > .wp-block-column + .wp-block-column { padding: 0 0 0 64px; border-left: 1px solid #ececec; }
body.page .notes-split > .wp-block-column > * { max-width: 640px; }
body.page .notes-info-page h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 32px 0 10px; color: #111; }
body.page .notes-info-page .notes-col-title { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 20px; scroll-margin-top: 160px; }
@media (max-width: 781px) {
  body.page .notes-split { flex-direction: column; }
  body.page .notes-split > .wp-block-column { padding: 0 !important; flex-basis: 100% !important; }
  body.page .notes-split > .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid #ececec; margin-top: 40px; padding-top: 40px !important; }
}

/* Forms (contact, submissions) */
.notes-form-wrap { max-width: 460px; }
.notes-form { margin: 0; }
.notes-form input[type="text"], .notes-form input[type="email"], .notes-form input[type="url"], .notes-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 16px 2px 12px; border: 0; border-bottom: 1px solid #ddd; border-radius: 0;
  background: transparent; font: inherit; font-size: 14px; line-height: 1.4; color: #222; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.notes-form textarea { min-height: 110px; resize: vertical; }
.notes-form input::placeholder, .notes-form textarea::placeholder { color: #999; opacity: 1; }
.notes-form input:focus, .notes-form textarea:focus { border-bottom-color: #222; }
body.page .notes-info-page .notes-form-consent { font-size: 13px; line-height: 1.5; color: #555; margin: 32px 0 22px; }
.notes-form-button { display: block; width: 100%; height: 64px; border: 0; border-radius: 0; background: #222; color: #fff; font: inherit; font-size: 16px; letter-spacing: 0.02em; cursor: pointer; transition: background 0.2s; }
.notes-form-button:hover, .notes-form-button:focus-visible { background: #000; }
.notes-form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
body.page .notes-info-page .notes-form-note { font-size: 14px; padding: 14px 16px; margin: 0 0 20px; border: 1px solid #222; }
body.page .notes-info-page .notes-form-note--err { border-color: #b0413e; color: #b0413e; }
body.page .notes-split > .wp-block-column > .notes-form-wrap { max-width: 460px; }

/* Search results */
body.search { background: #fff !important; }
body.search .notes-search-main { margin: 0 !important; padding: 40px 15px 80px !important; max-width: none !important; }
.notes-search-page { max-width: none; }
.notes-search-big { display: flex; align-items: center; max-width: 760px; border-bottom: 1px solid #222; margin: 0; }
.notes-search-big input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 22px; padding: 10px 2px; color: #222; -webkit-appearance: none; appearance: none; }
.notes-search-big input::-webkit-search-cancel-button { display: none; }
.notes-search-big button { border: 0; background: transparent; font: inherit; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #222; cursor: pointer; padding: 10px 0 10px 16px; }
body.search .notes-search-count { font-size: 13px; color: #777; margin: 14px 0 12px; }
.notes-sr-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.notes-sr-item { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 28px; align-items: start; padding: 24px 0; border-bottom: 1px solid #eee; }
.notes-sr-item:last-child { border-bottom: 0; }
body.search .notes-sr-meta { font-size: 12px; color: #666; margin: 0 0 6px; letter-spacing: 0.02em; }
body.search .notes-sr-title, body.search .notes-sr-title a { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
body.search .notes-sr-title { margin: 0 0 2px; font-size: 21px; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
body.search .notes-sr-title a { color: #222; text-decoration: none; }
body.search .notes-sr-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.search .notes-sr-title b, body.search .notes-sr-snippet b { font-weight: 600; color: #111; }
body.search .notes-sr-url { font-size: 12px; color: #999; margin: 0 0 8px; }
body.search .notes-sr-snippet { font-size: 15px; line-height: 1.6; color: #444; margin: 0; }
.notes-sr-thumb { display: block; }
.notes-sr-thumb img { display: block; width: 140px; height: 105px; object-fit: cover; }
.notes-similar { margin-top: 56px; padding-top: 24px; border-top: 1px solid #eee; }
body.search .notes-similar-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 20px; color: #111; }
@media (max-width: 599px) {
  .notes-sr-item { grid-template-columns: minmax(0, 1fr) 88px; gap: 16px; padding: 20px 0; }
  .notes-sr-thumb img { width: 88px; height: 88px; }
  body.search .notes-sr-title { font-size: 18px; }
  .notes-search-big input { font-size: 18px; }
}

/* Menu: divider between sections and pages */
html body .notes-site-header .notes-menu-panel .notes-menu-links--secondary { border-top: 1px solid #eee; margin-top: 8px; padding-top: 8px; }

/* Menu: tighter rhythm */
html body .notes-site-header .notes-menu-panel .notes-menu-links a { padding-top: 6px; padding-bottom: 6px; }
html body .notes-site-header .notes-menu-panel .notes-menu-links { padding-top: 6px !important; padding-bottom: 6px !important; }
html body .notes-site-header .notes-menu-panel .notes-menu-search-wrap { margin-bottom: 0 !important; }
html body .notes-site-header .notes-menu-panel { padding-bottom: 0 !important; }
html body .notes-site-header .notes-menu-panel .notes-menu-links--secondary { margin-top: 0; padding-top: 6px; padding-bottom: 6px; }
.notes-menu-legal { padding-top: 10px !important; padding-bottom: 10px !important; }

/* Share row in the project info card */
.notes-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 0 !important; padding-top: 14px; border-top: 1px solid #ececec; }
.notes-share-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a85; }
.notes-share-list { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.notes-share-btn, .notes-share-native, .notes-share-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; min-width: 32px; padding: 0 6px; border: 0; border-radius: 0; background: transparent; color: #575752 !important; text-decoration: none !important; cursor: pointer; font: inherit; font-size: 12px; transition: color 0.15s, background 0.15s; }
.notes-share-btn svg, .notes-share-native svg, .notes-share-copy svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.notes-share-btn:hover, .notes-share-btn:focus-visible, .notes-share-native:hover, .notes-share-copy:hover, .notes-share-copy:focus-visible { color: #bd783e !important; background: #f7f7f5; }
.notes-share-copy { margin-left: 4px; padding: 0 8px; border-left: 1px solid #ececec; }
.notes-share-copy.is-copied { color: #1a7f37 !important; }
.notes-share-native[hidden] { display: none !important; }
.notes-share-list { margin-left: -6px; }
@media (max-width: 599px) {
  .notes-share { display: block; margin-top: 18px !important; }
  .notes-share-label { display: block; margin-bottom: 4px; }
  .notes-share-list { flex-wrap: nowrap; justify-content: space-between; width: calc(100% + 6px); }
  .notes-share-btn, .notes-share-native, .notes-share-copy { height: 40px; min-width: 40px; }
  .notes-share-btn svg, .notes-share-native svg, .notes-share-copy svg { width: 18px; height: 18px; }
  .notes-share.has-native .notes-share--email { display: none; }
  .notes-share-copy { margin-left: 0; padding: 0 6px; border-left: 0; }
  .notes-share-copy .notes-share-copy-text { display: none; }
  .notes-share-copy.is-copied .notes-share-copy-text { display: inline; }
}

/* Share on Opinion (essay) pages */
.notes-essay-page .essay-share .notes-share { justify-content: center; }
.notes-essay-page .essay-share-top { margin: 22px auto 0; }
.notes-essay-page .essay-share-top .notes-share { border-top: 0; padding-top: 0; margin-top: 0 !important; }
.notes-essay-page .essay-share-end { max-width: 720px; margin: 64px auto 0; padding: 0 20px; box-sizing: content-box; }
.notes-essay-page .essay-share .notes-share-list { margin-left: 0; }
@media (max-width: 599px) {
  .notes-essay-page .essay-share-end { margin-top: 44px; }
  .notes-essay-page .essay-share .notes-share-label { text-align: center; }
  .notes-essay-page .essay-share .notes-share-list { width: 100%; }
}

/* Accounts: login, signup, account */
.notes-acc { max-width: 460px; }
.notes-acc.notes-acc--wide { max-width: 560px; }
.notes-form select { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 16px 24px 12px 2px; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 4px center; font: inherit; font-size: 14px; color: #222; outline: none; -webkit-appearance: none; appearance: none; }
.notes-form select:focus { border-bottom-color: #222; }
.notes-form select:invalid, .notes-form select option[value=""] { color: #999; }
.notes-form input[type="password"] { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 16px 2px 12px; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; background: transparent; font: inherit; font-size: 14px; color: #222; outline: none; -webkit-appearance: none; appearance: none; }
.notes-form input[type="password"]:focus { border-bottom-color: #222; }
.notes-acc-check { display: block; margin: 22px 0 20px; font-size: 13px; line-height: 1.5; color: #555; cursor: pointer; }
.notes-acc-check input { margin: 0 8px 0 0; vertical-align: -2px; accent-color: #222; }
.notes-acc-check a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.notes-acc-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0 !important; font-size: 13px !important; color: #777 !important; }
.notes-acc-links a { color: #222 !important; text-decoration: underline; text-underline-offset: 3px; }
.notes-acc-type { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notes-acc-type legend { grid-column: 1 / -1; padding: 0; margin: 0 0 12px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a85; }
.notes-acc-choice { position: relative; display: block; padding: 16px 16px 14px; border: 1px solid #ddd; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.notes-acc-choice input { position: absolute; opacity: 0; pointer-events: none; }
.notes-acc-choice strong { display: block; font-weight: 500; font-size: 15px; color: #222; margin-bottom: 4px; }
.notes-acc-choice em { display: block; font-style: normal; font-size: 12px; line-height: 1.45; color: #777; }
.notes-acc-choice:hover { border-color: #999; }
.notes-acc-choice.is-on { border-color: #222; background: #f7f7f5; }
.notes-acc-group[hidden] { display: none !important; }
.notes-acc-head { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid #ececec; }
body.page .notes-info-page .notes-acc-kicker, .notes-acc-kicker { font-size: 11px !important; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a85 !important; margin: 0 0 4px !important; }
.notes-acc-name { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 22px !important; text-transform: uppercase; color: #222; margin: 0 0 8px !important; }
.notes-acc-status { font-size: 13px !important; color: #996800 !important; margin: 0 !important; }
.notes-acc-status.is-live { color: #1a7f37 !important; }
.notes-acc-status a { color: inherit; text-decoration: underline; }
.notes-acc-logo { display: flex; align-items: center; gap: 16px; margin: 6px 0 8px; }
.notes-acc-logo img, .notes-acc-logo-empty { width: 72px; height: 72px; object-fit: contain; border: 1px solid #ececec; background: #fafafa; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 0.06em; }
.notes-acc-file { font-size: 12px; color: #777; display: flex; flex-direction: column; gap: 6px; }
.notes-acc-file input { font-size: 12px; }
.notes-acc-email { font-size: 13px !important; color: #777 !important; margin: 18px 0 0 !important; }
.notes-acc .notes-form-button { margin-top: 24px; }
@media (max-width: 599px) { .notes-acc-type { grid-template-columns: 1fr; } }

/* Public studio profile */
body.notes-studio-profile { background: #fff !important; }
body.notes-studio-profile .notes-page-main, body.notes-studio-profile main { padding-left: 15px !important; padding-right: 15px !important; margin: 0 !important; max-width: none !important; }
.notes-studio { padding: 40px 0 80px; }
.notes-studio-head { display: flex; gap: 28px; align-items: flex-start; max-width: 860px; margin-bottom: 44px; }
.notes-studio-logo { flex: 0 0 120px; }
.notes-studio-logo img { width: 120px; height: 120px; object-fit: contain; display: block; border: 1px solid #ececec; }
.notes-studio-name { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-size: 32px !important; font-weight: 400 !important; text-transform: uppercase; line-height: 1.1; margin: 0 0 10px !important; color: #222; }
.notes-studio-meta { font-size: 13px; color: #777; margin: 0 0 16px; }
.notes-studio-bio p { font-size: 16px; line-height: 1.65; color: #222; margin: 0 0 12px; }
.notes-studio-links { font-size: 13px; margin: 14px 0 0; color: #999; }
.notes-studio-links a { color: #222; text-decoration: underline; text-underline-offset: 3px; }
.notes-studio-count { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a85; margin: 0 0 16px; padding-top: 18px; border-top: 1px solid #ececec; }
@media (max-width: 599px) { .notes-studio-head { flex-direction: column; gap: 18px; } .notes-studio-logo, .notes-studio-logo img { width: 88px; height: 88px; flex-basis: 88px; } .notes-studio-name { font-size: 26px !important; } }

/* Signup: form + explainer */
.notes-acc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 1080px; margin: 0 auto; align-items: start; }
.notes-acc-split > .notes-acc { max-width: none !important; margin: 0 !important; padding-right: 48px; }
.notes-acc-aside { border-left: 1px solid rgba(0,0,0,0.12); padding-left: 48px; position: sticky; top: 96px; }
.notes-acc-aside-item { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid rgba(0,0,0,0.08); opacity: 0.45; transition: opacity 0.2s; }
.notes-acc-aside-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.notes-acc-aside-item.is-on { opacity: 1; }
.notes-acc-aside-item h3 { margin: 0 0 8px !important; font-size: 15px !important; font-weight: 500 !important; color: #222; letter-spacing: 0; }
.notes-acc-aside-item p { margin: 0 0 8px !important; font-size: 13.5px !important; line-height: 1.6 !important; color: #555; }
.notes-acc-aside-item p:last-child { margin-bottom: 0 !important; }
.notes-acc-type { grid-template-columns: 1fr 1fr !important; }
@media (max-width: 781px) {
  .notes-acc-split { grid-template-columns: 1fr; }
  .notes-acc-split > .notes-acc { padding-right: 0; }
  .notes-acc-aside { position: static; border-left: 0; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.12); padding-top: 28px; margin-top: 32px; }
  .notes-acc-type { grid-template-columns: 1fr !important; }
}

.notes-acc-aside-item p { text-align: justify; text-justify: inter-word; }
body:is(.page-id-5742, .page-id-5743, .page-id-5744) .notes-page-title { text-align: center !important; }

/* Account pages: centred */
.notes-acc { margin-left: auto !important; margin-right: auto !important; }
body:is(.page-id-5742, .page-id-5743, .page-id-5744) .notes-page-title { margin-bottom: 40px !important; }
.notes-acc-links { display: flex; justify-content: space-between; flex-wrap: wrap; }
@media (max-width: 781px) {
  body:is(.page-id-5742, .page-id-5743, .page-id-5744) .notes-page-main { padding-left: 20px !important; padding-right: 20px !important; }
  body:is(.page-id-5742, .page-id-5743, .page-id-5744) .notes-page-title { margin-bottom: 28px !important; }
  .notes-acc-type { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .notes-acc-choice { padding: 12px 12px 10px; }
  .notes-acc-choice strong { font-size: 14px; }
  .notes-acc-choice em { font-size: 11.5px; }
  .notes-acc-links { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
}

/* Image like / report */
body.single .project-media-meta .notes-img-actions { display: inline-flex !important; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.notes-img-actions button { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 !important; margin: 0; border: 0 !important; background: none !important; box-shadow: none !important; color: #777; cursor: pointer; font: 400 12px/1 Arial, sans-serif; transition: color 0.15s; }
.notes-img-actions button:hover { color: #222; }
.notes-img-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.notes-like.is-on { color: #c0392b; }
.notes-like.is-on svg { fill: currentColor; }
.notes-like.is-on:hover { color: #a93226; }
.notes-like-n:empty { display: none; }
.notes-like-n { min-width: 1ch; font-variant-numeric: tabular-nums; }
html.notes-modal-open { overflow: hidden; }
.notes-report-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,20,20,0.55); }
.notes-report-modal[hidden] { display: none; }
.notes-report-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; padding: 36px 32px 30px; }
.notes-report-box h2 { margin: 0 0 8px !important; font-size: 20px !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: 0.01em; color: #222; }
.notes-report-intro { margin: 0 0 18px !important; font-size: 13px !important; line-height: 1.55; color: #777; }
.notes-report-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; padding: 0; border: 0; background: none; font-size: 26px; line-height: 1; color: #777; cursor: pointer; }
.notes-report-close:hover { color: #222; }
.notes-report-status { min-height: 1em; margin: 12px 0 0 !important; font-size: 13px !important; color: #777; }
.notes-report-status.is-ok { color: #1a7f37; }
.notes-report-status.is-err { color: #b32d2e; }
@media (max-width: 599px) {
  .notes-report-modal { align-items: flex-end; padding: 0; }
  .notes-report-box { max-width: none; max-height: 92vh; padding: 30px 20px 24px; }
  body.single .project-media-meta .notes-img-actions { gap: 16px; }
}

.notes-like-tip { position: fixed; z-index: 99990; padding: 8px 12px; background: #222; color: #fff; font: 400 12px/1.4 Arial, sans-serif; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.notes-like-tip[hidden] { display: none; }
.notes-like-tip a { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }
.notes-like-tip:after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #222; }

/* Password show / hide */
.notes-pass { position: relative; display: block; }
.notes-pass input { padding-right: 64px !important; width: 100%; }
.notes-pass-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 6px 2px !important; margin: 0; border: 0 !important; background: none !important; box-shadow: none !important; font: 400 11px/1 Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a85; cursor: pointer; }
.notes-pass-toggle:hover { color: #222; }

/* Archive pages: gallery aligned with the header, as before */
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country) main.wp-block-group:has(> .notes-mat-main) { margin-top: 0 !important; padding: 0 !important; max-width: none !important; }
body:is(.tax-notes_material, .category, .tag, .tax-notes_project_type, .tax-notes_city, .tax-notes_country) main.wp-block-group > .notes-mat-main { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Share row on phones: label and icons on one line */
@media (max-width: 599px) {
  .notes-share { flex-wrap: nowrap !important; gap: 6px !important; }
  .notes-share-list { flex-wrap: nowrap !important; gap: 0 !important; }
  .notes-share-btn, .notes-share-native, .notes-share-copy { min-width: 30px !important; padding: 0 4px !important; }
  .notes-share-label { flex: none; margin-right: 2px; }
}

/* Share row on phones, v2: label and icons together on one line */
@media (max-width: 781px) {
  .notes-share { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 10px !important; }
  .notes-share-list { justify-content: flex-start !important; width: auto !important; gap: 2px !important; flex-wrap: nowrap !important; }
  .notes-share-btn, .notes-share-native, .notes-share-copy { min-width: 32px !important; padding: 0 4px !important; }
}
/* Like and report icons: same size, same baseline */
.notes-img-actions { gap: 12px !important; }
.notes-img-actions button { height: 24px !important; width: 24px; justify-content: center; }
.notes-img-actions button.notes-like { width: auto; min-width: 24px; }
.notes-img-actions svg { width: 18px !important; height: 18px !important; display: block; }

/* Share row on phones, v3: one full-width row, evenly spaced, label centred on the icon line */
@media (max-width: 781px) {
  .notes-share { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; width: 100%; }
  .notes-share-label { display: flex !important; align-items: center; height: 32px; margin: 0 !important; line-height: 1 !important; flex: none; }
  .notes-share-list { flex: 1 1 auto; display: flex !important; align-items: center !important; justify-content: space-between !important; width: auto !important; margin: 0 !important; gap: 0 !important; }
  .notes-share-btn, .notes-share-native, .notes-share-copy { height: 32px !important; min-width: 32px !important; padding: 0 !important; margin: 0 !important; }
}

/* Credit and like/report always on one line */
body.single .project-media-meta { flex-wrap: nowrap !important; align-items: center !important; gap: 10px !important; }
body.single .project-media-meta .project-photo-credit { flex: 1 1 auto; min-width: 0; }
body.single .project-media-meta .notes-img-actions { flex: none !important; flex-wrap: nowrap !important; margin-left: auto; }
@media (max-width: 599px) {
  body.single .project-media-meta .notes-img-actions { gap: 8px !important; }
}

/* Image caption row on phones: close to the image, small icons flush right */
@media (max-width: 781px) {
  body.single .project-media-card .project-media-meta { padding: 7px 0 0 !important; margin: 0 !important; min-height: 0 !important; gap: 8px !important; align-items: center !important; }
  body.single .project-media-meta .project-photo-credit { font-size: 12px !important; line-height: 1.35 !important; margin: 0 !important; padding: 0 !important; }
  body.single .project-media-meta .notes-img-actions { gap: 6px !important; margin: 0 0 0 auto !important; padding: 0 !important; }
  body.single .project-media-meta .notes-img-actions button { width: 20px !important; min-width: 20px !important; height: 20px !important; }
  body.single .project-media-meta .notes-img-actions svg { width: 15px !important; height: 15px !important; }
  body.single .project-media-meta .notes-like-n { font-size: 11px; }
}

/* Report only (like hidden); caption row aligned to the image edges on every screen */
body.single .project-media-meta .notes-like { display: none !important; }
body.single .project-media-card .project-media-meta { padding-left: 0 !important; padding-right: 0 !important; }
body.single .project-media-meta .notes-img-actions { margin-left: auto !important; margin-right: 0 !important; padding: 0 !important; gap: 0 !important; }
body.single .project-media-meta .notes-report { width: 20px !important; min-width: 20px !important; justify-content: flex-end !important; }

/* Home: no share button on gallery images */
.notes-gallery-share, .notes-gallery-actions .notes-gallery-share { display: none !important; }

/* Menu: search box aligned with the menu items */
.notes-menu-panel .notes-menu-search-wrap, #notes-menu-panel .notes-menu-search-wrap { padding: 14px 18px !important; margin: 0 !important; box-sizing: border-box; }
#notes-menu-panel .notes-menu-search-wrap form { margin: 0 !important; width: 100% !important; box-sizing: border-box; }

/* Dialogues: same type as project pages (Manrope 14px, #555); questions bold, same size */
body.notes-dialogue .notes-essay-page .wp-block-post-content p,
body.notes-dialogue .notes-essay-page .wp-block-post-content li { font-family: Manrope, Arial, sans-serif !important; font-size: 14px !important; line-height: 1.7 !important; font-weight: 400 !important; color: #555 !important; letter-spacing: -0.1px !important; margin: 0 0 14px !important; }
body.notes-dialogue .notes-essay-page .wp-block-post-content p strong { font-weight: 600 !important; color: #333 !important; }
body.notes-dialogue .notes-essay-page .wp-block-post-content p.notes-q { margin: 30px 0 8px !important; color: #222 !important; }
body.notes-dialogue .notes-essay-page .wp-block-post-content p.notes-q strong { font-weight: 700 !important; color: #222 !important; }
body.notes-dialogue .notes-essay-page .wp-block-post-content h2,
body.notes-dialogue .notes-essay-page .wp-block-post-content h3 { color: #222 !important; }
body.notes-dialogue .notes-essay-page .wp-block-post-content figcaption { font-family: Manrope, Arial, sans-serif !important; font-size: 12px !important; font-weight: 400 !important; color: #777 !important; }
body.notes-dialogue .notes-essay-page .essay-title { color: #444 !important; }

/* ---------- Collections: save button, popover, account panel, public albums ---------- */
body.single .project-media-meta .notes-img-actions { gap: 8px !important; }
body.single .project-media-meta .notes-save { width: 20px !important; min-width: 20px !important; justify-content: center !important; }
.notes-img-actions .notes-save svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.notes-img-actions .notes-save.is-on { color: #222 !important; }
.notes-img-actions .notes-save.is-on svg { fill: currentColor; }

.notes-save-pop { position: fixed; z-index: 99991; width: 240px; padding: 14px 14px 10px; background: #fff; border: 1px solid #e3e3e0; box-shadow: 0 8px 28px rgba(0,0,0,0.12); font: 400 13px/1.45 Manrope, Arial, sans-serif; color: #333; }
.notes-save-pop[hidden] { display: none; }
.notes-save-pop .nsp-head { margin: 0 0 10px !important; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #8a8a85; }
.notes-save-pop .nsp-albums { max-height: 180px; overflow: auto; margin: 0 0 10px; }
.notes-save-pop .nsp-albums label { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.notes-save-pop .nsp-albums input { accent-color: #222; margin: 0; }
.notes-save-pop em, .notes-coll-bar em { font-style: normal; font-size: 11px; color: #9a9a95; }
.notes-save-pop .nsp-new { display: flex; gap: 6px; margin: 0 0 10px; }
.notes-save-pop .nsp-new input { flex: 1; min-width: 0; height: 30px; padding: 0 8px; border: 1px solid #ddd; font: inherit; font-size: 12px; }
.notes-save-pop .nsp-new button { height: 30px; padding: 0 10px; border: 0; background: #222; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.notes-save-pop .nsp-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid #eee; font-size: 12px; }
.notes-save-pop .nsp-foot a { color: #222 !important; text-decoration: underline; text-underline-offset: 3px; }
.notes-save-pop .nsp-remove { border: 0; background: none; padding: 0; color: #b32d2e; font: inherit; font-size: 12px; cursor: pointer; }

.notes-acc.notes-acc--xl { max-width: 1080px !important; }
.notes-acc--xl > .notes-acc-head, .notes-acc--xl > .notes-form-note, .notes-acc--xl .notes-acc-profile { max-width: 560px; margin-left: auto; margin-right: auto; }
.notes-acc-tabs { display: flex; justify-content: center; gap: 28px; margin: 6px 0 28px; border-bottom: 1px solid #eee; }
.notes-acc-tabs a { padding: 10px 2px; margin-bottom: -1px; border-bottom: 1px solid transparent; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a85 !important; text-decoration: none !important; }
.notes-acc-tabs a.is-on { color: #222 !important; border-bottom-color: #222; }
.notes-acc-panel[hidden] { display: none !important; }

.notes-coll-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.notes-coll-title { margin: 0 !important; font-size: 15px !important; font-weight: 500 !important; color: #222; }
.notes-coll-public { font-size: 12px; color: #222 !important; text-decoration: underline; text-underline-offset: 3px; }
.notes-coll-note { margin: 0 0 18px !important; font-size: 13px !important; color: #8a8a85; }
.notes-coll-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.notes-coll-bar > button { height: 30px; padding: 0 12px; border: 1px solid #ddd; background: #fff; color: #555; font: inherit; font-size: 12px; cursor: pointer; }
.notes-coll-bar > button span { color: #9a9a95; margin-left: 4px; }
.notes-coll-bar > button.is-on { border-color: #222; color: #222; }
.notes-coll-new { display: flex; gap: 6px; margin: 0 0 0 auto; }
.notes-coll-new input { width: 160px; height: 30px; padding: 0 8px; border: 1px solid #ddd; font: inherit; font-size: 12px; }
.notes-coll-new button, .notes-coll-tools button { height: 30px; padding: 0 12px; border: 0; background: #222; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.notes-coll-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 16px; padding: 10px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; font-size: 12px; }
.notes-coll-tools[hidden] { display: none; }
.notes-coll-tools a { color: #222 !important; text-decoration: underline; text-underline-offset: 3px; }
.notes-coll-tools button { background: none; color: #555; padding: 0; height: auto; }
.notes-coll-tools button.is-danger { color: #b32d2e; margin-left: auto; }
.notes-coll-vis { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.notes-coll-vis input { accent-color: #222; margin: 0; }
.notes-coll-grid { column-count: 4; column-gap: 20px; }
.notes-coll-item { break-inside: avoid; margin: 0 0 20px !important; }
.notes-coll-item img { display: block; width: 100%; height: auto; }
.notes-coll-item figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; font-size: 12px; color: #555; }
.notes-coll-item figcaption a { color: #555 !important; text-decoration: none !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notes-coll-actions { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.notes-coll-actions select { max-width: 96px; height: 24px; padding: 0 4px; border: 1px solid #ddd; font: inherit; font-size: 11px; background: #fff; }
.notes-coll-actions button { border: 0; background: none; padding: 0 2px; font-size: 18px; line-height: 1; color: #9a9a95; cursor: pointer; }
.notes-coll-actions button:hover { color: #b32d2e; }
.notes-coll-empty { font-size: 13px; color: #8a8a85; padding: 30px 0; text-align: center; }
@media (max-width: 1023px) { .notes-coll-grid { column-count: 3; } }
@media (max-width: 599px) {
  .notes-coll-grid { column-count: 2; column-gap: 12px; }
  .notes-coll-item { margin-bottom: 14px !important; }
  .notes-coll-new { margin: 6px 0 0; width: 100%; }
  .notes-coll-new input { flex: 1; width: auto; }
  .notes-coll-actions select { max-width: 70px; }
}

.notes-albums { margin-top: 48px; padding-top: 18px; border-top: 1px solid #eee; }
.notes-album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.notes-album-card { display: block; color: #222 !important; text-decoration: none !important; }
.notes-album-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 1 / 1; overflow: hidden; background: #f2f2ef; margin-bottom: 8px; }
.notes-album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.notes-album-cover.n1 { grid-template-columns: 1fr; }
.notes-album-cover.n1 img { grid-column: 1 / -1; }
.notes-album-cover.n2 img, .notes-album-cover.n3 img:first-child { grid-row: span 2; }
.notes-album-name { display: block; font-size: 14px; }
.notes-album-count { display: block; font-size: 12px; color: #8a8a85; }
.notes-album-back { margin: 0 0 6px !important; font-size: 12px; }
.notes-album-back a { color: #8a8a85 !important; text-decoration: none !important; }
.notes-album-back a:before { content: "\2190  "; }
@media (max-width: 781px) { .notes-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* Account: name on the left, Collection / Profile on the right, one row */
.notes-acc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 28px; border-bottom: 1px solid #eee; }
.notes-acc--xl .notes-acc-top > .notes-acc-head { max-width: none !important; margin: 0 !important; padding: 0 0 12px !important; border: 0 !important; flex: 1 1 auto; min-width: 0; }
.notes-acc-top .notes-acc-head .notes-acc-name { margin: 0 !important; }
.notes-acc-top .notes-acc-head .notes-acc-status { margin: 6px 0 0 !important; }
.notes-acc-top .notes-acc-tabs { margin: 0 !important; border-bottom: 0 !important; justify-content: flex-end; flex: none; gap: 24px; }
@media (max-width: 599px) {
  .notes-acc-top { flex-direction: column; align-items: stretch; gap: 10px; }
  .notes-acc-top .notes-acc-tabs { justify-content: flex-start; }
}

/* Menu grouping: project types folded under "Projects" */
.notes-menu-acc { margin: 0; }
.notes-menu-acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 18px; cursor: pointer; text-transform: uppercase; color: inherit; font: inherit; }
.notes-menu-acc > summary::-webkit-details-marker { display: none; }
.notes-menu-acc > summary:after { content: "+"; font-size: 16px; line-height: 1; color: #8a8a85; }
.notes-menu-acc[open] > summary:after { content: "\2212"; }
.notes-menu-acc > summary:hover { background: #f6f6f4; }
.notes-menu-sub { display: grid; grid-template-columns: 1fr 1fr; padding: 2px 0 8px 12px; }
.notes-menu-sub a { padding: 4px 18px 4px 18px !important; font-size: 0.86em !important; color: #666 !important; }
.notes-menu-account .notes-menu-logout { color: #8a8a85 !important; }

.notes-menu-acc > summary { font-family: Manrope, sans-serif !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0.52px !important; line-height: 17.55px !important; color: rgb(87, 87, 82) !important; }
.notes-menu-acc > summary:after { font-size: 15px !important; }
.notes-menu-sub a { font-size: 12px !important; letter-spacing: 0.4px !important; }

/* Save article button in the share row */
.notes-save-post { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-left: auto; padding: 0 2px 0 10px; border: 0; background: none; color: #575752; font: inherit; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.notes-save-post svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.notes-save-post:hover { color: #222; }
.notes-save-post.is-on { color: #222; }
.notes-save-post.is-on svg { fill: currentColor; }
.notes-essay-page .essay-share .notes-save-post { margin-left: 8px; }
@media (max-width: 781px) {
  .notes-save-post { padding-left: 4px; gap: 0; }
  .notes-save-post .notes-save-post-text { display: none; }
}

/* Saved articles list */
.notes-rl { margin-top: 48px; padding-top: 18px; border-top: 1px solid #eee; }
.notes-rl-count { font-size: 12px; color: #9a9a95; font-weight: 400; margin-left: 4px; }
.notes-rl-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.notes-rl-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; margin: 0 !important; }
.notes-rl-item:last-child { border-bottom: 0; }
.notes-rl-thumb { display: block; width: 88px; height: 66px; background: #f2f2ef; overflow: hidden; }
.notes-rl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.notes-rl-meta { margin: 0 0 3px !important; font-size: 11px !important; letter-spacing: 0.04em; text-transform: uppercase; color: #9a9a95; }
.notes-rl-title { font-size: 14px; line-height: 1.4; color: #222 !important; text-decoration: none !important; }
.notes-rl-title:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.notes-rl-remove { border: 0; background: none; padding: 0 4px; font-size: 20px; line-height: 1; color: #9a9a95; cursor: pointer; }
.notes-rl-remove:hover { color: #b32d2e; }
.notes-rl-public-list .notes-rl-item { grid-template-columns: 88px minmax(0, 1fr); }
@media (max-width: 599px) { .notes-rl-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; } .notes-rl-thumb { width: 64px; height: 48px; } }

.notes-save-post { margin-left: 4px !important; padding: 0 4px !important; gap: 0 !important; min-width: 32px; justify-content: center; }
.notes-save-post .notes-save-post-text { display: none !important; }
.notes-share { flex-wrap: nowrap; }

/* Share row with Save: one line on every screen */
.notes-share { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 10px !important; }
.notes-share-label { flex: none; line-height: 1 !important; margin: 0 !important; }
.notes-share-list { flex: 1 1 auto; display: flex !important; align-items: center !important; flex-wrap: nowrap !important; justify-content: space-between !important; gap: 0 !important; width: auto !important; margin: 0 !important; min-width: 0; }
.notes-share-copy .notes-share-copy-text { display: none !important; }
.notes-share-copy.is-copied .notes-share-copy-text { display: inline !important; }
.notes-save-post { flex: none; margin-left: 2px !important; }

/* Login / signup checkboxes: box and label on one line, centred */
.notes-acc-check { display: flex !important; align-items: center !important; gap: 8px; }
.notes-acc-check input { margin: 0 !important; vertical-align: middle !important; flex: none; width: 15px; height: 15px; }

/* Public profile: no empty gap and double rule when there are no projects */
.notes-studio-head + .notes-albums { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
.notes-albums + .notes-albums { margin-top: 40px; }

/* Saved articles: tools row like the album row */
.notes-rl-tools { margin-top: 0; }
.notes-rl-tools[hidden], .notes-rl-view[hidden] { display: none !important; }
.notes-rl .notes-coll-vis { font-size: 12px; }

/* Square grids, 4 per row, for saved images, albums and saved articles */
.notes-coll-grid, .notes-sq-grid, .notes-rl-list { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; column-count: auto !important; }
.notes-coll-item { margin: 0 !important; }
.notes-coll-item > a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f2f2ef; }
.notes-coll-item > a img { width: 100%; height: 100% !important; object-fit: cover; }
.notes-coll-item[hidden], .notes-rl-item[hidden], .notes-sq-grid > [hidden] { display: none !important; }

.notes-sq-grid > .notes-mat-card { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f2f2ef; margin: 0 !important; }
.notes-sq-grid > .notes-mat-card img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }

.notes-rl-item { position: relative; display: block !important; padding: 0 !important; border: 0 !important; }
.notes-rl-thumb { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; margin-bottom: 8px; background: #f2f2ef; overflow: hidden; }
.notes-rl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.notes-rl-text { min-width: 0; }
.notes-rl-meta { font-size: 10.5px !important; margin-bottom: 2px !important; }
.notes-rl-title { display: block; font-size: 13px; line-height: 1.4; }
.notes-rl-remove { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; padding: 0 !important; background: rgba(255,255,255,0.9) !important; color: #555 !important; font-size: 18px !important; line-height: 26px !important; text-align: center; border-radius: 50%; }
.notes-rl-remove:hover { color: #b32d2e !important; }

.notes-pager { display: flex; justify-content: center; gap: 4px; margin: 28px 0 0; }
.notes-pager[hidden] { display: none; }
.notes-pager button { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid #e3e3e0; background: #fff; color: #555; font: inherit; font-size: 12px; cursor: pointer; }
.notes-pager button.is-on { border-color: #222; color: #222; }
.notes-pager button:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 781px) {
  .notes-coll-grid, .notes-sq-grid, .notes-rl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}

/* Profile sections: one rule per section (the label carries it) */
.notes-albums { border-top: 0 !important; padding-top: 0 !important; margin-top: 40px !important; }
.notes-studio-head + .notes-albums { margin-top: 0 !important; }

/* Profile (account) and public profile pages: full width like project pages */
body:is(.page-id-5744, .page-id-5745) .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; }
body.page-id-5745 .wp-block-post-content > *, body.page-id-5745 .notes-studio { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
body.page-id-5744 .wp-block-post-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
body.page-id-5744 .notes-acc.notes-acc--xl { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Opinions / Dialogues: compact share row, centred under the title */
.notes-essay-page .notes-share { width: auto !important; justify-content: center !important; gap: 12px !important; }
.notes-essay-page .notes-share-list { flex: none !important; justify-content: flex-start !important; gap: 6px !important; }
.notes-essay-page .notes-share-copy { border-left: 0 !important; margin-left: 0 !important; padding-left: 0 !important; }
.notes-essay-page .notes-share-btn, .notes-essay-page .notes-share-copy, .notes-essay-page .notes-share-native, .notes-essay-page .notes-save-post { min-width: 32px !important; padding: 0 !important; margin: 0 !important; justify-content: center; }
@media (max-width: 599px) {
  .notes-essay-page .notes-share { gap: 8px !important; }
  .notes-essay-page .notes-share-list { gap: 2px !important; }
}
