/* ==========================================
   ACADEMIC LAB — COMPONENT LIBRARY
   css/components.css
   
   All reusable UI components for use with
   Elementor Custom CSS or Classic Editor.
   Add the class names listed here to any
   Elementor element's "CSS Classes" field.
   ========================================== */

/* ==========================================
   0. IMPORT & CUSTOM PROPERTIES
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Georgia&display=swap');

:root {
    /* Brand Colors */
    --uh-red:        #C8102E;
    --uh-red-dark:   #a00e26;
    --uh-slate:      #54585A;
    --uh-slate-dark: #3a3d3e;
    --uh-gold:       #C4953B;
    --uh-gold-light: #d9aa52;

    /* Neutrals */
    --uh-white:      #FFFFFF;
    --uh-light-gray: #F9FAFB;
    --uh-mid-gray:   #E5E7EB;
    --uh-dark-gray:  #333333;

    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-body:    'Roboto', sans-serif;
    --font-serif:   'Georgia', serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  3rem;
    --space-xl:  5rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   1. GLOBAL CONTAINER
   Elementor CSS Class: vh-container
   ========================================== */

.vh-container {
    font-family: var(--font-body);
    color: var(--uh-dark-gray);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

.vh-container *,
.vh-container *::before,
.vh-container *::after {
    box-sizing: border-box !important;
}

.vh-container p,
.vh-container a,
.vh-container h2,
.vh-container h3,
.vh-container h4,
.vh-container span {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word;
}

/* ==========================================
   2. SECTION HEADERS
   Elementor CSS Class: vh-section-header
   ========================================== */

.vh-section-header {
    font-family: var(--font-display) !important;
    color: var(--uh-red) !important;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px solid var(--uh-gold) !important;
    margin: 4rem auto 2.5rem !important;
    padding-bottom: 10px;
    letter-spacing: 1px;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
}

/* ==========================================
   3. HERO IMAGE
   Elementor CSS Class: vh-hero-image
   ========================================== */

.vh-hero-image {
    width: 100%;
    margin-bottom: 0;
}

.vh-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Hero with Overlay --- */
.vh-hero-overlay {
    position: relative;
    overflow: hidden;
}

.vh-hero-overlay img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.vh-hero-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    color: var(--uh-white);
}

.vh-hero-overlay-content h1 {
    font-family: var(--font-display);
    color: var(--uh-white);
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 0.5rem 0;
}

.vh-hero-overlay-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================
   4. QUOTE BOX
   Elementor CSS Class: vh-quote-box
   ========================================== */

.vh-quote-box {
    background: var(--uh-light-gray);
    border-left: 8px solid var(--uh-red);
    padding: 3rem 2rem;
    margin: 2rem 0 4rem;
    text-align: center;
}

.vh-quote-box p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--uh-slate);
    margin-bottom: 10px;
    line-height: 1.5;
}

.vh-quote-box span {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--uh-gold);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Compact quote variant */
.vh-quote-box.compact {
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

.vh-quote-box.compact p {
    font-size: 1.2rem;
}

/* ==========================================
   5. PRINCIPAL INVESTIGATOR CARD
   Elementor CSS Class: pi-featured-card
   ========================================== */

.pi-featured-card {
    display: flex;
    flex-wrap: wrap;
    background: var(--uh-white);
    box-shadow: var(--shadow-md);
    border-top: 10px solid var(--uh-red);
    margin-bottom: 5rem;
    transition: box-shadow var(--transition-base);
}

.pi-featured-card:hover {
    box-shadow: var(--shadow-lg);
}

.pi-image {
    flex: 1 1 350px;
    background: var(--uh-white);
    padding: 1rem;
}

.pi-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    display: block;
}

.pi-details {
    flex: 2 1 450px;
    padding: 3rem;
}

.pi-details h2 {
    font-family: var(--font-display) !important;
    font-size: 2.8rem !important;
    color: var(--uh-slate) !important;
    margin: 0 0 5px 0 !important;
    text-transform: uppercase;
    line-height: 1.1;
}

