/*
Theme Name: Tresoroeffnung Bayern
Description: Schlankes Theme fuer tresoroeffnung-bayern.de.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: tresoroeffnung-bayern
*/
body { -webkit-text-size-adjust: 100%; }
.ts-header { background: var(--wp--preset--color--dunkel); padding: 14px 20px; }
.ts-accent { color: var(--wp--preset--color--gelb); font-weight: 600; }
.ts-header-inner { max-width: 1100px; margin: 0 auto; gap: 8px 24px; align-items: center; }
.ts-brand { display: block; text-decoration: none; line-height: 1.2; }
.ts-brand img { display: block; width: 620px; max-width: 100%; height: auto; }
.ts-brand-name { display: block; color: var(--wp--preset--color--gelb); font-size: 2.1rem; font-weight: 400; letter-spacing: -.5px; }
.ts-brand-sub { display: block; color: var(--wp--preset--color--hell); font-size: 1rem; margin-top: 4px; }
.ts-phones { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ts-phone { color: #fff; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.ts-phone span { color: #d6dbe4; font-size: .9rem; margin-right: 6px; }
@media (min-width: 701px) {
	header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
}
@media (hover: hover) and (pointer: fine) {
	a[href^="tel:"] { pointer-events: none; cursor: default; text-decoration: none; color: inherit; }
}
.ts-nav { background: #10161f; padding: 9px 20px; font-size: 1.1rem; }
.ts-nav .wp-block-navigation { max-width: 1100px; margin: 0 auto; }
.ts-nav .wp-block-navigation, .ts-nav .wp-block-navigation a, .ts-nav .wp-block-navigation-item__content { color: #fff !important; }
.ts-nav .wp-block-navigation__responsive-container.is-menu-open a { color: #fff !important; }
.ts-nav .wp-block-navigation a:hover { color: #ffbb00 !important; }
.ts-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--dunkel) !important; border: 1px solid #555 !important; }
.ts-main { padding: 28px 20px 48px; }
.ts-main h1 { margin-top: 0; }
.ts-main .wp-block-post-content > :first-child { margin-top: 0; }
.ts-main img { height: auto; max-width: 100%; }
.wp-block-media-text { margin-bottom: 28px; gap: 20px; }
.wp-block-media-text__content { padding: 0 0 0 20px !important; }
.wp-block-separator { border-color: #ccd2dc; }
.wp-block-table table { width: 100%; }
.wp-block-table td { border: 1px solid #aeb6c2; padding: 8px 10px; }
.wp-block-table { overflow-x: auto; }
.ts-print { float: right; margin-left: 14px; background: #1b2433; color: #fff; border: 0; border-radius: 4px; padding: 10px 16px; font-size: 1rem; margin-bottom: 14px; cursor: pointer; }
.ts-posts .wp-block-post { border-bottom: 1px solid #ccd2dc; padding-bottom: 18px; margin-bottom: 18px; }
.ts-posts .wp-block-post-title { margin: 0 0 4px; font-size: 1.3rem; }
.ts-meta { color: #566070; font-size: .92rem; }
.ts-aside { margin-top: 28px; border-top: 2px solid #ccd2dc; padding-top: 16px; }
.wp-block-comment-template { list-style: none; padding-left: 0; }
.wp-block-comment-template li { border-top: 1px solid #ccd2dc; padding: 10px 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery dl { margin: 0; } .gallery dd { margin: 4px 0 0; font-size: .9rem; }
.alignleft { float: left; margin: 4px 16px 10px 0; } .alignright { float: right; margin: 4px 0 10px 16px; } .aligncenter { display: block; margin: 0 auto; }
.wp-block-post-content::after { content: ""; display: block; clear: both; }
@media print { .ts-header, .ts-nav, .ts-footer, .ts-callbar, .ts-print { display: none !important; } body { background: #fff; color: #000; } }
.ts-footer { background: var(--wp--preset--color--dunkel); color: #d6dbe4; padding: 28px 20px 24px; font-size: .95rem; }
.ts-footer a { color: #d6dbe4; }
.ts-footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; }
.ts-footer h2 { font-size: 1rem; color: #ffbb00; margin: 0 0 8px; }
.ts-footer ul { list-style: none; margin: 0; padding: 0; }
.ts-footer li { margin-bottom: 4px; }
.ts-copy { max-width: 1100px; margin: 20px auto 0; font-size: .85rem; color: #aaa; }
.wp-block-media-text__media img { width: auto !important; max-width: 100%; }
.page-tresor-hersteller-geldschrank .wp-block-post-content > p,
.page-tresor-lexikon-fachbegriffe .wp-block-post-content > p { margin-block: .2em; }
.wp-block-navigation__responsive-container-open { color: #fff; padding: 6px 0; }
.wp-block-navigation__responsive-container-open svg { width: 34px; height: 34px; }
.ts-callbar { display: none; }
.ts-more { background: #ffbb00; color: #1b2433; border: 0; border-radius: 4px; padding: 12px 18px; font-weight: 700; font-size: 1rem; width: 100%; margin-top: 12px; }
details.ts-fold { border-top: 1px solid #ccd2dc; padding: 12px 0; }
details.ts-fold > summary { cursor: pointer; font-weight: 700; color: var(--wp--preset--color--gelb); font-size: 1.05rem; }
.ts-collapsed { max-height: 420px; overflow: hidden; position: relative; }
@media (max-width: 700px) {
	.ts-header { padding: 10px 14px; }
	.ts-header-inner > .ts-brand { flex: 1 1 100%; }
	.ts-brand img { width: 100%; }
	.ts-brand-name { font-size: 1.6rem; }
	.ts-brand-sub { font-size: .9rem; }
	.ts-phones { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: flex-start; }
	.ts-phone { font-size: .92rem; line-height: 1.3; color: #ffbb00; }
	.ts-phone span { display: block; margin: 0; font-size: .78rem; }
	.ts-nav { padding: 2px 14px; }
	.ts-main { padding: 18px 14px 32px; }
	.wp-block-media-text__content { padding: 12px 0 0 !important; }
	body { padding-bottom: 64px; }
	.ts-callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; box-shadow: 0 -2px 8px rgba(0,0,0,.45); }
	.ts-callbar a { flex: 1; text-align: center; padding: 15px 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
	.ts-call { background: #ffbb00; color: #1b2433; flex: 2 !important; }
	.ts-mail { background: #1b2433; color: #fff; }
}
