/* Streekgids Agenda Compleet - frontend */

.sg-expired-event {
	display: grid;
	gap: 3px;
	box-sizing: border-box;
	margin: 0 0 1.5rem;
	padding: 14px 16px;
	border: 1px solid #cbd7df;
	border-left: 5px solid #4f7590;
	border-radius: 8px;
	background: #f3f6f8;
	color: #2c3330;
}

.sg-expired-event strong {
	font-size: 1.05rem;
	line-height: 1.35;
}

.sg-expired-event span {
	color: #596873;
	font-size: .9rem;
}

.sg-promoted-event {
	display: grid;
	grid-template-columns: minmax(260px, 42%) 1fr;
	max-width: 1240px;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid #d7e0e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(21, 36, 49, .1);
}

.sg-promoted-event--no-image {
	grid-template-columns: 1fr;
}

.sg-promoted-event__media {
	display: block;
	min-height: 260px;
	overflow: hidden;
	background: #e9eef2;
}

.sg-promoted-event__image {
	display: block;
	width: 100%;
	height: 100% !important;
	min-height: 260px;
	object-fit: cover;
}

.sg-promoted-event__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(1.25rem, 3vw, 2.5rem);
}

.sg-promoted-event__label {
	display: inline-block;
	margin-bottom: .65rem;
	padding: .25rem .55rem;
	border-radius: 4px;
	background: #e9eef2;
	color: #3f6179;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.sg-promoted-event__title {
	margin: 0;
	font-size: clamp(1.45rem, 3vw, 2.35rem);
	line-height: 1.15;
}

.sg-promoted-event__title a {
	color: #2c3330 !important;
	text-decoration: none;
}

.sg-promoted-event__title a:hover,
.sg-promoted-event__title a:focus {
	color: #3f6179 !important;
}

.sg-promoted-event__meta {
	margin: .75rem 0 0;
	color: #3f6179;
	font-size: .9rem;
	font-weight: 750;
}

.sg-promoted-event__excerpt {
	margin: .7rem 0 0;
	color: #4c5a64;
	line-height: 1.55;
}

.sg-promoted-event__button {
	display: inline-block;
	margin-top: 1rem;
	padding: .65rem 1rem;
	border-radius: 5px;
	background: #4f7590;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none;
}

.sg-promoted-event__button:hover,
.sg-promoted-event__button:focus {
	background: #3f6179;
	color: #fff !important;
}

.sg-agenda-snel {
	background: #fff;
}

.sg-agenda-snel__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}

.sg-agenda-snel__search,
.sg-agenda-snel__placefilter {
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	background: #fff;
	font-size: 14px;
}

.sg-agenda-snel__search {
	width: 260px;
	max-width: 100%;
}

.sg-agenda-snel__placefilter {
	min-width: 180px;
}

.sg-agenda-snel__sectiontitle {
	margin: 22px 0 12px;
	color: #123f73;
	font-size: 18px;
	font-weight: 700;
}

.sg-agenda-snel__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-agenda-snel__day {
	margin: 24px 0 10px;
	color: #0f172a;
	font-size: 18px;
	font-weight: 800;
	list-style: none;
}

.sg-agenda-snel__item {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
	line-height: 1.5;
	list-style: none;
}

.sg-agenda-snel__link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #0f172a;
	text-decoration: none;
}

.sg-agenda-snel__link:hover,
.sg-agenda-snel__link:focus {
	color: #0b5aa5;
	text-decoration: underline;
}

.sg-agenda-snel__thumb {
	width: 58px;
	height: 58px;
	object-fit: cover;
	flex: 0 0 58px;
}

.sg-agenda-snel__content {
	display: block;
}

.sg-agenda-snel__badge {
	display: inline-block;
	margin-right: 10px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fef3c7;
	color: #92400e;
	font-size: 12px;
	font-weight: 700;
}

.sg-agenda-snel__place {
	font-weight: 800;
	letter-spacing: .02em;
}

.sg-agenda-snel__title {
	font-weight: 500;
}

.sg-agenda-snel__meta {
	margin-left: 8px;
	color: #64748b;
	font-size: 13px;
	white-space: nowrap;
}

.sg-agenda-snel__excerpt {
	margin-top: 4px;
	color: #475569;
	font-size: 14px;
}

.sg-agenda-snel__empty {
	margin: 8px 0 0;
}

.sg-complete-agenda {
	display: grid;
	gap: 28px;
}

.sg-complete-agenda__submit {
	margin: 0;
}