.pi-rank {
    color: var(--uh-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.pi-details p {
    margin: 8px 0;
    font-size: 1rem;
}

.pi-details a {
    color: var(--uh-red);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.pi-details a:hover {
    color: var(--uh-gold) !important;
}

/* --- Compact PI card (sidebar variant) --- */
.pi-mini-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--uh-white);
    border: 1px solid var(--uh-mid-gray);
    border-left: 5px solid var(--uh-red);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.pi-mini-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.pi-mini-card h4 {
    font-family: var(--font-display);
    color: var(--uh-slate);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    font-size: 1rem;
}

.pi-mini-card p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--uh-red);
    font-weight: 600;
}

/* ==========================================
   6. STUDENT / MEMBER PHOTO GRID
   Elementor CSS Class: student-grid
   ========================================== */

.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

/* Individual Card */
.student-card {
    background: var(--uh-white);
    border: 1px solid var(--uh-mid-gray);
    position: relative;
    transition: all var(--transition-base) !important;
    display: flex;
    flex-direction: column;
}

.student-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-top: 5px solid var(--uh-red) !important;
}

/* Former student card variant */
.student-card.former-student-card {
    border-top: 5px solid var(--uh-slate) !important;
}

.student-card.former-student-card:hover {
    border-top: 5px solid var(--uh-red) !important;
}

/* --- Card Image Wrapper --- */
.student-img-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--uh-white);
    padding-top: 1rem;
}

.student-img-wrap.former-student-img {
    height: 250px;
}

.student-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    transition: transform var(--transition-slow), filter var(--transition-slow) !important;
}

/* --- LinkedIn / Link Overlay --- */
.linkedin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 16, 46, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-base) !important;
    text-decoration: none !important;
    z-index: 10;
}

.student-img-wrap:hover .linkedin-overlay {
    opacity: 1 !important;
}

.student-img-wrap:hover img {
    transform: scale(1.05) !important;
    filter: grayscale(30%) !important;
}

.linkedin-overlay i {
    color: var(--uh-white);
    font-size: 2.5rem;
    border: 2px solid var(--uh-white);
    padding: 12px 14px;
    border-radius: 4px;
    transition: background var(--transition-fast), color var(--transition-fast) !important;
}

.linkedin-overlay:hover i {
    background: var(--uh-white) !important;
    color: var(--uh-red) !important;
}

/* --- Card Body --- */
.student-body {
    padding: 1.5rem;
    flex-grow: 1;
    border-top: 1px solid var(--uh-mid-gray);
}

.student-body h3 {
    font-family: var(--font-display) !important;
    font-size: 1.3rem !important;
    color: var(--uh-slate) !important;
    margin: 0 0 8px 0 !important;
    text-transform: uppercase;
}

.student-body p {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--uh-dark-gray);
    line-height: 1.5;
}

.student-body a {
    color: var(--uh-red);
    text-decoration: none;
    font-weight: 500;
}

.student-body a:hover {
    text-decoration: underline !important;
}

.student-quote {
    font-style: italic;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 12px;
    padding-top: 10px;
    font-size: 0.9rem !important;
}

/* --- Card Badge (role indicator) --- */
.student-badge {
    display: inline-block;
    background: var(--uh-light-gray);
    color: var(--uh-slate);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    margin-bottom: 8px;
    border: 1px solid var(--uh-mid-gray);
}

