/* Kimmy Event Detail - single event page
   Every selector is scoped to the .ked- prefix to avoid theme conflicts. */

.ked-page,
.ked-prose,
.ked-text,
.ked-fact__label,
.ked-fact__value,
.ked-booking,
.ked-booking__list,
.ked-related__title,
.ked-organizer__name {
    font-family: Arial, Helvetica, sans-serif;
}

.ked-page {
	--ked-accent: #9b2226;
	--ked-accent-dark: #7f1d1f;
	--ked-ink: #14161a;
	--ked-muted: #6b7280;
	--ked-line: #e7e5e4;
	--ked-card: #ffffff;
	--ked-radius: 16px;
	--ked-shadow: 0 2px 12px rgba(20, 22, 26, .07);

	max-width: 1200px;
	margin: 0 auto;
	padding: 70px 20px 72px;
	color: var(--ked-ink);
	box-sizing: border-box;
}

.ked-page *,
.ked-page *::before,
.ked-page *::after { box-sizing: border-box; }

/* Breadcrumb */
.ked-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	font-size: 14px;
	color: var(--ked-muted);
	margin-bottom: 20px;
}
.ked-breadcrumb a { color: var(--ked-muted); text-decoration: none; }
.ked-breadcrumb a:hover { color: var(--ked-accent); }
.ked-breadcrumb__current { color: var(--ked-ink); }

/* Layout */
.ked-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
}

/* Hero */
.ked-hero {
	position: relative;
	min-height: 320px;
	border-radius: var(--ked-radius);
	overflow: hidden;
	background: #d6d3d1 center/cover no-repeat;
	display: flex;
	align-items: flex-end;
	margin-bottom: 20px;
}
.ked-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .1) 55%, transparent 100%);
}
.ked-hero__body { position: relative; z-index: 1; padding: 28px; color: #fff; }
.ked-page .ked-hero__title { margin: 0 0 8px; font-size: 20px; line-height: 0.5; color: #fff; font-weight: 700; letter-spacing: 0; }
.ked-hero__meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	font-size: 14px;
	font-weight: 600;
}
.ked-hero__meta > span { display: inline-flex; align-items: center; gap: 8px; }

.ked-badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 7px 12px;
	border-radius: 6px;
}

/* Content card */
.ked-card {
	background: var(--ked-card);
	border-radius: var(--ked-radius);
	box-shadow: var(--ked-shadow);
	padding: 32px;
}
.ked-page .ked-card__title { margin: 0 0 8px; font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }

.ked-section { padding: 28px 0; border-bottom: 1px solid var(--ked-line); }
.ked-section--last { border-bottom: 0; padding-bottom: 4px; }
.ked-page .ked-section__title { margin: 0 0 16px; font-size: 18px; line-height: 1.2; color: #a365a3; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ked-text { margin: 0 0 10px; font-size: 14px; color: #374151; }
/* .ked-prose { color: #374151; line-height: 1; } */
.ked-prose {
    font-family: Arial, Helvetica, sans-serif;
    color: #374151;
    font-size: 15px;
    line-height: 1.45;
}
.ked-prose > *:last-child { margin-bottom: 0; }

/* Good to know */
.ked-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 40px;
}
.ked-fact { display: flex; align-items: flex-start; gap: 14px; }
.ked-fact__dot {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e0f3fc;
	border: 1px solid #91c8e4;
	position: relative;
}
.ked-fact__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #91c8e4;
}
.ked-fact__label { display: block; font-size: 13px; color: var(--ked-muted); margin-bottom: 3px; }
.ked-fact__value { font-size: 15px; }

