
:root {
    --fs-xl   : 26px;
    --fs-lg   : 20px;
    --fs-md   : 18px;
    --fs-base : 16px;
    --fs-sm   : 14px;
    --fs-xs   : 13px;
    --fs-xxs  : 12px;
    --font-barlow : "Barlow Condensed", sans-serif;
    --color-border  : #E7E7F1;
    --color-divider : #e2e8f0;
    --color-bg-soft : #f7f7f7;
    --color-text-dark : #353433;
    --color-text-mid  : #474D6A;
    --color-text-muted: #6c757d;
    --color-orange    : #ff720b;
    --color-orange-hover : #f57c00;
    --fs-micro: 11px;

    --bg: #f5f4f0;
    --surface: #ffffff;
    --border: #e2e0d8;
    --text-primary: #1a1a1a;
    --text-muted: #9b9890;
    --accent: #f57c00;
    --radius: 10px;
    --accent-light: #fff4ed;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.f-13{
    font-size: var(--fs-xs)
}

/*    PROFILE CARD  (shared wrapper) */
.profile-card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    margin: 0;
    padding: 30px;
    text-align: left;
    scroll-margin-top: 100px;
}

/* links inside any card */

.profile-card a, .profile-other-info a              { color: inherit; }
.profile-card a:hover, .profile-other-info a:hover        { color: var(--color-orange-hover); }

/* view-all link */
.profile-card .view-all-link {
    font-size: var(--fs-base);
    font-family: var(--font-barlow);
}


/* ----------------------------------------------------------
   PROFILE SECTION  (top banner + photo area)
   ---------------------------------------------------------- */
.profile-sec-wrapper {
    position: relative;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.profile-top-bg {
    background: url(../../static/ui/webpage/images/bg/temp-bg.jpg) center / cover black;
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 10 / 1;
}

.profile-sec {
    padding: 15px;
}

.profile-sec-body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 8px;
}


/* ----------------------------------------------------------
   PROFILE IMAGE
   ---------------------------------------------------------- */
.profile-sec .profile-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border: 5px solid #fff;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    image-rendering: auto;
    transform: translate3d(0, 0, 0.1px);
    overflow-clip-margin: unset;
    background-color: #fff;
    margin-top: -40px;
    box-shadow: 0px 0px 3px 0px #04040494;
}


/* ----------------------------------------------------------
   PROFILE NAME & DESIGNATION
   ---------------------------------------------------------- */
.profile-sec .profile-name,
.profile-sec h2.profile-name,
.profile-sec h3.profile-name {
    font-size: var(--fs-xl);
    font-weight: 600;
    font-family: var(--font-barlow);
    color: var(--color-text-dark);
    margin-bottom: 0;
}
.profileEditBadge-overlary{
    position:absolute;
    inset:0;
    cursor:pointer;
    border-radius:50%;
}
.profileEditCamera{
    position:absolute;
    bottom:4px;
    right:4px;
    background:#ff720b;
    color:#fff; 
    width:28px;
    height:28px;
    border-radius:50%; 
    display:flex;
    align-items:center;
    justify-content:center; 
    font-size:12px;
    pointer-events:none; 
    box-shadow:0 2px 6px rgba(0,0,0,0.3);
}
/* Designation is shared between .profile-sec and .experience-item
   — keep a single definition, override only what differs */
.profile-designation {
    font-size: var(--fs-md);
    font-weight: 600;
    font-family: var(--font-barlow);
    color: var(--color-text-dark);
    margin-bottom: 5px;
}

.profile-designation span {
    font-size: var(--fs-base);
    font-weight: 400;
    font-family: inherit;
}

/* Experience item overrides only the weight */
.experience-item .profile-designation {
    font-weight: 500;
}

.experience-item .profile-designation span {
    font-size: var(--fs-xs);
    font-weight: 600;
    font-family: var(--font-inter, sans-serif);
    color: var(--color-text-mid);
}

/* hover state */
.experience-item a.profile-designation:hover,
.experience-item a.profile-designation:focus-visible {
    color: var(--color-orange);
}


/* ----------------------------------------------------------
   PROFILE OTHER INFO  (location, contact, social row)
   ---------------------------------------------------------- */
.profile-other-info ul {
    display: flex;
    row-gap: 15px;
    margin: 0;
    padding: 0;
}

.profile-other-info ul li {
    list-style: none;
    text-align: left;
    line-height: 24px;
    border-right: 1px solid #E0E0E0;
    padding: 0 12px;
}

.profile-other-info ul li:first-child {
    padding-left: 0;
    max-width: 300px;
}

/* shared font-size for <p> and <a> inside info list */
.profile-other-info ul li p,
.profile-other-info ul li a {
    margin: 0;
    font-size: var(--fs-xs);
}


/* ----------------------------------------------------------
   PROFILE SOCIAL MEDIA BAR
   ---------------------------------------------------------- */
.profile-sm {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}


/* bottom bar variant */
.profile-btm {
    background: #F7F7F9;
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    row-gap: 15px;
    column-gap: 30px;
}
.profile-sm:empty {
  display: none;
}
.profile-btm .profile-sm img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}


/* ----------------------------------------------------------
   SPOTLIGHT BADGE
   ---------------------------------------------------------- */
.profile-card .spotlight-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-barlow);
    margin: 0 10px;
}

.profile-card .spotlight-badge img {
    width: 146px;
    margin-bottom: 0 !important;
}

.profile-card .spotlight-badge h5 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 0;
}

.profile-card .spotlight-badge .spotligt-title {
    position: absolute;
    color: #fff;
    width: 90px;
    display: flex;
    flex-direction: column;
    line-height: 12px;
    top: calc(50% - 4px);
    transform: translateY(-50%);
    padding: 0 5px;
}

.profile-card .spotlight-badge .spotligt-title p {
    font-size: var(--fs-xxs);
    margin: 0;
    padding: 0;
    line-height: 14px;
    font-weight: 500;
    text-align: center;
}

.profile-card .spotlight-badge .spotligt-title h5 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   PROFILE AWARDS SECTION
   ---------------------------------------------------------- */
.profile-awards {
    border-radius: 0;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inherit;
}

.profile-awards .spotlight-badge     { top: 0 !important; }
.profile-awards .spotlight-badge img { width: 150px !important; }


/* ----------------------------------------------------------
   SECTION HEADINGS
   ---------------------------------------------------------- */
.profile-heading {
    font-family: var(--font-barlow);
    font-size: var(--fs-lg);
    font-weight: 600;
    background: var(--color-bg-soft);
    width: 100%;
    padding: 5px 10px;
}

.profile-heading .view-all-link.nav-link{
    color: #323232;
    text-decoration: underline !important;
}
.profile-heading .view-all-link.nav-link:hover{
    color: var(--color-orange);
}

.profile-heading .edit-icon{
    font-size: 14px;
}
/* "Spotlight right" heading matches the same scale */
.spotlight-right h4 {
    font-size: var(--fs-lg);
    font-family: var(--font-barlow);
    color: #323232;
    font-weight: 600;
    margin-bottom: 6px;
    padding: 0;
}


/* ----------------------------------------------------------
   QUICK LINKS SIDEBAR
   ---------------------------------------------------------- */