.student-badge.phd    { background: #fff0f0; color: var(--uh-red); border-color: var(--uh-red); }
.student-badge.ms     { background: #fff8ec; color: var(--uh-gold); border-color: var(--uh-gold); }
.student-badge.ugrad  { background: #f0f6ff; color: #1a5fa8; border-color: #1a5fa8; }
.student-badge.postdoc{ background: #f0fff4; color: #166534; border-color: #166534; }

/* ==========================================
   7. ALUMNI ROSTER LIST (TEXT-ONLY)
   Elementor CSS Class: alumni-roster-grid
   ========================================== */

.alumni-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 4rem;
}

.alumni-roster-item {
    background: var(--uh-light-gray);
    padding: 1.5rem;
    border-left: 4px solid var(--uh-slate) !important;
    border-right: 1px solid var(--uh-mid-gray);
    border-top: 1px solid var(--uh-mid-gray);
    border-bottom: 1px solid var(--uh-mid-gray);
    transition: border-left-color var(--transition-fast) !important;
}

.alumni-roster-item:hover {
    border-left-color: var(--uh-red) !important;
    background: var(--uh-white);
}

.alumni-roster-item h4 {
    font-family: var(--font-display) !important;
    font-size: 1.15rem !important;
    color: var(--uh-slate) !important;
    margin: 0 0 8px 0 !important;
    text-transform: uppercase;
}

.alumni-roster-item p {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    color: var(--uh-dark-gray);
}

/* ==========================================
   8. GALLERY — MASONRY
   Elementor CSS Class: vh-gallery
   ========================================== */

.vh-gallery {
    columns: 2;
    column-gap: 20px;
    margin-bottom: 4rem;
}

.vh-gallery figure {
    break-inside: avoid;
    margin: 0 0 20px 0;
    background: var(--uh-white);
    padding: 10px;
    border: 1px solid var(--uh-mid-gray);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.vh-gallery figure:hover {
    box-shadow: var(--shadow-md);
}

.vh-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.vh-gallery figcaption {
    padding: 12px 5px 5px;
    font-size: 0.9rem;
    color: var(--uh-dark-gray);
    line-height: 1.4;
}

/* ==========================================
   9. RESEARCH AREA CARDS
   Elementor CSS Class: vh-research-grid
   ========================================== */

.vh-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 4rem;
}

.vh-research-card {
    background: var(--uh-white);
    border: 1px solid var(--uh-mid-gray);
    border-top: 5px solid var(--uh-red);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vh-research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200,16,46,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.vh-research-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.vh-research-card .card-icon {
    font-size: 2.5rem;
    color: var(--uh-red);
    margin-bottom: 1rem;
}

.vh-research-card h3 {
    font-family: var(--font-display) !important;
    color: var(--uh-slate) !important;
    text-transform: uppercase;
    font-size: 1.2rem !important;
    margin: 0 0 1rem 0 !important;
}

.vh-research-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--uh-dark-gray);
    margin: 0;
}

.vh-research-card a.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--uh-red);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.vh-research-card a.read-more::after {
    content: ' →';
}

.vh-research-card a.read-more:hover {
    color: var(--uh-gold);
}

/* ==========================================
   10. PUBLICATION LIST
   Elementor CSS Class: vh-pub-list
   ========================================== */

.vh-pub-list {
    margin-bottom: 4rem;
}

.vh-pub-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--uh-mid-gray);
    align-items: flex-start;
    transition: background var(--transition-fast);
}

.vh-pub-item:hover {
    background: var(--uh-light-gray);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.vh-pub-year {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--uh-gold);
    min-width: 60px;
    line-height: 1.2;
    padding-top: 2px;
}

.vh-pub-content {
    flex: 1;
}

.vh-pub-content p {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--uh-dark-gray);
}

.vh-pub-content .pub-title {
    font-weight: 700;
    color: var(--uh-slate);
}

.vh-pub-content .pub-journal {
    font-style: italic;
    color: var(--uh-red);
}

.vh-pub-content a.pub-doi {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--uh-white);
    background: var(--uh-slate);
    padding: 3px 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background var(--transition-fast);
}

.vh-pub-content a.pub-doi:hover {
    background: var(--uh-red);
}

/* Publication year group header */
.vh-pub-year-header {
    font-family: var(--font-display);
    color: var(--uh-red);
    text-transform: uppercase;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--uh-gold);
    padding-bottom: 8px;
    margin: 3rem 0 1.5rem;
}

/* ==========================================
   11. NEWS / HIGHLIGHT CARDS
   Elementor CSS Class: vh-news-grid
   ========================================== */

.vh-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 4rem;
}

