/* Fahrenheit Home Editor — frontend styles (mobile-first, responsive) */

/* ---------------------------------------------------------------------------
   Lightbox conflict cleanup
   Neutralize the Blocs theme's lightbox hover artifacts ("+" bubble, image
   dimming) on WPBakery-owned images, and keep Lightbox2 above the theme's
   fixed nav / z-index layers so its controls never get overlaid.
---------------------------------------------------------------------------- */
.wpb_wrapper a[data-lightbox]:hover::before,
.wpb-content-wrapper a[data-lightbox]:hover::before {
	content: none !important;
	display: none !important;
}

.wpb_wrapper a[data-lightbox]:hover img,
.wpb-content-wrapper a[data-lightbox]:hover img {
	opacity: 1 !important;
	animation: none !important;
}

#lightboxOverlay {
	z-index: 100000 !important;
}

#lightbox {
	z-index: 100001 !important;
}

/* Keep Lightbox2 imagery unconstrained by theme img rules */
#lightbox .lb-image {
	max-width: none !important;
}

/* ---------------------------------------------------------------------------
   Editable front page: make WPBakery content behave inside the theme shell
---------------------------------------------------------------------------- */
.fhe-front-content img {
	max-width: 100%;
	height: auto;
}

.fhe-front-content .vc_row[data-vc-full-width] {
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
   [fahrenheit_hero] — full-screen video hero
---------------------------------------------------------------------------- */
.fhe-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.fhe-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.fhe-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 60%);
	z-index: 1;
}

.fhe-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 24px 20px;
	max-width: 900px;
}

.fhe-hero__heading {
	color: #fff;
	font-size: clamp(30px, 6vw, 64px);
	line-height: 1.15;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.fhe-hero__sub {
	color: rgba(255, 255, 255, .85);
	font-size: clamp(16px, 2.2vw, 22px);
	line-height: 1.5;
	margin: 0 0 24px;
}

.fhe-hero__btn {
	display: inline-block;
	padding: 14px 36px;
	border: 2px solid #C30206;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 16px;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.fhe-hero__btn:hover,
.fhe-hero__btn:focus {
	background-color: #C30206;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
   [fahrenheit_latest_news] — responsive posts grid
---------------------------------------------------------------------------- */
.fhe-news {
	width: 100%;
	padding: 30px 0;
}

.fhe-news__title {
	text-align: center;
	margin: 0 0 28px;
}

.fhe-news__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 576px) {
	.fhe-news__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.fhe-news__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.fhe-news__card {
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}

.fhe-news__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.fhe-news__thumb-link {
	display: block;
	line-height: 0;
}

.fhe-news__thumb {
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.fhe-news__body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.fhe-news__heading {
	font-size: 18px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.fhe-news__heading a {
	color: #242324;
	text-decoration: none;
}

.fhe-news__heading a:hover {
	color: #C30206;
}

.fhe-news__excerpt {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(0, 0, 0, .65);
	margin: 0 0 14px;
	flex-grow: 1;
}

.fhe-news__more {
	color: #C30206;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	text-decoration: none;
	margin-top: auto;
}

.fhe-news__more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.fhe-news__card,
	.fhe-hero__btn {
		transition: none;
	}
}

/* Custom hero height: keep the heading band vertically centered — the
   original voffset margins are meant for a full-screen hero only. */
.fhe-hero-custom-h .row-style {
	margin-top: 0 !important;
}

.fhe-hero-custom-h {
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Full-bleed transferred sections
   The editable content area is a centered container; the original homepage
   sections are full-width blocs. Break them out to the viewport edges — the
   inner .container still centers their content, exactly like the original.
   body{overflow-x:hidden} in the theme prevents any horizontal scroll.
---------------------------------------------------------------------------- */
.fhe-front-content .fhe-intro,
.fhe-front-content .fhe-gallery,
.fhe-front-content .fhe-news,
.entry-content .fhe-intro,
.entry-content .fhe-gallery,
.entry-content .fhe-news {
	width: 100vw;
	position: relative;
	left: 50%;
	right: auto;
	margin-left: -50vw;
	margin-right: -50vw;
}

/* Latest News: original section background (bgc-3348) and centered content */
.fhe-news {
	background: rgba(127, 97, 76, 0.13);
	padding: 30px 20px;
}

.fhe-news__title {
	margin: 0 auto 28px;
}

.fhe-news__grid {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------------------------------------------------------------------------
   Footer legal bar: Privacy / Terms, copyright, Powered by WebProNC
---------------------------------------------------------------------------- */
#fhe-legal .fhe-legal-link {
	display: inline-block;
	margin: 0 12px;
	padding: 2px 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .2px;
	color: #C30206;
	text-decoration: none;
	transition: opacity .15s ease;
}

#fhe-legal .fhe-legal-link:hover,
#fhe-legal .fhe-legal-link:focus {
	opacity: .85;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#fhe-legal .fhe-copy-row {
	margin-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	padding-top: 12px;
}

#fhe-legal .fhe-copy {
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: .2px;
}

#fhe-legal .fhe-copy-brand {
	font-weight: 600;
	letter-spacing: .6px;
}

#fhe-legal .fhe-powered {
	color: #A63F3F;
	font-weight: 600;
	text-decoration: none;
	transition: opacity .2s ease;
}

#fhe-legal .fhe-powered:hover,
#fhe-legal .fhe-powered:focus {
	opacity: .85;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   Section headings: same font family/style as the hero and intro sections
   (Bernhard Fashion, the theme's h2-style scale) for Gallery and Latest News.
---------------------------------------------------------------------------- */
.fhe-gallery h3.news,
.fhe-gallery .h3-style,
.fhe-news__title {
	font-family: "BernhardFashionBT-Regular", Georgia, serif;
	font-weight: 900;
	font-size: 30px;
	line-height: 1.5;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #000;
}

@media (max-width: 575px) {
	.fhe-gallery h3.news,
	.fhe-gallery .h3-style,
	.fhe-news__title {
		font-size: 26px;
	}
}

/* ---------------------------------------------------------------------------
   Blog Designer Pro fixes (verified live on the site, 2026-08)
   1. The BD listing layout ships a thumbnail SLIDER block whose FlexSlider
      initialization script BD never prints — uninitialized, all slides
      render stacked as giant full-width images. The slider is dead weight:
      remove it. The posts grid and pagination are untouched.
   2. BD's related-posts row: the last thumb (.relatedthumb.bottom) gets its
      300px image stretched to full content width. Constrain related-post
      images to their natural size.
---------------------------------------------------------------------------- */
.bdp_wrapper .post_slider_thumbnail.slider_template {
	display: none !important;
}

.bdp_single .relatedthumb img,
.relatedposts .relatedthumb img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
}

.relatedthumb.bottom {
	max-width: 340px !important;
}

/* ---------------------------------------------------------------------------
   Shared post card (slider + blog list): brand style, hover effects
---------------------------------------------------------------------------- */
.fhe-pcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	transition: transform .25s ease, box-shadow .25s ease;
	height: 100%;
}

