/*
Theme Name: Everest Child
Template: everest-parent
Version: 1.0.0
*/
/* === Brand ===
   --color-1 deep navy (footer, mobile bar)   --color-2 navy (header, form band)
   --color-3 light blue tint                  --color-4 white
   --color-5 University of Tennessee orange (accent pop) */
body {
	color: #1c2733;
}
:root {
	--accent: var(--color-5, #FF8200);
}
/* Buttons: orange pop with navy text (white on orange fails contrast) */
.btn,
body .gform_wrapper.gravity-theme .button {
	background-color: var(--accent);
	color: var(--color-1);
	font-weight: 600;
}
.btn:hover,
.btn:focus,
body .gform_wrapper.gravity-theme .button:hover,
body .gform_wrapper.gravity-theme .button:focus {
	background-color: var(--color-1);
	color: #fff;
}
/* === Header === */
/* Long menus squeeze the logo and phone columns to zero width — pin them */
.primary-header .logo-col {
	flex: 0 0 250px;
	min-width: 150px;
}
.primary-header .logo-col img {
	max-height: 104px;
	width: auto;
}
/* Logo scaled up 15% (Oct 2026 client request): header 90→104px,
   scrolled 65→75px, mobile bar 100→115px, footer 230→265px wide.
   The source file is 358×173, so none of these upscale it. */
body.scrolled .primary-header .logo-col img {
	max-height: 75px;
}
@media screen and (max-width: 1199px) {
	.mobile-logo img {
		max-height: 115px;
	}
}
.primary-header .phone-col,
.primary-header .phone {
	flex: 0 0 auto;
	white-space: nowrap;
}
.primary-header .nav-col {
	flex: 1 1 auto;
	min-width: 0;
}
.primary-header .main-nav a:hover,
.primary-header .main-nav a:focus,
.primary-header .main-nav .current-menu-item > a,
.primary-header .main-nav .current-menu-ancestor > a,
.primary-header .phone a:hover,
.primary-header .phone a:focus {
	color: var(--accent);
}
.primary-header .main-nav a[href="#"] {
	cursor: default;
}
/* === Home banner overlay box === */
.banner-section .content {
	background: rgba(255, 255, 255, 0.88);
	border-top: 6px solid var(--accent);
	color: var(--color-1);
	text-align: center;
	font-size: 22px;
}
.banner-section .content .eyebrow {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 16px;
	font-weight: 600;
	color: var(--color-2);
	margin-bottom: 10px;
}
.banner-section .content h1 {
	color: var(--color-1);
	font-weight: 600;
	margin-bottom: 15px;
}
/* === Section headings: orange rule === */
.feature-section .feature .heading,
.review-section .heading,
.content-section > .container > .heading,
.team-section .content h2,
.extra-section .content h2,
.faq-section h2 {
	position: relative;
	padding-bottom: 18px;
}
.feature-section .feature .heading:after,
.review-section .heading:after,
.content-section > .container > .heading:after,
.team-section .content h2:after,
.extra-section .content h2:after,
.faq-section h2:after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 70px;
	height: 3px;
	background: var(--accent);
	transform: translateX(-50%);
}
.content-section .heading {
	color: var(--color-1);
}
.feature-section .feature .heading {
	font-weight: 500;
}
/* === Interior content === */
/* Full-width intro copy (no image) gets a readable measure */
.content-section .content-row > .content-col:only-child {
	max-width: 900px;
	margin: 0 auto;
}
.content-section .content-col .btn {
	margin-top: 10px;
}
.content-section .content-col ul {
	padding-left: 1.2em;
}
.content-section .content-col ul li {
	margin-bottom: 6px;
}
.contact-details {
	list-style: none;
	padding-left: 0 !important;
	margin: 0 0 25px;
}
.contact-details li {
	margin-bottom: 10px !important;
}
.contact-details strong {
	color: var(--color-1);
	display: inline-block;
	min-width: 90px;
}
/* Service and coverage cards — three across, image optional */
.service-section .services,
.team-section .members {
	column-gap: 40px;
	row-gap: 40px;
	justify-content: center;
}
.service-section .service,
.team-section .member {
	flex: 0 1 calc(33.33% - 27px);
	min-width: min(100%, 280px);
	background: #fff;
	border-top: 4px solid var(--accent);
	padding: 35px 30px;
	box-shadow: 0 6px 18px rgba(10, 31, 61, 0.08);
	text-align: left;
}
.team-section .member .content p {
	text-align: left !important;
}
/* Even counts (2 or 4 cards) read better two-across than with an orphan row */
.service-section .services:has(> .service:nth-child(4):last-child) > .service,
.team-section .members:has(> .member:nth-child(2):last-child) > .member,
.team-section .members:has(> .member:nth-child(4):last-child) > .member {
	flex-basis: calc(50% - 20px);
	max-width: 520px;
}
.service-section .service .content,
.team-section .member .content {
	margin-top: 15px;
}
.service-section .service .heading,
.team-section .member .heading {
	font-size: 23px;
	letter-spacing: 1px;
	font-weight: 600;
}
.team-section .member .title {
	color: var(--color-2);
	letter-spacing: 0;
	font-weight: 600;
}
.team-section .content {
	margin-bottom: 50px;
	text-align: center;
}
/* === FAQ accordion (Foundation FAQ section pattern) === */
.faq-section {
	margin-top: 60px;
}
.faq-section h2 {
	text-align: center;
	color: var(--color-1);
	margin: 60px 0 10px;
}
.faq-section h2:first-child {
	margin-top: 0;
}
.faq-section .faqs {
	max-width: 900px;
	margin: 0 auto;
}
.toggle-item {
	border-bottom: 1px solid #c9d4e1;
}
.toggle-item .toggle-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 20px;
	padding: 26px 0;
	cursor: pointer;
	transition: color ease .3s;
}
.toggle-item .toggle-heading:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}
.toggle-item .toggle-heading .heading {
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	color: var(--color-1);
	transition: color ease .3s;
}
.toggle-item .toggle-heading:hover .heading,
.toggle-item.active .toggle-heading .heading {
	color: var(--color-2);
}
.toggle-item .icon {
	flex: 0 0 auto;
	font-size: 22px;
	color: var(--color-2);
	transition: transform ease-in-out .4s, color ease .3s;
}
.toggle-item.active .icon {
	transform: rotate(180deg);
	color: var(--accent);
}
.toggle-item > .toggle-content {
	display: none;
	padding: 0 0 26px;
}
.toggle-item.active > .toggle-content {
	display: block;
}
.toggle-item .toggle-content p:last-child {
	margin-bottom: 0;
}
/* === Reviews === */
.review-section .reviews .content {
	font-size: 19px;
	line-height: 1.6;
}
.review-section .reviews .heading {
	color: var(--color-1);
	font-weight: 600;
}
/* === Footer form === */
.form-section h2 {
	margin-bottom: 15px;
}
.form-section .form-intro {
	text-align: center;
	margin-bottom: 40px;
}
.form-section .gform_wrapper.gravity-theme .gfield--type-consent .gfield_label {
	display: none;
}
.form-section .gform_wrapper.gravity-theme .gfield--type-consent .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	column-gap: 12px;
	font-size: 15px;
	line-height: 1.5;
}
.form-section .gform_wrapper.gravity-theme .gfield--type-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--accent);
}
.form-section .gform_wrapper.gravity-theme .gfield_required {
	color: var(--accent);
}
.form-section .gform_wrapper.gravity-theme .gfield_validation_message,
.form-section .gform_wrapper.gravity-theme .gform_validation_errors {
	background: #fff;
}
.form-section .gform_wrapper.gravity-theme input:focus,
.form-section .gform_wrapper.gravity-theme textarea:focus {
	outline: none;
	border-bottom-color: var(--accent);
}
/* === Footer === */
/* footer_content (Options page): hours + BBB seal under the contact details */
.primary-footer .footer-content {
	margin-top: 10px;
}
.primary-footer .footer-content p {
	margin-bottom: 15px;
}
.primary-footer .footer-content p:last-child {
	margin-bottom: 0;
}
.primary-footer .social-col .social a:hover,
.primary-footer .social-col .social a:focus,
.primary-footer .contact-info a:hover,
.primary-footer .contact-info a:focus {
	color: var(--accent);
}
.mobile-header .nav-base .nav-toggler .icon {
	right: -10px;
}
@media screen and (max-width: 991px) {
	.service-section .service,
	.team-section .member {
		flex-basis: calc(50% - 20px);
	}
}
@media screen and (max-width: 767px) {
	.banner-section .content {
		font-size: 18px;
	}
	.toggle-item .toggle-heading .heading {
		font-size: 18px;
	}
	.service-section .services > .service,
	.team-section .members > .member,
	.service-section .services:has(> .service:nth-child(4):last-child) > .service,
	.team-section .members:has(> .member:nth-child(2):last-child) > .member {
		flex-basis: 100%;
		max-width: none;
		padding: 30px 22px;
	}
}
/* Phones: the parent stretches the overlay over the whole hero, so make it a
   translucent navy scrim instead of a near-opaque white box */
