/* Check out the new. Homepage strip, /new.html, and the 14-day NEW badge. */

.cotn[hidden] { display: none !important; }

.cotn {
  background: #000;
  padding: 36px 0 72px;
  border-top: 1px solid rgba(201, 169, 98, 0.16);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
}

.cotn__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 22px;
}

.cotn h2.cotn__heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: #F5F2EB;
}

.cotn a.cotn__all,
.page-lux a.cotn__all,
.page-home a.cotn__all {
  color: #C9A962;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.cotn a.cotn__all:hover,
.page-lux a.cotn__all:hover,
.page-home a.cotn__all:hover {
  color: #E0C888;
  text-decoration: underline;
}
.cotn a.cotn__all:focus-visible {
  outline: 2px solid #C9A962;
  outline-offset: 3px;
  border-radius: 4px;
}

.cotn__viewport { position: relative; }

.cotn__track,
.cotn-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cotn__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cotn__track > li,
.cotn-grid > li {
  margin: 0;
  min-width: 0;
  display: flex;
}

.cotn-card,
.page-lux a.cotn-card,
.page-home a.cotn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #12141A;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #F5F2EB;
}
.cotn-card:hover,
.page-lux a.cotn-card:hover,
.page-home a.cotn-card:hover {
  border-color: rgba(201, 169, 98, 0.7);
  color: #F5F2EB;
  text-decoration: none;
}
.cotn-card:focus-visible {
  outline: 2px solid #C9A962;
  outline-offset: 3px;
}

.cotn-card__media {
  aspect-ratio: 4 / 3;
  background: #08080A;
  overflow: hidden;
}
.cotn-card__media picture { display: block; width: 100%; height: 100%; }
.cotn-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cotn-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 14px 16px 16px;
  flex: 1;
}

.cotn-card__type {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A962;
}

.cotn-card__title {
  display: block;
  margin-top: 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  color: #F5F2EB;
}

.cotn-card__blurb {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  max-width: 100%;
  color: rgba(245, 242, 235, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

.cotn-card__date {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  color: rgba(245, 242, 235, 0.5);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.02em;
}

.cotn__arrows { display: none; }

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

/* Phone: swipe carousel. Desktop stays a grid. */
@media (max-width: 900px) and (min-width: 721px) {
  .cotn__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .cotn { padding: 28px 0 48px; }
  .cotn__head { margin-bottom: 16px; }
  .cotn__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .cotn__track::-webkit-scrollbar { display: none; }
  .cotn__track > li {
    flex: 0 0 84%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .cotn__track > li:only-child { flex-basis: 100%; }
  .cotn__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
  }
  .cotn__arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.6);
    background: #08080A;
    color: #F5F2EB;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
  }
  .cotn__arrow:disabled { opacity: 0.35; cursor: default; }
  .cotn__arrow:focus-visible {
    outline: 2px solid #C9A962;
    outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cotn__track { scroll-behavior: auto; }
}

/* Full feed (/new.html) */
.cotn-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.cotn-filters button {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.55);
  background: transparent;
  color: #F5F2EB;
  cursor: pointer;
}
.cotn-filters button[aria-pressed="true"] {
  background: #C9A962;
  border-color: #C9A962;
  color: #14110C;
}
.cotn-filters button:focus-visible {
  outline: 2px solid #C9A962;
  outline-offset: 2px;
}

.cotn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cotn-block + .cotn-block { margin-top: 40px; }
.cotn-block h2 { margin: 0 0 16px; }
.cotn-empty { margin: 0; }

.cotn-month { margin: 0 0 28px; }
.cotn-month h3 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}

.cotn-row,
.page-lux a.cotn-row {
  display: grid;
  grid-template-columns: 7.5rem 5.2rem minmax(0, 1fr);
  gap: 6px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 169, 98, 0.18);
  text-decoration: none;
  color: #F5F2EB;
}
.cotn-month .cotn-row:last-child { border-bottom: 1px solid rgba(201, 169, 98, 0.18); }
.cotn-row:hover,
.page-lux a.cotn-row:hover {
  color: #F5F2EB;
  text-decoration: none;
}
.cotn-row:hover .cotn-card__title { color: #C9A962; }
.cotn-row:focus-visible {
  outline: 2px solid #C9A962;
  outline-offset: 3px;
}
.cotn-row .cotn-card__title { margin-top: 0; font-size: 1.35rem; }
.cotn-row .cotn-card__blurb { margin-top: 2px; }
.cotn-row time {
  color: rgba(245, 242, 235, 0.5);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .cotn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cotn-grid { grid-template-columns: 1fr; }
  .cotn-row,
  .page-lux a.cotn-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* NEW badge: market booths, list cards, and pages from the last 14 days. */
.cotn-badge,
.booth-chip.cotn-badge,
.mk-chip.cotn-badge {
  background: #C9A962;
  color: #14110C;
  border-color: #C9A962;
  letter-spacing: 0.14em;
}

.cotn-badge--page {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.mk-booth__new {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #C9A962;
  color: #14110C;
  font: 700 13px/1.2 "Source Sans 3", system-ui, sans-serif;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