.sg-complete-agenda__submit a,
.sg-event-form__actions button {
	display: inline-block;
	padding: 12px 18px;
	border: 0;
	border-radius: 7px;
	background: #0d4b8f;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.sg-complete-agenda__submit a:hover,
.sg-complete-agenda__submit a:focus,
.sg-event-form__actions button:hover,
.sg-event-form__actions button:focus {
	background: #08386d;
}

.sg-complete-agenda__group h2 {
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid #d8e0e8;
	color: #123f73;
}

.sg-complete-agenda__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-complete-agenda__item {
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid #dde3ea;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 42, 68, .06);
	break-inside: avoid;
	page-break-inside: avoid;
}

.sg-complete-agenda__item > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #222;
	text-decoration: none;
}

.sg-complete-agenda__item > a:hover strong,
.sg-complete-agenda__item > a:focus strong {
	color: #3f6179;
}

.sg-complete-agenda__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: #eef2f5;
	aspect-ratio: 16 / 9;
}

.sg-complete-agenda__image {
	display: block;
	width: 100%;
	height: 100% !important;
	max-height: none !important;
	aspect-ratio: auto;
	object-fit: cover;
	transition: transform .2s ease;
}

.sg-complete-agenda__item > a:hover .sg-complete-agenda__image,
.sg-complete-agenda__item > a:focus .sg-complete-agenda__image {
	transform: scale(1.025);
}

.sg-complete-agenda__date-badge {
	position: absolute;
	bottom: 0;
	left: 12px;
	display: flex;
	min-width: 48px;
	box-sizing: border-box;
	flex-direction: column;
	align-items: center;
	padding: 7px 8px 6px;
	border-radius: 7px 7px 0 0;
	background: #fff;
	color: #123f73;
	line-height: 1;
	box-shadow: 0 -2px 8px rgba(15, 42, 68, .12);
}

.sg-complete-agenda__date-badge strong {
	font-size: 20px;
	line-height: 1;
}

.sg-complete-agenda__date-badge span {
	margin-top: 3px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
}

.sg-complete-agenda__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 13px;
}

.sg-complete-agenda__body strong {
	color: #123f73;
	font-size: 1rem;
	line-height: 1.3;
}

.sg-complete-agenda__date {
	color: #3f6179 !important;
	font-size: .83rem !important;
	font-weight: 700;
}

.sg-complete-agenda__place {
	color: #58636c !important;
	font-size: .78rem !important;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.sg-complete-agenda__excerpt {
	margin-top: 2px;
	color: #475569 !important;
	font-size: .88rem !important;
	line-height: 1.45;
}

.sg-tip {
	padding: 14px 16px;
	border: 1px solid rgba(249, 115, 22, .25);
	border-radius: 16px;
	background: #fff7ed;
}

.sg-tip__label {
	margin-bottom: 14px;
	font-size: 22px;
	font-weight: 700;
}

.sg-tip__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-tip__item {
	margin: 0;
}

.sg-tip__link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #111827;
	text-decoration: none;
}

.sg-tip__link:hover,
.sg-tip__link:focus {
	text-decoration: underline;
}

.sg-tip__thumb {
	width: 58px;
	height: 58px;
	border-radius: 10px;
	object-fit: cover;
	flex: 0 0 58px;
}

.sg-tip__content {
	display: block;
}

.sg-tip__title {
	font-weight: 500;
	line-height: 1.5;
}

.sg-tip__badge {
	display: inline-block;
	margin-bottom: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #065f46;
	font-size: 12px;
	font-weight: 700;
}

.sg-tip__badge--running {
	background: #fef3c7;
	color: #92400e;
}

.sg-tip__badge--today {
	background: #fee2e2;
	color: #991b1b;
}

.sg-tip__badge--tomorrow {
	background: #dbeafe;
	color: #1d4ed8;
}