.profile-quicklink {
    font-family: var(--font-barlow);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--primary-orange);
}

.quick-links .nav-link {
    color: var(--color-text-mid);
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    border-radius: 6px;
    font-family: var(--font-barlow);
    font-size: var(--fs-md);
}

.quick-links .nav-link:hover      { background-color: #f1f3f5; color: var(--text-dark); }
.quick-links a.active              { background: var(--color-bg-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(11,130,255,0.06); }

.quick-links .nav-link img {
    padding-right: 5px;
    width: 25px;
}

.quick-links .nav-link svg {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    color: #868e96;
}


/* ----------------------------------------------------------
   VERIFIED BADGE
   ---------------------------------------------------------- */
.pw-verified-badge {
    background-color: #34A853;
    color: #fff;
    border-radius: 15px;
    font-weight: 500;
    font-size: var(--fs-xxs);
    padding: 5px 9px;
    display: flex;
    gap: 8px;
    align-items: center;
    align-self: center;
    max-width: 600px;
}

.pw-verified-badge img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.pw-verified-badge-list li {
    list-style: none;
    position: relative;
    display: flex;
    font-size: var(--fs-base);
    line-height: 1.6;
    font-family: var(--font-barlow);
    font-weight: 500;
    margin-bottom: 4px;
}

.pw-verified-badge-list li:last-child { margin-bottom: 0; }

.pw-verified-badge-list li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../images/icons/verified-tick-green.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 4px;
}


/* ----------------------------------------------------------
   EXPERIENCE / EDUCATION ITEMS
   ---------------------------------------------------------- */
.experience-item,
.education-item {
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    margin: 0 0 15px;
}

.experience-item:last-child,
.education-item:last-child {
    border-bottom: none;
}


/* ----------------------------------------------------------
   COMPANY + ROLE TIMELINE
   ---------------------------------------------------------- */
.pw-company-group {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-divider);
    margin-bottom: 1.25rem;
}

.pw-company-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.pw-company-info {
    display: flex;
    /* align-items: center; */
    gap: 10px;
    margin-bottom: 4px;
}

.pw-company-info .company-text{
    align-self: center;
}


.pw-company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pw-company-logo img { width: 100%; }

/* company name & duration share the same element pattern */
.company-name, .edu-name {
    margin: 0;
    font-size: var(--fs-md);
    font-weight: 500;
    font-family: var(--font-barlow);
    color: var(--color-text-dark);
}
.edu-name{
    font-size: 16px;
}
.company-duration {
    margin: 0;
    font-size: var(--fs-xxs);
}

/* role row */
.role-row {
    display: flex;
    gap: 10px;
    padding-left: 4px;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    flex-shrink: 0;
    width: 36px;
}

.timeline-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    /* background: #ffc49a; */
    background: #bbbbc5;
    flex-shrink: 0;
}

