.brandnodig-untappd-cards {
	--buc-gap: 1.25rem;
	--buc-radius: 12px;
	--buc-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	max-width: 100%;
	margin: 0 auto 2rem;
}

.brandnodig-untappd-cards__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--buc-gap);
}

@media (max-width: 1200px) {
	.brandnodig-untappd-cards__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	.brandnodig-untappd-cards__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.brandnodig-untappd-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.brandnodig-untappd-cards__grid {
		grid-template-columns: 1fr;
	}
}

.brandnodig-untappd-cards__card {
	display: flex;
	flex-direction: column;
	text-align: left;
	width: 100%;
	padding: 0;
	border-radius: 0;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	font: inherit;
	color: inherit;
	position: relative;
}

.brandnodig-untappd-cards__card-media::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(75, 36, 28, .6);
}

.brandnodig-untappd-cards__card:hover,
.brandnodig-untappd-cards__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	outline: none;
}

.brandnodig-untappd-cards__card:focus-visible {
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.35), var(--buc-shadow);
}

.brandnodig-untappd-cards__card-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.brandnodig-untappd-cards__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.brandnodig-untappd-cards__card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.brandnodig-untappd-cards__card-text {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem 1.15rem;
	position: absolute;
	left: 50%;
	bottom: 50%;
	transform: translate(-50%, 50%);
}

.brandnodig-untappd-cards__card-title {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;;
}

.brandnodig-untappd-cards__card-subtitle {
	font-size: 0.95rem;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.62);
}

.brandnodig-untappd-cards__admin-note {
	padding: 0.75em 1em;
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	color: #1a1a1a;
}

/* Modal */
.brandnodig-untappd-cards__modal[hidden] {
	display: none;
}

.brandnodig-untappd-cards__modal:not([hidden]) {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	isolation: isolate;
}

html.brandnodig-untappd-modal-open,
body.brandnodig-untappd-modal-open {
	overflow: hidden;
}

.brandnodig-untappd-cards__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.brandnodig-untappd-cards__modal-panel {
	position: relative;
	z-index: 1;
	margin: 4vh auto;
	max-width: calc(100% - 48px);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--buc-radius);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.brandnodig-untappd-cards__modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.brandnodig-untappd-cards__modal-title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.3;
}

.brandnodig-untappd-cards__modal-close {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	background: rgba(0, 0, 0, 0.06);
	border-radius: 8px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: inherit;
}

.brandnodig-untappd-cards__modal-close:hover,
.brandnodig-untappd-cards__modal-close:focus-visible {
	background: rgba(0, 0, 0, 0.12);
	outline: none;
}

.brandnodig-untappd-cards__modal-body {
	overflow: auto;
	padding: 1rem 1.25rem 1.5rem;
	-webkit-overflow-scrolling: touch;
}

.brandnodig-untappd-cards__modal-body.brandnodig-untappd-menu {
	max-width: none;
    margin: 0;
    display: flex;
    gap: 24px;
	flex-wrap: wrap;
	row-gap: 48px;
}

.brandnodig-untappd-cards__modal--loading .brandnodig-untappd-cards__modal-body {
	min-height: 4rem;
	opacity: 0.65;
}

