/*
 * Info Kaunas — detailing on top of theme.json.
 * Colors and fonts come from theme.json presets (--wp--preset--*);
 * this file adds the newsroom detailing the block UI can't express.
 *
 * Breakpoints: 900px is the header switch (two nav bands above, one-row
 * burger header below); 600px is the phone grid switch.
 */

/* ---------- page frame ---------- */

/*
 * Sticky footer: on short pages (404, thin pages, empty search or archive) the
 * footer would otherwise stop mid-screen and leave the page background showing
 * underneath it. Keep the frame at least one viewport tall and let main absorb
 * the slack. The admin bar is outside the document, so subtract it when present.
 */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

/* dvh tracks mobile browser chrome as it collapses; vh above is the fallback. */
@supports (min-height: 100dvh) {
	.wp-site-blocks {
		min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
	}
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

/* Every top-level piece of chrome uses the heading face. */
.ik-utility,
.ik-masthead,
.ik-nav-primary,
.ik-nav-secondary,
.ik-footer,
.ik-front {
	font-family: var(--wp--preset--font-family--heading);
}

/* ---------- utility bar ---------- */

/* The brand-green rule across the very top of every page. */
.ik-topline {
	height: 4px;
}

.ik-utility {
	font-size: 12.5px;
	color: var(--wp--preset--color--ink-soft);
}
.ik-utility-row { min-height: 34px; }
.ik-today {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.ik-utility-nav .wp-block-navigation-item__content {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--wp--preset--color--ink-soft);
}
.ik-utility-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--green-hi); }
.ik-social .wp-social-link { margin: 0; }
.ik-social .wp-block-social-link-anchor { padding: 4px; }

/* ---------- masthead ---------- */

.ik-masthead-row { min-height: 84px; }
.ik-masthead .wp-block-site-logo { margin: 0; }
.ik-masthead .wp-block-site-logo img { display: block; height: auto; }

/* Desktop search: a bordered field with the green icon button glued on. */
.ik-search .wp-block-search__inside-wrapper {
	border: 0;
	padding: 0;
	gap: 0;
}
.ik-search .wp-block-search__input {
	width: 250px;
	height: 40px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--line);
	border-right: 0;
	border-radius: 3px 0 0 3px;
	padding: 0 12px;
	background: var(--wp--preset--color--card);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 13.5px;
	color: var(--wp--preset--color--contrast);
}
.ik-search .wp-block-search__input:focus {
	outline: none;
	border-color: var(--wp--preset--color--green);
}
.ik-search .wp-block-search__button {
	width: 44px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0 3px 3px 0;
	background: var(--wp--preset--color--green);
	color: #ffffff;
}
.ik-search .wp-block-search__button:hover { background: var(--wp--preset--color--green-hi); }
.ik-search .wp-block-search__button svg { width: 20px; height: 20px; }

/*
 * The phone controls: the burger (a Navigation block with the overlay always
 * on) and the icon-only search. Both exist only below the header breakpoint;
 * the desktop nav bands and the desktop search exist only above it.
 */
/* Doubled class: core's generated layout rule (.wp-container-…-is-layout-flex
   twice) sets display on the nav wrapper at 0,2,0 and would beat one class. */
.ik-masthead .ik-nav-burger.wp-block-navigation,
.ik-masthead .ik-search-mobile.wp-block-search { display: none; }

/* ---------- navigation bands (desktop) ---------- */

.ik-nav-band { margin: 0; }
.ik-nav-band .wp-block-navigation__container { flex-wrap: nowrap; }
.ik-nav-band .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	height: 46px;
	padding: 0 13px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
}
/* First label sits flush with the content edge, like the logo above it. */
.ik-nav-band .wp-block-navigation-item:first-child .wp-block-navigation-item__content { padding-left: 0; }

.ik-nav-primary .ik-nav-band .wp-block-navigation-item__content { color: #ffffff; }
.ik-nav-primary .ik-nav-band .wp-block-navigation-item__content:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 6px; }
.ik-nav-primary .ik-nav-band .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 6px; }

.ik-nav-secondary .ik-nav-band .wp-block-navigation-item__content {
	height: 38px;
	padding: 0 12px;
	font-size: 11.5px;
	color: var(--wp--preset--color--ink-soft);
}
.ik-nav-secondary .ik-nav-band .wp-block-navigation-item__content:hover,
.ik-nav-secondary .ik-nav-band .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--green); }

/* ---------- phone header: one 56px row, burger + logo + search ---------- */

@media (max-width: 900px) {
	.ik-utility,
	.ik-nav-primary,
	.ik-nav-secondary,
	.ik-search { display: none; }

	.ik-masthead-row {
		min-height: 56px;
		gap: 8px;
	}
	.ik-masthead .wp-block-site-logo img { max-width: 137px; }

	.ik-masthead .ik-nav-burger.wp-block-navigation,
	.ik-masthead .ik-search-mobile.wp-block-search { display: flex; }

	/* Real 44px targets, no row of their own (a header is chrome, not content). */
	.ik-nav-burger .wp-block-navigation__responsive-container-open,
	.ik-search-mobile .wp-block-search__button {
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		border: 0;
		border-radius: 3px;
		background: transparent;
		color: var(--wp--preset--color--contrast);
	}
	.ik-nav-burger .wp-block-navigation__responsive-container-open svg,
	.ik-search-mobile .wp-block-search__button svg { width: 24px; height: 24px; }

	/* The icon-only search expands its field in place (core behaviour). */
	.ik-search-mobile { min-width: 0; }
	.ik-search-mobile .wp-block-search__inside-wrapper { border: 0; padding: 0; }
	.ik-search-mobile .wp-block-search__input {
		height: 40px;
		box-sizing: border-box;
		border: 1px solid var(--wp--preset--color--line);
		border-radius: 3px;
		padding: 0 10px;
		font-family: var(--wp--preset--font-family--heading);
		font-size: 14px;
	}
}

