/*
Theme Name: GeneratePress Child — Two-Section Nav
Theme URI:  
Description: Child theme for a two-section (Section A / Section B) site with an Orkin-style always-on toggle bar and per-section main-menu swapping. Section A is the default; Section B lives under /sectionb.
Author:      
Template:    generatepress
Version:     1.0.0
*/

/* =========================================================================
   ALWAYS-ON SECTION TOGGLE BAR
   Thin strip pinned to the top of every page, in both sections. It never
   swaps — the same links appear everywhere. The styling below is deliberately
   minimal scaffolding; change the colours, spacing and fonts to match your
   brand.
   ========================================================================= */

.section-toggle-bar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #662f8f;                 /* Vermission purple */
	transition: transform 0.25s ease;
	will-change: transform;
}

/* Added by the scroll script when scrolling away from the top: the bar
   slides up out of view. Removed again when you return to the top. */
.section-toggle-bar.is-hidden {
	transform: translateY(-100%);
}

.section-toggle-bar__inner {
	max-width: 1200px;                   /* match your GeneratePress content width */
	margin: 0 auto;
	padding: 0 20px;
}

.section-toggle-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.section-toggle-menu li {
	margin: 0;
}

.section-toggle-menu a {
	display: block;
	padding: 9px 18px;
	color: #cbd5e1;
	text-decoration: none;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.15s ease, box-shadow 0.15s ease;
}

.section-toggle-menu a:hover,
.section-toggle-menu a:focus {
	color: #ffffff;
}

/* Optional "Contact" (or any utility link) pushed to the right side.
   Give that menu item the CSS class  toggle-utility  in Appearance > Menus. */
.section-toggle-menu .toggle-utility {
	margin-left: auto;
}

/* Highlight the toggle item that matches the current section.
   In Appearance > Menus, give the Section A link the CSS class  toggle-a
   and the Section B link the CSS class  toggle-b  (enable the "CSS Classes"
   field first via Screen Options at the top of the Menus screen). */
.section-toggle-bar.is-section-a .toggle-a > a,
.section-toggle-bar.is-section-b .toggle-b > a {
	color: #ffffff;
	font-weight: 600;
	box-shadow: inset 0 -3px 0 #ff0000;  /* accent underline on the active section */
}

/* Keep the toggle bar as a simple horizontal strip on small screens instead
   of collapsing into a hamburger. */
@media (max-width: 768px) {
	.section-toggle-menu a {
		padding: 8px 12px;
		font-size: 0.72rem;
	}
}

/* Purple background across the whole footer widget area */
.site-footer .footer-widgets,
.footer-widgets {
	background: #662f8f;
	color: #ffffff;
}

.footer-widgets a,
.footer-widgets a:hover {
	color: #ffffff;
}

/* Breathing room so the text isn't jammed against the edges */
.footer-widgets .inside-footer-widgets {
	padding: 25px 0;
}

/* Footer bar (copyright strip) — gray background, white text */
.site-info {
	background: #635e5f;   /* your gray — adjust to taste */
	color: #ffffff;
}

.site-info a,
.site-info a:hover {
	color: #ffffff;
}

.wp-block-separator:not(.is-style-dots) {
	height: 0;
	border-top: 1px solid #635e5f;   /* line thickness + color */
	border-bottom: 0;                /* removes the second border */
	opacity: 1;                      /* cancels the default 0.4 fade */
}

/* Credentials strip — black band between footer widgets and copyright bar */
.footer-credentials {
	background: #000000;
	text-align: center;
	padding: 12px 20px;
}

.footer-credentials__link {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.85rem;
	line-height: 1.4;
}

.footer-credentials__link:hover,
.footer-credentials__link:focus {
	color: #ffffff;
}

.footer-credentials__lead {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.footer-credentials__items {
	color: #d0d0d0;   /* slightly dimmed so the bold lead stands out */
}

/* The "See all credentials →" cue — underlined on hover so it reads as clickable */
.footer-credentials__cta {
	font-weight: 600;
	white-space: nowrap;
}

.footer-credentials__link:hover .footer-credentials__cta,
.footer-credentials__link:focus .footer-credentials__cta {
	text-decoration: underline;
}

/* ---- Reviews section ---- */
.reviews-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
	text-align: center;
}
.reviews-section__heading {
	margin-bottom: 20px;
}

