/*
Theme Name:   Photo Booth NWI
Theme URI:    https://photoboothnwi.com
Description:  Twenty Seventeen child theme for PhotoBoothNWI.com, a guide to the photo booth rentals offered by NWIPhotoBoothRental.com.
Author:       Photo Booth NWI
Template:     twentyseventeen
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  photoboothnwi
*/

:root {
	--pbnwi-accent: #c2185b;
	--pbnwi-accent-dark: #8e0f42;
	--pbnwi-ink: #222;
	--pbnwi-soft: #fbeff4;
}

/* Top booking bar */
.pbnwi-topbar {
	background: var(--pbnwi-ink);
	color: #fff;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	padding: 0.55em 1em;
	text-align: center;
	position: relative;
	z-index: 10;
}
.pbnwi-topbar a { color: #fff; box-shadow: none; font-weight: 700; text-decoration: underline; }
.pbnwi-topbar a:hover { color: #ffd1e3; }

/* Accent links */
.entry-content a, .widget a { color: var(--pbnwi-accent); box-shadow: inset 0 -1px 0 rgba(194, 24, 91, .35); }
.entry-content a:hover, .entry-content a:focus { color: var(--pbnwi-accent-dark); box-shadow: inset 0 -2px 0 var(--pbnwi-accent-dark); }

.pbnwi-lead { font-size: 1.15em; line-height: 1.6; }
.pbnwi-small { font-size: 0.8em; color: #767676; }

/* Figures */
.pbnwi-figure { margin: 0 0 1.5em; text-align: center; }
.pbnwi-figure img { margin: 0 auto; max-height: 520px; width: auto; border-radius: 6px; }
.pbnwi-figure a { box-shadow: none !important; }
.pbnwi-figure figcaption { font-size: 0.75em; color: #767676; margin-top: .4em; }

/* Booth cards grid */
.pbnwi-grid { display: grid; grid-template-columns: 1fr; gap: 1.5em; margin: 2em 0; }
@media (min-width: 30em) { .pbnwi-grid { grid-template-columns: repeat(2, 1fr); } }
.pbnwi-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.pbnwi-card > a:first-child { box-shadow: none; display: block; }
.pbnwi-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.pbnwi-card h3 { font-size: 1rem; margin: .9em 1em .3em; padding: 0; }
.pbnwi-card p { font-size: .875rem; margin: 0 1.1em .6em; }
.pbnwi-card .pbnwi-price { font-weight: 700; color: var(--pbnwi-accent); }
.pbnwi-card .pbnwi-more { margin-top: auto; padding-bottom: 1em; font-size: .8125rem; }
.pbnwi-noimg {
	display: flex !important; align-items: center; justify-content: center; height: 200px;
	background: linear-gradient(135deg, #2b1b3d, var(--pbnwi-accent));
	color: #fff !important; text-align: center; font-weight: 700; font-size: .9rem; line-height: 1.4;
}
.pbnwi-noimg:hover { filter: brightness(1.1); }

/* Lists */
.pbnwi-list { margin-left: 0; list-style: none; }
.pbnwi-list li { padding: .6em 0; border-bottom: 1px solid #eee; }

/* Call to action */
.pbnwi-cta { background: var(--pbnwi-soft); border-left: 4px solid var(--pbnwi-accent); border-radius: 6px; padding: 1.25em 1.5em; margin: 2em 0; }
.pbnwi-cta p:last-child { margin-bottom: 0; }
.pbnwi-buttons a, a.pbnwi-btn {
	display: inline-block; background: var(--pbnwi-accent); color: #fff !important; box-shadow: none !important;
	border-radius: 999px; padding: .55em 1.3em; margin: .3em .4em .3em 0; font-weight: 700; font-size: .875rem; text-decoration: none;
}
.pbnwi-buttons a:hover, a.pbnwi-btn:hover { background: var(--pbnwi-accent-dark); }
.pbnwi-buttons a + a { background: var(--pbnwi-ink); }

/* Front page panels: give the long booth grid room */
.twentyseventeen-front-page .panel-content .pbnwi-grid { margin-top: 1em; }

/* Footer credit */
.site-info .pbnwi-credit { display: block; margin-top: .4em; }

/* Dark color scheme support */
.colors-dark .pbnwi-card { background: #222; border-color: #333; }
.colors-dark .pbnwi-cta { background: #2a1520; }
.colors-dark .pbnwi-list li { border-color: #333; }