/* .timeline-dot.active { background: var(--color-orange); } */
.timeline-dot.active { background: #bbbbc5; }

.timeline-line {
    width: 2px;
    flex: 1;
    min-height: 40px;
    /* background: #ffe0c7; */
    background: #E7E7F1;
    margin-top: 6px;
}

.role-content {
    flex: 1;
    padding-bottom: 1rem;
    border-bottom: 0.5px solid var(--color-divider);
    margin-bottom: 1rem;
}

.role-row:last-child .role-content {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* role title matches company name scale */
.role-title {
    margin: 0 0 2px;
    font-size: var(--fs-md);
    font-weight: 500;
    font-family: var(--font-barlow);
    color: var(--color-text-dark);
}
.edu-title{
    margin: 0 0 0px;
    line-height: 1.2;
    font-size: var(--fs-md);
    font-weight: 500;
    font-family: var(--font-barlow);
    color: var(--color-text-dark);   
}

.role-meta {
    margin: 0 0 4px;
    font-size: var(--fs-xxs);
}

.badge-present {
    font-size: 11px;
    color: #1b5e20;
    background: #c8e6c9b5;
    border-color: 1px solid #66BB6A;
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 500;
}

.role-description p,
.role-description li {
    margin: 8px 0 0;
    font-size: var(--fs-xs);
    line-height: 1.6;
}

/* action buttons on role rows */
.role-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 8px;
}

.action-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0.5px solid var(--color-divider);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.action-btn:hover { background: #f7fafc; }

.section-divider {
    height: 0.5px;
    background: var(--color-divider);
    margin: 0 0 1.25rem;
}


/* ----------------------------------------------------------
   CERTIFICATIONS / LICENSES
   ---------------------------------------------------------- */
.lc-image {
    display: flex;
    gap: 12px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-divider);
    margin-bottom: 1rem;
}

.lc-image img {
    height: 100px;
    width: 150px;
    object-fit: contain;
}

.lc-image:last-child {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.cert-info  { flex: 1; min-width: 0; }

.cert-name {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.cert-org {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cert-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 0.35rem;
}

.cert-meta i { font-size: 0.7rem; }

/* date chips */
.cert-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}

.chip-issued,
.chip-expires   { background: var(--color-bg-soft); color: #323232; }
.chip-no-expiry { background: #f8fafc; color: var(--text-muted); }

/* credential URL */
.cert-url {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    text-decoration: none;
    margin-top: 0.2rem;
    margin-bottom: 12px;
    transition: opacity var(--transition);
}

.cert-url:hover { color: var(--color-orange-hover); }

/* read-more toggle */
.cert-read-more {
    font-size: 0.76rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: opacity var(--transition);
   
}
.cert-read-more:focus{
    outline: none;
    opacity: 0.75;
}
.cert-read-more:hover { opacity: 0.75; }


/* ----------------------------------------------------------
   SKILLS
   ---------------------------------------------------------- */
.skills-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.profile-skills {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    flex-grow: 1;
    scrollbar-width: none;
}

.profile-skills::-webkit-scrollbar { display: none; }

.profile-skills > li {
    background: white;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: var(--fs-xs);
    font-weight: 500;
    flex-shrink: 0;
}

/* inline skill tag (used in modals / edit views) */
.skill-list,
.has-addons {
    padding: 2px 10px;
    display: inline-block;
    background: #f6f6f6;
    border-radius: 2px;
    border: 1px solid #ccc;
}

.is-grouped-multiline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

ul.skill-listview {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

ul.skill-listview li {
    padding: 2px 10px;
    border: 1px solid #ccc;
    font-size: var(--fs-xxs);
}

.more-arrow {
    display: none;
    align-items: center;
    padding: 8px 10px;
    color: var(--color-orange);
    background: white;
    border: 1px solid #E0E0E0;
    cursor: pointer;
    font-size: var(--fs-sm);
    flex-shrink: 0;
    border-radius: 4px;
}

/* tag delete button inside skill modal */
.tag.fa {
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #4a4a4a;
    display: inline-flex;
    font-size: var(--fs-xxs);
    width: 2em;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.75em;
    white-space: nowrap;
    cursor: pointer;
}


/* ----------------------------------------------------------
   UTILITY / HELPERS
   ---------------------------------------------------------- */
.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.clamped-link {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
@media screen and (max-width: 768px) {
    .profile-wl{
        width: 100%;
    }
}

.col-gap-1r { column-gap: 1rem; }
.row-gap-1  { row-gap: 0.5rem; }


/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn-add {
    background-color: #f1f3f5;
    border: 1px solid #dee2e6;
    color: var(--text-dark);
    font-weight: 500;
}

.btn-add:hover { background-color: #e9ecef; }

.pw-btn-primary {
    padding: 4px 10px;
    font-size: var(--fs-xxs);
    border-radius: 5px;
    border: 1px solid var(--color-orange-hover);
    background-color: var(--color-orange-hover);
    color: #fff;
    cursor: pointer;
    outline: none;
}

.pw-btn-primary:hover{
    background-color: #1e2434;
    border-color: #1e2434;
    color: #fff;
}

.pw-btn-secondary {
    padding: 4px 10px;
    font-size: var(--fs-xxs);
    border-radius: 5px;
    background-color: #1e2434;
    border: 1px solid #1e2434;
    color: #fff !important;
    cursor: pointer;
    outline: none;
}
.pw-btn-secondary:hover{
    border: 1px solid var(--color-orange-hover);
    background-color: var(--color-orange-hover);
    color: #fff;
}
.pw-btn-outline {
    padding: 4px 10px;
    font-size: var(--fs-xs);
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff !important;
    color: #323232;
    outline: none;
}
a.pw-btn-outline:hover,
button.pw-btn-outline:hover,
label.pw-btn-outline:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

/* ----------------------------------------------------------
   LIKE BUTTON & PARTICLES
   ---------------------------------------------------------- */
.like__btn        { position: relative; cursor: pointer; }
.like__btn:focus  { outline: none; }

.like-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.like__btn.animate .particle { animation: particles-out 0.6s forwards; }
.like__btn.animate #icon     { animation: like-pop 0.4s ease; }

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 4px;
}

.particle {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--color);
    --percentage: calc(var(--i) / var(--total-particles));
    --theta: calc(var(--percentage) * 1turn);
    transform: rotate(var(--theta)) translateY(0) scale(0);
}

@keyframes particles-out {
    0%   { transform: rotate(var(--theta)) translateY(0) scale(1); }
    100% { transform: rotate(var(--theta)) translateY(30px) scale(0); }
}

@keyframes like-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.4); }
    60%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}


/* ----------------------------------------------------------
   VIEW-ALL LINK
   ---------------------------------------------------------- */
a.view-all-link {
    color: var(--link-color);
    font-weight: 500;
    font-size: 0.9rem;
}

a.view-all-link:hover { color: #0056b3; }


/* ----------------------------------------------------------
   SWIPER / CARD COMPONENTS
   ---------------------------------------------------------- */
.swiper-slide-text-card {
    padding: 15px;
    height: 100%;
    border-radius: 8px;
    width: 100%;
}

.swiper-slide-text-card h4 {
    font-family: var(--font-barlow);
    font-size: var(--fs-md);
    color: var(--color-orange);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.swiper-slide-text-card h4:hover{
    text-decoration: underline;
}

.swiper-slide-text-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.go-to-link {
    text-decoration: underline !important;
    font-weight: 500;
    font-size: var(--fs-sm);
    color: #323232;
}

.go-to-link:hover,
.go-to-link:focus-within { color: var(--primary-orange); }

/* smaller variant inside square cards */
.pw-sqr-card .go-to-link { font-size: var(--fs-sm); }

.ai-card-contanier .swiper-wrapper { display: flex; align-items: stretch; }
.ai-card-contanier .swiper-slide   { display: flex; height: auto !important; }

.ai-card-contanier .swiper-slide .ai-card-cate { font-size: var(--fs-xxs); }

.ai-card-contanier .cc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    transform: translateY(-50%);
    top: 50%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

#company-awards .feature-content {
    flex-direction: inherit !important;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 25px;
}


/* ----------------------------------------------------------
   SQUARE CARD  (pw-sqr-card)
   ---------------------------------------------------------- */
.pw-sqr-card {
    border-radius: 5px;
    background: #fff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.16);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pw-sqr-card-header {
    padding: 20px 20px 12px;
    margin-bottom: 0;
}

.pw-sqr-card-title {
    font-size: 21px;
    text-align: left;
    margin-bottom: 12px;
    font-family: var(--font-barlow);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    color: #323232;
}

.pw-sqr-card-header p {
    color: var(--color-text-dark);
    font-size: var(--fs-xs);
    text-align: left;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* bottom is defined once with all its properties */
.pw-sqr-card-bottom {
    padding: 12px 20px 15px;
    border-top: 1px solid #eee;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}
@media (max-width: 768px){
    .pw-sqr-card-bottom{
        flex-direction: column;
    }
}
.pw-sqr-card-profile {
    display: flex;
    gap: 10px;
}

.pw-sqr-card-profile img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    image-rendering: auto;
    transform: translate3d(0, 0, 0.1px);
    overflow-clip-margin: unset;
}

.pw-sqr-card-avatar-name {
    color: var(--color-orange);
    font-size: var(--fs-base);
    margin-bottom: 3px;
}

a.pw-sqr-card-profile:hover .pw-sqr-card-avatar-name,
a.pw-sqr-card-profile:focus-within .pw-sqr-card-avatar-name {
    color: #323232;
}

.pw-sqr-card:hover {
    background: #FFEADB;
    box-shadow: none;
}

.pw-sqr-card:hover .pw-sqr-card-bottom { border-top: 1px solid #fff; }

.pw-sqr-card-header a:hover .pw-sqr-card-title { color: var(--primary-orange); }

.pw-sqr-card .facilities-list-view ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-end;
}

.pw-sqr-card .facilities-list-view li i {
    font-size: var(--fs-xs);
    color: var(--color-text-dark);
    width: 24px;
    height: 24px;
    border: 1px solid #c2c2c2;
    text-align: center;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-sqr-card .facilities-list-view li a:hover,
.pw-sqr-card .facilities-list-view li a:hover i { color: var(--primary-orange); }


/* ----------------------------------------------------------
   RADIO BUTTONS (custom)
   ---------------------------------------------------------- */
.radio-buttons {
    display: flex;
    column-gap: 30px;
    row-gap: 10px;
}

.radio-buttons .form-group input[type="radio"] { display: none; }

.radio-buttons .form-group label {
    cursor: pointer;
    position: relative;
    font-size: var(--fs-sm);
    padding: 0 0 0 25px;
}

.radio-buttons .form-group label::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: border-color 400ms ease;
}

.radio-buttons .form-group label::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #000;
    border-radius: 50%;
    top: 50%;
    left: 1px;
    transform: translateY(-50%) scale(0);
    transition: transform 400ms ease;
}

.radio-buttons .form-group input[type="radio"]:checked + label::before {
    border-color: #000;
}

.radio-buttons .form-group input[type="radio"]:checked + label::after {
    transform: translateY(-50%) scale(0.55);
}


/* ----------------------------------------------------------
   DROPDOWN AUTOCOMPLETE
   ---------------------------------------------------------- */
.dropdown-bottom .ui-autocomplete {
    top: 100%;
    margin-top: 0;
    left: 0;
}

.add-input-button {
    font-size: var(--fs-xs);
    padding: 4px 10px !important;
    margin-top: 7px;
}

.add-input-button:hover {
    color: #fff !important;
    background-color: #1e2434 !important;
}

.add-input-button i { font-size: 11px; }


/* ----------------------------------------------------------
   SEDITOR CONTENT  (rich-text body)
   ---------------------------------------------------------- */
.seditor-content                         { text-align: left; }
.seditor-content p,
.seditor-content li                      { color: var(--color-text-muted); font-size: var(--fs-sm); }
.seditor-content li p,
.seditor-content li p:last-child         { margin-bottom: 0; }
.seditor-content ul,
.seditor-content ol                      { padding-left: 16px; }
.seditor-content ul li                   { list-style-type: disc; }
.seditor-content ol li                   { list-style-type: decimal; }
.seditor-content a                       { color: var(--color-orange-hover); }
.seditor-content a:hover                 { text-decoration: underline !important; }


/* ----------------------------------------------------------
   LISTING SECTION
   ---------------------------------------------------------- */
.stats-bar  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.stats      { display: flex; gap: 6px; flex-wrap: wrap; font-size: var(--fs-xs); }

.listing-info h3 {
    font-size: var(--fs-md);
    margin-bottom: 2px;
    display: inline-block;
    color: #323232;
}

.listing-item {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    margin-bottom: 0;
}

.listing-item:last-child { border-bottom: none; }

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.claimed-badge {
    background: #e6fcf5;
    color: #0ca678;
    border: 1px solid #0ca678;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    font-family: 'Inter', sans-serif;
}

.location      { font-size: var(--fs-xs); margin-bottom: 0; }
.location i    { margin-right: 5px; }


/* ----------------------------------------------------------
   SEARCH  (listing search bar)
   ---------------------------------------------------------- */
.search-container { position: relative; width: 230px; display: flex; justify-content: center;}

.search-container input {
    width: 100%;
    padding: 6px 35px 6px 15px;
    border-radius: 8px;
    outline: none;
    border: 1px solid #ddd;
    font-size: var(--fs-xs);
}

.search-container .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}
a.search-container-clear{
    color: #dc3545;
    background-color: var(--color-bg-soft);
    padding: 2px 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;

}
a.search-container-clear:hover{
    background-color: #dc3545;
    color: #fff;
}

.listing-controls {
    display: flex;
    background: var(--color-bg-soft);
    border-radius: 6px;
    padding: 3px;
    gap: 4px;
}

.listing-controls > a     { position: relative; }
.listing-controls i       { cursor: pointer; color: #555; font-size: var(--fs-xxs); padding: 5px; }
.listing-controls i:hover { color: var(--primary-blue); }


/* ----------------------------------------------------------
   PRODUCT TABS
   ---------------------------------------------------------- */
.product-tabs-container { margin: 15px 0 0; overflow: hidden; }
.product-tabs-list      { display: flex; gap: 5px; }

.product-tab-item {
    padding: 6px 15px;
    cursor: pointer;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #323232;
    background: var(--color-bg-soft);
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.product-tab-item.active {
    color: var(--color-orange);
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    z-index: 1;
}

.product-tab-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 0;
}

.sub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 9px;
}

.sub-item:last-child { border-bottom: none; }
.sub-item span       { font-size: var(--fs-sm); font-weight: 500; }

.pw-aihub-chips-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pw-aihub-chips-wrapper .pw-aihub-chips{
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}

.pw-aihub-chips-wrapper .pw-aihub-chips.pw-chip--ai{
    background: #FFF3E0;
    color: #e65100;
    /* border: 1px solid #FFCC80; */
}
.pw-aihub-chips-wrapper .pw-aihub-chips.pw-chip--industry{
    background: #E8F5E9;
    color: #1b5e20;
    /* border: 1px solid #A5D6A7; */
}

/* ----------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------- */
.pagination a.page-link {
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    width: auto;
    margin: 0;
    border-radius: 0;
}

.pagination .page-item.active .page-link {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    color: var(--primary-orange);
}


/* ----------------------------------------------------------
   TYPOGRAPHY & FORMS
   ---------------------------------------------------------- */
.pw-h4       { font-size: var(--fs-md); font-family: var(--font-barlow); color: #323232; }
form label   { font-size: var(--fs-xs); margin-bottom: 4px; }
label.error  { margin-bottom: 0; float: none; display: block;}

.form-group        { margin-bottom: 14px; }
.form-control      { width: 100%; font-size: var(--fs-sm); padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.form-section-title { color: var(--color-orange); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.3px; margin-bottom: 10px; }


/* ----------------------------------------------------------
   MODALS
   ---------------------------------------------------------- */
.modal-content { border: none; border-radius: 12px; overflow: hidden; text-align: left; }
@media (min-width: 576px) {
    .modal-sm {
        max-width: 452px;
    }

}
@media (min-width: 576px) and (max-width: 992px) {
    .modal-dialog.modal-big {
        max-width: 80%;
    }
}
@media (min-width: 992px){
    .modal-big  { width: 85%; max-width: 1200px; min-width: 200px; }
}

.modal-body,
.modal-header,
.modal-footer  { padding-inline: 20px; }
.modal-body    { padding-block: 20px; }


@media (min-height: 400px){
.modal-body{
    max-height: calc( 100vh - 2*1.75rem - 120px);
    overflow:auto;
}
}
@media (max-width: 786px) {
    .modal-body{
        max-height: unset;
    }
}
/* Summernote overrides */
.form-group.note-form-group,
.form-check.sn-checkbox-open-in-new-window,
.form-check.sn-checkbox-use-protocol     { text-align: left; }
.btn i[class^="note-icon"]               { position: static; }
.web-view-content .note-editable         { margin-bottom: 0 !important; }


/* ----------------------------------------------------------
   EDIT COVER BUTTON
   ---------------------------------------------------------- */
.edit-cover-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: var(--fs-xxs);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.edit-cover-btn:hover { background: var(--color-orange); }


/* ----------------------------------------------------------
   PROFILE PHOTO EDITOR
   ---------------------------------------------------------- */
.pe-zone-wrap {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1714;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 0 0 3px #e8e3dc, 0 0 0 7px #fff, 0 0 0 10px #e8e3dc;
}

.pe-zone-wrap.drag-over { box-shadow: 0 0 0 3px var(--color-orange), 0 0 0 7px #fff, 0 0 0 10px var(--color-orange); }
.pe-zone-wrap:active    { cursor: grabbing; }

#peImg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    will-change: transform;
    pointer-events: none;
    max-width: none;
    max-height: none;
    opacity: 0;
    transition: opacity 0.2s;
}

#peImg.loaded { opacity: 1; }

.pe-empty-hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #9a9188;
    font-size: var(--fs-xs);
    font-weight: 500;
    pointer-events: none;
    transition: opacity 0.25s;
}

.pe-empty-hint i         { font-size: 26px; color: var(--color-orange); opacity: 0.45; }
.pe-empty-hint.gone      { opacity: 0; visibility: hidden; }


/* ----------------------------------------------------------
   BANNER PREVIEW
   ---------------------------------------------------------- */
.bm-preview-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 10 / 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
    border: 2px dashed #ddd;
}
.bm-preview-wrap.drag-over{
    border-color: var(--color-orange)
}

.bm-preview-wrap img               { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.3s; }
.bm-preview-wrap:hover img         { filter: brightness(0.82); }
.bm-preview-wrap input[type="file"]{ position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }

.bm-hover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: transparent;
    font-size: var(--fs-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s, color 0.3s;
    pointer-events: none;
}

.bm-preview-wrap.has-image:hover .bm-hover-overlay { background: rgba(0, 0, 0, 0.5); color: #fff; }

.bm-empty-hint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #aaa;
}

.bm-empty-icon { font-size: 28px; color: #ddd; }
.bm-empty-text { font-size: var(--fs-xs); }


/* ----------------------------------------------------------
   MISC
   ---------------------------------------------------------- */
.big-container          { padding: 0; }
body.modal-open         { overflow: unset !important; padding-right: 0 !important; }
html:has(body.modal-open) { overflow: hidden;}
.modal.show             { overflow-x: hidden; overflow-y: auto; }
.simple-lightbox-disable-scroll { overflow: hidden; height: auto; }


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .bm-empty-hint .bm-empty-icon{
        display: none;
    }
    .bm-empty-text{
        font-size: var(--fs-micro);
    }
    .bm-preview-wrap{
        border: 1px dashed #ddd;
        border-radius: 0px;
    }
    /* .profile-top-bg  { aspect-ratio: 10 / 2; } */
    .profile-top-bg{
        border-radius: 8px 8px 0px 0px;   
    }
    .edit-cover-btn{
        top: 3px;
        right: 3px;
        padding: 3px 7px;
        top: 50%;
        transform: translateY(-50%);
    }
    .profile-sec-body{
        gap: 10px;
    }
    .profile-sec {
        flex-direction: column;
        padding: 16px;
    }

    .profile-sec .profile-img {
        margin-inline: auto;
        height: 100px;
        width: 100px;
        margin-top: -25px;
        border-width: 3px;

    }

    .profile-other-info ul {
        flex-direction: column;
    }

    .profile-other-info ul li {
        border: none;
        padding: 0;
        max-width: 100%;
    }

    .listing-header { flex-direction: column; row-gap: 12px; }
    .lc-image       { flex-direction: column; }
    .lc-image img   { object-position: left; }

    .cert-meta {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .modal-body,
    .modal-header,
    .modal-footer { padding: 15px; }
}

@media (min-width: 576px) and (max-width: 992px) {
    .modal-dialog.modal-lg { max-width: 80%; }
}

@media screen and (max-width: 786px) {
    .skills-wrapper{
        display: none;
    }
}

/* ── Modal sizing ── */
#addAIWorkflow .modal-xl       { max-width: 95vw !important; }
#addAIWorkflow .modal-content  { display: flex; flex-direction: column; height: 90vh; min-height: 200px; }
 
/* modal-body is the scroll container — everything sticky is relative to it */
#addAIWorkflow .modal-body     { overflow-y: auto; position: relative; }
 
/* ── Summernote frame ── */
@media (min-width: 986px){
.aihub-editor-wrap{
    width: calc(100% - 200px)
}
}
#summer-note-edit-workflow + .note-editor.note-frame,
.aihub-editor-wrap .note-editor.note-frame {
    border: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.pw-editor-table::-webkit-scrollbar {
  height: 10px;
  cursor: auto;
}



/* ── Sticky toolbar — higher specificity instead of !important where possible ── */

/* Common style for all heading labels */
.aihub-editor-wrap .note-editor  h1::before,
.aihub-editor-wrap .note-editor  h2::before,
.aihub-editor-wrap .note-editor  h3::before,
.aihub-editor-wrap .note-editor  h4::before,
.aihub-editor-wrap .note-editor  h5::before,
.aihub-editor-wrap .note-editor  h6::before {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    margin-right: 8px;
    border-radius: 4px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    font-family: var(--font-inter);
    margin-left: -10px;
}

/* Individual heading labels */
.aihub-editor-wrap .note-editor  h1::before {
    content: "H1";
    background: #fff3e0;
    color: #ff6a00;
    font-family: var(--font-inter);
}

.aihub-editor-wrap .note-editor  h2::before {
    content: "H2";
    background: #e3f2fd;
    color: #1976d2;
}

.aihub-editor-wrap .note-editor  h3::before {
    content: "H3";
    background: #e8f5e9;
    color: #2e7d32;
}

.aihub-editor-wrap .note-editor  h4::before {
    content: "H4";
    background: #f3e5f5;
    color: #6a1b9a;
}

.aihub-editor-wrap .note-editor  h5::before {
    content: "H5";
    background: #fff8e1;
    color: #f9a825;
}

.aihub-editor-wrap .note-editor  h6::before {
    content: "H6";
    background: #eceff1;
    color: #455a64;
}
.aihub-editor-wrap .note-editor  h1,
.aihub-editor-wrap .note-editor .dropdown-item h1,
.aihub-editor-wrap .note-editor h2,
.aihub-editor-wrap .note-editor .dropdown-item h2,
.aihub-editor-wrap .note-editor h3,
.aihub-editor-wrap .note-editor .dropdown-item h3,
.aihub-editor-wrap .note-editor h4,
.aihub-editor-wrap .note-editor .dropdown-item h4,
.aihub-editor-wrap .note-editor h5,
.aihub-editor-wrap .note-editor .dropdown-item h5,
.aihub-editor-wrap .note-editor h6,
.aihub-editor-wrap .note-editor .dropdown-item h6{
    padding-left: 10px !important;
}
.aihub-editor-wrap .note-editor  h1 {
    border-left: 4px solid #ff6a00;
}

.aihub-editor-wrap .note-editor  h2 {
    border-left: 4px solid #1976d2;
}

.aihub-editor-wrap .note-editor  h3 {
    border-left: 4px solid #2e7d32;
}

.aihub-editor-wrap .note-editor  h4 {
    border-left: 4px solid #6a1b9a;
}

.aihub-editor-wrap .note-editor  h5 {
    border-left: 4px solid #f9a825;
}

.aihub-editor-wrap .note-editor  h6 {
    border-left: 4px solid #455a64;
}

.aihub-editor-wrap .note-editor .note-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    padding: 5px 7px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
 
/* ── Editor area ── */
.aihub-editor-wrap .note-editor .note-editable {
    background: #fff;
    color: var(--color-text-dark);
    font: 400 var(--fs-sm) / 1.8 sans-serif;
    padding: 18px;
    min-height: 500px;
}
 
.aihub-editor-wrap .note-editor .note-statusbar {
    background: var(--color-bg-soft);
    border-top: 1px solid var(--color-border);
}
 
/* ==========================================================
   LAYOUT — sidebar + editor side by side
   ========================================================== */
#addAIWorkflow .d-flex { align-items: flex-start; }
 
/* ── Sticky sidebar ── */
.aihub-sb {
    width: 180px;
    flex-shrink: 0;
    background: #fafafa;
    border-right: 1px solid var(--color-border);
    padding: 14px 10px 24px;
    position: sticky;
    top: 0;
    /* FIX: was 100vh — must be relative to the 90vh modal, not the viewport */
    max-height: calc(90vh - 60px);
    overflow-y: auto;
    align-self: flex-start;
}
.aihub-sb-close-btn {
    background-color: #dc3545;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1051;
    top: 34px;
    right: 10px;
    display: none;
}

 
.aihub-sb::-webkit-scrollbar       { width: 3px; }
.aihub-sb::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
 
.sb-group-label {
    /* FIX: 10px is below --fs-xxs (12px); use --fs-micro */
    font-size: var(--fs-micro);
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
 
/* ── Sidebar block buttons ── */
.aihub-wb-full {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px 9px;
    border-radius: 6px;
    margin-bottom: 3px;
    border: 1px solid var(--color-border);
    background: #fff;
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}
 
.aihub-wb-full:hover {
    border-color: var(--color-orange);
    background: #fff8f2;
}
 
.aihub-wb-icon {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    flex-shrink: 0;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
 
.aihub-wb-icon i {
    font-size: var(--fs-xxs);
    color: var(--color-text-muted);
}
 
.aihub-wb-full:hover .aihub-wb-icon {
    background: var(--color-orange);
    border-color: var(--color-orange);
}
 
.aihub-wb-full:hover .aihub-wb-icon i { color: #fff; }
 
.aihub-wb-name {
    /* FIX: was "Barlow Condensed", sans-serif */
    font-family: var(--font-barlow);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
}
 
.aihub-wb-full:hover .aihub-wb-name { color: var(--color-orange); }
 
 
/* ==========================================================
   SMART BLOCK WIDGET STYLES
   ========================================================== */
 
.aihub-editor-wrap .wc-wrap {
    display: block;
    margin: 8px 0;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}
 
/* Card shell */
.aihub-editor-wrap .wc {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #fff;
    display: block;
    position: relative;
    transition: border-color var(--transition);
}
 
 
/* Widget header */
.aihub-editor-wrap .wc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
    border-radius: 6px 6px 0 0;
}
 
.aihub-editor-wrap .wc-lbl {
    /* FIX: was "Barlow Condensed", sans-serif */
    font-family: var(--font-barlow) !important;
    /* FIX: was 11px — use --fs-micro */
    /* font-size: var(--fs-micro); */
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #323232;
    display: flex;
    align-items: center;
    gap: 5px;
}
 
.aihub-editor-wrap .wc-lbl i,
.aihub-editor-wrap .wc-lbl .fa {
    color: var(--color-orange);
    /* FIX: was 11px */
    font-size: var(--fs-micro);
}
 
.aihub-editor-wrap .wc-acts { display: flex; gap: 4px; }
 
/* Action buttons */
.aihub-editor-wrap .wca {
    background: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    /* FIX: was 11px */
    font-size: var(--fs-micro);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    color: #aaa;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    pointer-events: auto;
    -webkit-user-select: auto;
    user-select: auto;
}
 
.aihub-editor-wrap .wca:hover          { border-color: #aaa; color: var(--color-text-mid); }
.aihub-editor-wrap .wca.del            { color: #dc3545; border-color: #f5c6cb; }
.aihub-editor-wrap .wca.del:hover      { background: #dc3545; border-color: #dc3545; color: #fff; }
 
/* FIX: hover was using hardcoded #ff720b — now uses token */
.aihub-editor-wrap .wca.wca-copy:hover { background: var(--color-orange); border-color: var(--color-orange); color: #fff; }
 
/* Editable fields */
.aihub-editor-wrap .wf {
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
    outline: none;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 1.4em;
    pointer-events: auto;
    display: block;
    width: 100%;
    line-height: 1.6;
    border-radius: 3px;
    transition: background var(--transition);
}
 
/* FIX: was rgba(255,114,11,.04) — now derived from token */
.aihub-editor-wrap .wf:focus { background: rgba(255, 114, 11, 0.04); }
 
/* Widget body */
.aihub-editor-wrap .wc-body {
    display: block;
    padding: 10px 12px 12px;
    /* FIX: was 14px — use --fs-sm */
    font-size: var(--fs-sm);
    color: var(--color-text-dark);
    line-height: 1.7;
}
 
/* Add-item dashed button */
.aihub-editor-wrap .wc-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 4px 10px 10px;
    padding: 6px;
    width: calc(100% - 20px);
    background: none;
    border: 1px dashed var(--color-divider);
    border-radius: 4px;
    /* FIX: was 11px */
    font-size: var(--fs-micro);
    font-weight: 600;
    color: #ccc;
    cursor: pointer;
    transition: all var(--transition);
    pointer-events: auto;
    -webkit-user-select: auto;
    user-select: auto;
}
 
/* FIX: hover was #ff720b — now uses token */
.aihub-editor-wrap .wc-add-btn:hover { border-color: var(--color-orange); color: var(--color-orange); }
 
/* List-item × button */
.aihub-editor-wrap .li-rm {
    background: none;
    border: none;
    color: #8d8d8d;
    cursor: pointer;
    /* FIX: was 10px */
    font-size: var(--fs-micro);
    padding: 2px 4px;
    border-radius: 3px;
    transition: color var(--transition);
    pointer-events: auto;
    -webkit-user-select: auto;
    user-select: auto;
    flex-shrink: 0;
}
 
.aihub-editor-wrap .li-rm:hover { color: #dc3545; }
 
 
/* ── Callout variants ── */
.aihub-editor-wrap .wc-note,
.aihub-editor-wrap .wc-tip,
.aihub-editor-wrap .wc-warn,
.aihub-editor-wrap .wc-danger { border-left: 3px solid var(--color-orange); }
 
.aihub-editor-wrap .wc-tip    { border-left-color: #28a745; }
.aihub-editor-wrap .wc-warn   { border-left-color: #ffc107; }
.aihub-editor-wrap .wc-danger { border-left-color: #dc3545; }
 
 
/* ── Prompt Block ── */
.aihub-editor-wrap .wc-prompt { border-left: 3px solid var(--color-orange); }
 
.aihub-editor-wrap .prompt-field {
    font-family: "Courier New", monospace;
    /* FIX: was 13px — use --fs-xs */
    font-size: var(--fs-xs);
    line-height: 1.8;
    color: var(--color-text-dark);
    padding: 12px;
    background: #fffcf9;
    display: block;
    width: 100%;
    border-radius: 0 0 5px 5px;
}
 
 
/* ── Prompt Chain ── */
.aihub-editor-wrap .chain-steps { padding: 0; }
 
.aihub-editor-wrap .cs {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-bg-soft);
}
 
.aihub-editor-wrap .cs:last-of-type { border-bottom: none; }
 
.aihub-editor-wrap .cs-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-orange);
    color: #fff;
    /* FIX: was 11px */
    font-size: var(--fs-micro);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
 
.aihub-editor-wrap .cs-body  { flex: 1; min-width: 0; }
 
.aihub-editor-wrap .cs-role {
    /* FIX: was "Barlow Condensed", sans-serif */
    /* FIX: was 12px — use --fs-xxs */
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}
 
.aihub-editor-wrap .cs-txt {
    /* FIX: was 13px — use --fs-xs */
    font-size: var(--fs-xs);
    color: var(--color-text-mid);
}
 
.aihub-editor-wrap .cs-rm {
    background: none;
    border: none;
    color: var(--color-divider);
    cursor: pointer;
    /* FIX: was 10px */
    font-size: var(--fs-micro);
    padding: 2px 4px;
    flex-shrink: 0;
    margin-top: 4px;
    transition: color var(--transition);
    pointer-events: auto;
}
 
.aihub-editor-wrap .cs-rm:hover { color: #dc3545; }
 
 
/* ── FAQ ── */
.aihub-editor-wrap .faq-rows { padding: 0; }
 
.aihub-editor-wrap .faq-row {
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-bg-soft);
}
 
.aihub-editor-wrap .faq-row:last-child { border-bottom: none; }
 
.aihub-editor-wrap .faq-q-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 5px;
}
 
.aihub-editor-wrap .faq-q-ic         { flex-shrink: 0; padding-top: 2px; line-height: 1.6; }
.aihub-editor-wrap .faq-q-ic.fa      { display: none; }
 
.aihub-editor-wrap .faq-q-ic::before {
    content: "Q";
    /* FIX: was "Barlow Condensed", sans-serif */
    font-family: var(--font-barlow);
    /* FIX: was 12px */
    font-size: var(--fs-xxs);
    font-weight: 800;
    color: var(--color-orange);
}
 
.aihub-editor-wrap .faq-q-row .faq-q {
    /* FIX: was 13px */
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-text-dark);
    flex: 1;
}
 
.aihub-editor-wrap .faq-a-row  { display: flex; align-items: flex-start; gap: 6px; padding-left: 2px; }
.aihub-editor-wrap .faq-a-ic   { flex-shrink: 0; padding-top: 2px; line-height: 1.6; }
.aihub-editor-wrap .faq-a-ic.fa { display: none; }
 
.aihub-editor-wrap .faq-a-ic::before {
    content: "A";
    /* FIX: was "Barlow Condensed", sans-serif */
    font-family: var(--font-barlow);
    /* FIX: was 12px */
    font-size: var(--fs-xxs);
    font-weight: 800;
    color: #aaa;
}
 
.aihub-editor-wrap .faq-a-row .faq-a {
    /* FIX: was 13px */
    font-size: var(--fs-xs);
    color: var(--color-text-mid);
    flex: 1;
}
 
 
/* ── Quote ── */
.aihub-editor-wrap .wc-quote .cs-rm {
    float: right;
    position: relative;
    z-index: 1;
    /* FIX: was 14px — use --fs-sm */
    margin-right: 3px;    
    border: 1px solid var(--color-border);
    padding: 2px 8px;
}
 
.aihub-editor-wrap blockquote.q-body {
    /* FIX: was 18px — use --fs-md */
    font-size: var(--fs-md);
    margin: 0;
    font-style: italic;
    color: #555;
    /* FIX: was "Barlow Condensed", sans-serif */
    font-family: var(--font-barlow) !important;
    padding: 20px 20px 20px 50px;
    border-left: 4px solid var(--color-orange);
    line-height: 1.4;
    position: relative;
    background: var(--color-bg-soft);
    float: none;
    font-weight: 500;
    letter-spacing: 0.2px;
}
 
.aihub-editor-wrap blockquote.q-body::before {
    font-family: Arial;
    content: "\201C";
    color: #555;
    font-size: 4em;
    position: absolute;
    left: 7px;
    top: -10px;
}
 
 
/* ── Code Block ── */
.aihub-editor-wrap .wc-code {
    border: 0.5px solid var(--color-divider);
    border-radius: 8px;
    overflow: hidden;
    margin: 16px 0;
}
 
.aihub-editor-wrap .wc-code .code-lang {
    font-family: monospace;
    /* FIX: was 11px */
    font-size: var(--fs-micro);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    padding: 2px 16px;
    display: inline;
}
 
.aihub-editor-wrap .wc-code .code-body {
    font-family: 'Fira Code', 'Consolas', monospace;
    /* FIX: was 13px */
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--color-text-dark);
    background: #fff;
    padding: 14px 16px;
    white-space: pre-wrap;
    tab-size: 4;
}
 
.aihub-editor-wrap .wc-code .wca.del:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}
 
 
/* ── Product tabs (profile page) ── */
.product-tab-content .tab-pane        { display: none; max-height: 200px; overflow-y: auto; overflow-x: hidden; }
.product-tab-content .tab-pane.active { display: block; }
 

.pw-table-scroll {
    width: 100%;
    overflow-x: auto;
    margin: 8px 0;
}

.pw-editor-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;       
  border-collapse: collapse;
}

.pw-editor-table th,
.pw-editor-table td {
    padding: 8px 12px;
    border: 1px solid #E7E7F1;
    text-align: left;
    vertical-align: top;
    min-width: 80px;
}

.pw-editor-table tr:nth-child(even) td { background: #fdfdfd; }
.pw-editor-table tr:hover td { background: #fff8f2; }
.pw-editor-table tr:first-child td{ font-weight: 800 }


/* ── Detail/view page — no JS wrapper, scroll on table itself ── */
.pw-blog-content .pw-editor-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: max-content;
    min-width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

 
/* ── Mobile ── */
@media (max-width: 768px) {
    #addAIWorkflow .modal-xl      { max-width: calc(100vw - 0.5rem)  !important; }
    #addAIWorkflow .modal-content { height: auto !important;}
    .aihub-editor-wrap            { width: 100% !important; }

}


.ai-editor-wrapper{
    display: flex;
    position: relative;
}

/* 2. Desktop Sidebar (Your existing styles or slightly adjusted) */
.aihub-sb {
    width: 200px;
    flex-shrink: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

/* 3. Mobile "Absolute Dropdown" Transformation */
@media (max-width: 986px) {
    .aihub-sb {
        /* This turns the sidebar into a floating box */
        position: absolute !important;
        top: 42px;
        left: 10px;
        right: 10px;
        width: auto;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
        
        /* Modern Floating Look */
        background: #ffffff !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        padding: 15px;
        z-index: 1050;

        /* Hidden State - Toggle this with a class */
        display: none; 
    }

    /* When you add this class via JS, it pops up */
    .aihub-sb.active {
        display: block !important;
        animation: slideInMobile 0.2s ease-out;
    }


}

@keyframes slideInMobile {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.readmore-container {
    position: relative;
    /* margin-bottom: 10px; */
}

.readmore-content {
    max-height: calc(1.5em * 5); /* 5 lines */
    overflow: hidden;
    line-height: 1.5em;
    position: relative;
    transition: max-height 0.4s ease;
}
.readmore-content > p:first-child:has(br:only-child){
    display: none;
}

/* Gradient overlay at bottom */
/* Show gradient overlay only when content exceeds max height and not expanded */
.readmore-content.gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}


.readmore-content.expanded {
    max-height: 1000px; /* fully expand */
}

.readmore-content.expanded.gradient::after {
    opacity: 0; /* hide overlay when expanded */
}

.readmore-btn {
    display: none;
    margin-top: 5px;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    color: #323232;
    text-decoration: underline;
}
.readmore-btn:hover{
    color: var(--color-orange);
    text-decoration: underline;
}

.listing-item{
    float: none;
}
#listingContainer {
    position: relative;
}

.listing-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.listing-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #ff720b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}


.product-tabs-container { 
    margin: 15px 0 0; 
    overflow: visible;          /* allow tooltips to escape upward */
    position: relative;
    z-index: 0;
}

.product-tabs-list { 
    display: flex; 
    gap: 5px; 
    position: relative;
    z-index: 2;
}

.product-tab-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 0;
    overflow: hidden;           /* keep this — handles horizontal scroll */
    position: relative;
    z-index: 1;
}

/* Only the FIRST sub-item needs tooltip escape */

.tab-pane .sub-item:first-child .listing-controls {
    overflow: visible;
    position: relative;
    z-index: 20;
}

/* Rest of sub-items stay normal */
.sub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 9px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.tab-pane .sub-item:first-child {
    overflow: visible;
    position: relative;
    z-index: 20;
}
.tab-pane .sub-item:last-child {
    border-bottom: none;
}

.ai-hub-tap-pane .sub-item{
    padding: 8px;
}

.listing-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tab-pane-heading{
    font-size: 13px;
}
/* Tool Tip */
.tolt[data-microtip-position|="top"]::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ff720b transparent transparent transparent;
}
.tolt[data-microtip-position="left"]::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) !important;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ff720b;
  left: -6px;
}
.tolt[data-microtip-position="left"]::after{
    margin-right: 6px;
    pointer-events: none; 
}

.pw-blog-content  .wc-prompt,
.pw-blog-content  .wc-code{
    overflow: auto;
    max-height: 400px
}
.pw-blog-content .wc-prompt .wc-head,
.pw-blog-content .wc-code .wc-head{
    position: sticky;
    top: 0px;
}
.simple-lightbox-content > img{
    object-fit: contain;
    object-position: center;
}


/* ── FILTER SECTION ── */
.filter-wrapper {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0px 1.2rem;
    text-align: left;
    z-index: 10;
}
 
.filter-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 
        minmax(0, 400px) 
        minmax(0, 220px) 
        minmax(0, 220px);
    gap: 12px;
    align-items: flex-end;
}
 
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
 
.pw-filter-group .filter-group:nth-child(1) {
    max-width: 400px;
    width: 100%;
}
 
.pw-filter-group .filter-group:nth-child(2),
.pw-filter-group .filter-group:nth-child(3) {
    max-width: 220px;
    width: 100%;
}
 
.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
 
/* Search Box */
.search-box { position: relative; }
.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.search-box input {
    width: 100%;
    max-width: 400px;
    padding: 8px 14px 8px 42px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    background: var(--bg);
    outline: none;
}
 
/* Select Box */
.select-box { position: relative; }
.select-box svg.sel-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
}
.select-box select {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: var(--bg);
    appearance: none;
    cursor: pointer;
    outline: none;
}
.select-box svg.chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
 
/* Active Filter Tags */
.filter-tags {
    display: none;
    align-items: center;
    margin-top: 15px;
}
 
.filter-tags-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 8px;
}
 
.tags-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
 
.active-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
 
/* Category Tag - Orange */
.active-tag.tag-cat {
    background: #FFF3E0;
    border: 1px solid #FFCC80;
    color: #e65100;
}
 
/* Industry Tag - Green */
.active-tag.tag-ind {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}
 
/* Search Tag - Neutral/Grey */
.active-tag.tag-search {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
}
 
.active-tag:hover {
    filter: brightness(0.95);
}
 
.clear-all {
    margin-left: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}
 
.clear-all:hover {
    color: var(--text-secondary);
}
 
/* Multi-Select Container */
.multiselect-container {
    position: relative;
    width: 100%;
}
 
.select-box.multi {
    cursor: pointer;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 40px 8px 14px;
    font-size: 0.875rem;
    min-height: 37px;
    display: flex;
    align-items: center;
    position: relative;
}
 
.select-box.multi .placeholder-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}
 
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    z-index: 100;
    margin-top: 5px;
    max-height: 300px;
    min-height: 100px;
    overflow-y: auto;
    padding: 8px;
}
 
