/*
Theme Name: Laguun 2026
Theme URI: https://laguun.ee
Author: Tantsukool Laguun
Description: Tantsukool Laguuni uus kujundus: avaleht koos registreerimisvormiga, tunniplaan, kalender, galerii ja meist. Sündmused, albumid ja tunniplaan lisatakse otse WordPressi menüüst.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: laguun2026
*/

:root {
	--ink: #0B2E33;
	--teal: #0F4C52;
	--teal-mid: #16545A;
	--mint: #EEF4F2;
	--mint-2: #E6F0EE;
	--mint-3: #D9E7E4;
	--line: #E3E8E6;
	--input: #C5D1CF;
	--text: #14262A;
	--muted: #4A5D60;
	--muted-2: #3E5255;
	--on-dark: #D3E2E1;
	--on-dark-2: #B9CFCF;
	--paper: #FAFAF7;
	--footer: #082327;
	--accent: #E8B84A;
	--danger: #A3341A;
	--display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
	--body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button { font: inherit; }

.screen-reader-text, .l-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.l-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.l-skip:focus { left: 16px; }

.l-wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .l-wrap { padding-left: 20px; padding-right: 20px; } }

/* Type */
.l-eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.l-eyebrow--light { color: var(--accent); }
.l-h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.l-h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; color: var(--ink); }
.l-h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--ink); }
.l-lead { margin: 0; font-size: 1.15rem; line-height: 1.6; color: var(--muted-2); max-width: 38rem; }
.l-muted { color: var(--muted); }
.l-stack { display: flex; flex-direction: column; gap: 12px; }

/* Buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; transition: transform .15s ease, background-color .15s ease; }
.l-btn:active { transform: translateY(1px); }
.l-btn--lg { font-size: 17px; padding: 16px 28px; }
.l-btn--accent { background: var(--accent); color: var(--ink); }
.l-btn--accent:hover { color: var(--ink); filter: brightness(1.05); }
.l-btn--ink { background: var(--ink); color: #fff; }
.l-btn--ink:hover { color: #fff; background: var(--teal); }
.l-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.l-btn--outline:hover { background: var(--mint-2); }
.l-btn--outline-light { border-color: rgba(255,255,255,0.45); color: #fff; background: transparent; }
.l-btn--outline-light:hover { color: #fff; border-color: #fff; }
.l-btn--quiet { border-color: var(--teal); color: var(--teal); background: #fff; }
.l-link-arrow { font-weight: 600; text-decoration: none; }
.l-link-arrow:hover { text-decoration: underline; }
.l-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Logo */
.l-logo-img { display: block; border-radius: 999px; object-fit: contain; }
.l-logo--small { width: 52px; height: 52px; }
.l-logo--big { width: min(300px, 70vw); height: auto; aspect-ratio: 1 / 1; box-shadow: 0 24px 60px rgba(11,46,51,0.22); }
.l-logo--footer { width: 80px; height: 80px; }
.l-logo-fallback { display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #111; color: #fff; font-family: var(--display); font-weight: 800; letter-spacing: 0.08em; }
.l-logo-fallback.l-logo--small { font-size: 9px; }
.l-logo-fallback.l-logo--big { font-size: 30px; }
.l-logo-fallback.l-logo--footer { font-size: 12px; border: 2px solid rgba(255,255,255,0.3); }

/* Header */
.l-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.l-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.l-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #111; }
.l-brand:hover { color: #111; }
.l-brand__txt { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.l-brand__name { font-family: var(--display); font-weight: 800; font-size: 20px; }
.l-brand__sub { font-size: 12px; color: var(--muted); }
.l-nav { display: flex; align-items: center; gap: 8px; }
.l-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.l-nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; }
.l-nav__list a:hover { background: var(--mint); color: var(--ink); }
.l-nav__list .current-menu-item > a, .l-nav__list .current_page_item > a, .l-nav__list .current-menu-ancestor > a { background: var(--mint-2); color: var(--ink); font-weight: 600; }
.l-nav .l-btn { margin-left: 8px; }
.l-menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); align-items: center; justify-content: center; border-radius: 999px; cursor: pointer; }
.l-menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
	.l-menu-btn { display: inline-flex; }
	.l-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; box-shadow: 0 18px 30px rgba(11,46,51,0.08); }
	.l-nav.is-open { display: flex; }
	.l-nav__list { flex-direction: column; }
	.l-nav__list a { width: 100%; font-size: 17px; }
	.l-nav .l-btn { margin: 8px 0 0; }
}

