/*
Theme Name: Rapid Vascular Access
Theme URI: https://www.rapidvascular.com/
Author: Rapid Vascular Access Nursing Corporation
Author URI: https://www.rapidvascular.com/
Description: Custom clinical WordPress theme for Rapid Vascular Access Nursing Corporation — nurse-owned mobile PICC line, midline catheter, and ultrasound-guided IV services delivered to bedsides across the San Francisco Bay Area.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: rapidvascular
*/

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* WordPress Alignment & Core Classes */
.alignnone { margin: 1em 0; }
.aligncenter, div.aligncenter { display: block; margin: 1em auto; text-align: center; }
.alignright { float: right; margin: 0 0 1em 1em; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignwide { max-width: 1240px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; padding: 6px; text-align: center; }
.wp-caption img { max-width: 100%; height: auto; }
.wp-caption-text { font-size: 13px; color: var(--muted, #5C6B80); margin-top: 6px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 14px; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }

/* Dynamic Content Wrappers */
.page-content-wrapper {
	/*   padding: 60px 0 80px; */
	padding: 0px 0 0px;
}
.page-header-band {
	background: linear-gradient(135deg, var(--navy, #1A2B5C) 0%, var(--navy2, #0F1D3E) 100%);
	color: #ffffff;
	padding: 64px 0 54px;
}
.page-header-band h1 {
	color: #ffffff;
	font-size: clamp(32px, 3.5vw, 44px);
	margin-bottom: 12px;
}
.page-header-band p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
	max-width: 680px;
}
.entry-content {
	line-height: 1.8;
	font-size: 16px;
	color: var(--ink, #1A2535);
}
.entry-content h2, .entry-content h3, .entry-content h4 {
	margin: 1.8em 0 0.8em;
	color: var(--navy, #1A2B5C);
}
.entry-content p {
	margin-bottom: 1.5em;
}
.entry-content ul, .entry-content ol {
	margin: 1.5em 0 1.5em 2em;
}
.entry-content li {
	margin-bottom: 0.5em;
}

/* =========================================
REQUEST SERVICE FORM
========================================= */

.rva-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rva-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.rva-form .form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.rva-form .form-group label {
	font-size: 13px;
	font-weight: 700;
	color: var(--navy, #1a2b5c);
}

.rva-form .form-group input,
.rva-form .form-group select,
.rva-form .form-group textarea {
	border: 1.5px solid #dde2ec;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color .2s;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	color: #222;
}

.rva-form .form-group input {
	height: 42px;
}

.rva-form .form-group select {
	height: 43px;
}

.rva-form .form-group textarea {
	min-height: 70px;
	height: 83px;
	resize: vertical;
}

.rva-form .form-group input:focus,
.rva-form .form-group select:focus,
.rva-form .form-group textarea:focus {
	border-color: var(--teal, #2095a7);
}

.rva-form .form-submit {
	background: var(--teal, #2095a7);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s;
	margin-top: 4px;
	width: 100%;
}

.rva-form .form-submit:hover {
	background: var(--navy, #1a2b5c);
}

/* CF7 default messages hide */
.rva-form .wpcf7-not-valid-tip {
	font-size: 12px;
	margin-top: 3px;
}

.rva-form .wpcf7-response-output {
	margin: 8px 0 0 !important;
	padding: 10px 14px !important;
	border-radius: 8px;
	font-size: 13px;
}
/* =========================
REQUEST SERVICE MODAL FIX
========================= */

.modal-overlay {
	display: none !important;
	position: fixed !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.6) !important;
	z-index: 99999 !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px !important;
	box-sizing: border-box !important;
}

.modal-overlay.active {
	display: flex !important;
}

.modal-box {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 40px;
	position: relative;
	box-sizing: border-box;
}

/* Mobile */
@media (max-width: 768px) {

	.rva-form .form-row {
		grid-template-columns: 1fr;
	}

	/* =========================================================
	Mobile Images (Default)
	========================================================= */
	.hero3-slide:nth-child(1) { background-image: url('/wp-content/uploads/2026/09/1.png'); }
	.hero3-slide:nth-child(2) { background-image: url('/wp-content/uploads/2026/09/2.png'); }
	.hero3-slide:nth-child(3) { background-image: url('/wp-content/uploads/2026/09/5.png'); }
	.hero3-slide:nth-child(4) { background-image: url('/wp-content/uploads/2026/09/4.png'); }

}

.wpb_content_element{
	margin-bottom: 0px !important;
}
.hero3-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero3-slide.active {
  opacity: 1;
}

/* =========================================================
Desktop Images (768px and wider)
========================================================= */
@media (min-width: 768px) {
	.hero3-slide:nth-child(1) { background-image: url('/wp-content/themes/rapidvascular-theme/assets/images/sterile_picc_bedside.jpg'); }
	.hero3-slide:nth-child(2) { background-image: url('/wp-content/themes/rapidvascular-theme/assets/images/sonosite_ultrasound.jpg'); }
	.hero3-slide:nth-child(3) { background-image: url('/wp-content/themes/rapidvascular-theme/assets/images/ultrasound_probe.jpg'); }
	.hero3-slide:nth-child(4) { background-image: url('/wp-content/themes/rapidvascular-theme/assets/images/nurse_patient_education.jpg'); }
}
/* =========================================
   STICKY HEADER
========================================= */

/* IMPORTANT: overflow-x:hidden sticky ko affect kar sakta hai */
html,
body {
    overflow-x: clip !important;
}

header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;

    width: 100% !important;
    z-index: 99999 !important;

    background: #ffffff !important;
}

header .nav {
    position: relative !important;
    z-index: 99999 !important;
    background: #ffffff !important;
}
.topbar a[href="tel:9254891189"] {
    color: var(--cyan) !important;
    animation: phoneBlink 1s infinite;
}

@keyframes phoneBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}