/*
 * The burger's overlay panel. Core zeroes the item padding at a specificity a
 * plain theme selector cannot reach, so the selector below matches core's.
 */
.ik-nav-burger .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--card);
	padding: 20px 24px 40px;
}
.ik-nav-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	display: block;
	padding: 11px 0;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--wp--preset--color--contrast);
}
.ik-nav-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--green); }
/* The chevron lives inside the link: core stacks overlay items as columns, so a
   marker on the item itself would sit on its own line above the label. */
.ik-nav-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content::before {
	content: "» ";
	color: var(--wp--preset--color--green);
	font-weight: 800;
}
.ik-nav-burger .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0;
}
.ik-nav-burger .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

/* ---------- shared newsroom pieces ---------- */

/* Uppercase green label — the design's kicker. */
.ik-kicker {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 0;
}
.ik-kicker a { color: var(--wp--preset--color--green); }
.ik-kicker a:hover { color: var(--wp--preset--color--green-hi); }

/* Relative publish time on cards (infokaunas/timestamp block output). */
.ik-timestamp {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
	font-variant-numeric: tabular-nums;
}

/* The logo's double-chevron, reused as the section marker. */
.ik-chev {
	color: var(--wp--preset--color--green);
	font-weight: 800;
	letter-spacing: -.12em;
	margin-right: 2px;
}

/* Section head: bold title with the chevron, link on the right. No rules. */
.ik-section-head {
	margin-bottom: 14px;
}
.ik-section-head h1,
.ik-section-head h2 {
	font-size: 20px;
	letter-spacing: -.012em;
	line-height: 1.15;
	margin: 0;
}

.ik-more {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--wp--preset--color--green);
	margin: 0;
}
.ik-more a { color: var(--wp--preset--color--green); }
.ik-more a:hover { color: var(--wp--preset--color--green-hi); }

/* Meta row under a photo: RUBRIKA · 13:06 on one line, first category wins. */
.ik-card-meta { gap: 6px; line-height: 1.2; }
.ik-card-meta .wp-block-post-terms { line-height: 1.2; }
.ik-card-meta .wp-block-post-terms a:not(:first-child),
.ik-card-meta .wp-block-post-terms .wp-block-post-terms__separator { display: none; }
.ik-card-meta .ik-timestamp::before { content: "· "; }

/* Every front-page post is a tight vertical stack; no core margins. */
.ik-front .wp-block-post { margin: 0; }
.ik-front .wp-block-post-featured-image { margin: 0; }
.ik-front .wp-block-post-featured-image img { display: block; width: 100%; }
.ik-front .wp-block-post-title { margin: 0; text-wrap: pretty; }
.ik-front .wp-block-post-excerpt { margin: 0; }
.ik-front .wp-block-post-excerpt__more-link { display: none; }

/* ---------- lead: four equal columns ---------- */

.ik-lead-grid .wp-block-post-template.is-layout-grid { gap: 24px; }
.ik-lead-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.ik-lead-grid .ik-card-meta { margin-top: 10px; }
.ik-lead-grid .wp-block-post-title {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.012em;
	margin-top: 5px;
}
.ik-lead-grid .wp-block-post-excerpt {
	margin-top: 8px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	line-height: 1.45;
	color: var(--wp--preset--color--ink-soft);
}
.ik-lead-grid .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* The two » briefs under each column: a second grid whose rows line up. */
.ik-lead-briefs { margin-top: 16px; }
.ik-lead-briefs .wp-block-post-template.is-layout-grid { gap: 10px 24px; }
.ik-lead-briefs .wp-block-post-title,
.ik-rubrika-briefs .wp-block-post-title,
.ik-day-list .wp-block-post-title {
	position: relative;
	padding-left: 18px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}
.ik-lead-briefs .wp-block-post-title::before,
.ik-rubrika-briefs .wp-block-post-title::before {
	content: "»";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--wp--preset--color--green);
	font-weight: 800;
}
.ik-lead-briefs .ik-card-meta {
	padding-left: 18px;
	margin-top: 2px;
	font-size: 11.5px;
}
.ik-lead-briefs .ik-card-meta .wp-block-post-terms {
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--muted);
}
.ik-lead-briefs .ik-card-meta .wp-block-post-terms a { color: var(--wp--preset--color--muted); }
.ik-lead-briefs .ik-card-meta .ik-timestamp { font-size: 11.5px; }

/* ---------- Šiandien: tinted band, three columns of time-stamped rows ---------- */

.ik-day .ik-section-head { margin-bottom: 14px; }
.ik-day-list .wp-block-post-template.is-layout-grid { gap: 11px 32px; }
.ik-day-row { gap: 10px; }
.ik-day-row .ik-timestamp {
	flex: none;
	width: 42px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--wp--preset--color--green);
	line-height: 1.5;
}
.ik-day-body { min-width: 0; }
.ik-day-list .wp-block-post-title { padding-left: 0; }
.ik-day-cat {
	margin-top: 1px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--muted);
}
.ik-day-cat a { color: var(--wp--preset--color--muted); }
.ik-day-cat a:not(:first-child),
.ik-day-cat .wp-block-post-terms__separator { display: none; }

/* ---------- rubrikos: four category columns ---------- */

.ik-rubrika-label {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 0 0 10px;
}
.ik-rubrika-label a { color: var(--wp--preset--color--green); }
.ik-rubrika-label a:hover { color: var(--wp--preset--color--green-hi); }
.ik-rubrika-lead .wp-block-post-title {
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.008em;
	margin-top: 9px;
}
.ik-rubrika-lead .ik-timestamp { display: block; margin-top: 3px; }
.ik-rubrika-briefs { margin-top: 12px; }
.ik-rubrika-briefs .wp-block-post-template { display: flex; flex-direction: column; gap: 9px; }
.ik-rubrika-briefs .wp-block-post-title { font-weight: 500; font-size: 14px; }

/* ---------- events strip (infokaunas/events block output) ---------- */

