/* =============================================================
   K9 King & Queen Contest — Landing Page Styles
   Allied Veterinary-inspired: navy + red, clean cards, professional
   ============================================================= */

/* ---- Breakout wrapper (escapes theme container on non-Elementor pages) ---- */
.pvl-wrap {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow-x: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	color: #1a1a2e;
}

/* Elementor manages its own full-width layout — disable the breakout hack */
.elementor-page .pvl-wrap,
.e--ua-page .pvl-wrap {
	width: 100% !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow-x: visible;
}

/* ---- Container ---- */
.pvl-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 28px;
}
.pvl-container-form {
	max-width: 660px;
}

/* ---- Section base ---- */
.pvl-section {
	padding: 80px 28px;
}
.pvl-section-white { background: #ffffff; }
.pvl-section-light { background: #f4f6f9; }
.pvl-section-navy  { background: #0f1e3d; }
.pvl-section-red   { background: #c53030; }

/* ---- Section header ---- */
.pvl-section-head {
	text-align: center;
	margin-bottom: 52px;
}
.pvl-section-title {
	font-size: 34px;
	font-weight: 800;
	color: #0f1e3d;
	margin: 8px 0 14px;
	line-height: 1.15;
	letter-spacing: -.4px;
}
.pvl-section-title-light {
	color: #ffffff;
}
.pvl-section-sub {
	font-size: 16px;
	color: #5a6474;
	max-width: 560px;
	margin: 0 auto;
	line-height: 1.65;
}

/* ---- Eyebrow labels ---- */
.pvl-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #c53030;
	margin-bottom: 10px;
}
.pvl-eyebrow-light { color: rgba(255,255,255,.6); }
.pvl-eyebrow-red   { color: #c53030; }

/* ---- Buttons ---- */
.pvl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 30px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: .3px;
	text-transform: uppercase;
	transition: background .15s, border-color .15s, color .15s, transform .1s;
	line-height: 1;
}
.pvl-btn:hover  { text-decoration: none; transform: translateY(-1px); }
.pvl-btn:active { transform: translateY(0); }

.pvl-btn-red   { background: #c53030; color: #fff; border-color: #c53030; }
.pvl-btn-red:hover { background: #a52828; border-color: #a52828; }

.pvl-btn-gold  { background: #c53030; color: #fff; border-color: #c53030; }
.pvl-btn-gold:hover { background: #a52828; border-color: #a52828; }

.pvl-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.pvl-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.pvl-btn-navy  { background: #0f1e3d; color: #fff; border-color: #0f1e3d; }
.pvl-btn-navy:hover { background: #162c5c; border-color: #162c5c; }

.pvl-btn-white { background: #fff; color: #0f1e3d; border-color: #fff; }
.pvl-btn-white:hover { background: #f0f0f0; border-color: #f0f0f0; }

/* =============================================================
   HERO
   ============================================================= */
.pvl-hero {
	position: relative;
	background: #0f1e3d;
	padding: 90px 28px 80px;
	text-align: center;
	overflow: hidden;
}

/* Subtle paw pattern */
.pvl-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23ffffff' opacity='0.03'%3E%3Ccircle cx='22' cy='14' r='7'/%3E%3Ccircle cx='40' cy='10' r='6'/%3E%3Ccircle cx='58' cy='14' r='7'/%3E%3Ccircle cx='12' cy='32' r='6'/%3E%3Cellipse cx='38' cy='46' rx='15' ry='18'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: repeat;
	pointer-events: none;
}

.pvl-hero-inner {
	position: relative;
	z-index: 1;
}

.pvl-hero-title {
	font-size: clamp(38px, 5.5vw, 66px);
	font-weight: 900;
	color: #fff;
	margin: 10px 0 18px;
	line-height: 1.08;
	letter-spacing: -1px;
}
.pvl-hero-title-accent { color: #c53030; }

.pvl-hero-sub {
	font-size: 17px;
	color: rgba(255,255,255,.72);
	max-width: 560px;
	margin: 0 auto 36px;
	line-height: 1.65;
}

.pvl-hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 36px;
}

/* =============================================================
   ALERT BAR (below hero, like Allied's orange announcement bar)
   ============================================================= */
.pvl-alert-bar {
	background: #1a2d5a;
	border-top: 3px solid #c53030;
	padding: 14px 28px;
	text-align: center;
}
.pvl-alert-bar-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}
.pvl-alert-bar-text {
	font-size: 14px;
	color: rgba(255,255,255,.85);
	font-weight: 500;
	margin: 0;
}
.pvl-alert-bar-btn {
	display: inline-flex;
	align-items: center;
	padding: 7px 18px;
	background: #c53030;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 4px;
	text-decoration: none;
	transition: background .15s;
	white-space: nowrap;
}
.pvl-alert-bar-btn:hover { background: #a52828; text-decoration: none; color: #fff; }

/* =============================================================
   COUNTDOWN
   ============================================================= */
.pvl-countdown-wrap {
	margin: 0 auto 32px;
	display: inline-block;
}
.pvl-countdown-heading {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	margin-bottom: 12px;
}
.pvl-countdown {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.pvl-cd-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 8px;
	padding: 14px 18px 11px;
	min-width: 72px;
}
.pvl-cd-num {
	font-size: 40px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -1px;
}
.pvl-cd-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	margin-top: 5px;
}
.pvl-cd-sep {
	font-size: 28px;
	font-weight: 300;
	color: rgba(255,255,255,.25);
	line-height: 1;
	margin-bottom: 16px;
}

/* =============================================================
   TRUST / STATS BAR
   ============================================================= */
.pvl-trust-bar {
	background: #fff;
	border-bottom: 1px solid #e8eaed;
	padding: 22px 28px;
}
.pvl-trust-bar-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	flex-wrap: wrap;
}
.pvl-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 36px;
	border-right: 1px solid #e8eaed;
}
.pvl-trust-item:last-child { border-right: none; }
.pvl-trust-icon {
	font-size: 22px;
	flex-shrink: 0;
}
.pvl-trust-label {
	font-size: 13px;
	font-weight: 700;
	color: #0f1e3d;
	line-height: 1.3;
}
.pvl-trust-label small {
	display: block;
	font-weight: 400;
	font-size: 11px;
	color: #6b7280;
}

/* =============================================================
   HOW IT WORKS — Allied-style service cards
   ============================================================= */
.pvl-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.pvl-step {
	background: #fff;
	border: 1px solid #e5e9ef;
	border-radius: 10px;
	padding: 36px 28px;
	text-align: center;
	box-shadow: 0 2px 12px rgba(15,30,61,.06);
	transition: box-shadow .2s, transform .2s;
}
.pvl-step:hover {
	box-shadow: 0 6px 24px rgba(15,30,61,.1);
	transform: translateY(-2px);
}
.pvl-step-num {
	display: inline-block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #c53030;
	background: #fef2f2;
	border: 1.5px solid #fecaca;
	border-radius: 20px;
	padding: 3px 10px;
	margin-bottom: 16px;
}
.pvl-step-icon {
	font-size: 42px;
	line-height: 1;
	margin-bottom: 18px;
	display: block;
}
.pvl-step-title {
	font-size: 17px;
	font-weight: 800;
	color: #0f1e3d;
	margin: 0 0 10px;
}
.pvl-step-desc {
	font-size: 13.5px;
	color: #5a6474;
	line-height: 1.65;
	margin: 0;
}
.pvl-step-learn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 18px;
	font-size: 12px;
	font-weight: 700;
	color: #c53030;
	text-transform: uppercase;
	letter-spacing: .5px;
	text-decoration: none;
	background: #fef2f2;
	padding: 7px 16px;
	border-radius: 4px;
	border: 1px solid #fecaca;
}
.pvl-step-learn:hover { background: #fee2e2; text-decoration: none; }

/* Hidden step arrows — replaced by card layout */
.pvl-step-arrow { display: none; }

/* =============================================================
   PRIZES / GIVEAWAY — clean white card style
   ============================================================= */
.pvl-section-prizes {
	background: #f4f6f9;
	padding: 80px 28px;
}
.pvl-prizes {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	align-items: center;
}
.pvl-prizes-title {
	font-size: 34px;
	font-weight: 900;
	color: #0f1e3d;
	margin: 8px 0 18px;
	letter-spacing: -.4px;
	line-height: 1.1;
}
.pvl-prizes-desc {
	font-size: 15px;
	color: #4b5563;
	line-height: 1.75;
	margin: 0 0 24px;
}
.pvl-prizes-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}
.pvl-prizes-list li {
	font-size: 14.5px;
	color: #374151;
	padding: 9px 0;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
}
.pvl-prizes-list li:last-child { border-bottom: none; }

.pvl-prizes-card {
	display: flex;
	align-items: center;
	justify-content: center;
}
.pvl-trophy {
	background: #0f1e3d;
	border-radius: 14px;
	padding: 40px 40px;
	text-align: center;
	width: 100%;
}
.pvl-trophy-row {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: center;
	padding: 14px 0;
}
.pvl-trophy-icon { font-size: 32px; }
.pvl-trophy-label {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -.2px;
}
.pvl-trophy-divider {
	height: 1px;
	background: rgba(255,255,255,.15);
	margin: 4px 0;
}
.pvl-trophy-event {
	font-size: 11px;
	color: rgba(255,255,255,.5);
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-top: 20px;
}

/* =============================================================
   SPONSOR
   ============================================================= */
.pvl-sponsor {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 48px;
	align-items: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 2px 16px rgba(15,30,61,.06);
}
.pvl-sponsor-logo-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.pvl-sponsor-logo-placeholder {
	width: 150px;
	height: 150px;
	background: #f4f6f9;
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.pvl-sponsor-paw   { font-size: 34px; }
.pvl-sponsor-logo-name {
	font-size: 11px;
	font-weight: 700;
	color: #6b7280;
	text-align: center;
	line-height: 1.4;
}
.pvl-sponsor-badge-tag {
	display: inline-block;
	background: #fef2f2;
	color: #991b1b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 99px;
	border: 1px solid #fecaca;
}
.pvl-sponsor-name {
	font-size: 22px;
	font-weight: 800;
	color: #0f1e3d;
	margin: 0 0 6px;
}
.pvl-sponsor-tagline {
	font-size: 14px;
	color: #c53030;
	font-weight: 600;
	margin: 0 0 16px;
}
.pvl-sponsor-desc {
	font-size: 14.5px;
	color: #4b5563;
	line-height: 1.75;
	margin: 0 0 20px;
}
.pvl-sponsor-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pvl-sponsor-tags span {
	background: #f4f6f9;
	color: #374151;
	font-size: 11.5px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 99px;
	border: 1px solid #e5e7eb;
}
.pvl-sponsor-note {
	font-size: 12px;
	color: #9ca3af;
	text-align: center;
	margin: 20px 0 0;
	font-style: italic;
}

/* =============================================================
   EVENT / COMMUNITY — navy section, Allied-style
   ============================================================= */
.pvl-event {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.pvl-event-photo-placeholder {
	width: 100%;
	aspect-ratio: 4/3;
	background: rgba(255,255,255,.05);
	border: 2px dashed rgba(255,255,255,.15);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
}
.pvl-event-photo-icon  { font-size: 48px; }
.pvl-event-photo-label {
	font-size: 14px;
	color: rgba(255,255,255,.45);
	font-weight: 500;
	line-height: 1.5;
}
.pvl-event-photo-label small { font-weight: 400; font-size: 12px; }

.pvl-event-title {
	font-size: 34px;
	font-weight: 900;
	color: #fff;
	margin: 8px 0 24px;
	letter-spacing: -.4px;
	line-height: 1.1;
}
.pvl-event-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.pvl-event-meta-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.pvl-event-meta-icon {
	font-size: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}
.pvl-event-meta-item strong {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255,255,255,.45);
	margin-bottom: 2px;
}
.pvl-event-meta-item span {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}
.pvl-event-desc {
	font-size: 14.5px;
	color: rgba(255,255,255,.65);
	line-height: 1.8;
	margin: 0 0 32px;
}

/* =============================================================
   RULES STRIP
   ============================================================= */
.pvl-rules-strip {
	background: #07112a;
	border-top: 1px solid rgba(255,255,255,.07);
	padding: 20px 28px;
	text-align: center;
}
.pvl-rules-strip p {
	font-size: 11.5px;
	color: rgba(255,255,255,.3);
	margin: 0 auto;
	line-height: 1.75;
	max-width: 900px;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
	.pvl-steps {
		grid-template-columns: 1fr 1fr;
	}

	.pvl-prizes {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.pvl-prizes-card { order: -1; }
	.pvl-trophy { padding: 28px; }

	.pvl-sponsor {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}
	.pvl-sponsor-tags { justify-content: center; }

	.pvl-event {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.pvl-trust-item {
		padding: 8px 20px;
	}
}

@media (max-width: 640px) {
	.pvl-section { padding: 56px 20px; }
	.pvl-section-prizes { padding: 56px 20px; }
	.pvl-hero    { padding: 64px 20px 60px; }

	.pvl-section-title { font-size: 26px; }

	.pvl-steps { grid-template-columns: 1fr; }

	.pvl-cd-block { min-width: 60px; padding: 11px 14px 9px; }
	.pvl-cd-num   { font-size: 32px; }
	.pvl-cd-sep   { font-size: 22px; }
	.pvl-countdown { gap: 6px; }

	.pvl-hero-actions { flex-direction: column; align-items: center; }
	.pvl-btn { width: 100%; max-width: 300px; }

	.pvl-sponsor { padding: 24px 20px; }

	.pvl-trust-bar-inner { gap: 0; }
	.pvl-trust-item { padding: 8px 16px; border-right: none; border-bottom: 1px solid #e8eaed; width: 100%; justify-content: center; }
	.pvl-trust-item:last-child { border-bottom: none; }

	.pvl-alert-bar-inner { flex-direction: column; gap: 10px; }
}

/* =============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================= */

/* Reset Elementor's default link/button overrides inside our components */
.elementor-page .pvl-btn,
.elementor-page .pvl-step-learn,
.elementor-page .pvl-alert-bar-btn {
	display: inline-flex !important;
	text-decoration: none !important;
}
.elementor-page .pvl-btn:hover,
.elementor-page .pvl-step-learn:hover,
.elementor-page .pvl-alert-bar-btn:hover {
	text-decoration: none !important;
}

/* Prevent Elementor column padding from breaking our grids */
.elementor-page .pvl-steps,
.elementor-page .pvl-prizes,
.elementor-page .pvl-sponsor,
.elementor-page .pvl-event {
	box-sizing: border-box;
}

/* Elementor sections used as wrappers — let our sections control padding/bg */
.elementor-page .elementor-section.pvl-section,
.elementor-page .elementor-container.pvl-container {
	padding: 0;
	max-width: none;
}

/* Trust bar and alert bar inside Elementor flex sections */
.elementor-page .pvl-trust-bar-inner,
.elementor-page .pvl-alert-bar-inner {
	width: 100%;
}

/* Elementor editor preview — make our PHP template visible in iframe */
.elementor-editor-active .pvl-hero {
	min-height: 400px;
}

/* Ensure our form renders correctly inside Elementor's Shortcode widget */
.elementor-widget-shortcode .pvc-form-wrap {
	max-width: 100%;
}
.elementor-widget-shortcode .pvc-gallery-wrap {
	max-width: 100%;
}