/* Hero */
.l-hero { background: var(--mint); }
.l-hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-top: 72px; padding-bottom: 56px; }
.l-hero__in .l-h1 { max-width: 52rem; }
.l-hero__in .l-lead { margin: 0 auto; }
.l-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 640px) {
	.l-hero__in { padding-top: 40px; gap: 18px; }
	.l-actions { flex-direction: column; align-self: stretch; }
}

/* Photo strip */
.l-strip { background: var(--mint); padding: 0 0 72px; overflow: hidden; }
.l-strip__track { display: flex; gap: 16px; width: max-content; padding-left: 16px; animation: laguun-scroll 50s linear infinite; }
.l-strip:hover .l-strip__track, .l-strip:focus-within .l-strip__track { animation-play-state: paused; }
.l-strip__set { display: flex; gap: 16px; }
.l-strip img { height: 280px; width: auto; max-width: none; border-radius: 20px; object-fit: cover; display: block; }
@keyframes laguun-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .l-strip__track { animation: none; } .l-strip { overflow-x: auto; } }
@media (max-width: 640px) { .l-strip img { height: 200px; } .l-strip { padding-bottom: 40px; } }

/* Facts */
.l-facts { background: #fff; border-bottom: 1px solid var(--line); }
.l-facts__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.l-fact { display: flex; flex-direction: column; gap: 4px; }
.l-fact strong { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--ink); line-height: 1.1; }
.l-fact span { font-size: 14px; color: var(--muted); }

/* Sections */
.l-section { padding-top: 96px; padding-bottom: 48px; }
.l-section--tight { padding-top: 48px; padding-bottom: 48px; }
.l-section--last { padding-bottom: 96px; }
.l-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.l-section__head > div { display: flex; flex-direction: column; gap: 12px; max-width: 42rem; }
@media (max-width: 640px) { .l-section { padding-top: 56px; padding-bottom: 32px; } .l-section--last { padding-bottom: 64px; } }

.l-grid { display: grid; gap: 24px; }
.l-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.l-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Steps */
.l-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.l-step p { margin: 0; color: var(--muted); }
.l-step__num { width: 48px; height: 48px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.l-step--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-step--dark .l-h3 { color: #fff; }
.l-step--dark p { color: var(--on-dark); }
.l-step--dark .l-step__num { background: var(--accent); color: var(--ink); }

/* Cards */
.l-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
a.l-card:hover { color: var(--text); border-color: var(--input); }
a.l-card:hover .l-h3 { text-decoration: underline; }
.l-card__img { aspect-ratio: 16 / 10; background: var(--mint-3); overflow: hidden; position: relative; }
.l-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.l-card__body p { margin: 0; color: var(--muted); font-size: 15px; }
.l-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.l-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.3; }
.l-tag--voistlus, .l-tag--voistlused { background: var(--accent); color: var(--ink); }
.l-tag--yritus, .l-tag--uritused { background: var(--teal); color: #fff; }
.l-tag--info { background: var(--mint-2); color: var(--ink); }
.l-tag--trennid { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.l-card__img .l-tag { position: absolute; top: 14px; left: 14px; }

/* Event rows */
.l-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.l-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.l-panel__head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink); }
.l-event-row { display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); padding: 16px 0; }
.l-event-row:hover { color: var(--text); }
.l-event-row:hover strong { text-decoration: underline; }
.l-event-row strong { font-size: 16px; display: block; }
.l-event-row span.l-muted { font-size: 14px; }
.l-datebox { width: 60px; flex-shrink: 0; text-align: center; display: flex; flex-direction: column; background: var(--mint); border-radius: 14px; padding: 8px 0; line-height: 1.15; }
.l-datebox small { font-size: 11px; font-weight: 600; color: var(--teal); text-transform: uppercase; }
.l-datebox b { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); }

