/*
 Theme Name: Coming Soon Shortly Child
 Template: coming-soon-shortly
 Version: 2.4-hero-no-black-flash
*/

/* =====================================================
   WMBC HOMEPAGE HERO – FINAL / NO BLACK FLASH
   ===================================================== */

.wmbc-hero-slider {
	position: relative;
	max-width: 1320px;
	margin: 0 auto 40px;
	height: 480px;
	overflow: hidden;

	/* ❌ REMOVE black flash */
	background-color: transparent;
}

/* Slides */
.wmbc-slide {
	position: absolute;
	inset: 0;

	background-size: cover;
	background-position: center;

	opacity: 0;
	z-index: 1;

	/* Smooth fade */
	transition: opacity 1.2s ease-in-out;

	/* ✅ ROUNDED BOTTOM EDGES (SAFE) */
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	overflow: hidden;
}

/* HARD FORCE first slide visible on load */
.wmbc-slide:first-child {
	opacity: 1;
	z-index: 2;
}

/* JS-controlled active slide */
.wmbc-slide.active {
	opacity: 1;
	z-index: 3;
}

/* =====================================================
   HERO CAPTIONS – BROADCAST STYLE
   ===================================================== */

.wmbc-hero-caption {
	position: absolute;
	top: 50%;
	left: 0;
	right: 650px;
	transform: translateY(-50%);
	z-index: 5;
	pointer-events: none;
}

.wmbc-hero-caption span {
	display: block;
	background: linear-gradient(
		to right,
		rgba(255,255,255,0.92) 0%,
		rgba(255,255,255,0.70) 60%,
		rgba(255,255,255,0.0) 100%
	);
	color: #01395c;
	font-size: 38px;
	font-weight: 700;
	padding: 36px 44px;
	line-height: 1.25;
}

/* =====================================================
   HERO THUMBNAILS
   ===================================================== */

.wmbc-hero-thumbs {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: -30px auto 0;
	max-width: 1320px;
}

.wmbc-hero-thumbs .thumb {
	width: 156px;
	height: 58px;
	background-size: cover;
	background-position: center;

	border: 2px solid rgba(255,255,255,0.55);
	opacity: 0.55;

	cursor: pointer;
	transition:
		opacity 0.25s ease,
		border-color 0.25s ease,
		transform 0.2s ease;
}

.wmbc-hero-thumbs .thumb.active {
	opacity: 1;
	border-color: #01395c;
	transform: translateY(-2px);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1280px) {
	.wmbc-hero-slider {
		max-width: 95%;
	}
}

@media (max-width: 1024px) {
	.wmbc-hero-slider {
		height: 320px;
	}

	.wmbc-hero-caption {
		right: 140px;
		left: 28px;
	}

	.wmbc-hero-caption span {
		font-size: 28px;
		padding: 20px 26px;
	}
}

@media (max-width: 768px) {
	.wmbc-hero-slider {
		height: 240px;
	}

	.wmbc-hero-caption {
		left: 20px;
		right: 20px;
	}

	.wmbc-hero-caption span {
		font-size: 22px;
		padding: 16px 20px;
	}
}

@media (max-width: 480px) {
	.wmbc-hero-slider {
		height: 200px;
	}
}
/* =========================================
   WMBC GLOBAL TYPOGRAPHY — HEADERS
   Phase: Typography Fix (LOCKED)
   ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: normal;
}
/* =========================================
   WMBC TYPOGRAPHY — HEADER SPACING NORMALIZATION
   ========================================= */

h1 {
    margin-top: 0.75em;
    margin-bottom: 0.5em;
}

h2 {
    margin-top: 0.75em;
    margin-bottom: 0.5em;
}

h3 {
    margin-top: 0.6em;
    margin-bottom: 0.4em;
}

h4, h5, h6 {
    margin-top: 0.5em;
    margin-bottom: 0.3em;
}
h1, h2, h3 {
    line-height: 1.25;
}
/* =========================================
   WMBC TYPOGRAPHY — CARD CONTENT NORMALIZATION
   Applies to News cards & similar content cards
   ========================================= */

/* Card container baseline */
.wmbc-news-card,
.post-card,
.card {
    line-height: 1.45;
}

/* Card titles */
.wmbc-news-card h2,
.wmbc-news-card h3,
.post-card h2,
.post-card h3 {
    margin-top: 0;
    margin-bottom: 0.25em;
    line-height: 1.25;
}

/* Card meta (date, small text) */
.wmbc-news-card .post-date,
.wmbc-news-card .entry-meta,
.post-card .post-date {
    margin-bottom: 0.35em;
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Card body / excerpt text (if present) */
.wmbc-news-card p,
.post-card p {
    margin-bottom: 0;
    line-height: 1.45;
}
/* =========================================
   WMBC TYPOGRAPHY — CARD TRACKING FIX (LETTER SPACING)
   ========================================= */

/* News index + card titles + card meta: kill tracking */
.wmbc-news-card *,
.post-card *,
.card * {
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Extra safety for common WP title patterns */
.wmbc-news-card .entry-title,
.wmbc-news-card .entry-title a,
.post-card .entry-title,
.post-card .entry-title a,
.card .entry-title,
.card .entry-title a,
.wmbc-news-card h2, .wmbc-news-card h3,
.post-card h2, .post-card h3,
.card h2, .card h3 {
  letter-spacing: normal !important;
  text-transform: none !important;
}
/* ==========================================
   WMBC – Global Card Component
   ========================================== */

.wmbc-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #003a5d; /* WMBC blue accent */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  width: 100%;
  margin: 40px auto;
  padding: 32px;
}
/* ==========================================
   WMBC – Global Editorial Link Behavior
   Blue → Bold Blue (LOCKED)
   ========================================== */

.post-content a {
  color: #003a5d;
  font-weight: 500;
  text-decoration: none;
}

.post-content a:hover {
  font-weight: 700;
  text-decoration: none;
}
