/*
Theme Name:   LOBF 2026
Theme URI:    https://lakeokeechobeebassfishing.com/
Description:  Twenty Twenty-Five child theme for LakeOkeechobeeBassFishing.com. Replaces Divi. Pages keep their content (the lobf26 layouts) and the LOBF 2026 Design System plugin keeps doing the booking, footer, reviews and page design. This theme adds the header, page and post templates, the tracking codes Divi used to inject, and site-wide fixes (sitemap cache off, must-use loader for the plugin).
Author:       Bass Online / iOutdoors
Template:     twentytwentyfive
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 7.4
Text Domain:  lobf-2026
*/

/* ---------- Base (what Divi used to give every page) ---------- */
*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
[id] { scroll-margin-top: 110px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Redesigned pages (lobf26) run full width; nothing from the theme constrains them. */
#main-content { display: block; }
#main-content > .wp-block-post-content,
#main-content > .entry-content { margin: 0; max-width: none; }

/* Plain pages (no lobf26 wrapper): readable column. */
body:not(.lobf26-page) #main-content .wp-block-post-title,
body:not(.lobf26-page) #main-content > .wp-block-post-content {
	max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px;
}
body:not(.lobf26-page) #main-content .wp-block-post-title { margin-top: 48px; margin-bottom: 16px; font-family: "Barlow Condensed", Arial, sans-serif; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; color: #05306B; line-height: 1.05; }
body:not(.lobf26-page) #main-content > .wp-block-post-content { padding-bottom: 56px; }

/* ---------- Archive, search and 404 ---------- */
.lobf-list { max-width: 1100px; margin: 0 auto; padding: 40px 20px 64px; }
.lobf-list .wp-block-query-title, .lobf-list h1 { font-family: "Barlow Condensed", Arial, sans-serif; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; color: #05306B; line-height: 1.05; margin: 0 0 24px; }
.lobf-list .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lobf-list .wp-block-post-template > li { margin: 0; border: 1px solid #E3E8EE; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.lobf-list .wp-block-post-featured-image { margin: 0; aspect-ratio: 16/10; overflow: hidden; }
.lobf-list .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.lobf-list .wp-block-post-title { font-size: 20px; line-height: 1.25; margin: 14px 16px 6px; }
.lobf-list .wp-block-post-title a { color: #05306B; text-decoration: none; }
.lobf-list .wp-block-post-date { margin: 0 16px; font-size: 14px; color: #5B6B7A; }
.lobf-list .wp-block-post-excerpt { margin: 8px 16px 16px; font-size: 15px; color: #33414E; }
.lobf-list .wp-block-post-excerpt__more-text { display: none; }
.lobf-list .wp-block-query-pagination { margin-top: 32px; gap: 12px; justify-content: center; }
.lobf-list .wp-block-search { margin: 16px 0 28px; max-width: 520px; }
.lobf-list .lobf-404-links a { display: inline-block; margin: 6px 8px 6px 0; padding: 10px 16px; border-radius: 8px; background: #EEF4FA; color: #05306B; font-weight: 700; text-decoration: none; }