.ik-events {
	margin-top: 26px;
	background: var(--wp--preset--color--green-soft);
	padding: 18px var(--wp--style--root--padding-right, 24px) 20px var(--wp--style--root--padding-left, 24px);
}
.ik-events-inner {
	max-width: var(--wp--style--global--content-size, 1280px);
	margin: 0 auto;
}
.ik-events-head {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}
.ik-events-head h2 { font-size: 18px; }
.ik-events-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}
.ik-event {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 0 12px;
	align-items: start;
	color: var(--wp--preset--color--contrast);
}
.ik-event-date { text-align: center; padding-top: 2px; }
.ik-event-day {
	display: block;
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--wp--preset--color--green);
	font-variant-numeric: tabular-nums;
}
.ik-event-mon {
	display: block;
	margin-top: 4px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.ik-event-title {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	text-wrap: pretty;
}
.ik-event:hover .ik-event-title { color: var(--wp--preset--color--green-hi); }
.ik-event-meta {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--wp--preset--color--muted);
}
.ik-events.is-empty {
	padding: 14px 16px;
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}
.ik-events-empty { margin: 0; }

/* ---------- skaitomiausia: green counters, four columns ---------- */

.ik-popular .wp-block-post-template.is-layout-grid {
	gap: 18px 24px;
	counter-reset: ik-rank;
}
.ik-popular .wp-block-post {
	counter-increment: ik-rank;
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 0 10px;
	align-items: start;
}
.ik-popular .wp-block-post::before {
	content: counter(ik-rank);
	font-size: 30px;
	font-weight: 800;
	line-height: .9;
	letter-spacing: -.04em;
	color: var(--wp--preset--color--green);
}
.ik-popular .wp-block-post-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- temos: five narrow photo columns ---------- */

.ik-temos .wp-block-post-template.is-layout-grid { gap: 22px 20px; }
.ik-temos .wp-block-post { display: flex; flex-direction: column; }
.ik-temos .ik-card-meta { margin-top: 8px; font-size: 10.5px; }
.ik-temos .ik-card-meta .wp-block-post-terms { font-size: 10.5px; }
.ik-temos .wp-block-post-title {
	margin-top: 4px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- front page on tablets and phones ---------- */

@media (max-width: 900px) {
	.ik-lead-grid .wp-block-post-template.is-layout-grid.columns-4,
	.ik-lead-briefs .wp-block-post-template.is-layout-grid.columns-4,
	.ik-popular .wp-block-post-template.is-layout-grid.columns-4,
	.ik-day-list .wp-block-post-template.is-layout-grid.columns-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ik-temos .wp-block-post-template.is-layout-grid.columns-5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.ik-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ik-rubrikos-grid.wp-block-columns { gap: 24px; }
}

@media (max-width: 600px) {
	.ik-front { padding-top: 14px; }
	/* Four photo cards stay a 2×2 grid on a phone; everything else is one column. */
	.ik-lead-grid .wp-block-post-template.is-layout-grid.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}
	.ik-lead-grid .wp-block-post-title { font-size: 14.5px; font-weight: 700; }
	.ik-lead-grid .ik-card-meta,
	.ik-temos .ik-card-meta { flex-wrap: wrap; gap: 2px 6px; }
	.ik-lead-grid .ik-card-meta .wp-block-post-terms,
	.ik-temos .ik-card-meta .wp-block-post-terms { font-size: 10px; }
	.ik-card-meta .ik-timestamp { white-space: nowrap; }
	.ik-lead-grid .wp-block-post-excerpt { display: none; }
	.ik-lead-briefs .wp-block-post-template.is-layout-grid.columns-4,
	.ik-popular .wp-block-post-template.is-layout-grid.columns-4,
	.ik-day-list .wp-block-post-template.is-layout-grid.columns-3 {
		grid-template-columns: minmax(0, 1fr);
	}
	.ik-temos .wp-block-post-template.is-layout-grid.columns-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}
	.ik-temos .wp-block-post-title { font-size: 14px; }
	/* Events scroll sideways; the cut-off card is the affordance. */
	.ik-events-grid {
		display: flex;
		gap: 18px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.ik-events-grid::-webkit-scrollbar { display: none; }
	.ik-event { flex: 0 0 250px; }
	/* Rubrikos: thumb left, title right — the archive row on a phone. */
	.ik-rubrika-lead .wp-block-post {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 0 12px;
		align-items: center;
	}
	.ik-rubrika-lead .wp-block-post-title { margin-top: 0; font-size: 14.5px; }
	.ik-rubrika-lead .ik-timestamp { grid-column: 2; }
	.ik-rubrika-lead .wp-block-post-featured-image { grid-row: 1 / 3; }
}

/* ---------- footer ---------- */

.ik-footer a { color: #ffffff; }
.ik-footer a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

.ik-footer-grid {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr) auto;
	gap: 32px 48px;
	align-items: start;
}
.ik-footer-brand { display: flex; flex-direction: column; gap: 14px; }
/* The green-on-transparent logo becomes white on the deep green ground. */
.ik-footer-logo img { filter: brightness(0) invert(1); height: auto; }
/* No inner padding, so the icon's left edge sits on the content edge like the logo above it. */
.ik-footer .ik-social .wp-block-social-link-anchor { color: rgba(255, 255, 255, .86); padding: 0; }

.ik-footer-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	margin: 0 0 10px;
}
.ik-footer-label .ik-chev { color: rgba(255, 255, 255, .6); }
.ik-footer-nav .wp-block-navigation-item__content {
	font-size: 13px;
	color: rgba(255, 255, 255, .86);
}

/*
 * Partners: no tiles. The logos are knocked out to the label colour above
 * them (white at 60%, see .ik-footer-label) and show their real colours on
 * hover/focus. 120px is the smallest height at which the small lettering in
 * the chamber and LFF crests still reads; the width cap keeps the wide
 * Nostra/RKL wordmark from dwarfing the two crests.
 *
 * The real logos are dark, so on hover they get a pale glow. It is a
 * drop-shadow() filter, not box-shadow: drop-shadow is drawn from the
 * image's alpha channel and hugs the crests and letters, where box-shadow
 * would light up the whole rectangle. The hover list spells out the identity
 * values of the resting filters so the two lists interpolate instead of
 * snapping.
 */
