/* body */
body.index {
	background: linear-gradient(to bottom, #e5f1ff , white 15%);
}

/* small */
small {
    color: #7b7b7b;
}

/* strong */
strong {
	font-weight: 600;
}

/* ul ol */
ul li,
ol li {
	padding: .25rem 0;
}
ul.icons {
	list-style: none;
	padding-left: 20px;
}
ul.icons > li {
	display: flex;
	align-items: flex-start;
}
ul.icons > li > svg {
	flex-shrink: 0;
	padding-right: .5rem;
}

	
/* container */
.container {
	width: calc(100% - 2rem);
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 1rem;
}

/* nav */
nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* img video */
img,
video {
	max-width: 100%;
}

/* figure */
figure {
	/*margin: 1rem 0;*/
	margin: 0;
}
figure img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--border-radius);
	width: 100%;
}
figure figcaption {
	font-size: .875rem;
	color: rgb(74, 88, 112);
	text-align: center;
}

/* header */
header {
	z-index: 1005;
	padding: .75rem 0;
	border-bottom: 1px solid var(--border-color);
}
body.index header {
	border-bottom: 0;
}
header.scrolled {
	position: sticky;
	top: 0;
	background: #fff;
	box-shadow: 0 -2px 8px #00000026;
}
header .container {
	display: flex;
	align-content: center;
	justify-content: space-between;
}
header a {
	text-decoration: none;
}
header a.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}
header a.logo img {
	height: 38px;
}
header a.logo span {
	font-size: 1.65rem;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none;
	color: #1a2b49;
}
header nav {
	display: grid;
	grid-template-rows: 1fr;
	margin-left: 0;
}
header nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}
header nav ul li {
	padding: 0;
}
header nav ul li a {
	display: flex;
	align-items: center;
	/*font-size: 0.925rem;
	text-transform: uppercase;*/
}

/* main */
main {
	/*padding-top: .5rem;*/
}

/* footer */
footer {
	background: #1a2b49;
	color: #fff;
	padding: 2rem 0;
}
footer h4 {
	margin: .5rem 0 .25rem;
	color: inherit;
}
footer .footer_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
}
footer .footer_grid .footer_item.contact ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
footer .footer_grid .footer_item.contact ul li {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .5rem 0;
}
footer .footer_copyright {
	border-top: 1px solid var(--border-color);
	padding-top: 2rem;
	text-align: center;
	font-size: .85rem;
}