/* Organizer */
.ked-organizers { display: flex; flex-wrap: wrap; gap: 20px; }
.ked-organizer { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.ked-organizer__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	background: #1c1917;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.ked-organizer__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ked-organizer__initial { color: #fff; font-size: 24px; font-weight: 700; }
.ked-organizer__name { font-weight: 600; }

/* Related */
.ked-related {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.ked-related__item {
	display: block;
	border: 1px solid var(--ked-line);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .2s ease, transform .2s ease;
}
.ked-related__item:hover { box-shadow: var(--ked-shadow); transform: translateY(-2px); }
.ked-related__thumb { display: block; height: 130px; background: #cbc4c2 center/cover no-repeat; }
.ked-related__title { display: block; padding: 14px; font-size: 14px; font-weight: 700; line-height: 1.4; }

/* Sidebar */
.ked-sidebar { position: sticky; top: 130px; }
.ked-booking {
	background: var(--ked-card);
	border-radius: 14px;
	box-shadow: var(--ked-shadow);
	padding: 24px;
	 border: 2px solid #91c8e4;
}
.ked-booking__date { margin: 0 0 16px; font-size: 15px; }
.ked-booking__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ked-booking__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.ked-btn {
	display: block;
	width: 100%;
	text-align: center;
	background: #f77979;
	color: #fff;
	font-weight: 700;
	padding: 11px 20px;
	border-radius: 8px;
	text-decoration: none;
	margin-top: 20px;
	margin-bottom: 0px;
	transition: background .2s ease;
}
.ked-btn:hover { background: #a365a3; color: #fff; }
.ked-btn--disabled { background: #a365a3; cursor: not-allowed; }
.ked-btn--disabled:hover { background: #a365a3; }

/* Inline masked icons - no icon font required */
.ked-ico {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: currentColor;
	opacity: .85;
	-webkit-mask: center/contain no-repeat;
	mask: center/contain no-repeat;
}
.ked-ico--cal   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v3M17 2v3M3 8h18M5 5h14a2 2 0 012 2v13a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2z' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v3M17 2v3M3 8h18M5 5h14a2 2 0 012 2v13a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2z' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ked-ico--clock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ked-ico--check { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ked-ico--type  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='12' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M7 10h6M7 14h4' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='12' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M7 10h6M7 14h4' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Responsive */
@media (max-width: 1024px) {
	.ked-layout { grid-template-columns: 1fr; }
	.ked-sidebar { position: static; order: 0; }
	.ked-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.ked-page { padding: 32px 14px 48px; }
	.ked-card { padding: 20px; }
	.ked-hero { min-height: 240px; }
	.ked-page .ked-hero__title { font-size: 22px; line-height: 1.15; }
	.ked-page .ked-card__title { font-size: 20px; }
	.ked-grid { grid-template-columns: 1fr; gap: 18px; }
	.ked-related { grid-template-columns: 1fr; }
	.ked-prose {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (prefers-reduced-motion: reduce) {
	.ked-related__item { transition: none; }
	.ked-related__item:hover { transform: none; }
}

/* ---- Location + map ---- */
.ked-location {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: start;
}
.ked-page .ked-location__heading { margin: 20px 0 12px; font-size: 16px; line-height: 0.5; font-weight: 600; letter-spacing: 0; text-transform: none; }

.ked-travel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ked-travel a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ked-accent);
	text-decoration: none;
	font-weight: 500;
}
.ked-travel a:hover { text-decoration: underline; }

.ked-location__map {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #e7e5e4;
	min-height: 230px;
}
.ked-location__map iframe {
	display: block;
	width: 100%;
	height: 230px;
	border: 0;
}
.ked-map-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: #fff;
	color: var(--ked-accent);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 12px;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}
.ked-map-link:hover { color: var(--ked-accent-dark); }

/* ---- Sidebar cost ---- */
.ked-booking__cost {
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 700;
	color: var(--ked-accent);
	line-height: 1.1;
}

/* ---- Extra icons ---- */
.ked-ico--pin       { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 10-14 0c0 4.8 7 11 7 11z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 10-14 0c0 4.8 7 11 7 11z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.ked-ico--driving   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 15l1.5-6h13L20 15v4h-3v-2H7v2H4v-4z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='7.5' cy='15' r='1' fill='%23000'/%3E%3Ccircle cx='16.5' cy='15' r='1' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 15l1.5-6h13L20 15v4h-3v-2H7v2H4v-4z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='7.5' cy='15' r='1' fill='%23000'/%3E%3Ccircle cx='16.5' cy='15' r='1' fill='%23000'/%3E%3C/svg%3E"); }
.ked-ico--transit   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='13' rx='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M5 11h14M8 21l1.5-3M16 21l-1.5-3' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='13' rx='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M5 11h14M8 21l1.5-3M16 21l-1.5-3' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ked-ico--bicycling { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='17' r='3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='18' cy='17' r='3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M6 17l4-8h5l3 8' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='17' r='3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='18' cy='17' r='3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M6 17l4-8h5l3 8' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ked-ico--walking   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='13' cy='4.5' r='2' fill='%23000'/%3E%3Cpath d='M11 21l2-6-3-3 1-5 3 3 3 1M10 12l-2 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='13' cy='4.5' r='2' fill='%23000'/%3E%3Cpath d='M11 21l2-6-3-3 1-5 3 3 3 1M10 12l-2 4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

@media (max-width: 860px) {
	.ked-location { grid-template-columns: 1fr; gap: 20px; }
	.ked-location__map iframe { height: 260px; }
}


/* Mobile booking copy hidden by default */
.ked-mobile-booking {
    display: none;
}


@media (max-width: 640px) {

    /* Show booking card under Overview */
    .ked-mobile-booking {
        display: block;
        margin: 20px 0 8px;
    }

    /* Hide original sidebar on mobile */
    .ked-sidebar {
        display: none !important;
    }

    .ked-mobile-booking .ked-booking {
        width: 100%;
        padding: 20px;
        border: 2px solid #91c8e4;
        border-radius: 14px;
        box-shadow: none;
    }
}

@media (max-width: 640px) {

    .ked-mobile-booking {
        margin: 24px -4px 10px;
    }

    .ked-mobile-booking .ked-booking {
        width: 100%;
        padding: 24px 22px;
        border-radius: 18px;
    }

    .ked-mobile-booking .ked-booking__date {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 20px;
    }

    .ked-mobile-booking .ked-booking__list {
        gap: 16px;
        margin-bottom: 22px;
    }

    .ked-mobile-booking .ked-booking__list li {
        font-size: 16px;
        gap: 12px;
    }

    .ked-mobile-booking .ked-ico {
        width: 20px;
        height: 20px;
    }

    .ked-mobile-booking .ked-btn {
        padding: 13px 20px;
        font-size: 16px;
        border-radius: 10px;
    }
}


@media (max-width: 640px) {
    .ked-card {
        padding-left: 14px;
        padding-right: 14px;
    }
}

