/*
Theme Name: Tao Tantramassage
Description: Tema til Tao Tantramassage – tantramassage og terapi i Køge.
Version: 1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tao
License: GNU General Public License v2 or later
*/

:root {
	--t-night: var(--wp--preset--color--night);
	--t-plum: var(--wp--preset--color--plum);
	--t-plum-soft: var(--wp--preset--color--plum-soft);
	--t-gold: var(--wp--preset--color--gold);
	--t-rose: var(--wp--preset--color--rose);
	--t-blush: var(--wp--preset--color--blush);
	--t-sand: var(--wp--preset--color--sand);
	--t-cream: var(--wp--preset--color--cream);
	--t-card: var(--wp--preset--color--card);
	--t-ink: var(--wp--preset--color--ink);
	--t-line: var(--wp--preset--color--line);
}

body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--t-blush); }

.bl-wrap { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; padding-left: 28px; padding-right: 28px; box-sizing: border-box; }
.bl-grid > *, .bl-row > * { margin: 0 !important; }
.bl-main .wp-block-post-content > * { margin-block-start: 0 !important; }
.bl-main .wp-block-post-content > :not(.bl-wrap) { max-width: none !important; }
.bl-main .wp-block-post-content > .bl-wrap { max-width: 1200px !important; }

/* Header */
.bl-header { background: var(--t-night); color: #F3E6DE; }
.bl-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.bl-header-inner > * { margin: 0 !important; }
.bl-nav-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.bl-nav-row > * { margin: 0 !important; }
.bl-logo { font-family: var(--wp--preset--font-family--heading); font-size: 25px; letter-spacing: 0.04em; }
.bl-logo a { color: #F3E6DE; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.bl-logo a::before { content: ""; width: 32px; height: 32px; border: 1px solid var(--t-gold); border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--t-gold) 0 3px, transparent 4px); }
.bl-header .wp-block-navigation { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; gap: 26px; }
.bl-header .wp-block-navigation a { color: #F3E6DE; text-decoration: none; }
.bl-header .wp-block-navigation__submenu-container { background: var(--t-plum) !important; border: 1px solid rgba(227,191,143,.3) !important; border-radius: 14px; padding: 8px !important; min-width: 270px !important; }
.bl-header .wp-block-navigation__submenu-container a { padding: 9px 12px !important; letter-spacing: 0.06em; }
.bl-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--t-night) !important; color: #F3E6DE !important; }

/* Knapper */
.wp-block-button__link { border-radius: 999px; padding: 16px 30px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; }
.is-style-outline .wp-block-button__link { background: transparent !important; color: #F3E6DE !important; border: 1px solid rgba(227,191,143,.55) !important; }
.is-light .is-style-outline .wp-block-button__link, .bl-light .is-style-outline .wp-block-button__link { color: var(--t-plum) !important; border-color: var(--t-rose) !important; }

/* Mørke sektioner */
.bl-dark { background: var(--t-night); color: #D9C6BF; }
.bl-dark h1, .bl-dark h2, .bl-dark h3 { color: #FBF3EE; }
.bl-dark a:not(.wp-block-button__link) { color: var(--t-gold); }
.bl-plum { background: var(--t-plum); color: #E9D9D1; }
.bl-plum h2, .bl-plum h3 { color: #FBF3EE; }
.bl-plum strong { color: #FBF3EE; font-weight: 500; }
.bl-sand { background: var(--t-sand); }

/* Hero */
.bl-hero { padding-top: 72px; padding-bottom: 104px; }
.bl-split { gap: 64px !important; align-items: center !important; margin: 0 !important; }
.bl-split > .wp-block-column > * + * { margin-top: 22px; }
.bl-kicker, .bl-badge { color: var(--t-gold); font-size: 13px !important; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400; margin: 0; }
.bl-light .bl-kicker, .bl-sand .bl-kicker, .bl-section .bl-kicker { color: var(--t-rose); }
.bl-hero h1 { font-size: clamp(48px, 6.4vw, 80px); line-height: 1.02; font-weight: 400; margin: 0; }
.bl-pagehero { padding-top: 64px; padding-bottom: 72px; }
.bl-pagehero h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.05; font-weight: 400; margin: 0; }
.bl-lead { font-size: 20px !important; color: #D9C6BF; max-width: 560px; }
.bl-light .bl-lead { color: var(--t-ink); }
.bl-heroimg, .bl-heroimg img { margin: 0; width: 100%; }
.bl-heroimg img { height: 540px; object-fit: cover; border-radius: 280px 280px 24px 24px; display: block; border: 1px solid rgba(227,191,143,.35); }
.bl-pagehero .bl-heroimg img { height: 460px; }

/* Sektioner */
.bl-section { padding-top: 104px; padding-bottom: 72px; }
.bl-section h2, .bl-band-inner h2 { font-size: clamp(34px, 3.8vw, 50px); margin: 12px 0 0; }
.bl-center { text-align: center; }
.bl-center > * { margin-left: auto !important; margin-right: auto !important; }
.bl-intro { font-size: 18px; max-width: 640px; }
.bl-quote { font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: 27px !important; color: var(--t-rose); line-height: 1.35; }
.bl-band-inner { padding-top: 88px; padding-bottom: 88px; }
.bl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 40px; list-style: none; padding: 0; max-width: 980px; margin: 36px auto 0 !important; }
.bl-list li { padding: 14px 0; border-bottom: 1px solid #D9BFB3; font-size: 17px; }

.bl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin-top: 44px !important; }
.bl-card { background: var(--t-card); border: 1px solid var(--t-line); border-radius: 22px; padding: 30px; overflow: hidden; }
.bl-card > * { margin: 0 0 10px !important; }
.bl-card h3 { font-size: 31px; color: var(--t-plum); }
.bl-card h3 a { color: inherit; text-decoration: none; }
.bl-card .bl-meta { color: var(--t-rose); font-size: 13px !important; letter-spacing: 0.16em; text-transform: uppercase; }
.bl-card p { font-size: 16px; }
.bl-card.is-dark { background: var(--t-plum); border-color: transparent; color: #D9C6BF; }
.bl-card.is-dark h3 { color: #FBF3EE; }
.bl-card.is-dark .bl-meta { color: var(--t-gold); }
.bl-cardimg { margin: -30px -30px 20px !important; }
.bl-cardimg img { width: 100%; height: 210px; object-fit: cover; display: block; }
.bl-more { font-size: 15px !important; font-weight: 400; letter-spacing: 0.04em; }
.bl-more a { text-decoration: none; }

/* Session-trin */
.bl-about { padding-top: 104px; padding-bottom: 104px; }
.bl-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: step; }
.bl-steps li { position: relative; padding-left: 52px; counter-increment: step; }
.bl-steps li::before { content: counter(step, upper-roman); position: absolute; left: 0; top: -4px; font-family: var(--wp--preset--font-family--heading); font-size: 32px; color: var(--t-gold); }
.bl-roundimg img { width: 100%; height: 520px; object-fit: cover; border-radius: 24px; display: block; }

/* Citater */
.bl-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 44px !important; }
.bl-quotes > * { margin: 0 !important; }
.bl-quotes .wp-block-quote { background: var(--t-card); border: 1px solid var(--t-line) !important; border-radius: 22px; padding: 32px; margin: 0; }
.bl-quotes .wp-block-quote p { font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--t-ink); margin: 0; }
.bl-quotes .wp-block-quote cite { display: block; margin-top: 14px; font-size: 14px; font-style: normal; color: var(--t-rose); }

/* Prosa på undersider */
.bl-prose { max-width: 820px !important; padding-top: 72px; padding-bottom: 80px; }
.bl-prose h2 { font-size: clamp(30px, 3vw, 40px); margin: 44px 0 12px; }
.bl-prose h3 { font-size: 26px; margin: 28px 0 8px; }
.bl-prose p, .bl-prose li { font-size: 18px; }
.bl-prose .wp-block-image img { border-radius: 20px; width: 100%; height: auto; }
.bl-checks { list-style: none; padding-left: 0; }
.bl-checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.bl-checks li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--t-gold); box-shadow: 0 0 0 4px rgba(227,191,143,.25); }
.bl-prose blockquote, .bl-prose .wp-block-quote { border-left: 0; margin: 28px 0; padding: 26px 30px; background: var(--t-sand); border-radius: 18px; }
.bl-prose .wp-block-quote p { font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: 23px; line-height: 1.45; margin: 0; }
.bl-prose .wp-block-quote cite { font-size: 14px; color: var(--t-rose); font-style: normal; }
.bl-note { font-size: 15px !important; opacity: .85; }

/* Priser */
.bl-prices { max-width: 900px !important; padding-top: 96px; padding-bottom: 96px; }
.bl-table table { border-collapse: collapse; width: 100%; font-size: 17px; }
.bl-table th, .bl-table td { padding: 16px 6px; border-bottom: 1px solid #D9BFB3; text-align: left; }
.bl-table td:last-child, .bl-table th:last-child { text-align: right; white-space: nowrap; font-weight: 400; }
.bl-table thead th { font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 500; color: var(--t-plum); }

/* FAQ */
.bl-faq details { border-bottom: 1px solid #D9BFB3; padding: 18px 0; }
.bl-faq summary { font-family: var(--wp--preset--font-family--heading); font-size: 25px; color: var(--t-plum); cursor: pointer; list-style: none; }
.bl-faq summary::after { content: "+"; float: right; color: var(--t-rose); }
.bl-faq details[open] summary::after { content: "–"; }
.bl-faq details p { margin: 10px 0 0; }

/* Kontakt */
.bl-contact { padding-top: 104px; padding-bottom: 104px; }
.bl-contact .wp-block-columns { gap: 64px; margin: 0; }
.bl-contact h2 { font-size: clamp(34px, 3.6vw, 46px); }
.bl-form { background: var(--t-card); border: 1px solid var(--t-line); border-radius: 24px; padding: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.bl-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 400; }
.bl-form input, .bl-form select, .bl-form textarea { font: inherit; font-weight: 300; padding: 13px 14px; border: 1px solid #D9BFB3; border-radius: 12px; background: #fff; }
.bl-form .bl-full { grid-column: 1 / -1; }
.bl-form button { justify-self: start; font: inherit; font-weight: 400; letter-spacing: 0.04em; background: var(--t-rose); color: #fff; border: 0; padding: 16px 30px; border-radius: 999px; cursor: pointer; }
.bl-form button:hover { background: var(--t-plum); }
.bl-hp { position: absolute !important; left: -9999px !important; }
.bl-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: var(--t-sand); font-weight: 400; margin: 0; }
.bl-msg.is-error { background: #FBE5E5; color: #7A1E1E; }

/* CTA */
.bl-cta { background: var(--t-plum); color: #D9C6BF; }
.bl-cta-inner { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.bl-cta-inner > * { margin-left: auto !important; margin-right: auto !important; max-width: 640px; }
.bl-cta h2 { color: #FBF3EE; font-size: clamp(32px, 3.4vw, 44px); margin: 0 0 12px; }
.bl-cta p { margin: 0 0 26px; }
.bl-cta .wp-block-buttons { justify-content: center; }

/* Footer */
.bl-footer { background: var(--t-night); color: #BFA9A2; font-size: 14px; }
.bl-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.bl-footer-inner > * { margin: 0 !important; }
.bl-footer p { margin: 0; }
.bl-footer .bl-fname { font-family: var(--wp--preset--font-family--heading); font-size: 24px; color: #F3E6DE; }
.bl-footer a { color: #BFA9A2; }

/* Blog */
.bl-postgrid { list-style: none; padding: 0; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bl-postcard .wp-block-post-title { font-size: 27px; margin: 4px 0 8px; }
.bl-postcard .wp-block-post-title a { color: var(--t-plum); text-decoration: none; }
.bl-date { font-size: 14px; color: var(--t-rose); }
.bl-article { max-width: 820px !important; padding-top: 56px; padding-bottom: 72px; }
.bl-article h1 { font-size: clamp(36px, 4vw, 52px); margin: 8px 0 24px; }
.bl-articleimg img { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; }

@media (max-width: 781px) {
	.bl-heroimg img { height: 340px; border-radius: 180px 180px 20px 20px; }
	.bl-hero, .bl-pagehero { padding-top: 40px; }
	.bl-roundimg img { height: 340px; }
}