.ik-partners { gap: 22px; }
.ik-partner { margin: 0; }
.ik-partner a { display: block; }
.ik-partner img {
	display: block;
	width: auto;
	height: 120px;
	max-width: 160px;
	object-fit: contain;
	filter: brightness(0) invert(1) opacity(.6);
	transition: filter .2s;
}
.ik-partner a:hover img,
.ik-partner a:focus-visible img {
	filter: brightness(1) invert(0) opacity(1) drop-shadow(0 0 3px rgba(255, 255, 255, .9)) drop-shadow(0 0 12px rgba(255, 255, 255, .45));
}

.ik-footer-base {
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .62);
}
.ik-footer-base p { margin: 0; }
.ik-footer-base a { color: rgba(255, 255, 255, .62); }

@media (max-width: 1024px) {
	/* Narrow desktops: pull the brand column and gutters in so „Apie" keeps room beside the 120px logos. */
	.ik-footer-grid { grid-template-columns: 260px minmax(0, 1fr) auto; gap: 32px; }
}
@media (max-width: 900px) {
	.ik-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ik-footer-partners { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.ik-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.ik-footer-logo img { max-width: 140px; }
}

/* ---------- pagination ---------- */

.wp-block-query-pagination { gap: 14px; }
.wp-block-query-pagination a:hover { color: var(--wp--preset--color--green-hi); }
.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border-radius: 3px;
	background: var(--wp--preset--color--green);
	color: #ffffff;
	font-weight: 800;
}

/* ---------- post content: safety and classic-editor compatibility ---------- */

/* Long URLs and unbroken strings must never burst a phone viewport. */
.wp-block-post-content {
	overflow-wrap: break-word;
}

/* Imported classic-editor content a block theme never styles on its own. */
.wp-block-post-content img {
	max-width: 100%;
	height: auto;
}
.wp-block-post-content .wp-caption {
	max-width: 100%;
	width: auto !important; /* classic captions carry inline pixel widths */
	margin: 0 0 1.2em;
}
.wp-block-post-content .wp-caption img { display: block; }
.wp-block-post-content .wp-caption .wp-caption-text {
	margin: 6px 0 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 13px;
	line-height: 1.4;
	color: var(--wp--preset--color--muted);
}
.wp-block-post-content .gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 1.2em;
}
.wp-block-post-content .gallery-columns-1 { grid-template-columns: minmax(0, 1fr); }
.wp-block-post-content .gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-post-content .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-post-content .gallery-item { width: auto !important; margin: 0; }
.wp-block-post-content .gallery img { display: block; width: 100%; height: auto; }
.wp-block-post-content .gallery .gallery-caption {
	margin: 6px 0 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--ink-soft);
}
.wp-block-post-content table {
	max-width: 100%;
	border-collapse: collapse;
}
.wp-block-post-content table td,
.wp-block-post-content table th {
	border: 1px solid var(--wp--preset--color--line);
	padding: 6px 10px;
}

@media (max-width: 600px) {
	.wp-block-post-content .gallery { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- accessibility ---------- */

/* Defined here rather than inherited from core's stylesheet. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--wp--preset--color--card);
	clip-path: none;
	color: var(--wp--preset--color--contrast);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

:where(a, button, input, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--green-hi);
	outline-offset: 2px;
}

/* =====================================================================
 * SINGLE / PAGE — dense article, three layouts (narrow / sidebar / full)
 * ===================================================================== */

.ik-article-page { font-family: var(--wp--preset--font-family--heading); }

/* Layout frame: body carries ik-layout-{narrow|sidebar|full}. */
.ik-layout-narrow .ik-main { max-width: 780px; margin-left: auto; margin-right: auto; }
.ik-layout-sidebar .ik-frame {
	display: grid;
	/* Article + sidebar fill the same 1280px the header bands use:
	   860 + 60 + 360. No inner cap on the article column — a capped column
	   left a hole between it and the sidebar, or dead space at the right edge. */
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 0 60px;
	align-items: start;
}
.ik-layout-full .ik-main { max-width: none; }

@media (max-width: 900px) {
	.ik-layout-sidebar .ik-frame { display: block; }
	.ik-layout-sidebar .ik-sidebar { margin-top: 28px; }
}

/* ---------- article head ---------- */

.ik-kickrow { gap: 8px; font-size: 12.5px; }
.ik-kickrow .wp-block-post-terms { line-height: 1.3; }
.ik-kickrow .ik-timestamp::before { content: "· "; color: var(--wp--preset--color--muted); }

.ik-article-title {
	font-size: clamp(25px, 3.5vw, 35px);
	font-weight: 800;
	line-height: 1.13;
	letter-spacing: -.015em;
	margin: 5px 0 7px;
}

.ik-metaline { margin-bottom: 12px; font-size: 12.5px; color: var(--wp--preset--color--muted); }

/* infokaunas/byline output, compacted to one inline run. */
.ik-byline-author { display: flex; gap: 5px; align-items: baseline; min-width: 0; }
.ik-byline-label {
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}
.ik-byline-label::after { content: ":"; }
.ik-byline-name { font-size: 12.5px; font-weight: 700; color: var(--wp--preset--color--contrast); }
.ik-byline-name a { color: inherit; }
.ik-byline-name a:hover { color: var(--wp--preset--color--green-hi); }

/* infokaunas/share-links output, compacted to plain text links. */
.ik-share { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.ik-share-label {
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}
.ik-share-list { display: flex; flex-wrap: wrap; gap: 0 12px; list-style: none; margin: 0; padding: 0; }
.ik-share-item { margin: 0; }
.ik-share-link {
	display: inline;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--wp--preset--color--green);
}
.ik-share-link:hover,
.ik-share-link:focus-visible { color: var(--wp--preset--color--green-hi); background: transparent; border: 0; }
.ik-share-icon { display: none; }

/* ---------- article body ---------- */

.ik-article-page .wp-block-post-featured-image { margin: 0 0 6px; }
.ik-article-page .wp-block-post-featured-image img { display: block; width: 100%; border-radius: 4px; }
.ik-article-page .wp-block-post-featured-image figcaption {
	font-size: 12px;
	color: var(--wp--preset--color--muted);
	margin: 5px 0 0;
	text-align: left;
}

.ik-article-page .wp-block-post-content {
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	line-height: 1.62;
	margin-top: 14px;
}
.ik-article-page .wp-block-post-content > * { margin-block-start: 0; margin-block-end: .95em; }
.ik-article-page .wp-block-post-content h2 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 19.5px;
	line-height: 1.25;
	margin-block-start: 1.25em;
	margin-block-end: .4em;
}
.ik-article-page .wp-block-post-content h3 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 17px;
	margin-block-start: 1.2em;
	margin-block-end: .35em;
}
.ik-article-page .wp-block-post-content blockquote {
	background: var(--wp--preset--color--green-soft);
	border: 0;
	border-radius: 4px;
	padding: 13px 16px;
	margin: 0 0 .95em;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	font-style: normal;
}
.ik-article-page .wp-block-post-content blockquote cite {
	display: block;
	margin-top: 6px;
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	color: var(--wp--preset--color--muted);
}