.fhe-pcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.fhe-pcard__imgwrap { display: block; overflow: hidden; line-height: 0; }

.fhe-pcard__img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	transition: transform .4s ease;
}

.fhe-pcard:hover .fhe-pcard__img { transform: scale(1.06); }

.fhe-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex-grow: 1; }

.fhe-pcard__cat {
	font-family: "Poppins-SemiBold", sans-serif;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #C30206;
}

.fhe-pcard__title {
	font-family: "Poppins-SemiBold", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #242324;
}

.fhe-pcard:hover .fhe-pcard__title { color: #C30206; }

.fhe-pcard__excerpt { font-size: 14px; line-height: 1.55; color: rgba(0, 0, 0, .6); }

.fhe-pcard__more {
	margin-top: auto;
	font-family: "Poppins-SemiBold", sans-serif;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #C30206;
	opacity: .85;
}

.fhe-pcard:hover .fhe-pcard__more { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   [fahrenheit_posts_slider] — CSS marquee, pauses on hover
---------------------------------------------------------------------------- */
.fhe-pslider { width: 100%; overflow: hidden; padding: 6px 0; }

.fhe-pslider__title {
	font-family: "BernhardFashionBT-Regular", Georgia, serif;
	font-weight: 900;
	font-size: 30px;
	text-transform: uppercase;
	text-align: center;
	color: #242324;
	margin: 0 0 22px;
}

.fhe-pslider__row { overflow: hidden; padding: 10px 0; }

.fhe-pslider__track {
	display: flex;
	gap: 20px;
	width: max-content;
	animation: fhe-marquee var(--fhe-speed, 45s) linear infinite;
}

.fhe-pslider__row--reverse .fhe-pslider__track { animation-direction: reverse; }

.fhe-pslider__row:hover .fhe-pslider__track,
.fhe-pslider__row:focus-within .fhe-pslider__track { animation-play-state: paused; }

.fhe-pslider .fhe-pcard {
	width: calc((min(1160px, 94vw) / var(--fhe-visible, 3)) - 20px);
	flex: 0 0 auto;
}

@keyframes fhe-marquee {
	to { transform: translateX(calc(-50% - 10px)); }
}

@media (max-width: 767px) {
	.fhe-pslider .fhe-pcard { width: min(78vw, 320px); }
}

@media (prefers-reduced-motion: reduce) {
	.fhe-pslider__track { animation: none; flex-wrap: wrap; width: 100%; }
	.fhe-pslider__track .fhe-pcard:nth-child(n+7) { display: none; }
}

/* ---------------------------------------------------------------------------
   [fahrenheit_blog_list] — hover-effect cards grid + pagination
---------------------------------------------------------------------------- */
.fhe-bloglist { width: 100%; }

.fhe-bloglist__title {
	font-family: "BernhardFashionBT-Regular", Georgia, serif;
	font-weight: 900;
	font-size: 30px;
	text-transform: uppercase;
	text-align: center;
	color: #242324;
	margin: 0 0 26px;
}

.fhe-bloglist__grid {
	display: grid;
	grid-template-columns: repeat(var(--fhe-cols, 3), minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 991px) { .fhe-bloglist__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .fhe-bloglist__grid { grid-template-columns: 1fr; } }

.fhe-bloglist__pages { margin-top: 30px; text-align: center; }

.fhe-bloglist__pages .page-numbers {
	display: inline-block;
	min-width: 38px;
	padding: 8px 12px;
	margin: 0 3px;
	border: 1px solid rgba(195, 2, 6, .4);
	border-radius: 4px;
	color: #C30206;
	font-family: "Poppins-SemiBold", sans-serif;
	font-size: 14px;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.fhe-bloglist__pages .page-numbers.current,
.fhe-bloglist__pages .page-numbers:hover {
	background: #C30206;
	border-color: #C30206;
	color: #fff;
}

/* ---------------------------------------------------------------------------
   Card uniformity: face-safe crops, equal sizes, clamped text
   - object-position keeps the upper part of photos in frame (no cut heads)
   - fixed image heights + line-clamped titles/excerpts = identical cards
---------------------------------------------------------------------------- */
.fhe-pcard__img,
.fhe-news__thumb {
	height: 200px;
	object-fit: cover;
	object-position: center 25%;
}

.fhe-pcard__title,
.fhe-news__heading {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}

.fhe-pcard__excerpt,
.fhe-news__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fhe-pcard__cat {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Grid/slider rows: cards stretch to the same height */
.fhe-bloglist__grid { align-items: stretch; }
.fhe-pslider__track { align-items: stretch; }
.fhe-pslider .fhe-pcard { height: auto; }

/* ---------------------------------------------------------------------------
   Card design v2 — editorial, layered, brand accents
---------------------------------------------------------------------------- */
.fhe-pcard { border: 0; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 8px 24px rgba(0,0,0,.07); position: relative; }
.fhe-pcard:hover { transform: translateY(-6px); box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 22px 44px rgba(0,0,0,.16); }
.fhe-pcard__imgwrap { position: relative; }
.fhe-pcard__badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-block; padding: 5px 12px; background: #C30206; color: #fff; font-family: "Poppins-SemiBold", sans-serif; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.fhe-pcard__date { font-size: 12px; letter-spacing: .06em; color: rgba(0,0,0,.5); }
.fhe-pcard__body { padding: 18px 20px 20px; }
.fhe-pcard__title { font-size: 17px; }
.fhe-pcard__more { padding-top: 12px; border-top: 1px solid rgba(0,0,0,.08); display: flex; align-items: center; gap: 6px; }
.fhe-pcard__more-arrow { transition: transform .25s ease; display: inline-block; }
.fhe-pcard:hover .fhe-pcard__more-arrow { transform: translateX(5px); }
.fhe-pcard:hover .fhe-pcard__more { text-decoration: none; }
.fhe-pcard--overlay { display: block; min-height: 300px; }
.fhe-pcard--overlay .fhe-pcard__imgwrap { position: absolute; inset: 0; }
.fhe-pcard--overlay .fhe-pcard__img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.fhe-pcard--overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%); z-index: 1; border-radius: 10px; }
.fhe-pcard--overlay .fhe-pcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; }
.fhe-pcard--overlay .fhe-pcard__badge { position: static; margin-bottom: 10px; align-self: flex-start; }
.fhe-pcard--overlay .fhe-pcard__title { color: #fff; font-size: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.5); min-height: 0; }
.fhe-pcard--overlay .fhe-pcard__date { color: rgba(255,255,255,.75); }
.fhe-pcard--overlay .fhe-pcard__excerpt { color: rgba(255,255,255,.85); }
.fhe-pcard--overlay:hover .fhe-pcard__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------------------
   Title colors: per-element control via CSS variables (Display tab).
   Defaults: dark titles, brand-red on hover — hover always changes color.
---------------------------------------------------------------------------- */
.fhe-pcard__title,
.fhe-news__heading a {
	color: var(--fhe-title-c, #242324);
	transition: color .2s ease;
}

.fhe-pcard:hover .fhe-pcard__title,
.fhe-news__card:hover .fhe-news__heading a {
	color: var(--fhe-title-h, #C30206);
}

.fhe-pcard--overlay .fhe-pcard__title { color: var(--fhe-title-c, #ffffff); }
.fhe-pcard--overlay:hover .fhe-pcard__title { color: var(--fhe-title-h, #ffffff); }
