.reward-grid {
	display: grid;
	grid-template-columns: repeat(var(--reward-cols, 3), minmax(0, 1fr));
	gap: 40px;
	max-width:1200px;
	margin: 0 auto;
}

.reward-card {
	border: 1px solid #f0412a;
	border-radius: 15px;
	background: #111;
	color: #fff;
	overflow: hidden;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.reward-card__image-link {
	display: block;
}

.reward-card__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	background-color: #050505;
}

.reward-card__body {
	padding: 40px;
}

.reward-card__title {
	margin: 0 0 0px;
	font-size: 20px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -.04em;
}

.reward-card__content {
	font-size: 16px;
}

.reward-card__title a {
	color: #fff;
	text-decoration: none;
}

.reward-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.reward-card__format {
	margin: 0;
	color: #f0412a;
	font-size: 20px;
	text-transform: uppercase;
}

.reward-card__muted {
	opacity: .7;
	font-size: 15px;
}

.reward-dl {
	display: inline-block;
	padding: 14px 20px;
	background: #ffaea5;
	color: #241111 !important;
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
	border-radius: 0;
}

.reward-dl:hover {
	background: #ffc7c0;
	color: #241111 !important;
}

.reward-collection-grid {
	display: grid;
	grid-template-columns: repeat(var(--reward-cols, 3), minmax(0, 1fr));
	gap: 24px;
}

.reward-collection {
	display: flex;
	padding: 30px;
	background: #111;
	border: 1px solid #ffffff;
	color: #fff;
	text-decoration: none;
	border-radius: 12px;
	justify-content: space-between;
	align-items: center;
}

.reward-collection img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	object-position: center;
	border-radius: 10px;
}

.reward-collection h3 {
	margin: 0 0 10px;
	color: #ff5540;
	font-size: 24px;
}

.reward-collection span {
	opacity: .75;
	color: #ffb4a8;
}

.reward-collection-title {
	margin: 0 0 28px;
	color: inherit;
}

.reward-single__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}

.reward-single__gallery img {
	width: 100%;
	height: auto;
	display: block;
}

.reward-lightbox-trigger {
	display: block;
	cursor: zoom-in;
}

.reward-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 28px 76px;
	background: rgba(0, 0, 0, .88);
}

.reward-lightbox.is-open {
	display: flex;
}

.reward-lightbox-is-open {
	overflow: hidden;
}

.reward-lightbox__figure {
	position: relative;
	max-width: min(1100px, 100%);
	max-height: 100%;
	margin: 0;
}

.reward-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 96px);
	width: auto;
	height: auto;
	margin: 0 auto;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.reward-lightbox__counter {
	margin-top: 12px;
	color: #fff;
	font-size: 14px;
	text-align: center;
}

.reward-lightbox__close,
.reward-lightbox__nav {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(17, 17, 17, .8);
	color: #fff;
	cursor: pointer;
	font: inherit;
	line-height: 1;
}

.reward-lightbox__close:hover,
.reward-lightbox__nav:hover,
.reward-lightbox__close:focus,
.reward-lightbox__nav:focus {
	background: #f0412a;
	border-color: #f0412a;
	outline: none;
}

.reward-lightbox__close {
	top: 22px;
	right: 22px;
	font-size: 30px;
}

.reward-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	font-size: 42px;
}

.reward-lightbox__nav--prev {
	left: 22px;
}

.reward-lightbox__nav--next {
	right: 22px;
}

.reward-single__format {
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.reward-single__downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

@media (max-width: 900px) {
	.reward-grid,
	.reward-collection-grid {
		grid-template-columns: 100% !important;
	}

	.reward-card__body {
		padding: 24px;
	}

	.reward-card__title {
		font-size: 26px;
	}

	.reward-card__format {
		font-size: 16px;
	}

	.reward-single__gallery {
		grid-template-columns: 1fr;
	}

	.reward-lightbox {
		padding: 72px 18px 34px;
	}

	.reward-lightbox__image {
		max-height: calc(100vh - 150px);
	}

	.reward-lightbox__close {
		top: 14px;
		right: 14px;
	}

	.reward-lightbox__nav {
		top: auto;
		bottom: 18px;
		transform: none;
	}

	.reward-lightbox__nav--prev {
		left: 18px;
	}

	.reward-lightbox__nav--next {
		right: 18px;
	}
}

/* Notifications */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    padding: 20px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    position: relative;
}

.notification-item.is-unseen {
    border-left: 4px solid #f0412a;
}

.notification-item.is-seen {
    opacity: 0.8;
}

.notification-item__title {
    margin: 0 0 5px;
    font-size: 20px;
}

.notification-item__title a {
    color: #fff;
    text-decoration: none;
}

.notification-item__date {
    font-size: 14px;
    color: #888;
}

.notification-badge-new {
    display: inline-block;
    background: #f0412a;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
    font-weight: bold;
}

:root {
  --gap: 16px;
  --section-gap: 32px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: var(--section-gap);
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.archive-card {
  display: flex;
  flex-direction: column;
	background: #111;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
	border: 1px solid #cd1805;
	border-radius: 20px;
}

/* Image section */
.image-wrapper {
  position: relative;
  /* aspect-ratio: 1 / 1; */
  overflow: hidden;
  background: #000;
  border-radius: 20px;
}

.image-wrapper img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: grayscale(20%);
  transform: scale(1.05);
  transition: all 0.5s ease;
}

/* Hover effect */
.image-wrapper:hover img {
  filter: grayscale(0%);
  transform: scale(1);
}

/* Badges */
.badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}

.badges span {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid #666;
  text-transform: uppercase;
}

/* Card body */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
}

.card-footer .highlight {
  color: #007bff;
}

.card-body a {
  color: inherit;
  text-decoration: none;
}

.card-body a:hover {
  text-decoration: none;
}

.card-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.highlight {
	display: inline-block;
	padding: 10px;
	background: #ffaea5;
	color: #241111 !important;
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
	border-radius: 8px;
}

.highlight:hover {
	background: #ffc7c0;
	color: #241111 !important;
}

/* Controls (search + filters) */
.reward-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.reward-controls input,
.reward-controls select {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 10px;
  font-size: 14px;
}

.reward-controls input::placeholder {
  color: #777;
}

.reward-controls button {
  background: #ffaea5;
  color: #241111;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
}

.reward-controls button:hover {
  background: #ffc7c0;
}

/* Pagination */
.reward-pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.reward-pagination a,
.reward-pagination span {
  padding: 8px 12px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.reward-pagination .current {
  background: #ffaea5;
  color: #241111;
}

.reward-pagination a:hover {
  background: #222;
}

.reward-controls input[name="search"] {
	flex: 1 1 100%;
}

.reward-controls select,.reward-controls button {
	flex: 1 1 calc(33.3% - 10px);
}