/*
Theme Name: Thorsens Chipskartofler
Theme URI: https://thorsens.dk/
Author: Cloudeksperten ApS
Description: Rebuild of the thorsens.dk website (Thorsens Chipskartofler A/S) from the 2026-07-10 Wayback Machine snapshot. Classic PHP theme with no page-builder dependencies. Recreates the original GeneratePress/WPBakery design: top bar, dropdown menu with flag language switcher (Polylang), hero slider, page hero band, news and people grids, three-column footer. Includes a "Medarbejdere" (people) post type and shortcodes used by the imported content.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: thorsens
*/

/* ------------------------------------------------------------------ tokens
   Values taken from the original GeneratePress customizer CSS
   (wp-content/uploads/generatepress/style.min.css) and the site's custom CSS. */
:root {
	--tck-accent: #da433f;
	--tck-dark: #222222;
	--tck-text: #555555;
	--tck-light: #f7f7f7;
	--tck-footer: #f1f1f1;
	--tck-bar: #ebebeb;
	--tck-base: #ffffff;
	--tck-muted: #666666;
	--tck-border: #e2e2e2;
	--tck-container: 1230px;
	--tck-gutter: 30px;
	--tck-font: halcom, Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--tck-base);
	color: var(--tck-text);
	font-family: var(--tck-font);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--tck-accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
