/**
 * Archihub Profile Styles
 * Modern, polished styling for freelancer profiles
 *
 * @package Archihub
 * @since 0.4.0
 * @version 1.1.0 - Fluid Layout Refactor
 */

/* ========================================
   FLUID LAYOUT ARCHITECTURE v1.1
   ======================================== */

/*
 * NEW CORE PRINCIPLES:
 * 1. All sections are 100% width (no max-width: 1400px)
 * 2. Uniform vertical padding: 60px top/bottom on all sections
 * 3. Uniform horizontal padding: 48px desktop, 24px mobile
 * 4. Content breathes with viewport - true edge-to-edge
 *
 * v1.1.1: SCOPED to single-freelancers only (prevents affecting header/footer)
 */

/* Universal Section Padding (Fluid Architecture) - SCOPED */
body.single-freelancers .archihub-section {
    width: 100%;
    padding: 60px 48px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    body.single-freelancers .archihub-section {
        padding: 60px 40px;
    }
}

@media (max-width: 992px) {
    body.single-freelancers .archihub-section {
        padding: 50px 32px;
    }
}

@media (max-width: 640px) {
    body.single-freelancers .archihub-section {
        padding: 40px 24px;
    }
}

/* === ARCHIHUB LAYOUT FOR FREELANCERS === */
body.single-freelancers {
    /* Layout overrides scoped to freelancer singles */
}

/* Dashboard view protection: prevent overlap with Workreap dashboard chrome */
body.logged-in.single-freelancers .archihub-hero,
body.logged-in.single-freelancers .archihub-section--about {
    margin-left: 20px;
    margin-right: 20px;
}

/* In dashboard view, avoid full-bleed trick for About to prevent cropping */
body.logged-in.single-freelancers .archihub-section--about {
    width: 100%;
    position: static;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

body.single-freelancers #wt-wrapper,
body.single-freelancers .wt-wrapper,
body.single-freelancers #wt-main,
body.single-freelancers .wt-main,
body.single-freelancers .wt-content,
body.single-freelancers .wt-section,
body.single-freelancers .wr-haslayout,
body.single-freelancers .wt-haslayout,
body.single-freelancers .container,
body.single-freelancers .site-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

body.single-freelancers .archihub-profile-page {
    background: #f8f9fa;
    min-height: 100vh;
}

/* === PHASE 1: FULL-WIDTH LAYOUT (REFACTOR) === */
body.single-freelancers .archihub-profile-content {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap - sections control their own spacing */
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* --- ARCHIHUB HERO UNBOXING FOR FREELANCERS --- */
body.single-freelancers .archihub-hero {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === HERO FLEX BAND (Meta Left + Actions Right) === */
body.single-freelancers .archihub-hero-band {
    width: 100%;
    background: #ffffff;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 2;
}

body.single-freelancers .archihub-hero-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    width: 100%;
    margin: 0;
    padding: 24px 48px;
    box-sizing: border-box;
}
@media (max-width: 1200px) { body.single-freelancers .archihub-hero-band-inner { padding:24px 40px; } }
@media (max-width: 992px) { body.single-freelancers .archihub-hero-band-inner { flex-direction:column; align-items:flex-start; gap:16px; padding:24px 32px; } }
@media (max-width: 640px) { body.single-freelancers .archihub-hero-band-inner { padding:20px 24px; } }

/* Hero Meta (Left: Name + Verified + Tagline) */
body.single-freelancers .archihub-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

body.single-freelancers .archihub-hero-meta h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.single-freelancers .archihub-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #e7f5ff;
    border: 1px solid #339af0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #1864ab;
    white-space: nowrap;
}

body.single-freelancers .archihub-verified-badge i {
    font-size: 14px;
}

body.single-freelancers .archihub-hero-meta p {
    margin: 0;
    font-size: 18px;
    color: #6B7280;
    line-height: 1.4;
}

/* Hero Actions (Right: Favorite/Share/Report + Back) */
body.single-freelancers .archihub-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    body.single-freelancers .archihub-profile-content {
        padding: 16px 12px 32px;
    }

    body.single-freelancers .archihub-hero-band {
        border-radius: 0 0 16px 16px;
    }

    body.single-freelancers .archihub-hero-band-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 16px;
    }

    body.single-freelancers .archihub-hero-meta h1 {
        font-size: 28px;
    }

    body.single-freelancers .archihub-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body.single-freelancers .archihub-profile-content {
        max-width: 1200px;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.archihub-hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
}

.archihub-hero--gradient {
    height: 400px;
    background: linear-gradient(135deg, #0a6896, #52a8cb);
}

.archihub-hero--single {
    height: 500px;
}

.archihub-hero--slider {
    height: 500px;
}

.archihub-hero__slider {
    height: 100%;
}

.archihub-hero__slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.archihub-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Slick slider dots for hero */
.archihub-hero .slick-dots {
    bottom: 20px;
    z-index: 2;
}

/* ========= HERO SECTION (PHASE 1 - 70/30 LAYOUT) ========= */
body.single-freelancers .archihub-hero {
    position: relative;
    width: 100%;
}

body.single-freelancers .archihub-hero,
body.single-freelancers .archihub-hero-bg {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
}

body.single-freelancers .archihub-hero-bg {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

body.single-freelancers .archihub-hero-bg__image,
body.single-freelancers .archihub-hero-bg__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

body.single-freelancers .archihub-hero-bg__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #111827, #0f766e);
}

body.single-freelancers .archihub-hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: #000;
}

/* Hero Content Band (70/30 Split) - Styled in layout section above */

/* Hero Left Column (70%) */
body.single-freelancers .archihub-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

body.single-freelancers .archihub-hero-title-block {
    margin: 0;
}

body.single-freelancers .archihub-hero-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

body.single-freelancers .archihub-hero-tagline {
    margin: 8px 0 0;
    font-size: 18px;
    color: #6B7280;
    line-height: 1.4;
}

body.single-freelancers .archihub-hero-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

body.single-freelancers .archihub-hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #ffffff;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.single-freelancers .archihub-hero-action-btn:hover {
    background: #F3F4F6;
    border-color: #0a6896;
    color: #0a6896;
}

body.single-freelancers .archihub-hero-action-btn i {
    font-size: 18px;
}

/* (Removed) No hero about summary in new design */

/* Identity Card in Hero (30% column) */
body.single-freelancers .archihub-identity-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ========================================
   REEL (VIDEO SECTION)
   Full-width black band with responsive video
   Phase 2: Ensure full-width and seamless flow from Moodboard
   ======================================== */

body.single-freelancers #archihub-profile-wrapper .archihub-section--reel {
    background: #000;
    /* padding now handled by universal .archihub-section */
    margin: 0;
    width: 100%;
}

.archihub-reel-container {
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
    margin: 0;
}

/* Title consistency with sections, but light on dark */
.archihub-section--reel .archihub-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.archihub-reel-player {
    width: 100%;
}