.vh-news-card {
    background: var(--uh-white);
    border: 1px solid var(--uh-mid-gray);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.vh-news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.vh-news-card-img {
    overflow: hidden;
    height: 200px;
}

.vh-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.vh-news-card:hover .vh-news-card-img img {
    transform: scale(1.05);
}

.vh-news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vh-news-card-date {
    font-size: 0.8rem;
    color: var(--uh-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.vh-news-card-body h3 {
    font-family: var(--font-display) !important;
    color: var(--uh-slate) !important;
    font-size: 1.15rem !important;
    text-transform: uppercase;
    margin: 0 0 0.75rem 0 !important;
}

.vh-news-card-body p {
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.vh-news-card-body a.read-more {
    display: inline-block;
    color: var(--uh-red);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vh-news-card-body a.read-more:hover {
    color: var(--uh-gold);
}

/* ==========================================
   12. STAT COUNTERS
   Elementor CSS Class: vh-stats-row
   ========================================== */

.vh-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--uh-mid-gray);
    border: 1px solid var(--uh-mid-gray);
    margin-bottom: 4rem;
}

.vh-stat-item {
    background: var(--uh-white);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background var(--transition-base);
}

.vh-stat-item:hover {
    background: var(--uh-light-gray);
}

.vh-stat-item .stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--uh-red);
    line-height: 1;
    display: block;
    font-weight: 700;
}

.vh-stat-item .stat-label {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--uh-slate);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: block;
}

/* ==========================================
   13. CALL TO ACTION BANNERS
   Elementor CSS Class: vh-cta-banner
   ========================================== */

.vh-cta-banner {
    background: var(--uh-red);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.vh-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.02) 20px
    );
    pointer-events: none;
}

.vh-cta-banner h2 {
    font-family: var(--font-display) !important;
    color: var(--uh-white) !important;
    text-transform: uppercase;
    font-size: 2rem !important;
    margin: 0 0 1rem 0 !important;
}

.vh-cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.vh-cta-button {
    display: inline-block;
    background: var(--uh-white);
    color: var(--uh-red);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-base);
}