.ik-article-tags {
	margin: 14px 0 0;
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}
.ik-article-tags a { color: var(--wp--preset--color--green); font-weight: 600; }
.ik-article-tags a:hover { color: var(--wp--preset--color--green-hi); }

/* ---------- missing featured image: the brand tile (inc/placeholder.php) ---------- */

/*
 * Deep green → green, lit from the top-left, with the logo's double chevron
 * as a watermark running off the bottom-right corner. It takes the block's own
 * aspect ratio inline, so it fills exactly the box a photo would.
 */
.ik-noimg {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background:
		radial-gradient(130% 100% at 0% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 58%),
		linear-gradient(135deg, var(--wp--preset--color--deep) 0%, var(--wp--preset--color--green) 100%);
}
.ik-noimg-mark {
	position: absolute;
	right: -6%;
	bottom: -11%;
	height: 90%;
	aspect-ratio: 252 / 190;
	background: #ffffff;
	opacity: .16;
	-webkit-mask: url(../images/mark.png) center / contain no-repeat;
	mask: url(../images/mark.png) center / contain no-repeat;
}
/* Where photos are rounded, the tile is too. */
.ik-list .ik-noimg,
.ik-related-media .ik-noimg { border-radius: 4px; }
/* Fixed box like the thumbs beside it; with both sides set the inline aspect-ratio is moot. */
.ik-related-media .ik-noimg { width: 116px; height: 77px; }

/* ---------- related: thumb rows in two columns ---------- */

.ik-related { margin-top: 22px; }
.ik-related-head {
	border: 0;
	padding: 0;
	margin: 0 0 4px;
}
.ik-related-head h2 {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 0;
}
.ik-related-head h2::before {
	content: "» ";
	font-weight: 800;
}
.ik-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ik-related-item { margin: 0; }
.ik-related-link {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 0 12px;
	align-items: center;
	padding: 6px 0;
	color: inherit;
}
.ik-related-media { display: block; }
.ik-related-media img {
	display: block;
	width: 116px;
	height: 77px;
	object-fit: cover;
	border-radius: 4px;
}
/* No photo: keep the text where the other rows' text is. */
.ik-related-media.is-empty { display: block; }
.ik-related-kicker { display: none; }
.ik-related-body { display: block; min-width: 0; }
.ik-related-title {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.008em;
	color: var(--wp--preset--color--contrast);
	text-wrap: pretty;
}
.ik-related-link:hover .ik-related-title { color: var(--wp--preset--color--green-hi); }
.ik-related-date {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--wp--preset--color--muted);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
	.ik-related-grid { grid-template-columns: minmax(0, 1fr); }
	.ik-related-link { grid-template-columns: 96px minmax(0, 1fr); }
	.ik-related-media img,
	.ik-related-media .ik-noimg { width: 96px; height: 64px; }
}

/* ---------- prev / next: plain text pair ---------- */

.ik-postnav { font-size: 13px; font-weight: 600; }
.ik-postnav .wp-block-post-navigation-link { margin: 0; max-width: 46%; }
.ik-postnav .wp-block-post-navigation-link a { color: var(--wp--preset--color--green); }
.ik-postnav .wp-block-post-navigation-link a:hover { color: var(--wp--preset--color--green-hi); }
.ik-postnav .ik-postnav-next { margin-left: auto; text-align: right; }
.ik-postnav .wp-block-post-navigation-link:empty { display: none; }

/* ---------- comments (compact) ---------- */

.ik-comments { margin-top: 26px; }
.ik-comments .wp-block-comments-title { font-size: 15px; margin: 0 0 8px; }
.ik-comments .wp-block-comment-author-name { font-size: 13.5px; font-weight: 700; }
.ik-comments .wp-block-comment-date,
.ik-comments .wp-block-comment-reply-link { font-size: 12px; color: var(--wp--preset--color--muted); }
.ik-comments .wp-block-comment-reply-link a { color: var(--wp--preset--color--green); }
.ik-comments .wp-block-post-comments-form textarea,
.ik-comments .wp-block-post-comments-form input[type="text"],
.ik-comments .wp-block-post-comments-form input[type="email"],
.ik-comments .wp-block-post-comments-form input[type="url"] {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	background: var(--wp--preset--color--card);
	padding: 8px 10px;
	font-size: 14px;
	max-width: 100%;
}

/* ---------- sidebar: flat tinted boxes ---------- */