/* footer_cta */
.footer_cta {
	display: none;
	
	align-items: center;
	position: fixed;
	right: .5rem;
	bottom: calc(env(safe-area-inset-bottom, 0px));
	left: .5rem;
	z-index: 1004;
	box-shadow: 0 -2px 8px #00000026;
	background: #fff;
	
	align-items: center;
	justify-content: center;
	gap: .5rem;
	border-top-right-radius: 1rem;
	border-top-left-radius: 1rem;
	padding: .75rem 1rem 1rem;
}
.footer_cta .cta_body {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.footer_cta .cta_body .cta_details {
	flex: 1;
	display: flex;
	align-items: center;
	gap: .25rem;
}
.footer_cta .cta_body a {
	flex: 1;
}

/* section */
section {
	
}
section h2,
section h3 {
	margin-bottom: 1rem;
}

/* page_content */
.page_content {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.page_content .page_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
body.index .page_content .page_header {
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: unset;
	min-height: 35vh;
	text-align: center;
	padding: 2rem 1rem;
}
body.index .page_content .page_header h1 {
	font-size: 2.75rem;
}
body.index .page_content .page_header p {
	font-size: 1.45rem;
	margin: 0;
}
body.index .page_content .page_header form {
	background: #fff;
	border-radius: var(--border-more-radius);
	padding: .5rem;
	box-shadow:
		0 0 32px rgba(0, 0, 0, 0.06),
		0 4px 8px rgba(0, 0, 0, 0.16)
	;
	width: calc(100% - 1rem);
	max-width: 500px;
	margin-inline: auto;
}
body.index .page_content .page_header form input {
	background: #fff;
	border: 0;
}
.page_content .page_grid {
	display: flex;
	gap: 1rem;
	align-items: stretch;
	flex-wrap: wrap;
}
.page_content .page_grid .page_body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.page_content .page_grid .page_body.full {
	flex: 0 1 100%;
	max-width: 100%;
}
.page_content .page_grid .page_body .occasion_teaser {
	border-bottom: 1px solid var(--border-color);
	margin: 0 0 1rem;
	padding-bottom: 1rem;
}
.page_content .page_grid .page_body ul.occasion_highlights_grid {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.page_content .page_grid .page_body ul.occasion_highlights_grid li {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-weight: 500;
}
.page_content .page_grid .page_body ul.occasion_highlights_grid li span {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ebeef1;
	border-radius: var(--border-radius);
}
.page_content .page_grid .page_body ul.occasion_highlights_grid li span svg {
	flex-shrink: 0;
}

.page_content .page_grid .page_sidebar {
	flex: 0 0 375px;
    min-width: 0;
	max-width: 375px;
}
.page_content .page_grid .page_sidebar .booking_form {
	position: sticky;
	top: 1rem;
}

/* booking_form */
.booking_form {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	border: 1px solid var(--border-color);
	border-radius: var(--border-more-radius);
	padding: 1rem;
	max-width: 720px;
	margin: auto;
}
.booking_form .booking_form_header {
	
}
.booking_form .booking_form_header p {
	margin: 0;
}
.booking_form .address_suggestions_dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.booking_form .suggestion_item {
    padding: .5rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: .75rem;
}
@media (hover: hover) {
	.booking_form .suggestion_item:hover {
		background-color: #f5f5f5;
	}
}
.booking_form .booking_price {
	background: #fff;
	padding: .5rem 1rem;
	border-radius: var(--border-radius);
	border: 1px solid var(--border-color);
	font-size: .825rem;
}
.booking_form .booking_price .booking_price_items {
	display: flex;
	gap: .25rem;
}
.booking_form .booking_price .price_row {
    display: flex;
    justify-content: space-between;
	gap: .25rem;
}
.booking_form .booking_price .price_row span.lbl {
	color: var(--color-grey);
}
.booking_form .booking_price .price_row.total {
	font-weight: 600;
	border-top: 1px solid var(--border-color);
	margin-top: .25rem;
	padding-top: .25rem;
}

/* contact_form */
.contact_form {
    border: 1px solid var(--border-color);
    border-radius: var(--border-more-radius);
    padding: 1rem;
    max-width: 720px;
    margin: auto;
}

/* faq_accordion */
.faq_accordion {
	display: flex;
	flex-direction: column;
}
.faq_accordion details {
	border-bottom: 1px solid var(--border-color);
    transition: transform .3s all;
}
.faq_accordion details:first-of-type {
	border-top: 1px solid var(--border-color);
}
.faq_accordion summary::-webkit-details-marker {
    display: none;
}
.faq_accordion summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
	padding: 1rem .5rem;
}
.faq_accordion summary .arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(var(--theme-green), .8);
    border-bottom: 2px solid rgba(var(--theme-green), .8);
    transform: rotate(45deg);
    transition: transform .3s ease;
}
/*.faq_accordion details[open] {
    background: #cbd5e1;
}*/
.faq_accordion details[open] summary .arrow {
    transform: rotate(-135deg);
}
.faq_accordion details .faq_answer {
    padding: 0 .5rem 1rem .5rem;
}
.faq_accordion details .faq_answer p {
    margin: 0;
}

/* grid */
ul.grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	grid-column-gap: 1rem;
	grid-row-gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
ul.grid.grid-1 {
	
}
ul.grid.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
ul.grid.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
ul.grid a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	height: 100%;
}
ul.grid.grid-1 a {
	flex-direction: row;
}
ul.grid p {
	margin: 0;
}

ul.grid .grid_item {
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	padding: 0;
	overflow: hidden;
	background: #fff;
}
ul.grid .grid_item .grid_item_media {
	height: 225px;
	overflow: hidden;
	position: relative;
	flex-shrink: 0;
}
ul.grid .grid_item .grid_item_media img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	transition: transform .3s ease;
}
@media (hover: hover) {
    ul.grid .grid_item:hover .grid_item_media img {
        transform: scale(1.05);
    }
}
/*
ul.grid .grid_item .grid_item_media .grid_item_media_badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: #1a2b49;
	color: #fff;
	border-radius: var(--border-radius);
	font-size: .775rem;
	font-weight: 500;
	padding: .15rem .5rem;
}
*/
ul.grid .grid_item .grid_item_body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: .75rem 1rem;
	color: #1a2b49;
	height: 100%;
}
ul.grid.grid-1 .grid_item .grid_item_body {
	height: unset;
	justify-content: center;
}
ul.grid .grid_item .grid_item_body h3 {
	/*font-size: 1.15rem;*/
	margin: 0;
}
ul.grid .grid_item .grid_item_body .grid_item_teaser {
	font-size: 1rem;
    color: var(--color-grey);
}
ul.grid .grid_item .grid_item_body .grid_item_highlights {
	display: flex;
    flex-wrap: wrap;
    gap: .35rem;
	font-size: .875rem;
	margin-top: auto;
}
ul.grid .grid_item .grid_item_body .grid_item_highlights .grid_item_highlight_tag {
    background-color: #ebeef1;
    color: #1a2b49;
    font-size: 0.75rem;
    font-weight: 500;
	padding: .15rem .5rem;
    border-radius: var(--border-radius);
}
ul.grid.grid-1 .grid_item .grid_item_body .grid_item_highlights {
	margin-top: unset;
}