.vh-cta-button:hover {
    background: var(--uh-gold);
    color: var(--uh-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.vh-cta-button.outline {
    background: transparent;
    color: var(--uh-white);
    border: 2px solid var(--uh-white);
}

.vh-cta-button.outline:hover {
    background: var(--uh-white);
    color: var(--uh-red);
}

/* ==========================================
   14. PAGE HEADER (Interior Pages)
   Elementor CSS Class: vh-page-header
   ========================================== */

.vh-page-header {
    background: var(--uh-light-gray);
    border-bottom: 4px solid var(--uh-red);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.vh-page-header h1 {
    font-family: var(--font-display) !important;
    color: var(--uh-slate) !important;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    margin: 0 0 0.5rem 0 !important;
}

.vh-page-header .breadcrumb {
    font-size: 0.9rem;
    color: #777;
}

.vh-page-header .breadcrumb a {
    color: var(--uh-red);
    text-decoration: none;
}

.vh-page-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* Decorated version with gold accent */
.vh-page-header.decorated {
    border-left: 8px solid var(--uh-gold);
}

/* ==========================================
   15. ACCORDION / FAQ
   Elementor CSS Class: vh-accordion
   ========================================== */

.vh-accordion {
    margin-bottom: 4rem;
}

.vh-accordion-item {
    border: 1px solid var(--uh-mid-gray);
    margin-bottom: 8px;
}

.vh-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: var(--uh-white);
    transition: background var(--transition-fast);
    user-select: none;
}

.vh-accordion-header:hover {
    background: var(--uh-light-gray);
}

.vh-accordion-header.is-open {
    background: var(--uh-red);
    color: var(--uh-white);
}

.vh-accordion-header h4 {
    font-family: var(--font-display) !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
    color: inherit !important;
}

.vh-accordion-header i {
    transition: transform var(--transition-fast);
    font-size: 0.9rem;
}

.vh-accordion-header.is-open i {
    transform: rotate(180deg);
}

.vh-accordion-body {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--uh-mid-gray);
    background: var(--uh-light-gray);
}

.vh-accordion-body.is-open {
    display: block;
}

.vh-accordion-body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   16. CONTACT BLOCK
   Elementor CSS Class: vh-contact-block
   ========================================== */

.vh-contact-block {
    background: var(--uh-white);
    border: 1px solid var(--uh-mid-gray);
    border-top: 5px solid var(--uh-red);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.vh-contact-block h3 {
    font-family: var(--font-display) !important;
    color: var(--uh-slate) !important;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0 !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--uh-mid-gray);
}

.vh-contact-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.vh-contact-row i {
    color: var(--uh-gold);
    width: 18px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.vh-contact-row span,
.vh-contact-row a {
    font-size: 0.95rem;
    color: var(--uh-dark-gray);
    line-height: 1.5;
}

.vh-contact-row a {
    color: var(--uh-red);
    text-decoration: none;
    font-weight: 500;
}

.vh-contact-row a:hover {
    color: var(--uh-gold);
}

/* ==========================================
   17. TABBED CONTENT
   Elementor CSS Class: vh-tabs
   ========================================== */

.vh-tabs {
    margin-bottom: 4rem;
}

.vh-tab-nav {
    display: flex;
    border-bottom: 2px solid var(--uh-mid-gray);
    gap: 0;
    flex-wrap: wrap;
}

.vh-tab-nav button {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background: var(--uh-light-gray);
    color: var(--uh-slate);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 0 !important;
    margin-bottom: -2px;
}

.vh-tab-nav button:hover {
    background: var(--uh-white);
    color: var(--uh-red);
}

.vh-tab-nav button.active {
    background: var(--uh-white);
    color: var(--uh-red);
    border-bottom-color: var(--uh-red);
    font-weight: 700;
}

.vh-tab-panel {
    display: none;
    padding: 2rem 0;
}

.vh-tab-panel.active {
    display: block;
}

/* ==========================================
   18. HIGHLIGHT BOX VARIANTS
   ========================================== */

/* Red accent highlight */
.vh-highlight-red {
    background: #fff0f0;
    border-left: 5px solid var(--uh-red);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Gold accent highlight */
.vh-highlight-gold {
    background: #fffbf0;
    border-left: 5px solid var(--uh-gold);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Slate accent highlight */
.vh-highlight-slate {
    background: var(--uh-light-gray);
    border-left: 5px solid var(--uh-slate);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.vh-highlight-red p,
.vh-highlight-gold p,
.vh-highlight-slate p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   19. UTILITY HELPERS
   ========================================== */

.text-red    { color: var(--uh-red) !important; }
.text-slate  { color: var(--uh-slate) !important; }
.text-gold   { color: var(--uh-gold) !important; }
.text-center { text-align: center !important; }
.text-upper  { text-transform: uppercase !important; }
.font-display{ font-family: var(--font-display) !important; }
.font-serif  { font-family: var(--font-serif) !important; }

.bg-red      { background-color: var(--uh-red) !important; color: var(--uh-white); }
.bg-slate    { background-color: var(--uh-slate) !important; color: var(--uh-white); }
.bg-light    { background-color: var(--uh-light-gray) !important; }

.border-red  { border-color: var(--uh-red) !important; }
.border-gold { border-color: var(--uh-gold) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.no-margin    { margin: 0 !important; }
.no-padding   { padding: 0 !important; }
.full-width   { width: 100% !important; }
.max-readable { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ==========================================
   20. RESPONSIVE BREAKPOINTS
   ========================================== */

@media (max-width: 1024px) {
    .student-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .vh-research-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .pi-details h2 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    .pi-featured-card {
        flex-direction: column;
    }

    .pi-image {
        flex: none;
        height: 300px;
    }

    .pi-details {
        padding: 2rem;
    }

    .pi-details h2 {
        font-size: 1.8rem !important;
    }

    .vh-quote-box p {
        font-size: 1.3rem;
    }

    .vh-gallery {
        columns: 1;
    }

    .alumni-roster-grid {
        grid-template-columns: 1fr;
    }

    .student-grid {
        grid-template-columns: 1fr;
    }

    .vh-news-grid {
        grid-template-columns: 1fr;
    }

    .vh-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .vh-tab-nav {
        flex-direction: column;
    }

    .vh-tab-nav button {
        text-align: left;
        border-bottom: 1px solid var(--uh-mid-gray);
    }

    .vh-tab-nav button.active {
        border-bottom-color: var(--uh-mid-gray);
        border-left: 3px solid var(--uh-red);
    }

    .vh-pub-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .vh-pub-year {
        font-size: 1rem;
    }

    .vh-cta-banner h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .vh-stats-row {
        grid-template-columns: 1fr;
    }

    .vh-section-header {
        font-size: 1.2rem !important;
    }

    .student-img-wrap {
        height: 260px;
    }
}

/* ============================================================
   GLOBAL MOBILE RESPONSIVENESS PATCH v2.1
   Applied to all component classes
   ============================================================ */

/* ── Base resets ── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* ── Containers ── */
.vh-container { padding: 0 1rem; }

/* ── Section headers ── */
@media (max-width: 600px) {
    .vh-section-header { font-size: 1.1rem !important; margin: 2.5rem auto 1.5rem !important; }
}

/* ── PI featured card ── */
@media (max-width: 900px) {
    .pi-featured-card { flex-direction: column; }
    .pi-image { flex: none; max-height: 320px; overflow: hidden; }
    .pi-image img { height: 320px; width: 100%; object-fit: cover !important; }
    .pi-details { padding: 2rem; }
    .pi-details h2 { font-size: 2rem !important; }
}
@media (max-width: 500px) {
    .pi-details { padding: 1.25rem; }
    .pi-details h2 { font-size: 1.6rem !important; }
    .pi-image { max-height: 240px; }
    .pi-image img { height: 240px; }
}

/* ── Student grid ── */
@media (max-width: 900px) {
    .student-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 550px) {
    .student-grid { grid-template-columns: 1fr; }
    .student-img-wrap { height: 260px; }
    .student-img-wrap.former-student-img { height: 200px; }
}

/* ── Alumni roster grid ── */
@media (max-width: 700px) {
    .alumni-roster-grid { grid-template-columns: 1fr; }
}

/* ── Gallery ── */
@media (max-width: 700px) {
    .vh-gallery { columns: 1; }
}

/* ── Research grid ── */
@media (max-width: 900px) {
    .vh-research-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
    .vh-research-grid { grid-template-columns: 1fr; }
}

/* ── News grid ── */
@media (max-width: 900px) {
    .vh-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
    .vh-news-grid { grid-template-columns: 1fr; }
}

/* ── Stats row ── */
@media (max-width: 700px) {
    .vh-stats-row { grid-template-columns: repeat(2, 1fr); }
    .vh-stat-item .stat-number { font-size: 2.2rem; }
}
@media (max-width: 380px) {
    .vh-stats-row { grid-template-columns: 1fr; }
}

/* ── Pub list ── */
@media (max-width: 600px) {
    .vh-pub-item { flex-direction: column; gap: 0.25rem; }
    .vh-pub-year { font-size: 1rem; min-width: auto; }
}

/* ── CTA banner ── */
@media (max-width: 600px) {
    .vh-cta-banner { padding: 2rem 1rem; }
    .vh-cta-banner h2 { font-size: 1.4rem !important; }
    .vh-cta-button { padding: 12px 22px; font-size: 0.88rem; }
}

/* ── Tabs ── */
@media (max-width: 600px) {
    .vh-tab-nav { flex-direction: column; }
    .vh-tab-nav button { text-align: left; }
}

/* ── Contact block ── */
@media (max-width: 500px) {
    .vh-contact-block { padding: 1.5rem 1rem; }
}

/* ── Quote box ── */
@media (max-width: 500px) {
    .vh-quote-box { padding: 1.5rem 1rem; }
    .vh-quote-box p { font-size: 1.1rem; }
}

/* ── Page header ── */
@media (max-width: 600px) {
    .vh-page-header { padding: 2rem 1rem; }
    .vh-page-header h1 { font-size: 1.8rem !important; }
}

/* ── Accordion ── */
@media (max-width: 500px) {
    .vh-accordion-header { padding: 1rem; }
    .vh-accordion-body { padding: 1rem; }
}