.sg-tip__more {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.sg-tip__more a {
	font-weight: 700;
	text-decoration: none;
}

.sg-tip__more a:hover,
.sg-tip__more a:focus {
	text-decoration: underline;
}

.sg-weekend-agenda__day {
	margin: 0 0 18px;
}

.sg-weekend-agenda__heading {
	margin: 20px 0 10px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: .3px;
}

.sg-weekend-agenda__item {
	margin: 0 0 10px;
	line-height: 1.5;
}

.sg-weekend-agenda__place {
	font-weight: 800;
}

.sg-weekend-agenda__link {
	text-decoration: none;
}

.sg-weekend-agenda__link:hover,
.sg-weekend-agenda__link:focus {
	text-decoration: underline;
}

.sg-event-form-wrap {
	padding: 18px;
	border: 1px solid rgba(15, 23, 42, .08);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

.sg-event-form-message {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 14px;
	font-weight: 600;
}

.sg-event-form-message--success {
	border: 1px solid rgba(6, 95, 70, .15);
	background: #ecfdf5;
	color: #065f46;
}

.sg-event-form-message--error {
	border: 1px solid rgba(153, 27, 27, .12);
	background: #fef2f2;
	color: #991b1b;
}

.sg-event-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.sg-event-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sg-event-form__field--full {
	grid-column: 1 / -1;
}

.sg-event-form label {
	color: #0f172a;
	font-weight: 700;
}

.sg-event-form input[type="text"],
.sg-event-form input[type="email"],
.sg-event-form input[type="url"],
.sg-event-form input[type="date"],
.sg-event-form input[type="file"],
.sg-event-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(15, 23, 42, .12);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
}

.sg-event-form textarea {
	min-height: 120px;
	resize: vertical;
}

.sg-event-form small {
	color: #64748b;
}

.sg-event-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-weight: 500;
}

.sg-event-form__promotion {
	padding: 14px;
	border: 1px solid #cbd7df;
	border-radius: 10px;
	background: #f3f6f8;
}

.sg-event-form__promotion label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #2c3330;
	font-weight: 700;
}

.sg-event-form__promotion input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.sg-event-form__consent input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.sg-event-form__actions {
	margin-top: 18px;
}

.sg-event-form-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.sg-paypal-checkout {
	margin-top: 1rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid #cbd7df;
	border-radius: 12px;
	background: #f7f9fa;
}

.sg-paypal-checkout h3 {
	margin-top: 0;
}

.sg-paypal-status {
	margin-bottom: 0;
	font-weight: 650;
}

.sg-paypal-status--success {
	color: #17613b;
}

.sg-paypal-status--error {
	color: #8a2f2f;
}

.sg-existing-promotion {
	margin: 36px 0 8px;
	padding: 22px;
	border: 1px solid #d5e0e7;
	border-radius: 12px;
	background: #f5f9fb;
}

.sg-existing-promotion h2,
.sg-existing-promotion h3 {
	margin-top: 0;
}

.sg-existing-promotion__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sg-existing-promotion__form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.sg-existing-promotion__form input[type="text"],
.sg-existing-promotion__form input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #b9c8d1;
	border-radius: 7px;
	background: #fff;
}

.sg-existing-promotion__consent {
	grid-column: 1 / -1;
	grid-template-columns: auto 1fr !important;
	align-items: start;
	font-weight: 500 !important;
}

.sg-existing-promotion__form button,
.sg-complete-agenda__promote {
	display: inline-block;
	justify-self: start;
	padding: 10px 14px;
	border: 0;
	border-radius: 7px;
	background: #4f7590;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.sg-existing-promotion__form button:hover,
.sg-existing-promotion__form button:focus,
.sg-complete-agenda__promote:hover,
.sg-complete-agenda__promote:focus {
	background: #3f6179;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.sg-existing-promotion__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.sg-complete-agenda__promote {
	margin: 0 13px 13px;
	font-size: .82rem;
	text-align: center;
}

@media (max-width: 1100px) {
	.sg-complete-agenda__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.sg-complete-agenda__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.sg-existing-promotion__form {
		grid-template-columns: 1fr;
	}

	.sg-existing-promotion__form button {
		box-sizing: border-box;
		width: 100%;
	}

	.sg-promoted-event {
		grid-template-columns: 1fr;
	}

	.sg-promoted-event__media,
	.sg-promoted-event__image {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.sg-agenda-snel__search,
	.sg-agenda-snel__placefilter {
		width: 100%;
	}

	.sg-agenda-snel__meta {
		display: block;
		margin: 4px 0 0;
		white-space: normal;
	}

	.sg-agenda-snel__thumb {
		width: 52px;
		height: 52px;
		flex-basis: 52px;
	}

	.sg-tip__thumb {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
	}

	.sg-tip__label {
		font-size: 20px;
	}

	.sg-event-form__grid {
		grid-template-columns: 1fr;
	}

	.sg-event-form-wrap {
		padding: 14px;
	}

	.sg-event-form__actions button {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.sg-complete-agenda__list {
		grid-template-columns: 1fr;
	}

	.sg-complete-agenda__submit a {
		box-sizing: border-box;
		width: 100%;
		text-align: center;
	}
}
