/*
Theme Name: tbb-exact-clone
Text Domain: tbb-exact-clone
Description: Custom classic WordPress theme for the exact T.B.B Tree Service migration, preserving the original site's layout while supporting WordPress pages, SEO, and blog content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
	overflow-y: auto !important;
}
html, body, #dm, .dmOuter, .dmInner, #site_content, .site_content {
	max-height: none !important;
	height: auto;
	overflow: visible;
}
body {
	margin: 0;
	min-height: 100vh;
	overflow-y: auto !important;
}
/* Captured Duda animations sometimes leave imported elements hidden when
 * their original runtime is absent. Keep the visual end state visible. */
.animated, [data-anim-desktop], [data-anim-mobile], [data-anim-extended] {
	opacity: 1 !important;
	visibility: visible !important;
}

/* TBB blog archive + single-post theme. */
.tbb-blog-shell{background:#fff;color:#313031;min-height:100vh;font-family:Arial,Helvetica,sans-serif}.tbb-blog-topbar{background:#2f2f2f;color:#fff}.tbb-blog-topbar-inner,.tbb-blog-header-inner,.tbb-blog-main{max-width:1200px;margin:0 auto}.tbb-blog-topbar-inner{padding:10px 24px;font-size:15px;font-weight:700}.tbb-blog-topbar a{color:#fff;text-decoration:none}.tbb-blog-header{background:#fff;border-bottom:1px solid #ececec;box-shadow:0 2px 8px rgba(0,0,0,.06)}.tbb-blog-header-inner{display:grid;grid-template-columns:180px minmax(0,1fr) 190px;gap:24px;align-items:center;padding:14px 24px}.tbb-blog-logo img{display:block;width:135px;height:auto;margin:0 auto}.tbb-blog-nav .unifiednav__container.unav-top{display:flex!important;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap;margin:0!important;padding:0!important;list-style:none!important}.tbb-blog-nav .unifiednav__item-wrap{list-style:none!important}.tbb-blog-nav .unav-top-item{display:block!important;padding:12px 8px!important;font-size:13px!important;font-weight:700!important;text-decoration:none!important;white-space:nowrap}.tbb-blog-phone{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;background:#f4c542;color:#222!important;font-weight:700;text-decoration:none!important;border-radius:3px}.tbb-blog-hero{background:#f5c843;padding:56px 24px;text-align:center}.tbb-blog-hero h1{margin:0;color:#252525;font-size:44px;line-height:1.1}.tbb-blog-hero p{max-width:760px;margin:14px auto 0;font-size:18px;line-height:1.6}.tbb-blog-main{padding:54px 24px 72px}.tbb-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.tbb-post-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.06)}.tbb-post-card-image{display:block;aspect-ratio:16/9;background:#ececec;overflow:hidden}.tbb-post-card-image img{width:100%;height:100%;object-fit:cover}.tbb-post-card-placeholder{height:100%;display:flex;align-items:center;justify-content:center;padding:20px;background:#333;color:#f5c843;font-size:20px;font-weight:700;text-align:center}.tbb-post-card-body{display:flex;flex:1;flex-direction:column;padding:24px}.tbb-post-card-meta{font-size:13px;color:#777;text-transform:uppercase;letter-spacing:.04em}.tbb-post-card h2{margin:10px 0 12px;font-size:24px;line-height:1.25}.tbb-post-card h2 a{color:#313031;text-decoration:none}.tbb-post-card p{font-size:16px;line-height:1.65;color:#555}.tbb-post-card .tbb-read-more{margin-top:auto;padding-top:12px;color:#222;font-weight:700;text-decoration:none}.tbb-blog-pagination{margin-top:46px}.tbb-blog-pagination .nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.tbb-blog-pagination a,.tbb-blog-pagination span{display:inline-flex;min-width:40px;height:40px;padding:0 12px;align-items:center;justify-content:center;border:1px solid #ddd;text-decoration:none;color:#313031}.tbb-blog-pagination .current{background:#f5c843;border-color:#f5c843;font-weight:700}.tbb-single-wrap{max-width:980px;margin:0 auto;padding:54px 24px 72px;text-align:center}.tbb-single-wrap article{max-width:900px;margin:0 auto}.tbb-single-header{text-align:center;margin:0 auto 38px;max-width:860px;padding:28px 30px;background:#f7f7f3;border:1px solid #ece9df;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.05)}.tbb-single-header h1{margin:0 auto;font-size:40px;line-height:1.16;color:#252525;max-width:720px;letter-spacing:-.02em;text-wrap:balance}.tbb-single-header h1:after{content:"";display:block;width:74px;height:4px;margin:18px auto 0;background:#f4c542;border-radius:999px}.tbb-single-meta{margin-top:16px;color:#777;font-size:14px;text-transform:uppercase;letter-spacing:.04em}.tbb-single-featured{display:flex;align-items:center;justify-content:center;margin:0 auto 36px;max-width:840px;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#ececec}.tbb-single-featured img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;margin:0 auto}.tbb-single-content{max-width:820px;margin:0 auto;font-size:18px;line-height:1.8;color:#383838;text-align:left}.tbb-single-content>p:first-child{margin-top:0}.tbb-single-content h2,.tbb-single-content h3{color:#252525;line-height:1.25;margin-top:1.5em}.tbb-single-content img{display:block;max-width:100%;height:auto;margin:28px auto}.tbb-single-content figure{margin-left:auto;margin-right:auto;text-align:center}.tbb-single-content a{color:#8b6500}.tbb-single-back{max-width:820px;margin:46px auto 0;padding-top:28px;border-top:1px solid #e5e5e5;text-align:left}.tbb-single-back a{font-weight:700;color:#313031;text-decoration:none}.tbb-blog-empty{text-align:center;padding:60px 20px}.tbb-blog-footer-cta{background:#2f2f2f;color:#fff;text-align:center;padding:46px 24px}.tbb-blog-footer-cta h2{margin:0 0 10px;font-size:30px;color:#fff}.tbb-blog-footer-cta p{margin:0 0 20px;font-size:17px}.tbb-blog-footer-cta a{display:inline-block;background:#f5c843;color:#222;text-decoration:none;font-weight:700;padding:14px 24px;border-radius:3px}
@media(max-width:1050px){.tbb-blog-header-inner{grid-template-columns:130px 1fr}.tbb-blog-phone{display:none}.tbb-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.tbb-blog-topbar-inner{text-align:center;font-size:13px}.tbb-blog-header-inner{display:block;padding:12px 18px}.tbb-blog-logo img{width:105px;margin-bottom:8px}.tbb-blog-nav .unifiednav__container.unav-top{gap:0}.tbb-blog-nav .unav-top-item{font-size:11px!important;padding:8px 6px!important}.tbb-blog-hero{padding:40px 20px}.tbb-blog-hero h1{font-size:36px}.tbb-blog-grid{grid-template-columns:1fr}.tbb-blog-main{padding:38px 18px 56px}.tbb-single-wrap{padding:40px 20px 56px}.tbb-single-header{padding:22px 18px;margin-bottom:30px;border-radius:12px}.tbb-single-header h1{font-size:32px;line-height:1.18;max-width:620px}.tbb-single-header h1:after{width:58px;height:3px;margin-top:14px}}