p { margin: 0 0 0.7em; }
strong, b { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-family: var(--tck-font); margin: 0 0 10px; line-height: 1.25; }
h1 { font-weight: 800; font-size: 34px; color: #000; }
h2 { font-weight: 600; font-size: 28px; color: #333; }
h3 { font-weight: 500; font-size: 22px; line-height: 1.4; color: #333; }
h4 { font-weight: 400; font-size: 20px; line-height: 1.4; color: #333; }
h5 { font-weight: 400; font-size: 16px; line-height: 1.4; }
h6 { font-weight: 300; font-size: 18px; line-height: 1.4; text-transform: uppercase; }
@media (max-width: 768px) {
	h1 { font-size: 26px; } h2 { font-size: 22px; } h3, h4 { font-size: 18px; }
}
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--tck-border); margin: 20px 0; opacity: 1; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--tck-base); color: var(--tck-dark); padding: 10px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
:focus-visible { outline: 2px solid var(--tck-accent); outline-offset: 2px; }

.tck-container { max-width: var(--tck-container); margin: 0 auto; padding: 0 var(--tck-gutter); }

/* ------------------------------------------------------------------ buttons & forms */
.tck-btn, .wp-block-button__link, .wp-element-button, input[type="submit"], button.tck-btn, .wpcf7-submit {
	display: inline-block;
	background: var(--tck-accent);
	color: #fff !important;
	font-family: var(--tck-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	padding: 10px 20px;
	border: 0;
	border-radius: 1px;
	cursor: pointer;
	text-decoration: none !important;
	transition: filter .3s;
}
.tck-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover, .wpcf7-submit:hover { filter: brightness(115%); }
.tck-btn--dark { background: #000; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], textarea, select {
	width: 100%;
	font: inherit;
	color: var(--tck-muted);
	background: #fafafa;
	border: 1px solid #ccc;
	padding: 10px 12px;
	border-radius: 0;
}
input:focus, textarea:focus, select:focus { background: #fff; border-color: #bfbfbf; outline: none; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 400; color: var(--tck-dark); }
.wpcf7 p { margin-bottom: 14px; }
.wpcf7-not-valid-tip { font-size: 13px; }
.wpcf7 form .wpcf7-response-output { margin: 10px 0 0; padding: 10px 14px; font-size: 14px; }

/* ------------------------------------------------------------------ top bar */
.tck-topbar { background: #fff; color: var(--tck-muted); font-size: 11px; font-weight: 400; border-bottom: 1px solid #f3f3f3; }
.tck-topbar .tck-container { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: flex-end; padding-top: 8px; padding-bottom: 8px; }
.tck-topbar a { color: var(--tck-muted); letter-spacing: .05em; display: inline-flex; align-items: center; gap: 6px; }
.tck-topbar svg { width: 13px; height: 13px; fill: currentColor; }

/* ------------------------------------------------------------------ header & navigation */
.tck-header { background: #fff; position: relative; z-index: 50; }
.tck-header .tck-container { display: flex; align-items: center; gap: 24px; min-height: 124px; padding-top: 20px; padding-bottom: 20px; }
.tck-brand { display: flex; align-items: flex-end; gap: 22px; flex: 0 0 auto; text-decoration: none !important; }
.tck-brand img.tck-logo { width: 170px; max-height: 70px; object-fit: contain; display: block; }
.tck-brand .tck-motto { width: 240px; height: auto; display: block; margin-bottom: 6px; opacity: .9; }
@media (max-width: 1240px) { .tck-brand .tck-motto { display: none; } }

.tck-nav { margin-left: auto; display: flex; align-items: center; }
.tck-menu, .tck-menu ul { list-style: none; margin: 0; padding: 0; }
.tck-menu { display: flex; align-items: center; }
.tck-menu > li { position: relative; }
.tck-menu > li > a, .tck-menu > li > .tck-menu-label {
	display: block; color: var(--tck-dark); font-size: 16px; font-weight: 400; line-height: 64px; padding: 0 10px; text-decoration: none;
	background: none; border: 0; font-family: inherit; cursor: pointer;
}
.tck-menu li.menu-item-has-children > a::after, .tck-menu li.menu-item-has-children > .tck-menu-label::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px);
}
.tck-menu a:hover, .tck-menu a:focus, .tck-menu li:hover > a,
.tck-menu .current-menu-item > a, .tck-menu .current-menu-ancestor > a, .tck-menu .current-menu-parent > a { color: var(--tck-accent); text-decoration: none; }
.tck-menu .current-menu-item > a { font-weight: 600; }
.tck-menu .sub-menu {
	position: absolute; top: 100%; left: 0; width: 230px; padding-top: 22px; display: none; z-index: 60;
}
.tck-menu .sub-menu .sub-menu { top: 0; left: 100%; padding-top: 0; padding-left: 0; }
.tck-menu li:hover > .sub-menu, .tck-menu li:focus-within > .sub-menu { display: block; }
.tck-menu .sub-menu a {
	display: block; background: rgba(255,255,255,.95); color: var(--tck-dark); font-size: 14px; font-weight: 400; padding: 13px 15px; line-height: 1.4;
	border-bottom: 1px solid #f2f2f2;
}
.tck-menu .sub-menu .tck-menu-label {
	display: block; width: 100%; text-align: left; background: rgba(255,255,255,.95); color: var(--tck-dark); font: inherit; font-size: 14px;
	font-weight: 400; padding: 13px 15px; line-height: 1.4; border: 0; border-bottom: 1px solid #f2f2f2; cursor: default;
}
.tck-menu .sub-menu li.menu-item-has-children > a::after,
.tck-menu .sub-menu li.menu-item-has-children > .tck-menu-label::after { transform: rotate(-45deg); float: right; margin-top: 8px; }
.tck-menu li:hover > .tck-menu-label, .tck-menu .current-menu-ancestor > .tck-menu-label { color: var(--tck-accent); }
.tck-menu .sub-menu a:hover { background: #fff; }

.tck-lang { display: flex; align-items: center; gap: 8px; margin-left: 14px; padding-left: 14px; border-left: 1px solid #eee; }
.tck-lang a { display: block; line-height: 0; opacity: .55; transition: opacity .2s; }
.tck-lang a.is-current, .tck-lang a:hover { opacity: 1; }
.tck-lang img { width: 20px; height: 20px; border-radius: 50%; }

.tck-menu-toggle {
	display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 0; font: inherit; font-size: 16px;
	color: var(--tck-dark); cursor: pointer; padding: 10px 0;
}
.tck-menu-toggle .bars, .tck-menu-toggle .bars::before, .tck-menu-toggle .bars::after {
	display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.tck-menu-toggle .bars::before, .tck-menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.tck-menu-toggle .bars::before { top: -6px; } .tck-menu-toggle .bars::after { top: 6px; }
.tck-menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.tck-menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.tck-menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
	.tck-header .tck-container { min-height: 0; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
	.tck-brand img.tck-logo { width: 150px; }
	.tck-menu-toggle { display: inline-flex; }
	.tck-nav { display: none; width: 100%; flex: 0 0 100%; flex-direction: column; align-items: stretch; margin: 0; border-top: 2px solid var(--tck-light); }
	.tck-nav.is-open { display: flex; }
	.tck-menu { flex-direction: column; align-items: stretch; }
	.tck-menu > li > a, .tck-menu > li > .tck-menu-label { line-height: 1.4; padding: 12px 0; width: 100%; text-align: left; }
	.tck-menu .sub-menu, .tck-menu .sub-menu .sub-menu { position: static; display: block; width: auto; padding: 0 0 6px 16px; }
	.tck-menu .sub-menu a, .tck-menu .sub-menu .tck-menu-label { background: none; border: 0; padding: 7px 0; }
	.tck-menu .sub-menu .tck-menu-label { color: var(--tck-muted); }
	.tck-menu li.menu-item-has-children > a::after, .tck-menu li.menu-item-has-children > .tck-menu-label::after { display: none; }
	.tck-lang { margin: 10px 0 14px; padding: 0; border: 0; }
}

/* ------------------------------------------------------------------ hero slider (front page) */
.tck-slider { position: relative; overflow: hidden; background: #333; height: clamp(260px, 32vw, 460px); }
.tck-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.tck-slide.is-active { opacity: 1; }
.tck-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tck-slider::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); pointer-events: none; }
.tck-slider-caption {
	position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; color: #fff; padding: 0 var(--tck-gutter);
}
.tck-slider-caption .kicker { font-size: 18px; font-weight: 300; letter-spacing: .08em; }
.tck-slider-caption .title { font-size: clamp(26px, 4vw, 52px); font-weight: 800; line-height: 1.1; color: #fff; margin: 4px 0 14px; text-transform: uppercase; }
.tck-slider-caption .lead { max-width: 760px; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.5; margin: 0; }
.tck-slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.tck-slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.tck-slider-dots button[aria-current="true"] { background: #fff; }

/* ------------------------------------------------------------------ page hero */
.tck-page-hero {
	background-color: #282828;
	background-image: linear-gradient(0deg, rgba(40,40,40,.5), rgba(40,40,40,.5)), var(--tck-hero-image);
	background-size: cover; background-position: center;
	color: #fff; text-align: center; padding: 60px var(--tck-gutter);
}
.tck-page-hero__inner { max-width: 700px; margin: 0 auto; }
.tck-page-hero h1 { color: #fff; margin-bottom: 5px; font-weight: 600; }
.tck-page-hero p { font-size: 16px; line-height: 1.5; margin: 0; }

/* ------------------------------------------------------------------ content */
.tck-main { padding: 50px 0 70px; }
.tck-main--flush { padding: 0; }
.entry-content > * + * { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content .wp-block-heading { margin-top: 24px; }
.entry-content > .wp-block-heading:first-child { margin-top: 0; }
.entry-content .wp-block-image { margin: 20px 0; }
.entry-content .wp-block-image img { display: block; }
.entry-content ul, .entry-content ol { margin: 0 0 1em; padding-left: 1.3em; }
.entry-content p a { font-weight: 500; }
.tck-translation-note { background: #fff6e5; border-left: 4px solid #e5a000; padding: 10px 14px; font-size: 14px; }

/* full-bleed home sections (front page content is wrapped in .tck-home) */
.tck-home > .wp-block-group, .tck-home > .wp-block-columns { margin: 0; }
.tck-home .tck-intro { background: var(--tck-light); text-align: center; padding: 60px var(--tck-gutter); }
.tck-home .tck-intro > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.tck-home .tck-section { max-width: var(--tck-container); margin: 0 auto !important; padding: 60px var(--tck-gutter); }
.tck-section-title { text-align: center; margin-bottom: 0 !important; }
.tck-section .wp-block-separator, .tck-section-title + .wp-block-separator { max-width: 80px; margin: 14px auto 30px; border-top: 2px solid var(--tck-accent); }

.tck-split.wp-block-columns { gap: 0 !important; margin: 0 !important; align-items: stretch !important; background: var(--tck-base); }
.tck-split--light.wp-block-columns { background: var(--tck-light); }
.tck-split > .wp-block-column { flex-basis: 50% !important; }
.tck-split > .wp-block-column:has(> .wp-block-image) { min-height: 360px; position: relative; }
.tck-split .wp-block-image { margin: 0; position: absolute; inset: 0; }
.tck-split .wp-block-image a { display: block; height: 100%; }
.tck-split .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.tck-split > .wp-block-column:not(:has(> .wp-block-image)) { padding: 60px clamp(30px, 6vw, 90px); align-self: center; }
@media (max-width: 781px) {
	.tck-split.wp-block-columns { flex-direction: column; }
	.tck-split--light.wp-block-columns { flex-direction: column-reverse; }
	.tck-split > .wp-block-column:has(> .wp-block-image) { min-height: 240px; }
}

.tck-product-cards.wp-block-columns { gap: 20px; }
.tck-product-cards > .wp-block-column { position: relative; overflow: hidden; min-height: 240px; background: #333; }
.tck-product-cards .wp-block-image { position: absolute; inset: 0; margin: 0; }
.tck-product-cards .wp-block-image a { display: block; height: 100%; }
.tck-product-cards .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .6s; opacity: .75; }
.tck-product-cards > .wp-block-column:hover img { transform: scale(1.06); opacity: .55; }
.tck-product-cards .wp-block-heading, .tck-product-cards p { position: relative; z-index: 2; text-align: center; color: #fff; }
.tck-product-cards .wp-block-heading { margin-top: 80px !important; font-size: 20px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.tck-product-cards .wp-block-heading a, .tck-product-cards p a { color: #fff; }
.tck-product-cards p a { font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.6); }
.tck-product-cards .wp-block-heading a::before { content: ""; position: absolute; inset: -500px; z-index: 1; }
@media (max-width: 781px) { .tck-product-cards.wp-block-columns { flex-wrap: wrap !important; } .tck-product-cards > .wp-block-column { flex-basis: calc(50% - 10px) !important; } }
@media (max-width: 480px) { .tck-product-cards > .wp-block-column { flex-basis: 100% !important; } }

.tck-home .tck-cta {
	background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15)), url("assets/img/cta.jpg") center / cover fixed;
	padding: 90px var(--tck-gutter);
}
/* Classic themes wrap group content in .wp-block-group__inner-container: that wrapper is the white box. */
.tck-home .tck-cta > .wp-block-group__inner-container {
	max-width: 620px; margin: 0 auto; background: rgba(255,255,255,.85); text-align: center; padding: 40px;
}
.tck-home .tck-cta .wp-block-heading { margin-top: 0 !important; }
.tck-home .tck-cta .wp-block-buttons { justify-content: center; margin-top: 16px; }
@media (max-width: 600px) { .tck-home .tck-cta { padding: 50px 16px; } .tck-home .tck-cta > .wp-block-group__inner-container { padding: 28px 22px; } }
@media (hover: none) { .tck-home .tck-cta { background-attachment: scroll; } }

/* ------------------------------------------------------------------ news cards */
.tck-cards { display: grid; gap: 20px; grid-template-columns: repeat(var(--tck-cols, 4), minmax(0, 1fr)); }
.tck-cards--3 { --tck-cols: 3; }
@media (max-width: 1000px) { .tck-cards { --tck-cols: 2 !important; } }
@media (max-width: 560px) { .tck-cards { --tck-cols: 1 !important; } }
.tck-card { display: flex; flex-direction: column; background: var(--tck-light); }
.tck-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e5dd; }
.tck-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tck-card:hover .tck-card__media img { transform: scale(1.04); }
.tck-card__media--empty { display: flex; align-items: center; justify-content: center; }
.tck-card__media--empty img { width: 55%; height: auto; object-fit: contain; opacity: .35; filter: grayscale(1); }
.tck-card__body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.tck-card__date { font-size: 12px; color: var(--tck-muted); letter-spacing: .04em; margin-bottom: 4px; }
.tck-card__title { font-size: 18px; font-weight: 500; line-height: 1.35; margin: 0 0 8px; }
.tck-card__title a { color: var(--tck-dark); }
.tck-card__excerpt { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.tck-card .tck-btn { align-self: flex-start; margin-top: auto; }
.tck-news-empty { text-align: center; color: var(--tck-muted); }

/* ------------------------------------------------------------------ people */
.tck-people-group + .tck-people-group { margin-top: 40px; }
.tck-people-group > h3 { margin-bottom: 0; }
.tck-people-group > hr { margin: 12px 0 24px; }
.tck-people { display: grid; gap: 24px 2%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .tck-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tck-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tck-people { grid-template-columns: 1fr; } }
.tck-person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #d3d3d3; }
.tck-person__name { font-weight: 500; font-size: 18px; margin: 14px 0 0; color: var(--tck-dark); }
.tck-person__role { font-weight: 500; border-top: 2px solid #f2f2f2; padding-top: 4px; margin-top: 4px; font-size: 14px; }
.tck-person__contact { font-size: 13px; text-align: right; display: flex; flex-direction: column; }
.tck-person__contact a { color: var(--tck-text); }

/* ------------------------------------------------------------------ contact page */
.tck-contact.wp-block-columns { gap: 40px; margin-bottom: 40px; }
.tck-contact > .wp-block-column:last-child { background: var(--tck-light); padding: 30px; }
.tck-embed { position: relative; background: var(--tck-light); border: 1px solid var(--tck-border); margin: 30px 0; }
.tck-embed--map { aspect-ratio: 16 / 6; min-height: 280px; }
.tck-embed--video { aspect-ratio: 16 / 9; max-width: 760px; }
.tck-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tck-embed__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; font-size: 14px; }
.tck-embed__consent p { max-width: 520px; margin: 0; }

/* ------------------------------------------------------------------ single post */
.tck-post-image { margin: 0 0 30px; }
.tck-post-image img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.tck-post-header h1 { font-weight: 600; line-height: 1.2; }
.tck-post-meta { font-size: 14px; color: var(--tck-muted); margin-bottom: 24px; }
.tck-post { max-width: 900px; margin: 0 auto; }
.tck-post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 24px; padding-top: 20px; border-top: 1px solid var(--tck-border); font-size: 14px; }
.tck-post-nav a { color: var(--tck-dark); }
.tck-post-nav .next { text-align: right; margin-left: auto; }
.tck-post-nav span { display: block; font-size: 12px; color: var(--tck-muted); text-transform: uppercase; letter-spacing: .06em; }

/* archive / search list */
.tck-list-intro { margin-bottom: 30px; }
.tck-pagination { margin-top: 30px; display: flex; gap: 8px; justify-content: center; }
.tck-pagination .page-numbers { padding: 6px 12px; background: var(--tck-light); color: var(--tck-dark); }
.tck-pagination .current { background: var(--tck-accent); color: #fff; }

/* ------------------------------------------------------------------ footer */
.tck-footer { background: var(--tck-footer); color: #444; font-size: 14px; }
.tck-footer__widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
.tck-footer h2 { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 8px; }
.tck-footer ul { list-style: none; margin: 0; padding: 0; }
.tck-footer li { margin: 0 0 4px; }
.tck-footer a { color: var(--tck-accent); }
.tck-footer__contact { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.tck-footer__bar { background: var(--tck-bar); color: var(--tck-dark); font-size: 12px; font-weight: 400; }
.tck-footer__bar .tck-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.tck-footer__logos { display: flex; align-items: center; gap: 24px; }
.tck-footer__logos img.tck-logo { width: 150px; }
.tck-footer__logos .smiley img { width: 56px; display: block; }
.tck-footer__bar a { color: var(--tck-dark); }
@media (max-width: 860px) { .tck-footer__widgets { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; padding-bottom: 40px; } }

/* mobile action bar (original had a floating icon bar on phones) */
.tck-mobilebar { display: none; }
@media (max-width: 768px) {
	body { padding-bottom: 54px; }
	.tck-mobilebar {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
		background: #fff; border-top: 1px solid #e5e5e5; box-shadow: 0 -2px 10px rgba(0,0,0,.05);
	}
	.tck-mobilebar a { display: flex; align-items: center; justify-content: center; height: 54px; color: var(--tck-dark); }
	.tck-mobilebar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
}

/* 404 */
.tck-404 { text-align: center; padding: 40px 0; }
