/*
Theme Name:  Lakeshore Pet Sitters 2026
Description: Replaces Divi. Same look as the 2017 Divi site: boxed layout on grass, green header with picture menu, orange testimonial column, blue footer. Pages are plain WordPress blocks.
Version:     1.7
Requires at least: 6.5
*/

/* Colors live in content.css, which loads first */

* { box-sizing: border-box; }

body {
	margin: 0;
	background: #1e4324 url(images/grass.jpg) center top / cover no-repeat fixed;
	color: var(--lsp-text);
	font: 14px/1.7 "Open Sans", Arial, sans-serif;
}


#page { max-width: 1120px; margin: 0 auto; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.2); }

/* Top bar */
.lsp-topbar { background: var(--lsp-topbar); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 56px; display: flex; gap: 16px; align-items: center; }
.lsp-topbar a { color: #fff; }
.lsp-topbar svg { width: 12px; height: 12px; fill: #fff; vertical-align: -1px; margin-right: 3px; }

/* Header */
.lsp-header { background: var(--lsp-header); padding: 50px 60px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lsp-logo img { display: block; width: 346px; }
.lsp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.lsp-nav > ul > li { position: relative; }
.lsp-nav img { display: block; width: 138px; transition: transform .2s; }
.lsp-nav a:hover img { transform: scale(1.04); }
.lsp-nav a:hover { opacity: 1; }
.lsp-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 10; width: 220px; background: var(--lsp-green); border-top: 3px solid #fff; padding: 12px 0; box-shadow: 0 2px 5px rgba(0,0,0,.2); flex-direction: column; gap: 0; }
.lsp-nav li:hover > .sub-menu, .lsp-nav li:focus-within > .sub-menu { display: flex; }
.lsp-nav .sub-menu a { display: block; padding: 6px 20px; color: rgba(255,255,255,.85); font-weight: 600; }
.lsp-nav .sub-menu a:hover { color: #fff; background: rgba(0,0,0,.05); }

/* Body: orange testimonial column + white content */
.lsp-main { display: grid; grid-template-columns: 285px 1fr; background: var(--lsp-orange); }
.lsp-sidebar { padding: 36px 30px; color: #fff; }
.lsp-bubble { display: block; width: 238px; margin: 0 0 30px; }
.lsp-sidebar blockquote { margin: 0 0 30px; padding-left: 20px; border-left: 5px solid var(--lsp-green); font-size: 14px; }
.lsp-sidebar cite { font-style: italic; display: block; margin-bottom: 24px; }
.lsp-sidebar cite a { color: #0000ff; margin-left: 6px; }
.lsp-sidebar .lsp-fb { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.lsp-sidebar .lsp-fb svg { width: 22px; height: 22px; fill: #fff; }

.lsp-content { background: #fff; padding: 30px 30px 60px; min-width: 0; }
.lsp-content > :first-child { margin-top: 0; }

/* Footer */
.lsp-footer { background: var(--lsp-blue); color: #fff; padding: 0 56px; }
.lsp-footer a { color: #fff; }
.lsp-footer-nav ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; }
.lsp-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.15); }
.lsp-footer-bottom a { font-weight: 700; }
.lsp-footer-bottom svg { width: 24px; height: 24px; fill: #fff; }

/* Photo viewer (click a photo): the page shows behind the photo, blurred and darkened.
   The buttons get dark circles so they stay visible over the page. */
.wp-lightbox-overlay .scrim { background-color: rgba(0,0,0,.45) !important; opacity: 1 !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wp-lightbox-overlay button { background: rgba(0,0,0,.55) !important; border-radius: 50%; }
.wp-lightbox-overlay button, .wp-lightbox-overlay button svg { color: #fff !important; fill: #fff !important; }
.wp-lightbox-overlay img { box-shadow: 0 4px 24px rgba(0,0,0,.45); }

/* Blog */
.lsp-post { margin-bottom: 40px; }
.lsp-post .lsp-date { color: #999; font-size: 13px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Tablet and phone */
@media (max-width: 980px) {
	.lsp-topbar, .lsp-header, .lsp-footer { padding-left: 20px; padding-right: 20px; }
	.lsp-header { padding-top: 20px; padding-bottom: 20px; justify-content: center; }
	.lsp-logo img { width: 260px; }
	.lsp-nav ul { gap: 10px; }
	.lsp-nav img { width: 80px; }
	.lsp-nav .sub-menu { display: none !important; }
	.lsp-main { grid-template-columns: 1fr; }
	.lsp-content { order: 1; padding: 24px 20px 40px; }
	.lsp-sidebar { order: 2; }
	.lsp-indent { padding-left: 0; }
}
@media (max-width: 600px) {
	body { font-size: 15px; background-size: cover; }
	.lsp-topbar { flex-wrap: wrap; justify-content: center; }
	.lsp-nav ul { justify-content: center; }
	.lsp-nav img { width: 72px; }
	.wp-block-columns { flex-direction: column; gap: 10px; }
	.wp-block-image.alignright, .wp-block-image .alignright, .wp-block-image.alignleft, .wp-block-image .alignleft { float: none; margin: 0 auto 12px; display: table; }
	.lsp-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
	.lsp-footer-nav ul { justify-content: center; }
}