.dropdown-content label {
    display: flex;
    align-items: center;
    padding: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}
 
.dropdown-content label:hover {
    background-color: var(--accent-light);
}
 
.dropdown-content input {
    margin-right: 10px;
    accent-color: var(--accent);
}
 
.multiselect-container.active .dropdown-content {
    display: block;
}
 
/* Custom Select */
.custom-select {
    display: none;
    width: 100%;
    border: 1px solid var(--border);
    background: white;
    padding: 5px;
    outline: none;
}
 
.multiselect-container.active .custom-select {
    display: block;
    position: absolute;
    z-index: 100;
}
 
.custom-select option {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    white-space: normal;
    min-height: 30px;
}
 
.custom-select option:checked {
    background: var(--accent) linear-gradient(0deg, var(--accent) 0%, var(--accent) 100%);
    color: white;
    border-bottom: 1px solid white;
}
 
.custom-select:focus {
    border: 1px solid #e2e0d8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px #fff4ed;
}
 
/* User Hub Filter Override */
.user-hub.user-filter .filter-wrapper {
    background-color: transparent;
    border: none;
    padding: 0px;
}
 
.user-hub.user-filter .filter-grid {
    background-color: var(--surface);
    box-shadow: 2px 2px 10px 0 rgb(0 0 0 / .16);
    -webkit-box-shadow: 2px 2px 10px 0 rgb(0 0 0 / .16);
    border-radius: 8px;
    padding: 1rem;
}
 