@media screen and (max-width: 449px) {
	.banner-section .content {
		background: rgba(10, 31, 61, 0.62);
		backdrop-filter: none;
		color: #fff;
	}
	.banner-section .content h1,
	.banner-section .content .eyebrow {
		color: #fff;
	}
	.banner-section .content .eyebrow {
		color: var(--accent);
	}
}
/* ============================================================
   Client revisions — October 2026
   ============================================================ */
/* --- Home: five feature boxes (through Christian Health Share) ---
   The parent sets three across above 1200px and one across below it; with five
   boxes that leaves orphans on desktop and a very long column on tablets. */
.feature-section .features {
	justify-content: center;
}
@media screen and (min-width: 1200px) {
	.feature-section .features {
		column-gap: 30px;
	}
	.feature-section .feature {
		flex: 1 1 calc(20% - 24px);
		min-width: 0;
	}
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
	.feature-section .features {
		column-gap: 40px;
	}
	.feature-section .feature {
		flex: 0 1 calc(50% - 20px);
	}
}
/* --- Minimum 12pt (16px) type everywhere, disclaimers included --- */
.form-section .gform_wrapper.gravity-theme .gfield_required,
.form-section .gform_wrapper.gravity-theme .gfield_required_text,
.form-section .gform_wrapper.gravity-theme .gfield_description,
.form-section .gform_wrapper.gravity-theme .gform_validation_errors,
.form-section .gform_wrapper.gravity-theme .gfield_validation_message,
.form-section .gform_wrapper.gravity-theme .gform_required_legend,
.primary-footer,
.primary-footer .footer-content,
.disclaimer,
.form-disclaimer {
	font-size: 16px;
}
.form-section .gform_wrapper.gravity-theme .gfield--type-consent .ginput_container_consent {
	font-size: 16px;
}
/* --- Contact form: read as a form, not as page copy ---
   Filled, bordered controls on the navy band instead of a bare underline. */