/* Responsive embed wrapper */
.archihub-reel-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.archihub-reel-embed iframe,
.archihub-reel-embed object,
.archihub-reel-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Direct video tag fallback */
.archihub-reel-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 991px) {
    .archihub-section--reel {
        padding: 32px 0;
    }
    .archihub-reel-container {
        padding: 0 16px;
    }
    .archihub-section--reel .archihub-section-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
}

.archihub-section--about {
    /* padding now inherited from universal .archihub-section (60px 48px) */
    margin: 0;
    width: 100%;
}

.archihub-about-layout {
    display: grid;
    grid-template-columns: minmax(0,4fr) minmax(0,1fr); /* 80% / 20% */
    gap: 50px; /* 50px gap between main and sidebar */
    align-items: start;
    width: 100%;
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    box-sizing: border-box;
}
@media (max-width: 1200px) { .archihub-about-layout { gap:40px; } }
@media (max-width: 992px) { .archihub-about-layout { grid-template-columns:1fr; gap:24px; } }
@media (max-width: 640px) { .archihub-about-layout { gap:20px; } }

.archihub-about-main, .archihub-about-side { min-width: 0; }

@media (max-width: 991px) {
    .archihub-about-layout {
        grid-template-columns: 1fr;
    }
}

.archihub-about-content {
    margin-bottom: 40px;
}

.archihub-about-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px;
}

.archihub-about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 12px;
}

.archihub-about-content p:last-child {
    margin-bottom: 0;
}

/* Divider */
hr.archihub-divider {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 32px 0;
}

hr.archihub-divider--light {
    background: #f3f4f6;
    margin: 16px 0;
}

/* Capabilities Section */
.archihub-capabilities-content {
    margin-bottom: 24px;
}

.archihub-capabilities-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 24px;
}

.archihub-capabilities-heading {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px;
}

.archihub-capabilities-list {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.archihub-capability-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
}

.archihub-cap-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.archihub-cap-label i {
    font-size: 15px;
    color: #7d7d7d;
    flex-shrink: 0;
}

.archihub-cap-label strong {
    font-weight: 600;
    color: #374151;
}

.archihub-cap-values {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
    flex: 1;
}

.archihub-cap-divider {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 8px 0;
}

.archihub-capabilities-list dt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.archihub-capabilities-list dt i {
    font-size: 16px;
    color: #0a6896;
}

.archihub-capabilities-list dd {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.archihub-capabilities-list dd:last-child {
    margin-bottom: 0;
}

/* ========================================
   IDENTITY CARD (MINIMAL: AVATAR + BUTTONS)
   ======================================== */

.archihub-identity-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: static !important;
}

.archihub-id-avatar {
    margin-bottom: 14px;
    text-align: center;
}

.archihub-id-avatar img {
    width: 100%;
    max-width: clamp(160px, 60%, 220px); /* better scaling on large screens */
    height: auto;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Limit overall card width so avatar doesn’t look overly framed on ultrawide */
.archihub-about-side .archihub-identity-card { max-width: 380px; margin: 0 auto; }

/* Career Type Badge */
.archihub-id-career {
    text-align: center;
    margin-bottom: 14px;
}

.archihub-career-badge {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-transform: capitalize;
}

.archihub-id-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.archihub-id-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    pointer-events: auto !important; /* Ensure clickable */
}

.archihub-id-action-btn:hover {
    background: #f3f4f6;
    border-color: #0a6896;
    color: #0a6896;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.archihub-id-action-btn i {
    font-size: 18px;
}

.archihub-id-action-btn--message:hover {
    border-color: #0a6896;
    color: #0a6896;
}

.archihub-id-action-btn--calendar:hover {
    border-color: #10b981;
    color: #10b981;
}

.archihub-id-action-btn--resume:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.archihub-identity-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archihub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.archihub-btn--primary {
    background: #0a6896;
    color: #fff;
    border-color: #0a6896;
}

.archihub-btn--primary:hover {
    background: #085577;
    border-color: #085577;
    color: #fff;
}

.archihub-btn--secondary {
    background: #fff;
    color: #374151;
    border-color: #e5e7eb;
}

.archihub-btn--secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.archihub-btn--outline {
    background: transparent;
    color: #0a6896;
    border-color: #0a6896;
}

.archihub-btn--outline:hover {
    background: #e7f3f8;
    border-color: #0a6896;
    color: #085577;
}

/* ========================================
   ACCOMPLISHMENTS SECTION (SIDEBAR)
   ======================================== */

.archihub-accomplishments {
    background: transparent;
    padding: 0;
    border: none;
}

/* Desktop: Accomplishments top margin for alignment */
@media (min-width: 992px) {
    .archihub-accomplishments {
        margin-top: 48px;
    }
}

/* Mobile: Reduce gap after Professional Details */
@media (max-width: 991px) {
    .archihub-accomplishments {
        margin-top: 24px;
    }
}

.archihub-accomplishments-heading {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px;
}

/* ========================================
   PROFESSIONAL DETAILS SECTION (SIDEBAR)
   ======================================== */

.archihub-professional-details {
    background: transparent;
    padding: 0;
    border: none;
    margin-top: 48px;
}

.archihub-professional-details-heading {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px;
}

.archihub-accomplishments-group {
    margin-bottom: 16px;
}

.archihub-accomplishments-meta {
    margin-top: 16px;
}

.archihub-acc-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
}

.archihub-acc-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.archihub-acc-label i {
    font-size: 15px;
    color: #7d7d7d;
    flex-shrink: 0;
}

.archihub-acc-label strong {
    font-weight: 600;
    color: #374151;
}

.archihub-acc-values {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
    flex: 1;
}

.archihub-acc-divider {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 8px 0;
}

.archihub-accomplishment-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.archihub-accomplishment-item:last-child {
    margin-bottom: 0;
}