.ik-sidebar { min-width: 0; }
.ik-sb-box {
	background: var(--wp--preset--color--base);
	padding: 14px 16px;
	margin-bottom: 18px;
}
.ik-sb-title {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 0 0 10px;
}
.ik-sb-title::before { content: "» "; }
.ik-sb-list .wp-block-post { margin: 0; padding: 0 0 9px; }
.ik-sb-list .wp-block-post:last-child { padding-bottom: 0; }
.ik-sb-list .wp-block-post-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	margin: 0;
}
.ik-sb-list .ik-timestamp { display: block; font-size: 12px; margin-top: 1px; }
.ik-sb-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
}
.ik-sb-cats a {
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}
.ik-sb-cats a:hover { color: var(--wp--preset--color--green-hi); }

/* =====================================================================
 * ARCHIVE / SEARCH — dense timestamped list
 * ===================================================================== */

.ik-listing { font-family: var(--wp--preset--font-family--heading); }
/* Listings run the full 1280px content width, edge to edge with the header. */
.ik-listwrap { margin: 0; }

.ik-listhead .wp-block-query-title { font-size: 24px; letter-spacing: -.015em; margin: 0; }

.ik-listdesc,
.ik-listwrap .wp-block-term-description {
	font-size: 13.5px;
	color: var(--wp--preset--color--muted);
	margin: 2px 0 0;
	max-width: 44rem;
}
.ik-listwrap .wp-block-term-description > * { margin: 0; }

.ik-day-label {
	grid-column: 1 / -1;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 14px 0 2px;
}

.ik-list .wp-block-post-template { margin-top: 4px; }
.ik-list .wp-block-post {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 0 12px;
	align-items: center;
	padding: 6px 0;
	margin: 0;
}
.ik-list .wp-block-post-featured-image { margin: 0; }
.ik-list .wp-block-post-featured-image img { display: block; width: 100%; border-radius: 4px; }
/* Posts without a photo keep their text aligned with the rest of the list. */
.ik-list .wp-block-post > .ik-li-body:first-child { grid-column: 2; }

.ik-list .wp-block-post-title {
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.008em;
	margin: 0;
}
.ik-li-meta {
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
	margin-top: 2px;
	overflow: hidden;
}
.ik-li-meta .ik-timestamp { font-weight: 700; color: var(--wp--preset--color--green); flex: none; }
.ik-li-meta .ik-timestamp::after { content: " ·"; color: var(--wp--preset--color--muted); font-weight: 400; }
.ik-li-meta .wp-block-post-excerpt { margin: 0; min-width: 0; }
.ik-li-meta .wp-block-post-excerpt__more-link { display: none; }
.ik-li-meta .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ik-listpag { font-size: 13px; font-weight: 600; }
.ik-listpag a:hover { color: var(--wp--preset--color--green-hi); }

/* ---------- empty states ---------- */

.ik-empty .ik-empty-title { font-size: 20px; margin: 0 0 8px; }
.ik-empty .ik-empty-text {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft);
	margin: 0 0 14px;
}

/* ---------- search head field ---------- */

.ik-search-inline { min-width: 0; }
.ik-search-inline .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	padding: 2px 4px 2px 14px;
	background: var(--wp--preset--color--card);
}
.ik-search-inline .wp-block-search__inside-wrapper:focus-within { border-color: var(--wp--preset--color--green); }
.ik-search-inline .wp-block-search__input { border: 0; background: transparent; font-size: 13.5px; }
.ik-search-inline .wp-block-search__input:focus { outline: none; }
.ik-search-inline .wp-block-search__button { margin: 0; padding: 6px 10px; background: transparent; color: var(--wp--preset--color--green); border: 0; }
.ik-search-inline .wp-block-search__button:hover { background: transparent; color: var(--wp--preset--color--green-hi); }

@media (max-width: 640px) {
	.ik-list .wp-block-post { grid-template-columns: 96px minmax(0, 1fr); }
	.ik-metaline { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
 * Events calendar — the „Renginiai" page (infokaunas/events-calendar block)
 * ===================================================================== */

.ik-cal { font-family: var(--wp--preset--font-family--heading); }
.ik-cal [hidden] { display: none !important; }

.ik-cal-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px 24px;
	margin-bottom: 12px;
}
.ik-cal-title { font-size: 24px; letter-spacing: -.015em; line-height: 1.1; margin: 0; }

/* Search: the same pill as the archive head field. */
.ik-cal-search {
	display: flex;
	align-items: center;
	min-width: 0;
	width: 300px;
	max-width: 100%;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	padding: 2px 4px 2px 14px;
	background: var(--wp--preset--color--card);
}
.ik-cal-search:focus-within { border-color: var(--wp--preset--color--green); }
.ik-cal-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 13.5px;
	padding: 6px 0;
	color: var(--wp--preset--color--contrast);
}
.ik-cal-search input[type="search"]:focus { outline: none; }
.ik-cal-search button {
	margin: 0;
	padding: 6px 8px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--green);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.ik-cal-search button:hover { color: var(--wp--preset--color--green-hi); }
.ik-cal-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Chips: the date strip and the type filters. */
.ik-cal-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; padding: 0; }
.ik-cal-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--card);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
}
.ik-cal-chip:hover { border-color: var(--wp--preset--color--green); color: var(--wp--preset--color--green); }
.ik-cal-chip.is-active { background: var(--wp--preset--color--green); border-color: var(--wp--preset--color--green); color: #ffffff; }
.ik-cal-chip.is-active:hover { background: var(--wp--preset--color--green-hi); border-color: var(--wp--preset--color--green-hi); color: #ffffff; }
.ik-cal-chip .ik-cal-wd { font-weight: 400; color: var(--wp--preset--color--muted); }
.ik-cal-chip .ik-cal-count { font-weight: 400; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums; }
.ik-cal-chip.is-active .ik-cal-wd,
.ik-cal-chip.is-active .ik-cal-count { color: rgba(255, 255, 255, .78); }
.ik-cal-chip-x { font-weight: 400; margin-left: 2px; }

/* The date picker: a native date input dressed as a chip; the script submits it on change. */
.ik-cal-pick { display: inline-flex; align-items: center; gap: 6px; }
.ik-cal-pick input[type="date"] {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 10px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--card);
	color: var(--wp--preset--color--contrast);
}
.ik-cal-pick input[type="date"]:hover { border-color: var(--wp--preset--color--green); }
.ik-cal-pick input[type="date"]:focus { outline: 2px solid var(--wp--preset--color--green); outline-offset: 1px; }
.ik-cal-pick-go {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--card);
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}
.ik-cal-pick-go:hover { border-color: var(--wp--preset--color--green); color: var(--wp--preset--color--green); }