.form-section .gform_wrapper.gravity-theme input:not(.button),
.form-section .gform_wrapper.gravity-theme textarea,
.form-section .gform_wrapper.gravity-theme select {
	background: #fff;
	color: #1c2733;
	border: 1px solid #fff;
	border-radius: 3px;
	padding: 12px 14px;
	font-size: 18px;
}
.form-section .gform_wrapper.gravity-theme textarea {
	padding: 12px 14px;
}
.form-section .gform_wrapper.gravity-theme input:not(.button)::placeholder,
.form-section .gform_wrapper.gravity-theme textarea::placeholder {
	color: #5b6878;
	opacity: 1;
}
.form-section .gform_wrapper.gravity-theme input:not(.button):focus,
.form-section .gform_wrapper.gravity-theme textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.45);
	outline: none;
}
.form-section .gform_wrapper.gravity-theme .gfield_label {
	margin-bottom: 8px;
}
.form-section .gform_wrapper.gravity-theme .gform_fields {
	row-gap: 28px;
}
/* The whole band gets a panel edge so it stops reading as part of the page */
.form-section .form-section-inner > .form {
	max-width: 900px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	padding: 45px 45px 50px;
}
/* --- Submit button sits above the consent block (moved in functions.php) --- */
.form-section .gform_wrapper.gravity-theme #field_submit_1,
.form-section .gform_wrapper.gravity-theme .gfield--type-submit {
	margin-bottom: 10px;
}
.form-section .gform_wrapper.gravity-theme .button {
	width: auto;
	min-width: 260px;
	padding: 14px 32px;
}
/* Consent + compliance notices read as fine print under the button */
.form-section .gform_wrapper.gravity-theme .gfield--type-consent .gfield_description {
	padding-top: 6px;
	padding-left: 32px;
	color: #e4ebf4;
}
.form-section .gform_wrapper.gravity-theme .gfield_html {
	color: #e4ebf4;
	line-height: 1.55;
}
/* --- FAQ: left-justify every question, wrapped or not --- */
.toggle-item .toggle-heading .heading,
.faq-section .toggle-item .toggle-heading .heading {
	text-align: left;
}
/* --- Footer --- */
/* The logo is 358px wide at source; letting .img-responsive stretch it to the
   full column upscaled it and it read as blurry/stretched on phones. */