.archihub-accomplishment-item strong {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.archihub-accomplishment-item span {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* Workreap Tag Style Integration */
.archihub-about-taxonomies .wr-singleservice-tile { margin-bottom:20px; }
.archihub-about-taxonomies .wr-blogtags { margin-top:0; }
.archihub-about-taxonomies .wr-tagtittle { margin-bottom:12px; font-size:14px; font-weight:600; color:#374151; display:flex; align-items:center; gap:8px; }
.archihub-about-taxonomies .wr-tagtittle i { color:#6B7280; }
.archihub-about-taxonomies .wr-tags_links { display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; }
.archihub-about-taxonomies .wr-tags_links li { margin:0; }
.archihub-about-taxonomies .wr-tags_links li a { display:inline-block; padding:6px 12px; background:#fff; border:1px solid #E5E7EB; border-radius:20px; font-size:13px; color:#374151; text-decoration:none; transition:all 0.2s ease; }
.archihub-about-taxonomies .wr-tags_links li a:hover { background:#F3F4F6; border-color:#0a6896; color:#0a6896; }

/* Workreap Sidebar List Style Integration */
.archihub-about-col--side .wr-tags-list { margin-top:16px; }
.archihub-about-col--side .wr-profile-options { list-style:none; margin:0; padding:0; }
.archihub-about-col--side .wr-profile-options li { display:flex; flex-direction:column; margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid #E5E7EB; }
.archihub-about-col--side .wr-profile-options li:last-child { border-bottom:none; margin-bottom:0; padding-bottom:0; }
.archihub-about-col--side .wr-profile-options li em { display:flex; align-items:center; gap:8px; font-size:13px; color:#6B7280; font-style:normal; margin-bottom:4px; }
.archihub-about-col--side .wr-profile-options li em i { color:#9CA3AF; }
.archihub-about-col--side .wr-profile-options li span { font-size:14px; color:#111827; font-weight:500; }

/* Projects Section - Full-Width Carousel */
body.single-freelancers #archihub-profile-wrapper .archihub-section--projects-compact {
    width: 100%;
    background: #000000;
    min-height: 500px; /* v1.1.1: Enforce minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* v1.1.1: Vertical centering */
    /* padding now handled by universal .archihub-section */
}

.archihub-projects-inner {
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
}

.archihub-projects-header {
    margin-bottom: 32px;
}

.archihub-section--projects-compact .archihub-section-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.archihub-projects-carousel {
    position: relative;
}

/* v1.1.2: Slick carousel spacing fix - compensate for Slick's negative margins */
.archihub-projects-carousel .slick-list {
    margin: 0 -8px;
}

.archihub-projects-carousel .slick-slide {
    padding: 0 8px;
}

.archihub-projects-carousel .slick-slide {
    margin: 0 12px;
}

.archihub-projects-carousel .archihub-project-card {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.archihub-projects-carousel .archihub-project-card:hover {
    transform: translateY(-4px);
}

.archihub-project-card .archihub-project-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.archihub-project-card .archihub-project-thumb img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #F3F4F6;
    transition: transform 0.3s ease;
}

.archihub-project-card:hover .archihub-project-thumb img {
    transform: scale(1.05);
}

.archihub-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archihub-project-card:hover .archihub-project-overlay {
    opacity: 1;
}

.archihub-project-overlay i {
    color: #ffffff;
    font-size: 24px;
}

.archihub-project-info {
    padding: 8px 0;
}

.archihub-project-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.archihub-project-year {
    font-size: 14px;
    color: #9CA3AF;
    margin-top: 4px;
    display: block;
}

.archihub-project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #80fefe; /* v1.1.14: Changed to accent cyan */
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Slick Carousel Arrows for Projects */
.archihub-projects-carousel .slick-prev,
.archihub-projects-carousel .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.archihub-projects-carousel .slick-prev:hover,
.archihub-projects-carousel .slick-next:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.archihub-projects-carousel .slick-prev {
    left: -20px;
}

.archihub-projects-carousel .slick-next {
    right: -20px;
}

.archihub-projects-carousel .slick-prev:before,
.archihub-projects-carousel .slick-next:before {
    content: '';
    display: none;
}

.archihub-projects-carousel .slick-prev i,
.archihub-projects-carousel .slick-next i {
    color: #000000;
    font-size: 16px;
}

/* Hide any legacy Explore Projects CTA coming from parent theme within projects sections */
.archihub-section--projects a[href$="/search-project/"],
.archihub-section--projects-compact a[href$="/search-project/"] {
    display: none !important;
}

/* Responsive adjustments for Projects */
@media (max-width: 1200px) {
    .archihub-projects-inner {
        padding: 0 40px;
    }

    .archihub-section--projects-compact {
        padding: 40px 0;
    }
}

@media (max-width: 992px) {
    .archihub-projects-inner {
        padding: 0 32px;
    }

    .archihub-section--projects-compact {
        padding: 32px 0;
    }

    .archihub-section--projects-compact .archihub-section-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .archihub-projects-inner {
        padding: 0 24px;
    }

    .archihub-section--projects-compact {
        padding: 24px 0;
    }

    .archihub-section--projects-compact .archihub-section-title {
        font-size: 20px;
    }

    .archihub-projects-carousel .slick-prev {
        left: 0;
    }

    .archihub-projects-carousel .slick-next {
        right: 0;
    }
}

/* Projects grid (legacy - kept for fallback) */
.archihub-projects-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:16px; }
.archihub-project-title { margin:0; font-size:16px; font-weight:600; color:#111827; }
.archihub-project-submeta { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.meta-chip { font-size:12px; background:#F3F4F6; color:#374151; border:1px solid #E5E7EB; border-radius:999px; padding:4px 8px; }

/* v1.1.11: Projects 4-Column Grid (replacing carousel) */
.archihub-section--projects-compact .archihub-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}
.archihub-section--projects-compact .archihub-projects-grid .archihub-project-card {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.archihub-section--projects-compact .archihub-projects-grid .archihub-project-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 992px) {
    .archihub-section--projects-compact .archihub-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .archihub-section--projects-compact .archihub-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Section - Full-Width Carousel */
#archihub-profile-wrapper .archihub-section--portfolio {
    width: 100%;
    background: #ffffff;
    min-height: 500px; /* v1.1.1: Enforce minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* v1.1.1: Vertical centering */
    /* padding now handled by universal .archihub-section */
}

/* v1.1.9: Neutralize native Workreap boxed portfolio styles inside portfolio section */
.archihub-section--portfolio .wr-asidebox.wr-freelancerinfo {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
}
.archihub-section--portfolio .wr-freesingletitle {
        margin: 0 0 32px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
}
.archihub-section--portfolio .wr-freesingletitle h4 {
        font-size: 28px !important;
        font-weight: 700 !important;
        color: #111827 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
}
@media (max-width: 992px){
    .archihub-section--portfolio .wr-freesingletitle h4 {font-size:24px !important;}
}
@media (max-width: 640px){
    .archihub-section--portfolio .wr-freesingletitle h4 {font-size:20px !important;}
}

.archihub-portfolio-inner {
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
}

.archihub-portfolio-header {
    margin-bottom: 32px;
}

.archihub-section--portfolio .archihub-section-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.archihub-portfolio-carousel {
    position: relative;
}

.archihub-portfolio-item {
    padding: 0 8px;
}

.archihub-portfolio-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.archihub-portfolio-link:hover {
    transform: translateY(-4px);
}

.archihub-portfolio-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #F3F4F6;
    aspect-ratio: 4/3;
}

.archihub-portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archihub-portfolio-link:hover .archihub-portfolio-thumb img {
    transform: scale(1.05);
}

.archihub-portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
}

.archihub-portfolio-placeholder i {
    font-size: 48px;
    color: #9CA3AF;
}

.archihub-portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 104, 150, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archihub-portfolio-link:hover .archihub-portfolio-overlay {
    opacity: 1;
}

.archihub-portfolio-overlay i {
    color: #ffffff;
    font-size: 24px;
}

.archihub-portfolio-info {
    padding: 12px 0;
}

.archihub-portfolio-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.archihub-portfolio-type {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
    display: block;
}

/* Slick Carousel Arrows for Portfolio */
.archihub-portfolio-carousel .slick-prev,
.archihub-portfolio-carousel .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.archihub-portfolio-carousel .slick-prev:hover,
.archihub-portfolio-carousel .slick-next:hover {
    background: #000000;
    transform: scale(1.1);
}

.archihub-portfolio-carousel .slick-prev {
    left: -20px;
}

.archihub-portfolio-carousel .slick-next {
    right: -20px;
}

.archihub-portfolio-carousel .slick-prev:before,
.archihub-portfolio-carousel .slick-next:before {
    content: '';
    display: none;
}

.archihub-portfolio-carousel .slick-prev i,
.archihub-portfolio-carousel .slick-next i {
    color: #ffffff;
    font-size: 16px;
}

/* Responsive adjustments for Portfolio */
@media (max-width: 1200px) {
    .archihub-portfolio-inner {
        padding: 0 40px;
    }

    .archihub-section--portfolio {
        padding: 40px 0;
    }
}

@media (max-width: 992px) {
    .archihub-portfolio-inner {
        padding: 0 32px;
    }

    .archihub-section--portfolio {
        padding: 32px 0;
    }

    .archihub-section--portfolio .archihub-section-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .archihub-portfolio-inner {
        padding: 0 24px;
    }

    .archihub-section--portfolio {
        padding: 24px 0;
    }

    .archihub-section--portfolio .archihub-section-title {
        font-size: 20px;
    }

    .archihub-portfolio-carousel .slick-prev {
        left: 0;
    }

    .archihub-portfolio-carousel .slick-next {
        right: 0;
    }
}

/* Services/Tasks Section - Full-Width Carousel */
#archihub-profile-wrapper .archihub-section--services {
    width: 100%;
    background: #ffffff;
    min-height: 500px; /* v1.1.1: Enforce minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* v1.1.1: Vertical centering */
    /* padding now handled by universal .archihub-section */
}

.archihub-services-inner {
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
}

.archihub-services-header {
    margin-bottom: 32px;
}

.archihub-section--services .archihub-section-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.archihub-services-carousel {
    position: relative;
}

.archihub-service-slide {
    padding: 0 8px;
}

/* Slick Carousel Arrows for Services */
.archihub-services-carousel .slick-prev,
.archihub-services-carousel .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.archihub-services-carousel .slick-prev:hover,
.archihub-services-carousel .slick-next:hover {
    background: #000000;
    transform: scale(1.1);
}

.archihub-services-carousel .slick-prev {
    left: -20px;
}

.archihub-services-carousel .slick-next {
    right: -20px;
}

.archihub-services-carousel .slick-prev:before,
.archihub-services-carousel .slick-next:before {
    content: '';
    display: none;
}

.archihub-services-carousel .slick-prev i,
.archihub-services-carousel .slick-next i {
    color: #ffffff;
    font-size: 16px;
}

/* Responsive adjustments for Services */
@media (max-width: 1200px) {
    .archihub-services-inner {
        padding: 0 40px;
    }

    .archihub-section--services {
        padding: 40px 0;
    }
}

@media (max-width: 992px) {
    .archihub-services-inner {
        padding: 0 32px;
    }

    .archihub-section--services {
        padding: 32px 0;
    }

    .archihub-section--services .archihub-section-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .archihub-services-inner {
        padding: 0 24px;
    }

    .archihub-section--services {
        padding: 24px 0;
    }

    .archihub-section--services .archihub-section-title {
        font-size: 20px;
    }

    .archihub-services-carousel .slick-prev {
        left: 0;
    }

    .archihub-services-carousel .slick-next {
        right: 0;
    }
}

/* Split Card (Education + Experience) */
.archihub-card--split { display:grid; grid-template-columns:3fr 2fr; gap:24px; }
.archihub-card-col { min-width:0; }
.archihub-card-col .wr-freesingletitle h4, .archihub-card-col h4 { font-size:16px; font-weight:700; color:#111827; margin:0 0 8px; }

/* Sidebar cards */
.archihub-card--stats .archihub-stats-list { margin:0; padding:0; list-style:none; }
.archihub-card--quick .archihub-quick-list { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.archihub-card--quick .quick-row { display:flex; justify-content:space-between; gap:12px; font-size:13px; color:#374151; }
.archihub-card--quick .quick-row .label { color:#6B7280; }
.archihub-quick-actions { display:flex; flex-direction:column; gap:10px; }
.archihub-quick-links { display:flex; gap:12px; }
.archihub-quick-links .link-item { font-size:13px; color:#2563EB; text-decoration:none; }

/* Reviews */
.archihub-reviews-list { display:flex; flex-direction:column; gap:16px; }
.archihub-review-item { border-top:1px solid #E5E7EB; padding-top:16px; }

/* Responsive */
@media (max-width: 960px) {
  .archihub-hero-band { flex-direction:column; align-items:flex-start; gap:12px; }
  body.single-freelancers .archihub-hero-bg { height:220px; }
  .archihub-about-grid { grid-template-columns:1fr; }
  .archihub-section--gallery .archihub-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .archihub-about-col--side .wr-profile-options li { margin-bottom:12px; padding-bottom:12px; }
}

.archihub-hero .slick-dots li button:before {
    color: #fff;
    opacity: 0.5;
    font-size: 12px;
}

.archihub-hero .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Responsive hero heights */
@media (max-width: 768px) {
    .archihub-hero--gradient,
    .archihub-hero--single,
    .archihub-hero--slider,
    .archihub-hero__slide {
        height: 300px;
    }
}

/* ========================================
   PROFILE LAYOUT
   ======================================== */

.archihub-profile-wrapper {
    padding-top: 20px;
}

/* Sidebar scrolls naturally with content */
@media (max-width: 991px) {
    .archihub-profile-sidebar {
        margin-bottom: 30px;
    }
}

/* ========================================
   STATISTICS CARD
   ======================================== */

.archihub-stats-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.archihub-stats-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.archihub-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.archihub-stat-item {
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.archihub-stat-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.archihub-stat-item__value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #0a6896;
    margin-bottom: 4px;
}

.archihub-stat-item__label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.archihub-about-section {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.archihub-about-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 24px;
    color: #1a1a1a;
}

.archihub-about-section h4:first-child {
    margin-top: 0;
}

/* Quick Facts Grid */
.archihub-quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #0a6896;
}

.quick-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

.fact-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.fact-availability {
    display: inline-block;
    padding: 4px 12px;
    background: #28a745;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Professional Summary */
.archihub-about-intro {
    margin-bottom: 24px;
}

.archihub-about-intro p {
    line-height: 1.7;
    color: #495057;
    margin-bottom: 12px;
}

/* Taxonomy Sections */
.archihub-taxonomy-section {
    margin-bottom: 24px;
}

.archihub-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.archihub-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    transition: all 0.2s ease;
    cursor: default;
}

.archihub-tag:hover {
    background: #f8f9fa;
    border-color: #0a6896;
    color: #0a6896;
}

.tag-skill {
    border-color: #0a6896;
    color: #0a6896;
    background: #e7f3f8;
}

.tag-specialty {
    border-color: #6c757d;
    color: #6c757d;
    background: #f1f3f5;
}

.tag-technology {
    border-color: #28a745;
    color: #28a745;
    background: #e8f5e9;
}

.tag-language {
    border-color: #ffc107;
    color: #856404;
    background: #fff3cd;
}

.tag-english-level {
    font-weight: 600;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.archihub-projects-section {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.archihub-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.archihub-project-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.archihub-project-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.archihub-project-card__image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
}

.archihub-project-card__content {
    padding: 16px;
}

.archihub-project-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.archihub-project-card__meta {
    font-size: 13px;
    color: #6c757d;
}

/* ========================================
   VIDEO SECTION
   ======================================== */

.archihub-video-section {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.archihub-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-top: 20px;
}

.archihub-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   TEAM MEMBERS SECTION
   ======================================== */

.archihub-team-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: none;
    border: none;
}

.archihub-team-section .ah-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 32px 0;
}

.archihub-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.archihub-team-member {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.archihub-team-member:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.archihub-team-member__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background-size: cover;
    background-position: center;
    background-color: #dee2e6;
}

.archihub-team-member__name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.archihub-team-member__role {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}

.archihub-team-member__bio {
    font-size: 12px;
    color: #495057;
    line-height: 1.5;
}

/* ========================================
   FAQS SECTION
   ======================================== */

.archihub-faqs-section {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.archihub-faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0a6896;
}

.archihub-faq-item:last-child {
    margin-bottom: 0;
}

.archihub-faq-item__question {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.archihub-faq-item__answer {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.archihub-reviews-section {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.archihub-review-item {
    padding: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.archihub-review-item:last-child {
    border-bottom: none;
}

.archihub-review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.archihub-review__author {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.archihub-review__rating {
    color: #ffc107;
}

.archihub-review__content {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 8px;
}

.archihub-review__date {
    font-size: 12px;
    color: #6c757d;
}

/* ========================================
   WORKREAP SECTION ENHANCEMENTS
   ======================================== */

/* Make Workreap sections consistent with Archihub style */
.wr-asidebox,
.wr-freelancerinfo,
.wr-userexperience {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
}

.wr-freesingletitle h4,
.wt-tabscontenttitle h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1199px) {
    .archihub-projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .archihub-team-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .archihub-about-section,
    .archihub-projects-section,
    .archihub-video-section,
    .archihub-team-section,
    .archihub-faqs-section,
    .archihub-reviews-section {
        padding: 20px;
    }

    .archihub-quick-facts {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .archihub-stats-grid {
        grid-template-columns: 1fr;
    }

    .archihub-projects-grid {
        grid-template-columns: 1fr;
    }

    .archihub-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .archihub-team-grid {
        grid-template-columns: 1fr;
    }

    .archihub-tags-list {
        gap: 6px;
    }

    .archihub-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.archihub-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.archihub-section-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.archihub-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 14px;
}

.archihub-loading {
    text-align: center;
    padding: 40px;
}

/* Smooth transitions */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #0a6896;
    outline-offset: 2px;
}
.archihub-section--gallery .archihub-gallery-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
.archihub-gallery-item img { width:100%; height:auto; border-radius:12px; display:block; }
.archihub-section--video { background:#0b0b0b; border-radius:20px; }
.archihub-card--video { background:transparent; box-shadow:none; }
.archihub-video-title { color:#fff; }
.archihub-video-container { border-radius:16px; overflow:hidden; }

/* ========================================
   RESUME MODAL
   ======================================== */

.archihub-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: none;
}
.archihub-modal[aria-hidden="true"] { display: none; }
.archihub-modal.archihub-modal--open { display: block; }

.archihub-modal__overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}

.archihub-modal__dialog {
    position: relative;
    max-width: 900px; width: calc(100% - 32px);
    margin: 60px auto;
    background: #fff; color: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    /* Enable internal scroll while locking background */
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

.archihub-modal__header { padding: 24px 28px 8px; border-bottom: 1px solid #eef0f2; flex: 0 0 auto; }
.archihub-modal__title { font-size: 24px; font-weight: 700; margin: 0; }
.archihub-modal__subtitle { font-size: 14px; color: #6c757d; margin: 6px 0 0; }

.archihub-modal__close {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border-radius: 18px;
    border: 1px solid #e9ecef; background: #fff; color: #495057;
    font-size: 22px; line-height: 34px; text-align: center;
}
.archihub-modal__close:hover { background: #f8f9fa; }

.archihub-modal__body {
    padding: 20px 28px 28px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.archihub-resume-meta { display:flex; flex-wrap:wrap; gap:10px 14px; margin-top:12px; }
.archihub-resume-meta__item { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:#495057; }

.archihub-resume-section { margin-top: 22px; }
.archihub-resume-section h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.archihub-tags { display:flex; flex-wrap:wrap; gap:8px; }
.archihub-tag { background:#f1f3f5; border:1px solid #e9ecef; color:#495057; border-radius: 999px; padding:6px 12px; font-size:12px; }
.archihub-tag--award { background:#fff9db; border-color:#ffd43b; color:#997404; }
.archihub-tag--cert { background:#e7f5ff; border-color:#74c0fc; color:#1864ab; }

body.archihub-modal-open { overflow: hidden; }

/* ========================================
   RESUME MODAL CONTENT STYLING
   ======================================== */

/* Scoped styles for resume partial inside modal only */
.archihub-modal__body .ah-resume {
    max-width: 100%;
    padding: 0;
}

/* Header / Meta Section */
.archihub-modal__body .ah-resume__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.archihub-modal__body .ah-resume__name {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    line-height: 1.2;
}

.archihub-modal__body .ah-resume__ratingviews {
    margin-bottom: 16px;
}

.archihub-modal__body .ah-resume__ratinglist {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.archihub-modal__body .ah-resume__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.archihub-modal__body .ah-resume__fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4b5563;
}

.archihub-modal__body .ah-resume__fact i {
    font-size: 16px;
    color: #6b7280;
}

/* Section Blocks */
.archihub-modal__body .ah-resume__section {
    margin-bottom: 32px;
}

.archihub-modal__body .ah-resume__section:last-child {
    margin-bottom: 0;
}

.archihub-modal__body .ah-resume__section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

/* Summary (About) */
.archihub-modal__body .ah-resume__summarytext {
    line-height: 1.7;
    color: #374151;
}

.archihub-modal__body .ah-resume__summarytext p {
    margin: 0 0 12px;
}

.archihub-modal__body .ah-resume__summarytext p:last-child {
    margin-bottom: 0;
}

/* Skills */
.archihub-modal__body .ah-resume__skillswrap {
    margin-top: 12px;
}

/* Workreap timeline integration: ensure proper spacing */
.archihub-modal__body .ah-resume__experience .wr-userexperience,
.archihub-modal__body .ah-resume__education .wr-userexperience {
    margin-top: 12px;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .archihub-modal__body .ah-resume__name {
        font-size: 24px;
    }

    .archihub-modal__body .ah-resume__section h3 {
        font-size: 18px;
    }

    .archihub-modal__body .ah-resume__facts {
        gap: 8px 12px;
    }
}

/* ========================================
   CAPABILITIES SECTION
   ======================================== */

.ah-section--capabilities {
    margin-bottom: 40px;
}

.ah-section-header {
    margin-bottom: 24px;
}

.ah-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.ah-capabilities-grid {
    display: grid;
    gap: 24px;
}

.ah-capabilities-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ah-capabilities-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.ah-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ah-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    transition: all 0.2s ease;
}

.ah-chip:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #212529;
}

/* Chip variants for different taxonomy types */
.ah-chip--skill {
    background: #e7f5ff;
    border-color: #339af0;
    color: #1864ab;
}

.ah-chip--skill:hover {
    background: #d0ebff;
    border-color: #228be6;
    color: #1971c2;
}

.ah-chip--specialty {
    background: #fff4e6;
    border-color: #fd7e14;
    color: #d9480f;
}

.ah-chip--specialty:hover {
    background: #ffe8cc;
    border-color: #f76707;
    color: #e8590c;
}

.ah-chip--technology {
    background: #e7f5ff;
    border-color: #74c0fc;
    color: #1864ab;
}

.ah-chip--technology:hover {
    background: #d0ebff;
    border-color: #4dabf7;
    color: #1971c2;
}

.ah-chip--service {
    background: #e3fafc;
    border-color: #22b8cf;
    color: #0b7285;
}

.ah-chip--service:hover {
    background: #c5f6fa;
    border-color: #15aabf;
    color: #0c8599;
}

.ah-chip--project {
    background: #f3f0ff;
    border-color: #9775fa;
    color: #5f3dc4;
}

.ah-chip--project:hover {
    background: #e5dbff;
    border-color: #845ef7;
    color: #6741d9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ah-capabilities-grid {
        gap: 20px;
    }

    .ah-chip {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ========================================
   MOODBOARD SECTION
   Full-width inspiration gallery carousel
   Background: #c8c7cc (slightly darker than about section)
   ======================================== */

body.single-freelancers #archihub-profile-wrapper .archihub-section--moodboard {
    background: #dfdfdf;
    /* padding now handled by universal .archihub-section */
    margin: 0;
    width: 100%;
}

.archihub-moodboard-container {
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
}

/* Section Title (matching About section) */
.archihub-section--moodboard .archihub-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 32px 0;
    line-height: 1.3;
}

/* Main Image Display */
.archihub-moodboard-main {
    width: 100%;
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* Phase 2: Remove gap before Reel */
}

.archihub-moodboard-main-slider {
    width: 100%;
}

/* Hide slides until Slick initializes to prevent vertical stacking */
.archihub-moodboard-main-slider:not(.slick-initialized) .archihub-moodboard-main-slide:not(:first-child) {
    display: none;
}

.archihub-moodboard-main-slide {
    width: 100%;
    height: 700px; /* Phase 2: Increased to 700px max-height */
    max-height: 700px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.archihub-moodboard-main-slide img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Display mode variations */
.archihub-section--moodboard[data-display-mode="contain"] .archihub-moodboard-main-slide img {
    object-fit: contain;
    width: auto;
    height: auto;
}

.archihub-section--moodboard[data-display-mode="cover"] .archihub-moodboard-main-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Thumbnail Navigation Strip */
.archihub-moodboard-thumbs {
    width: 100%;
}

.archihub-moodboard-thumbs-slider {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.archihub-moodboard-thumb {
    width: 120px;
    height: 80px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.archihub-moodboard-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.archihub-moodboard-thumb.slick-current {
    opacity: 1;
    border-color: #000000; /* v1.1.14: Changed to black */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.archihub-moodboard-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slick Slider Arrows for Main Display */
.archihub-moodboard-main .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.archihub-moodboard-main .slick-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.archihub-moodboard-main .slick-arrow:before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
}

.archihub-moodboard-main .slick-prev {
    left: 24px;
}

.archihub-moodboard-main .slick-prev:before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.archihub-moodboard-main .slick-next {
    right: 24px;
}

.archihub-moodboard-main .slick-next:before {
    transform: rotate(45deg);
    margin-right: 3px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .archihub-section--moodboard {
        padding: 32px 0;
    }

    .archihub-moodboard-container {
        padding: 0 16px;
    }

    .archihub-section--moodboard .archihub-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .archihub-moodboard-main-slide {
        height: 400px;
    }

    .archihub-moodboard-thumb {
        width: 80px;
        height: 60px;
    }

    .archihub-moodboard-main .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .archihub-moodboard-main .slick-prev {
        left: 12px;
    }

    .archihub-moodboard-main .slick-next {
        right: 12px;
    }
}

/* ========================================
   REEL (VIDEO SECTION)
   ======================================== */

body.single-freelancers #archihub-profile-wrapper .ah-section--reel {
    margin-bottom: 0;
    width: 100%;
}

body.single-freelancers #archihub-profile-wrapper .ah-reel-wrapper {
    background: #000;
    padding: 60px 24px;
    width: 100%;
}

.ah-reel-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ah-reel-title {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 32px;
    letter-spacing: -0.5px;
}

.ah-reel-player {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive embed for YouTube/Vimeo */
.ah-reel-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.ah-reel-embed iframe,
.ah-reel-embed object,
.ah-reel-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Direct video tag */
.ah-reel-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .ah-reel-wrapper {
        padding: 40px 16px;
    }

    .ah-reel-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

/* ========================================
   GALLERY SECTION - Phase 3
   Full-width with soft gray background
   3x3 grid layout with in-section pagination
   ======================================== */

.archihub-section--gallery {
    background: #F8F9FA; /* Soft gray background (updated to match spec) */
    /* padding now handled by universal .archihub-section */
    margin: 0;
    width: 100%;
}

.archihub-gallery-container {
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
}

.archihub-section--gallery .archihub-section-header {
    margin-bottom: 32px;
}

.archihub-section--gallery .archihub-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.archihub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3x3 grid */
    gap: 20px;
    margin-bottom: 32px;
}

.archihub-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.archihub-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(18, 205, 212, 0.25); /* v1.1.14: Accent cyan tint */
}

.archihub-gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f3f4f6;
}

.archihub-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.archihub-gallery-item:hover .archihub-gallery-thumb img {
    transform: scale(1.08);
}

/* Pagination Styling */
.archihub-gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
}

.archihub-pagination-info {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.archihub-pagination-links {
    display: flex;
    gap: 8px;
}

.archihub-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.archihub-pagination-link:hover {
    background: #f3f4f6;
    border-color: #0a6896;
    color: #0a6896;
}

.archihub-pagination-link--active {
    background: #000000; /* v1.1.14: Changed to black */
    border-color: #000000;
    color: #fff;
}

.archihub-pagination-link--active:hover {
    background: #111827; /* v1.1.14: Dark gray hover */
    border-color: #111827;
}

/* Responsive */
@media (max-width: 991px) {
    .archihub-section--gallery {
        padding: 32px 0;
    }

    .archihub-gallery-container {
        padding: 0 32px;
    }

    .archihub-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .archihub-gallery-container {
        padding: 0 24px;
    }

    .archihub-gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .archihub-gallery-pagination {
        flex-direction: column;
        gap: 16px;
    }
}

/* ========================================
   FAQS + BUSINESS HOURS (70/30 SPLIT) - FULL-WIDTH
   ======================================== */

#archihub-profile-wrapper .ah-section--faqs-business {
    width: 100%;
    background: #dfdfdf; /* v1.1.12: Adjusted per spec */
    min-height: 500px; /* v1.1.1: Enforce minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* v1.1.1: Vertical centering */
    /* padding now handled by universal .archihub-section */
}

.ah-faqs-business-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.ah-faqs-business-grid {
    display: grid;
    grid-template-columns: 7fr 3fr; /* Changed from 70% 30% to prevent overflow with gap */
    gap: 50px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

/* FAQs Column (Left 70%) */
.ah-faqs-col {
    min-width: 0; /* Allow column to shrink */
    border-right: 1px solid #E5E7EB; /* v1.1.18: Soft vertical divider */
    padding-right: 40px; /* v1.1.18: Space for divider */
    overflow: hidden; /* Contain content */
}

.ah-section--faqs-business .ah-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 32px 0;
}

.ah-faqs-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid #E5E7EB; /* v1.1.18: Soft horizontal divider */
    padding-bottom: 40px; /* v1.1.18: Space for divider */
}

.ah-faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #F8F9FA;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ah-faq-item:hover {
    border-color: #0a6896;
    box-shadow: 0 2px 8px rgba(10, 104, 150, 0.1);
}

.ah-faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.ah-faq-question:hover {
    background: #F3F4F6;
}

.ah-faq-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    flex: 1;
    line-height: 1.5;
}

.ah-faq-icon {
    margin-left: 16px;
    font-size: 14px;
    color: #6B7280;
    transition: transform 0.3s ease;
}

.ah-faq-item.active .ah-faq-icon {
    transform: rotate(180deg);
    color: #0a6896;
}

.ah-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
    background: #ffffff;
}

.ah-faq-item.active .ah-faq-answer {
    max-height: 800px;
    padding: 0 24px 20px;
}

.ah-faq-answer p {
    margin: 0 0 12px;
    line-height: 1.7;
    color: #4B5563;
    font-size: 15px;
}

.ah-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Business Column (Right 30%) */
.ah-business-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 40px; /* v1.1.18: Space from divider */
    max-width: 100%;
    min-width: 0; /* Allow column to shrink properly */
    overflow: hidden; /* Contain all child borders */
}

.ah-business-hours-card,
.ah-working-terms-card {
    /* v1.1.12: Neutralized frame styling */
    background: none !important;
    border-radius: 12px;
    padding: 0; /* Remove padding from card to prevent border overflow */
    border: none !important;
    box-shadow: none !important;
    width: 100%; /* Ensure full width */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box;
    overflow: hidden; /* Contain borders within card */
}

.ah-business-title {
    /* v1.1.12: Standardize with .ah-section-title */
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 991px){
  .ah-business-title {font-size:24px; margin-bottom:24px;}
}
@media (max-width: 640px){
  .ah-business-title {font-size:20px; margin-bottom:20px;}
}

.ah-business-title i {
    font-size: 20px;
    color: #0a6896;
}

.ah-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ah-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.ah-hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ah-hours-row:first-child {
    padding-top: 0;
}

.ah-hours-day {
    font-weight: 600;
    color: #374151;
}

.ah-hours-time {
    color: #6B7280;
    font-weight: 500;
}

/* Business Hours List Styling */
.business-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block; /* Allow list to size to content */
    min-width: 200px; /* Minimum width */
    max-width: 100%;
}

/* ========================================
   BOOTSTRAP 5 MODAL OVERRIDES
   ======================================== */

/* Ensure modals appear above everything */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050 !important;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055 !important;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    outline: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    color: #111827;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1.5rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.75;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

/* ========================================
   BOOTSTRAP MODAL OVERRIDES
   ======================================== */
.modal-backdrop {
    z-index: 1050 !important;
}

.modal {
    z-index: 1055 !important;
}

.modal-dialog {
    z-index: 1056 !important;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.75;
}

.business-hours-item {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 1.6;
    display: table; /* Use table display to wrap content */
    width: auto; /* Let content determine width */
    min-width: 200px; /* Minimum readable width */
    max-width: 100%; /* Don't exceed container */
    box-sizing: border-box;
}

.business-hours-item:last-child {
    border-bottom: none;
}

.business-hours-item .day {
    font-weight: 600;
    color: #111827;
    margin-right: 8px;
}

.business-hours-item .hours {
    color: #4b5563;
}

.business-hours-item .notes {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    font-style: italic;
}

/* v1.1.18: Book a Meeting CTA Button */
.ah-booking-cta {
    margin-top: 24px;
}

.ah-booking-cta .ah-btn-black {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.ah-booking-cta .ah-btn-black:hover {
    background: #1f2937;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ah-booking-cta .ah-btn-black:active {
    transform: translateY(0);
}

.ah-working-terms-content {
    font-size: 14px;
    line-height: 1.7;
    color: #4B5563;
}

.ah-working-terms-content p {
    margin: 0 0 12px;
}

.ah-working-terms-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    /* v1.1.2: REMOVED padding overrides - handled by universal .archihub-section */

    .ah-faqs-business-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    /* v1.1.2: REMOVED padding overrides - handled by universal .archihub-section */

    .ah-faqs-business-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ah-section--faqs-business .ah-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    /* v1.1.2: REMOVED padding overrides - handled by universal .archihub-section */

    .ah-faq-question {
        padding: 14px 18px;
    }

    .ah-faq-question h4 {
        font-size: 15px;
    }

    .ah-faq-answer {
        padding: 0 18px;
    }

    .ah-faq-item.active .ah-faq-answer {
        padding: 0 18px 16px;
    }

    .ah-section--faqs-business .ah-section-title {
        font-size: 20px;
    }

    .ah-business-hours-card,
    .ah-working-terms-card {
        padding: 20px;
    }
}

/* ========================================
   RELATED LISTINGS - FULL-WIDTH
   ======================================== */

#archihub-profile-wrapper .ah-section--related {
    width: 100%;
    background: #ffffff;
    min-height: 500px; /* v1.1.1: Enforce minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* v1.1.1: Vertical centering */
    /* padding now handled by universal .archihub-section */
}

.ah-related-wrapper {
    /* REMOVED: max-width: 1400px - now full fluid */
    /* REMOVED: margin: 0 auto - no centering */
    /* REMOVED: padding - now handled by .archihub-section parent */
    width: 100%;
}

.ah-section--related .ah-section-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 32px 0;
}

/* Grid Layout (for ≤3 items) */
.ah-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Grid Item Wrapper */
.ah-related-item {
    width: 100%;
}

/* Carousel Layout (for >3 items) */
.ah-related-carousel {
    position: relative;
}

/* v1.1.2: Slick carousel spacing fix */
.ah-related-carousel .slick-list {
    margin: 0 -12px;
}

.ah-related-carousel .slick-slide {
    padding: 0 12px;
}

/* v1.1.2: .ah-related-card-wrapper removed - padding now on .slick-slide */

/* Slick Carousel Arrows for Related */
.ah-related-carousel .slick-prev,
.ah-related-carousel .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.ah-related-carousel .slick-prev:hover,
.ah-related-carousel .slick-next:hover {
    background: #000000;
    transform: scale(1.1);
}

.ah-related-carousel .slick-prev {
    left: -20px;
}

.ah-related-carousel .slick-next {
    right: -20px;
}

.ah-related-carousel .slick-prev:before,
.ah-related-carousel .slick-next:before {
    content: '';
    display: none;
}

.ah-related-carousel .slick-prev i,
.ah-related-carousel .slick-next i {
    color: #ffffff;
    font-size: 16px;
}

/* Responsive Grid Layout */
@media (max-width: 1200px) {
    .ah-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ah-related-wrapper {
        padding: 0 40px;
    }

    .ah-section--related {
        padding: 40px 0;
    }
}

@media (max-width: 992px) {
    .ah-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ah-related-wrapper {
        padding: 0 32px;
    }

    .ah-section--related {
        padding: 32px 0;
    }
}

@media (max-width: 768px) {
    .ah-related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ah-section--related .ah-section-title {
        font-size: 24px;
    }

    .ah-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ah-related-wrapper {
        padding: 0 24px;
    }

    .ah-section--related {
        padding: 24px 0;
    }

    .ah-section--related .ah-section-title {
        font-size: 20px;
    }

    .ah-related-grid {
        grid-template-columns: 1fr;
    }

    .ah-related-carousel .slick-prev {
        left: 0;
    }

    .ah-related-carousel .slick-next {
        right: 0;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .ah-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ah-section--related {
        margin-top: 40px;
    }

    .ah-related-wrapper {
        padding: 0 16px;
    }

    .ah-related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   v1.1.10 PORTFOLIO GRID CONVERSION
   - Preserve pagination ($per_page = 4)
   - Convert single-column wrapper to 4-column responsive CSS Grid
   - Breakpoints: 4 cols desktop, 2 cols tablet, 1 col mobile
   ======================================== */
.archihub-section--portfolio .wr-portfolio-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

/* Ensure items adapt to grid cells */
.archihub-section--portfolio .wr-portfolio-wrapper .wr-portfolio-item {
    width: 100% !important;
    margin: 0 !important;
}

/* Image hygiene inside portfolio items */
.archihub-section--portfolio .wr-portfolio-wrapper .wr-portfolio-img img,
.archihub-section--portfolio .wr-portfolio-wrapper .wr-cards__img img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .archihub-section--portfolio .wr-portfolio-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .archihub-section--portfolio .wr-portfolio-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   v1.1.17 CRITICAL FIXES
   ======================================== */

/* v1.1.17: Force Related Professionals BG to white */
body.single-freelancers #archihub-profile-wrapper .ah-section--related {
    background-color: #ffffff !important;
}

body.single-freelancers #archihub-profile-wrapper .ah-related-wrapper {
    background-color: #ffffff !important;
}

/* v1.1.17: CRITICAL FOOTER FIX */
body.single-freelancers footer.wr-footer,
body.single-freelancers footer#wt-footer {
    background: #000000 !important; /* Forces footer's correct black BG */
    color: #999999 !important; /* Restores default text color */
    display: block !important; /* Fixes any layout breaks */
}

/* Restore footer heading color */
body.single-freelancers footer.wr-footer h5 {
    color: #ffffff !important;
}

/* Restore footer link color */
body.single-freelancers footer.wr-footer a {
    color: #999999 !important;
}

body.single-freelancers footer.wr-footer a:hover {
    color: #ffffff !important;
}

/* ========================================
   CUSTOM LIGHTWEIGHT MODAL SYSTEM
   No Bootstrap dependency - pure CSS + JS
   ======================================== */

/* Modal Container */
.archihub-custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.archihub-custom-modal.archihub-modal-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay (backdrop) */
.archihub-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    cursor: pointer;
}

/* Modal Content Box */
.archihub-modal-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: archihub-modal-slide-up 0.3s ease-out;
}

@keyframes archihub-modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.archihub-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archihub-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.archihub-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.archihub-modal-close:hover {
    color: #333333;
}

/* Modal Body */
.archihub-modal-body {
    padding: 20px;
}

/* Prevent body scroll when modal is open */
body.archihub-modal-open {
    overflow: hidden;
}

/* Share Links */
.archihub-share-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archihub-share-link {
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.archihub-share-link:hover {
    border-color: #d0d0d0;
    background: #f8f9fa;
    color: #333333;
}

.archihub-share-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.archihub-share-link.archihub-copy-link:hover {
    color: #28a745;
    border-color: #28a745;
}

.archihub-share-link.archihub-copy-link.copied {
    color: #28a745;
}

/* Form Styling */
.archihub-form-group {
    margin-bottom: 16px;
}

.archihub-form-group:last-child {
    margin-bottom: 0;
}

.archihub-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.archihub-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.archihub-form-control:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.archihub-form-control:disabled {
    background: #f5f5f5;
    color: #999999;
    cursor: not-allowed;
}

textarea.archihub-form-control {
    resize: vertical;
}

/* Button Styling */
.archihub-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.archihub-btn-primary {
    background: #000000;
    color: #ffffff;
}

.archihub-btn-primary:hover:not(:disabled) {
    background: #333333;
}

.archihub-btn-primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.w-100 {
    width: 100%;
}

/* Alert Messages */
.archihub-alert {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archihub-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.archihub-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.text-danger {
    color: #dc3545;
}