/* Badge */
.reviews-badge {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 10px;
	padding: 12px 20px;
	margin-bottom: 32px;
	border: 1px solid #ddd;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	font-size: 0.95rem;
}
.reviews-badge:hover { border-color: #662f8f; }
.reviews-badge__stars { color: #fbbc04; letter-spacing: 1px; }
.reviews-badge__score { font-weight: 700; }
.reviews-badge__count { color: #666; }
.reviews-badge__cta   { color: #662f8f; font-weight: 600; }

/* Cards grid */
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	text-align: left;
}
.review-card {
	margin: 0;
	padding: 20px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.review-card__stars {
	color: #fbbc04;
	letter-spacing: 1px;
	margin-bottom: 10px;
}
.review-card__text {
	margin: 0 0 14px;
	line-height: 1.55;
}
.review-card__author {
	font-weight: 600;
}
.review-card__source {
	font-weight: 400;
	color: #888;
	font-size: 0.85rem;
}
.reviews-section__cta {
	display: inline-block;
	margin-top: 28px;
	color: #662f8f;
	font-weight: 600;
	text-decoration: none;
}
.reviews-section__cta:hover { text-decoration: underline; }

/* ---- Sidebar reviews (click/swipe) ---- */
.sidebar-reviews__viewport { position: relative; }
.sidebar-review {
	display: none;
	margin: 0;
	padding: 18px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sidebar-review.is-active { display: block; }
.sidebar-review__stars { color: #fbbc04; letter-spacing: 1px; margin-bottom: 10px; }
.sidebar-review__text { margin: 0 0 12px; line-height: 1.55; font-size: 0.95rem; }
.sidebar-review__author { margin: 0; font-weight: 600; }
.sidebar-review__source { font-weight: 400; color: #888; font-size: 0.85rem; }

.sidebar-reviews__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 12px;
}
.sidebar-reviews__arrow {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.4rem;
	line-height: 1;
	color: #662f8f;
	padding: 4px 8px;
}
.sidebar-reviews__dots { display: flex; gap: 6px; }
.sidebar-reviews__dot {
	width: 9px; height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #ccc;
	cursor: pointer;
}
.sidebar-reviews__dot.is-active { background: #662f8f; }

.sidebar-reviews__cta {
	display: inline-block;
	margin-top: 12px;
	color: #662f8f;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
}
.sidebar-reviews__cta:hover { text-decoration: underline; }

.sidebar-reviews__heading {
	margin: 0 0 14px;
	text-align: left;
	color: #635e5f;
	font-weight: bold;
}
/* ---- Above-footer band (reviews + links) ---- */
.above-footer {
	padding: 40px 20px;
	background: #f7f7f5;
}
.above-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}
.above-footer__reviews { flex: 0 1 68%; min-width: 280px; }
.above-footer__links {
	flex: 0 1 28%;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-end;
}
.af-btn {
	display: block;
	text-align: center;
	padding: 12px 24px;
	background: #635e5f;
	color: #ffffff;
	/*border: 2px solid #662f8f;*/
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.15s ease, border-color 0.15s ease;
	width: 180px;
}
.af-btn:hover,
.af-btn:focus {
	background: #4b4748;
	color: #ffffff;
}
@media (max-width: 768px) {
	.above-footer__reviews,
	.above-footer__links { flex-basis: 100%; }
}

/* ---- Critter library grid ---- */
.critter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
}
.critter-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.critter-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}
.critter-card__img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}
.critter-card__name {
	display: block;
	padding: 12px 14px 4px;
	font-weight: 700;
	font-size: 1.05rem;
	color: #662f8f;
}
.critter-card__blurb {
	display: block;
	padding: 0 14px 14px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #444;
}

.promo-band {
	background: #ffffff;
	padding: 50px 20px;
	text-align: center;
}
.promo-band__heading {
	color: #333333;
	margin: 0 0 8px;
}
.promo-band__sub {
	color: #666666;
	margin: 0 0 28px;
	font-size: 1.05rem;
}
.promo-btn {
	display: inline-block;
	padding: 16px 40px;
	background: #662f8f;
	color: #ffffff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1.1rem;
	transition: background 0.15s ease;
	min-width: 240px;
}
.promo-btn:hover,
.promo-btn:focus {
	background: #51256f;
	color: #ffffff;
}

.img-shadow img {
    box-shadow: 0 6px 16px rgba(102, 47, 143, 0.28);
    border-radius: 6px;
}