.primary-footer .logo img {
	max-width: 265px;
	width: 100%;
	height: auto;
	margin: 0 auto;
}
/* The BBB seal script injects `a#bbblink{display:block}` with no auto margins,
   so the 150px block hugged the left edge under the centred hours line. */
.primary-footer .footer-content #bbblink {
	margin-left: auto !important;
	margin-right: auto !important;
}
.primary-footer .privacy-policy {
	margin-top: 8px;
}
.primary-footer .privacy-policy a {
	text-decoration: underline;
}
/* --- Phones --- */
@media screen and (max-width: 767px) {
	/* Interior banners are 2000x500; a 350px min-height crops them to about a
	   quarter of their width, which cut people out of the shot. */
	.banner-section .image img {
		min-height: 220px;
	}
	/* Health Insurance: recentre on the gentleman in the middle of the group. */
	body.page-id-551 .banner-section .image img {
		object-position: 33% center;
	}
	/* The prev/next controls are 56px wide and full height, so they sat on top
	   of the hero copy. Clear them and pull the text in from the edges. */
	.banner-section .content {
		padding-left: 62px;
		padding-right: 62px;
	}
	.banner-section .carousel-control {
		max-width: 56px;
	}
	.form-section .form-section-inner > .form {
		padding: 30px 20px 35px;
	}
	.form-section .gform_wrapper.gravity-theme .button {
		width: 100%;
		min-width: 0;
	}
	.form-section .gform_wrapper.gravity-theme .gfield--type-consent .gfield_description {
		padding-left: 32px;
	}
}
/* Home hero on phones: the tall 100vh box crops a 2000x900 image to roughly a
   quarter of its width, which left the couple (sitting a fifth in from the
   left) outside the frame. Only the first slide needs the nudge; the second is
   a centred group shot. */
@media screen and (max-width: 767px) {
	body.home .carousel-inner > .item:first-child .image img {
		object-position: 11% center;
	}
}
/* --- Contact form, phones ---
   The parent drops the form grid to `repeat(2, 1fr)` below 768px but leaves the
   fields on their desktop `grid-column: 1 / 7` and `1 / 15` spans. Those point
   at tracks that no longer exist, every explicit track collapses to 0 and the
   inputs blow out past the right edge of the screen. One column, every field
   spanning it. */
@media screen and (max-width: 767px) {
	.form-section .gform_wrapper.gravity-theme .gform_fields {
		grid-template-columns: 1fr;
	}
	.form-section .gform_wrapper.gravity-theme .gform_fields > .gfield,
	.form-section .gform_wrapper.gravity-theme .gform_fields > .gfield.gfield--width-half,
	.form-section .gform_wrapper.gravity-theme .gform_fields > .gfield.gfield--width-half:nth-child(even),
	.form-section .gform_wrapper.gravity-theme .gform_fields > .gfield.gfield--width-full,
	.form-section .gform_wrapper.gravity-theme .gform_fields > .gfield.gfield--width-five-sixths,
	.form-section .gform_wrapper.gravity-theme .gform_fields > .gfield.gfield--width-one-sixth {
		grid-column: 1 / -1;
		min-width: 0;
	}
}
/* Gravity Forms renders a consent field's description inside a bordered,
   scrollable box. Here it is a single line of fine print, so strip the box. */