/* ── Card Labels ── */
.pw-sqr-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
 
.pw-sqr-label {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}
 
.pw-sqr-label-md {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}
 
/* AI category — orange tint */
.pw-sqr-label--ai {
    background: #FFF3E0;
    color: #bb4201;
    border: 1px solid #FFCC80;
}
 
/* Industry — green tint */
.pw-sqr-label--industry {
    background: #E8F5E9;
    color: #144717;
    border: 1px solid #A5D6A7;
}
 
/* On card hover — keep labels readable */
.pw-sqr-card:hover .pw-sqr-label--ai {
    background: #FFE0B2;
    border-color: #FF9800;
}
 
.pw-sqr-card:hover .pw-sqr-label--industry {
    background: #C8E6C9;
    border-color: #66BB6A;
}
 
.pw-sqr-label-prefix {
    font-weight: 400;
    opacity: 0.9;
    margin-right: 2px;
}
 
/* ── AI Hub Page Heading ── */
.ai-hub-page-heading {
    font-size: 40px;
    font-family: var(--font-barlow);
    margin-block: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
 
/* ── Responsive ── */
@media screen and (max-width: 1200px) {
    .ai-hub-page-heading {
        font-size: 38px;
    }
}
 
@media screen and (max-width: 992px) {
    .ai-hub-page-heading {
        font-size: 32px;
    }
}
 
@media (max-width: 768px) and (min-width: 600px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .filter-grid > :first-child {
        grid-column: span 2;
    }
}
 
@media screen and (max-width: 768px) {
    .ai-hub-page-heading {
        font-size: 28px;
        margin-block: 20px 30px;
    }
}
 
@media (max-width: 600px) {
    .filter-grid { grid-template-columns: 1fr; }
}
 