/* Two columns: the list and the side boxes. */
.ik-cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 8px 48px; align-items: start; margin-top: 6px; }

.ik-cal-day { margin-top: 16px; }
.ik-cal-dayhead {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	line-height: 1.3;
	margin: 0 0 2px;
}
.ik-cal-row { display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 0 4px; }
.ik-cal-main {
	display: grid;
	grid-template-columns: 54px 64px minmax(0, 1fr);
	gap: 0 12px;
	align-items: center;
	min-width: 0;
	padding: 7px 0;
	color: var(--wp--preset--color--contrast);
}
.ik-cal-time { font-size: 14px; font-weight: 800; line-height: 1.2; color: var(--wp--preset--color--green); font-variant-numeric: tabular-nums; }
.ik-cal-time.is-allday { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.ik-cal-thumb { display: block; width: 64px; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: var(--wp--preset--color--green-soft); }
.ik-cal-thumb img,
.ik-cal-thumb .ik-noimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.ik-cal-body { min-width: 0; }
.ik-cal-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.008em;
}
.ik-cal-main:hover .ik-cal-name { color: var(--wp--preset--color--green-hi); }
.ik-cal-row.is-cancelled .ik-cal-name,
.ik-cal-row.is-cancelled .ik-cal-time { color: var(--wp--preset--color--muted); }
.ik-cal-meta {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ik-cal-badge {
	display: inline-block;
	vertical-align: 2px;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.5;
	text-transform: uppercase;
	white-space: nowrap;
	background: var(--wp--preset--color--green-soft);
	color: var(--wp--preset--color--green);
}
.ik-cal-badge.is-cancelled { background: #fbe9e7; color: #a12c1f; }
.ik-cal-badge.is-postponed { background: #fff2d6; color: #7a4d00; }
.ik-cal-badge.is-online { background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink-soft); }

/* The heart: a sibling of the row's link, shown only once the script has storage. */
.ik-cal-save {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.ik-cal-save:hover,
.ik-cal-save:focus-visible { color: var(--wp--preset--color--green); background: var(--wp--preset--color--green-soft); }
.ik-cal-save[aria-pressed="true"] { color: var(--wp--preset--color--green); }
.ik-cal-save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ik-cal-save[aria-pressed="true"] svg { fill: currentColor; }
.ik-cal.is-saved-only .ik-cal-row:not(.is-saved) { display: none; }

.ik-cal-empty { font-size: 13.5px; color: var(--wp--preset--color--muted); margin: 6px 0 0; }
.ik-cal-empty a { color: var(--wp--preset--color--green); font-weight: 700; }
.ik-cal-more { margin: 20px 0 0; }
.ik-cal-more-link {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 3px;
	background: var(--wp--preset--color--green);
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 700;
}
.ik-cal-more-link:hover { background: var(--wp--preset--color--green-hi); color: #ffffff; }
.ik-cal-more-link .ik-chev { color: inherit; }

/* Side boxes: the month picker and the long-running events. */
.ik-cal-aside { margin-top: 16px; }
.ik-cal-box + .ik-cal-box { margin-top: 22px; }
.ik-cal-box h2 {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 0 0 8px;
}
.ik-cal-box h2::before { content: "» "; }
.ik-cal-month-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.ik-cal-month-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.ik-cal-month-nav { display: flex; gap: 2px; }
.ik-cal-month-nav a,
.ik-cal-month-nav span {
	display: inline-block;
	min-width: 28px;
	padding: 2px 6px;
	border-radius: 4px;
	text-align: center;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--wp--preset--color--green);
}
.ik-cal-month-nav span { color: var(--wp--preset--color--line); }
.ik-cal-month-nav a:hover { background: var(--wp--preset--color--green-soft); }
.ik-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.ik-cal-grid .ik-cal-wd { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--wp--preset--color--muted); padding: 0 0 4px; }
.ik-cal-grid > span,
.ik-cal-grid > a { position: relative; display: block; padding: 5px 0 9px; line-height: 1.2; border-radius: 4px; color: var(--wp--preset--color--contrast); }
.ik-cal-grid > a { font-weight: 700; }
.ik-cal-grid > a:hover { background: var(--wp--preset--color--green-soft); color: var(--wp--preset--color--green); }
.ik-cal-grid .is-past { color: var(--wp--preset--color--muted); opacity: .5; }
.ik-cal-grid .has-events::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--wp--preset--color--green);
}
.ik-cal-grid .is-today { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--green); }
.ik-cal-grid .is-current,
.ik-cal-grid .is-current:hover { background: var(--wp--preset--color--green); color: #ffffff; }
.ik-cal-grid .is-current.has-events::after { background: #ffffff; }
.ik-cal-runs { list-style: none; margin: 0; padding: 0; }
.ik-cal-run + .ik-cal-run { margin-top: 9px; }
.ik-cal-run a { display: block; color: var(--wp--preset--color--contrast); }
.ik-cal-run-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.ik-cal-run a:hover .ik-cal-run-title { color: var(--wp--preset--color--green-hi); }
.ik-cal-run-meta { display: block; margin-top: 1px; font-size: 12px; line-height: 1.4; color: var(--wp--preset--color--muted); }
.ik-cal-run-when { font-weight: 700; color: var(--wp--preset--color--green); }
.ik-cal-runs-more { margin-top: 8px; }
.ik-cal-runs-more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--wp--preset--color--green); }
.ik-cal-runs-more[open] summary { margin-bottom: 9px; }