.form-section .gform_wrapper.gravity-theme .gfield_consent_description,
.form-section .gform_wrapper.gravity-theme .gfield_consent_description_text {
	border: none;
	background: none;
	padding: 0;
	max-height: none;
	overflow: visible;
	font-size: 16px;
}
.form-section .gform_wrapper.gravity-theme .gfield_consent_description {
	padding: 6px 0 0 32px;
}
/* --- Home feature boxes: even formatting across the five columns ---
   Each heading carries its own line break, but at 30px/3px tracking
   "HEALTH SHARE" and "SUPPLEMENTAL" spilled onto a third line in a
   fifth-width column and pushed those cards' buttons out of line. */
@media screen and (min-width: 1200px) {
	.feature-section .feature {
		display: flex;
		flex-direction: column;
	}
	.feature-section .feature .heading {
		font-size: 22px;
		letter-spacing: 1.5px;
		min-height: calc(2.4em + 18px);
		margin-bottom: 20px;
	}
	.feature-section .feature .link {
		margin-top: auto;
		padding-top: 30px;
	}
}
/* --- Page headings on phones ---
   "SUPPLEMENTAL" at 42px/3px tracking is wider than a 375px screen, which put
   the whole page into horizontal scroll. */
@media screen and (max-width: 767px) {
	.content-section > .container > .heading {
		font-size: 36px;
		letter-spacing: 2px;
		overflow-wrap: break-word;
	}
}
/* Visible keyboard focus on the mobile "More" toggle */
.mobile-header .nav-base .nav-toggler:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
/* --- Skip link (WCAG 2.4.1) ---
   Off-screen until focused, then pinned over the fixed header. The header sits
   at z-index 99, so this has to clear it. */
.skip-link {
	position: absolute;
	top: -100px;
	left: 10px;
	z-index: 200;
	display: block;
	padding: 14px 22px;
	background: var(--accent);
	color: var(--color-1);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 4px 4px;
	transition: top ease .2s;
}
.skip-link:focus,
.skip-link:focus-visible {
	top: 0;
	color: var(--color-1);
	outline: 3px solid var(--color-1);
	outline-offset: 2px;
}
/* The skip target takes focus programmatically; never show a ring round the
   whole page because of it. */
#main-content:focus,
#main-content:focus-visible {
	outline: none;
}
/* --- Hero carousel pause control (WCAG 2.2.2) ---
   Sits above the slide arrows (z-index 3) in the top-right of the banner. */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.banner-section .carousel-pause {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 4;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--color-1);
	border-radius: 50%;
	background: var(--accent);
	color: var(--color-1);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: background ease .2s, color ease .2s;
}
.banner-section .carousel-pause:hover,
.banner-section .carousel-pause:focus {
	background: var(--color-1);
	color: #fff;
}
.banner-section .carousel-pause:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}
/* The play triangle reads off-centre in a circle without a nudge */
.banner-section .carousel-pause .fa-play {
	margin-left: 2px;
}
@media screen and (max-width: 767px) {
	.banner-section .carousel-pause {
		top: 12px;
		right: 12px;
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
}
/* --- About: closing "Life Beyond Insurance" section ---
   The parent About template has no field after the team grid, so the child
   template renders post_content here. Keep it centred and on a readable
   measure so it reads as a closing note rather than a second body column. */
.extra-section .content {
	text-align: center;
	max-width: 860px;
	margin: 0 auto;
}
.extra-section .content h2 {
	color: var(--color-1);
	margin-bottom: 30px;
}
.extra-section .content h3 {
	font-size: 25px;
	letter-spacing: 1px;
	color: var(--color-2);
	margin-bottom: 20px;
}
.extra-section .content p:last-child {
	margin-bottom: 0;
}
.policy-link {
	text-decoration: none !important;
}