.l-shop { background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.l-shop__img { flex-grow: 1; min-height: 200px; background: var(--teal-mid); }
.l-shop__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-shop__body { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.l-shop__body h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; }
.l-shop__body p { margin: 0; color: var(--on-dark); }

/* Signup */
.l-signup { background: var(--ink); color: #fff; scroll-margin-top: 20px; }
.l-signup__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.l-signup .l-h2 { color: #fff; }
.l-signup__intro { display: flex; flex-direction: column; gap: 22px; }
.l-signup__intro p { margin: 0; color: var(--on-dark); font-size: 1.1rem; }
.l-contact-list { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 24px; }
.l-contact-list a, .l-contact-list span { color: #fff; text-decoration: none; display: flex; gap: 12px; align-items: center; }
.l-contact-list a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 640px) { .l-signup__in { padding-top: 56px; padding-bottom: 64px; gap: 32px; } }

.l-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: #fff; color: var(--text); border-radius: 24px; padding: 32px; align-self: start; }
.l-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.l-form .l-full { grid-column: 1 / -1; }
.l-form input[type=text], .l-form input[type=email], .l-form input[type=tel], .l-form input[type=number], .l-form select, .l-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--input); border-radius: 12px; min-height: 48px; background: #fff; color: var(--text); width: 100%; }
.l-form textarea { min-height: 96px; resize: vertical; }
.l-form .l-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.l-form .l-check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.l-form button { grid-column: 1 / -1; border: 0; min-height: 54px; font-size: 17px; }
.l-form .l-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.l-form small { font-weight: 400; color: var(--muted); }
@media (max-width: 640px) { .l-form { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.l-notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.l-notice--ok { background: #E4F3EA; color: #14532D; }
.l-notice--err { background: #FBE9E4; color: var(--danger); }

/* Footer */
.l-footer { background: var(--footer); color: #fff; }
.l-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.l-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.l-footer__col h2 { margin: 0 0 4px; font-family: var(--body); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
.l-footer a { color: #fff; text-decoration: none; }
.l-footer a:hover { color: #fff; text-decoration: underline; }
.l-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.l-footer__brand strong { font-family: var(--display); font-size: 22px; }
.l-footer__brand span { color: var(--on-dark-2); font-size: 14px; }
.l-footer__bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: var(--on-dark-2); }

/* Page head */
.l-pagehead { background: var(--mint); }
.l-pagehead__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 64px; padding-bottom: 56px; }
.l-pagehead__in > div { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; }
.l-pagehead--split .l-pagehead__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; gap: 56px; }
.l-pagehead__img { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--teal-mid); }
.l-pagehead__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .l-pagehead__in { padding-top: 40px; padding-bottom: 36px; } }

/* Content from the editor */
.l-content { max-width: 760px; font-size: 17px; line-height: 1.7; }
.l-content--wide { max-width: none; }
.l-content > *:first-child { margin-top: 0; }
.l-content h2, .l-content h3, .l-content h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 1.8em 0 0.6em; }
.l-content h2 { font-size: 2rem; }
.l-content h3 { font-size: 1.5rem; }
.l-content p, .l-content ul, .l-content ol { margin: 0 0 1.1em; }
.l-content img { border-radius: 16px; }
.l-content figure { margin: 1.6em 0; }
.l-content figcaption { font-size: 14px; color: var(--muted); }
.l-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-size: 1.15em; }
.l-content .wp-block-gallery { gap: 12px; }
.l-content .wp-block-gallery img { border-radius: 14px; }
.l-content table { width: 100%; border-collapse: collapse; }
.l-content th, .l-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.l-content .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px; text-decoration: none; }

/* Schedule */
.l-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.l-group { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.l-group strong { font-family: var(--display); font-size: 20px; color: var(--ink); line-height: 1.2; }
.l-group span { font-size: 14px; color: var(--muted); }
.l-dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; flex-shrink: 0; }
.l-tablebox { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.l-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.l-table thead th { background: var(--ink); color: #fff; text-align: left; padding: 18px 12px; font-weight: 600; }
.l-table thead th:first-child { padding-left: 20px; width: 210px; }
.l-table tbody th { text-align: left; padding: 18px 12px 18px 20px; font-weight: 600; }
.l-table tbody th span { display: inline-flex; gap: 10px; align-items: center; }
.l-table td { padding: 18px 12px; white-space: pre-line; }
.l-table td.is-empty { color: #8A9A9C; }
.l-table tbody tr { border-top: 1px solid var(--line); }
.l-table tbody tr:nth-child(even) { background: #FBFCFC; }
.l-days { display: none; }
@media (max-width: 760px) {
	.l-tablebox--desktop { display: none; }
	.l-days { display: flex; flex-direction: column; gap: 14px; }
}
.l-day { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.l-day h3 { margin: 0; padding: 14px 18px; background: var(--ink); color: #fff; font-size: 16px; font-family: var(--body); font-weight: 600; }
.l-day ul { list-style: none; margin: 0; padding: 0; }
.l-day li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.l-day li:first-child { border-top: 0; }
.l-day li b { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.l-day li span { white-space: pre-line; text-align: right; }

.l-cta { background: var(--ink); color: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.l-cta h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 30px; }
.l-cta p { margin: 0; color: var(--on-dark); max-width: 36rem; }
.l-cta .l-actions { justify-content: flex-start; }

.l-empty { background: #fff; border: 1px dashed var(--input); border-radius: var(--radius); padding: 32px; color: var(--muted); }

/* Gallery */
.l-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.l-filter { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--input); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.l-filter:hover { border-color: var(--ink); color: var(--ink); }
.l-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.l-albums .l-card__img { aspect-ratio: 4 / 3; background: var(--teal-mid); }
.l-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.l-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--input); text-decoration: none; color: var(--ink); font-weight: 600; }
.l-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; margin-bottom: 12px; }

/* About */
.l-place { background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.l-place__body { padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.l-place__body h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1.1; color: var(--ink); }
.l-place__map { min-height: 360px; background: var(--mint-3); }
.l-place__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Article */
.l-article { padding-top: 56px; padding-bottom: 96px; }
.l-article__img { border-radius: 24px; overflow: hidden; margin: 28px 0 36px; max-width: 960px; }
.l-article__img img { width: 100%; display: block; }

/* Calendar */
.lc { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 8px; padding-bottom: 96px; }
.lc__side { flex: 1 1 250px; display: flex; flex-direction: column; gap: 20px; }
.lc__box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.lc__box h2 { margin: 0 0 6px; font-family: var(--body); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lc__filter { display: flex; align-items: center; gap: 12px; min-height: 36px; cursor: pointer; font-size: 15px; }
.lc__filter input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.lc__swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(11,46,51,0.2); }
.lc__swatch.is-voistlus { background: var(--accent); }
.lc__swatch.is-yritus { background: var(--teal); }
.lc__swatch.is-info { background: var(--mint-3); }
.lc__add { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgba(11,46,51,0.18); }
.lc__add:hover { color: #fff; background: var(--teal); }
.lc__admin-note { display: inline-flex; align-items: center; gap: 8px; background: #FFF4D9; color: #5C4300; border: 1px solid #EAD08A; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.lc__up { font: inherit; text-align: left; display: flex; gap: 12px; align-items: center; background: transparent; border: 0; border-radius: 12px; padding: 8px; min-height: 52px; cursor: pointer; color: var(--text); width: 100%; }
.lc__up:hover { background: var(--mint); }
.lc__up .l-datebox { width: 46px; padding: 4px 0; border-radius: 10px; }
.lc__up .l-datebox b { font-size: 18px; }
.lc__up .l-datebox small { font-size: 10px; }
.lc__up-txt { display: flex; flex-direction: column; min-width: 0; }
.lc__up-txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc__up-txt span { font-size: 12.5px; color: var(--muted); }
.lc__main { flex: 999 1 640px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lc__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lc__nav { display: flex; align-items: center; gap: 6px; }
.lc__nav h2 { margin: 0 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); }
.lc__icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lc__icon-btn:hover { background: var(--mint); }
.lc__today { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--input); background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.lc__views { display: flex; background: var(--mint); border-radius: 999px; padding: 4px; }
.lc__views button { border: 0; border-radius: 999px; padding: 0 16px; min-height: 40px; cursor: pointer; background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; }
.lc__views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lc__scroll { overflow-x: auto; }
.lc__month { min-width: 720px; }
.lc__wd, .lc__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.lc__wd { background: #F4F7F6; }
.lc__wd div { padding: 10px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.lc__week { border-top: 1px solid var(--line); }
.lc__cell { min-height: 128px; padding: 6px; border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lc__cell:last-child { border-right: 0; }
.lc__cell.is-out { background: #F4F7F6; }
.lc__num { align-self: flex-start; width: 32px; height: 32px; border-radius: 999px; border: 0; background: transparent; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.lc__cell.is-out .lc__num { color: #5F7072; }
.lc__cell.is-today .lc__num { background: var(--ink); color: #fff; }
.lc__num:hover { background: var(--mint-2); }
.lc__chip { text-align: left; border: 0; border-radius: 6px; padding: 4px 8px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 26px; }
.lc__chip.is-voistlus, .lc__pill.is-voistlus, .lc__dayev.is-voistlus { background: var(--accent); color: var(--ink); }
.lc__chip.is-yritus, .lc__pill.is-yritus, .lc__dayev.is-yritus { background: var(--teal); color: #fff; }
.lc__chip.is-info, .lc__pill.is-info, .lc__dayev.is-info { background: var(--mint-3); color: var(--ink); }
.lc__more { text-align: left; border: 0; background: transparent; font-size: 12.5px; font-weight: 600; color: var(--teal); padding: 2px 8px; cursor: pointer; }
.lc__list { padding: 8px 20px 20px; }
.lc__row { font: inherit; text-align: left; display: flex; gap: 20px; align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; cursor: pointer; color: var(--text); width: 100%; min-height: 72px; }
.lc__row:hover b { text-decoration: underline; }
.lc__row .l-datebox { width: 64px; }
.lc__row-txt { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; min-width: 0; }
.lc__row-txt b { font-size: 17px; }
.lc__row-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.lc__pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.lc__empty { margin: 24px 0; color: var(--muted); }

.lc-dialog { border: 0; padding: 0; border-radius: 24px; width: min(540px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,0.3); color: var(--text); }
.lc-dialog::backdrop { background: rgba(8,35,39,0.45); }
.lc-dialog__bar { height: 10px; }
.lc-dialog__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.lc-dialog__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lc-dialog__top .lc__icon-btn { margin: -10px -10px 0 0; }
.lc-dialog h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.15; color: var(--ink); }
.lc-dialog__facts { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.lc-dialog__facts span { display: flex; gap: 12px; align-items: center; }
.lc-dialog__facts svg { color: var(--teal); }
.lc-dialog__desc { color: var(--muted-2); }
.lc-dialog__desc p { margin: 0 0 0.8em; }
.lc-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.lc__dayev { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 2px; border: 0; border-radius: 12px; padding: 12px 14px; cursor: pointer; min-height: 52px; width: 100%; }
.lc__dayev span { font-size: 13px; }

/* Overrides */
.l-footer .l-nav__list, .l-footer .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.l-footer .l-nav__list a, .l-footer .menu a { display: inline; padding: 0; min-height: 0; background: none; font-size: 15px; font-weight: 400; color: #fff; }
.l-footer .l-nav__list a:hover, .l-footer .menu a:hover { background: none; text-decoration: underline; }
.l-place .l-contact-list a, .l-place .l-contact-list span { color: var(--teal); }
.l-place .l-contact-list span { color: var(--text); }
.lc-dialog__bar.is-voistlus { background: var(--accent); }
.lc-dialog__bar.is-yritus { background: var(--teal); }
.lc-dialog__bar.is-info { background: var(--mint-3); }
.lc-dialog__body > .l-btn { align-self: flex-start; margin-top: 6px; }

/* Clickable timetable */
.tt { display: flex; flex-direction: column; gap: 20px; }
.tt__groups, .tt__info, .tt__days, .tt__week, .tt__list, .tt__extras { display: none; }
.tt.is-js .tt-fallback { display: none; }
.tt.is-js .tt__groups { display: flex; flex-wrap: wrap; gap: 8px; }
.tt.is-js .tt__week { display: block; }
.tt.is-js .tt__info.is-shown, .tt.is-js .tt__extras.is-shown { display: flex; }
.tt__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--input); background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.tt__chip:hover { border-color: var(--ink); }
.tt__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tt__info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.tt__info h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); display: flex; gap: 12px; align-items: center; }
.tt__info p { margin: 6px 0 0; color: var(--muted); }
.tt__info .l-actions { justify-content: flex-start; }
.tt__times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tt__time { background: var(--mint); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tt__week { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.tt__grid { display: grid; grid-template-columns: 60px repeat(7, minmax(112px, 1fr)); min-width: 880px; }
.tt__head { padding: 14px 8px; font-weight: 600; font-size: 14px; color: var(--ink); background: #F4F7F6; border-bottom: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tt__head small { font-size: 11px; font-weight: 600; text-transform: lowercase; color: var(--accent); }
.tt__head.is-today { background: var(--ink); color: #fff; }
.tt__axis { position: relative; border-right: 1px solid var(--line); }
.tt__axis span { position: absolute; right: 8px; font-size: 12px; color: var(--muted); }
.tt__col { position: relative; border-right: 1px solid var(--line); background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-repeat: repeat-y; }
.tt__col:last-child { border-right: 0; }
.tt__col.is-today { background-color: #FBF8EE; }
.tt__block { position: absolute; border: 0; border-radius: 10px; padding: 6px 8px; text-align: left; cursor: pointer; overflow: hidden; display: flex; flex-direction: column; gap: 1px; font: inherit; font-size: 13px; line-height: 1.25; box-shadow: 0 1px 2px rgba(11,46,51,0.12); transition: transform .12s ease, box-shadow .12s ease; }
.tt__block b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt__block span { font-size: 12px; font-weight: 500; }
.tt__block:hover, .tt__block:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11,46,51,0.22); z-index: 2; }
.tt__days { gap: 6px; }
.tt__day { flex: 1 1 0; min-width: 40px; min-height: 56px; border-radius: 14px; border: 1.5px solid var(--input); background: #fff; color: var(--ink); font: inherit; font-weight: 800; font-size: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; cursor: pointer; padding: 4px 0; }
.tt__day small { font-size: 10px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.tt__day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tt__day[aria-pressed="true"] small { color: var(--on-dark); }
.tt__day.is-empty:not([aria-pressed="true"]) { color: #8A9A9C; border-style: dashed; }
.tt__list { flex-direction: column; gap: 10px; }
.tt__list-title { margin: 6px 0 2px; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); }
.tt__item { display: flex; gap: 14px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; text-align: left; cursor: pointer; width: 100%; color: var(--text); font: inherit; }
.tt__item:hover { border-color: var(--input); }
.tt__item i { width: 6px; border-radius: 6px; flex-shrink: 0; }
.tt__item-txt { display: flex; flex-direction: column; gap: 2px; }
.tt__item-txt strong { font-family: var(--display); font-size: 20px; color: var(--ink); }
.tt__item-txt b { font-size: 16px; }
.tt__item-txt span { font-size: 14px; color: var(--muted); }
.tt__empty { margin: 0; padding: 24px; color: var(--muted); }
.tt__extras { flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.tt__extras h3 { margin: 0; font-size: 16px; }
.tt__extras ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tt__extras li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) {
	.tt.is-js .tt__week { display: none; }
	.tt.is-js .tt__days { display: flex; }
	.tt.is-js .tt__list { display: flex; }
	.tt__info { padding: 20px; }
	.tt__info .l-actions { flex-direction: column; align-self: stretch; }
}

/* Timetable placed inside page text via [laguun_tunniplaan] gets the full width. */
.l-content:has(.tt) { max-width: none; }
.tt__note { margin: 20px 0 0; font-size: 15px; }
.tt__notice { margin: 0 0 14px; padding: 14px 18px; border-radius: 14px; background: var(--mint); color: var(--ink); font-weight: 600; font-size: 15px; }
.lc-dialog__body p { margin: 0; }
.lc-dialog__body .tt__times { margin-top: -6px; }

/* Home: "Meie lugu" */
.l-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.l-about__img { align-self: stretch; min-height: 320px; background: var(--mint-3); }
.l-about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-about__body { padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.l-about--text { grid-template-columns: 1fr; }
.l-about--text .l-about__body { padding: 48px; }
.l-logo--small, .l-logo--footer { flex-shrink: 0; }