@media (max-width: 900px) {
	.ik-cal-layout { grid-template-columns: minmax(0, 1fr); }
	.ik-cal-aside { margin-top: 28px; }
	.ik-cal-search { width: 100%; }
}
@media (max-width: 640px) {
	/* The strips stay pinned while the list scrolls, and scroll sideways edge to edge. */
	.ik-cal-bar { position: sticky; top: 0; z-index: 5; background: var(--wp--preset--color--card); padding-top: 6px; }
	.ik-cal-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-left: calc(-1 * var(--wp--style--root--padding-left, 24px));
		margin-right: calc(-1 * var(--wp--style--root--padding-right, 24px));
		padding: 0 var(--wp--style--root--padding-left, 24px) 2px;
	}
	.ik-cal-chips::-webkit-scrollbar { display: none; }
	.ik-cal-main { grid-template-columns: 46px 52px minmax(0, 1fr); gap: 0 10px; }
	.ik-cal-thumb { width: 52px; }
	.ik-cal-name { font-size: 15px; }
	.ik-cal-time { font-size: 13px; }
}

/* =====================================================================
 * Event page — facts box, calendar actions, phone bar, related events
 * (infokaunas/event-details, infokaunas/related-events)
 * ===================================================================== */

.ik-ev {
	margin: 14px 0 0;
	padding: 14px 16px 16px;
	background: var(--wp--preset--color--green-soft);
	border-radius: 4px;
	font-family: var(--wp--preset--font-family--heading);
}
.ik-ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.ik-ev-kicker {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
}
.ik-ev-kicker::before { content: "» "; }
.ik-ev-head .ik-cal-badge { margin-left: 0; background: var(--wp--preset--color--card); }
.ik-ev-facts {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 6px 16px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.4;
}
.ik-ev-facts dt {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	padding-top: 3px;
}
.ik-ev-facts dd { margin: 0; min-width: 0; }
.ik-ev-when { list-style: none; margin: 0; padding: 0; }
.ik-ev-when li { font-weight: 700; }
.ik-ev-when li + li { margin-top: 2px; }
.ik-ev-when li.is-past { font-weight: 400; color: var(--wp--preset--color--muted); }
.ik-ev-when-venue { font-weight: 400; color: var(--wp--preset--color--muted); }
.ik-ev-map { margin-left: 4px; font-weight: 700; color: var(--wp--preset--color--green); white-space: nowrap; }
.ik-ev-map:hover { color: var(--wp--preset--color--green-hi); }
.ik-ev-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.ik-ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ik-ev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid var(--wp--preset--color--green);
	border-radius: 3px;
	background: var(--wp--preset--color--card);
	color: var(--wp--preset--color--green);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}
.ik-ev-btn:hover { border-color: var(--wp--preset--color--green-hi); color: var(--wp--preset--color--green-hi); }
.ik-ev-btn.is-primary { background: var(--wp--preset--color--green); color: #ffffff; }
.ik-ev-btn.is-primary:hover { background: var(--wp--preset--color--green-hi); border-color: var(--wp--preset--color--green-hi); color: #ffffff; }

/* „Į kalendorių": a native details element as a small menu. */
.ik-ev-cal { position: relative; }
.ik-ev-cal summary { list-style: none; }
.ik-ev-cal summary::-webkit-details-marker { display: none; }
.ik-ev-cal summary::after { content: "▾"; font-size: 11px; }
.ik-ev-cal-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 4px);
	z-index: 20;
	min-width: 240px;
	padding: 6px;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	box-shadow: 0 8px 22px rgba(20, 32, 26, .14);
}
.ik-ev-cal-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 3px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}
.ik-ev-cal-menu a:hover { background: var(--wp--preset--color--green-soft); color: var(--wp--preset--color--green); }
.ik-ev-cal-menu a small { display: block; font-size: 12px; font-weight: 400; color: var(--wp--preset--color--muted); }
.ik-ev-all { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--wp--preset--color--green); }
.ik-ev-all:hover { color: var(--wp--preset--color--green-hi); }
.ik-ev-past { margin: 0; font-size: 13.5px; color: var(--wp--preset--color--muted); display: flex; flex-wrap: wrap; gap: 8px 12px; width: 100%; }

/* The phone bar: hidden on wide screens, pinned to the bottom on phones. */
.ik-ev-bar { display: none; }
@media (max-width: 640px) {
	.ik-ev-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		gap: 8px;
		padding: 8px var(--wp--style--root--padding-right, 24px) calc(8px + env(safe-area-inset-bottom, 0px)) var(--wp--style--root--padding-left, 24px);
		background: var(--wp--preset--color--card);
		border-top: 1px solid var(--wp--preset--color--line);
	}
	.ik-ev-bar .ik-ev-btn { flex: 1; }
	.ik-ev-bar .ik-ev-cal { flex: 1; display: flex; }
	.ik-ev-bar .ik-ev-cal summary { flex: 1; }
	.ik-ev-bar .ik-ev-cal-menu { top: auto; bottom: calc(100% + 8px); left: auto; right: 0; }
	body.ik-has-event-cta { padding-bottom: 68px; }
	.ik-ev-facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
	.ik-ev-facts dt { padding-top: 7px; }
	.ik-ev-facts dt:first-child { padding-top: 0; }
	.ik-ev-foot .ik-ev-actions { display: none; }
	.ik-ev-all { margin-left: 0; }
}

/* Related events under the article: the calendar's rows. */
.ik-ev-related { margin-top: 24px; }
.ik-ev-related-title {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
	margin: 0 0 2px;
}
.ik-ev-related-title::before { content: "» "; }
.ik-ev-related .ik-cal-day { margin-top: 12px; }
.ik-ev-related .ik-ev-related-venue { margin-top: 12px; }
.ik-ev-related h3.ik-cal-dayhead { font-size: 13px; color: var(--wp--preset--color--contrast); }
.ik-ev-related .ik-ev-related-venue .ik-cal-day { margin-top: 8px; }
.ik-ev-related h4.ik-cal-dayhead { font-size: 11px; }