/* card_testimonial */
ul.grid .grid_item.card_testimonial {
	padding: 1rem;
}

/* card_event */
ul.grid .grid_item.event {
	display: flex;
	flex-direction: row;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	
	background: none;
	box-shadow: none;
}
ul.grid .grid_item.event .event_date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: .5rem 1rem;
	text-transform: uppercase;
	font-size: .85rem;
	font-weight: bold;
}
ul.grid .grid_item.event .event_date .event_day_num {
	font-size: 1.75rem;
	font-weight: 900;
}
ul.grid .grid_item.event .event_date .event_time {
	color: var(--color-grey);
}
ul.grid .grid_item.event .event_media {
	aspect-ratio: 16/9;
	max-width: 150px;
}
ul.grid .grid_item.event .event_media img {
	object-fit: cover;
	widht: 100%;
	height: 100%;
	border-radius: var(--border-radius);
}
ul.grid .grid_item.event .event_info {
	padding: .5rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

/* social_links */
.social_links {
	
}
.social_links ul {
	display: flex;
	align-items: center;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.social_links ul li {
	padding: 0;
}
.social_links ul li svg {
	width: 24px;
	height: 24px;
	fill: #1a2b49;
	transition: all .2s ease;
}
@media (hover: hover) {
	.social_links a:hover svg {
		fill: var(--button-background);
	}
}

/* footer_helper */
.footer_helper {
	margin-top: 2rem;
	padding: 2rem 0;
	text-align: center;
	border-top: 1px solid var(--border-color);
}

@media (hover: hover) {
	.footer_helper a:hover {
		text-decoration: none;
	}
}
.footer_helper .social_links {
	margin: auto 0 1rem;
}
.footer_helper .social_links ul {
	justify-content: center;
}

/* page_gallery */
.page_gallery {
	/*background: var(--placeholder-background);*/
}
.page_gallery .container {
	width: 100%;
	padding-inline: 0;
}

/* gallery_grid */
.gallery_grid {
    display: grid;
    gap: .5rem;
    margin: 0 auto;
	border-radius: var(--border-more-radius);
	overflow: hidden;
}

/* 1 BILLEDE: Stort hero-layout */
.gallery_grid.count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 450px;
    max-width: 1280px;
}
.gallery_grid.count-1 .grid_item.main_photo {
    grid-row: span 1;
}

/* 2 BILLEDER: Side by side (2 lige store kolonner) */
.gallery_grid.count-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 640px;
}
.gallery_grid.count-2 .grid_item.main_photo {
    grid-row: span 1;
}

/* 3 BILLEDER: Et stort til venstre, to mindre stablet til højre */
.gallery_grid.count-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 225px);
}
.gallery_grid.count-3 .grid_item.main_photo {
    grid-row: span 2;
}

/* 4 BILLEDER: Et stort til venstre, tre til højre (bredt felt i top, to ved siden af hinanden forneden) */
.gallery_grid.count-4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 225px);
}
.gallery_grid.count-4 .grid_item.main_photo {
    grid-row: span 2;
}
.gallery_grid.count-4 .grid_item:nth-child(2) {
    grid-column: span 2;
}

/* 5+ BILLEDER: Standard 3-kolonne layout (1 stort til venstre, 4 små til højre i 2x2 grid) */
.gallery_grid.count-5 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 225px);
}
.gallery_grid.count-5 .grid_item.main_photo {
    grid-row: span 2;
}
.gallery_grid.count-5 .grid_item:nth-child(n+6) {
	display: none;
}

/* Fælles elementer */
.gallery_grid .grid_item {
    position: relative;
    overflow: hidden;
    /*cursor: pointer;*/
	border-radius: var(--border-radius);
}
.gallery_grid .grid_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /*transition: transform .3s ease;*/
}
/*@media (hover: hover) {
    .gallery_grid .grid_item:hover img {
        transform: scale(1.05);
    }
}*/
.gallery_grid .overlay_text {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
}