/* Accmaa Instructors Pro — اعرف مدربك (كحلي / ذهبي) */

.accmaa-meet-section {
    padding: 48px 20px 56px;
    background: #fff;
}
.accmaa-meet-inner { max-width: 1200px; margin: 0 auto; }
.accmaa-meet-head { text-align: center; margin-bottom: 36px; }
.accmaa-meet-head h2 {
    margin: 0 0 10px; color: #0A3669;
    font-size: clamp(1.45rem, 3vw, 1.95rem); font-weight: 800;
}
.accmaa-meet-head p {
    margin: 0 auto; max-width: 640px; color: #5c7289; font-size: 1rem; line-height: 1.7;
}

.accmaa-meet-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 22px 16px;
    justify-items: center;
}
@media (min-width: 900px) {
    .accmaa-meet-row {
        grid-template-columns: repeat(6, 1fr);
    }
}

.accmaa-meet-card {
    width: 100%; max-width: 190px;
    background: transparent; border: 0; padding: 0;
    cursor: pointer; text-align: center;
    font-family: inherit; color: inherit;
    transition: transform 0.22s ease;
}
.accmaa-meet-card:hover { transform: translateY(-4px); }
.accmaa-meet-photo {
    position: relative; width: 100%; aspect-ratio: 3 / 4;
    border-radius: 18px 18px 40% 40% / 18px 18px 14% 14%;
    overflow: hidden; background: linear-gradient(160deg, #0A3669, #061f3d);
    box-shadow: 0 10px 28px rgba(10,54,105,0.14);
}
.accmaa-meet-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.accmaa-meet-fallback {
    width: 100%; height: 100%; display: grid; place-items: center;
    color: #e8c547; font-size: 2.4rem; font-weight: 800;
}
.accmaa-meet-wave {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 28%;
    background:
        radial-gradient(120% 80% at 50% 0%, transparent 55%, #0A3669 56%),
        linear-gradient(180deg, transparent 30%, #c9a227 100%);
    opacity: 0.95; pointer-events: none;
}
.accmaa-meet-logo {
    position: absolute; top: 10px; inset-inline-end: 10px;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em;
    color: #0A3669; background: rgba(255,255,255,0.92);
    padding: 3px 8px; border-radius: 999px;
}
.accmaa-meet-body { padding: 14px 4px 0; }
.accmaa-meet-body h3 {
    margin: 0 0 6px; color: #0A3669; font-size: 0.98rem; font-weight: 800; line-height: 1.35;
}
.accmaa-meet-body p {
    margin: 0 0 8px; color: #6b7c8f; font-size: 0.78rem; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.4em;
}
.accmaa-meet-rating {
    display: inline-flex; align-items: center; gap: 4px;
    color: #d4af37; font-size: 0.82rem;
}
.accmaa-meet-rating em { color: #8a9aab; font-style: normal; font-size: 0.72rem; }
.accmaa-inst-stars { letter-spacing: 1px; }

.accmaa-meet-cta { text-align: center; margin-top: 32px; }
.accmaa-meet-all {
    background: none; border: 0; font-family: inherit; cursor: pointer;
    color: #0A3669; font-weight: 800; font-size: 1rem;
    text-decoration: underline; text-underline-offset: 4px;
}
.accmaa-meet-all:hover { color: #c9a227; }

/* Directory page */
.accmaa-inst-hero {
    margin: 0 0 28px; padding: 36px 28px; border-radius: 20px;
    background:
        linear-gradient(120deg, rgba(6,31,61,0.88), rgba(10,54,105,0.82)),
        url('assets/images/visual-library/photos/brand-management.jpg') center/cover;
    color: #faf3dc; text-align: center;
}
.accmaa-inst-hero h1 {
    margin: 8px 0; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff;
    -webkit-text-fill-color: #fff;
}
.accmaa-inst-hero p { margin: 0 auto; max-width: 560px; opacity: 0.9; }
.accmaa-inst-crumb {
    margin: 0 0 16px; font-size: 0.85rem; color: #5c7289;
}
.accmaa-inst-hero .accmaa-inst-crumb,
.accmaa-inst-hero .accmaa-inst-crumb .linkish { color: rgba(250,243,220,0.9); }
.linkish {
    background: none; border: 0; padding: 0; font: inherit; color: inherit;
    cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

.accmaa-dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.accmaa-dir-card {
    background: #fff; border-radius: 18px; overflow: hidden; cursor: pointer;
    border: 1px solid rgba(10,54,105,0.08);
    box-shadow: 0 10px 28px rgba(10,54,105,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.accmaa-dir-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10,54,105,0.12);
}
.accmaa-dir-photo {
    position: relative; aspect-ratio: 1 / 1.05;
    background: linear-gradient(160deg, #0A3669, #061f3d);
}
.accmaa-dir-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.accmaa-dir-wave {
    position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
    background: linear-gradient(180deg, transparent, #0A3669 70%),
        radial-gradient(ellipse at 30% 100%, #c9a227 0%, transparent 55%);
    opacity: 0.9;
}
.accmaa-dir-body { padding: 16px 16px 18px; text-align: center; }
.accmaa-dir-body h3 { margin: 0 0 4px; color: #0A3669; font-size: 1.05rem; }
.accmaa-dir-spec { margin: 0 0 8px; color: #c9a227; font-weight: 700; font-size: 0.82rem; }
.accmaa-dir-bio {
    margin: 0 0 10px; color: #6b7c8f; font-size: 0.84rem; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.accmaa-dir-meta { margin: 8px 0 0; font-size: 0.78rem; color: #8a9aab; }
.accmaa-dir-meta i { color: #c9a227; margin-inline-end: 4px; }

/* Profile */
.accmaa-prof-hero {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px;
    align-items: start; margin-bottom: 40px;
}
@media (max-width: 860px) {
    .accmaa-prof-hero { grid-template-columns: 1fr; }
    .accmaa-prof-photo-wrap { order: -1; max-width: 340px; margin: 0 auto; }
}
.accmaa-prof-eyebrow {
    margin: 0 0 8px; color: #c9a227; font-weight: 800; font-size: 0.85rem;
    letter-spacing: 0.04em;
}
.accmaa-prof-copy h1 {
    margin: 0 0 8px; color: #0A3669; font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.accmaa-prof-spec { margin: 0 0 18px; color: #5c7289; font-size: 1.05rem; font-weight: 600; }
.accmaa-prof-bio {
    margin: 0 0 16px;
    color: #3d5a73;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 52ch;
}
.accmaa-prof-achievements {
    list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px;
}
.accmaa-prof-achievements li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 0.95rem; line-height: 1.65; color: #1e293b;
}
.accmaa-prof-achievements i {
    margin-top: 4px; color: #0A3669; background: rgba(201,162,39,0.18);
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.65rem;
    flex-shrink: 0;
}
.accmaa-prof-stats {
    display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px;
    font-size: 0.88rem; font-weight: 700; color: #0A3669;
}
.accmaa-prof-stats i { color: #c9a227; margin-inline-end: 4px; }
.accmaa-prof-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.accmaa-prof-photo-wrap { position: relative; }
.accmaa-prof-photo {
    position: relative; border-radius: 22px; overflow: hidden;
    aspect-ratio: 4 / 5; background: linear-gradient(160deg, #0A3669, #061f3d);
    box-shadow: 0 18px 40px rgba(10,54,105,0.18);
}
.accmaa-prof-photo img,
.accmaa-prof-fallback {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.accmaa-prof-fallback {
    display: grid; place-items: center; color: #e8c547; font-size: 4rem; font-weight: 800;
}
.accmaa-prof-wave {
    position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
    background:
        linear-gradient(180deg, transparent, #0A3669),
        radial-gradient(ellipse at 70% 100%, #c9a227 0%, transparent 50%);
}
.accmaa-prof-badge {
    position: absolute; bottom: 18px; inset-inline-start: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #0A3669; font-weight: 800; font-size: 0.78rem;
    padding: 8px 12px; border-radius: 12px;
    box-shadow: 0 8px 20px rgba(10,54,105,0.18);
    border: 1px solid rgba(201,162,39,0.45);
}
.accmaa-prof-badge i { color: #c9a227; }

.accmaa-prof-courses h2 {
    margin: 0 0 20px; color: #0A3669; font-size: 1.35rem;
}
.accmaa-dc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.accmaa-dc-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(10,54,105,0.08);
    box-shadow: 0 10px 26px rgba(10,54,105,0.07);
    display: flex; flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.accmaa-dc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(10,54,105,0.12);
}
.accmaa-dc-media { aspect-ratio: 16 / 10; cursor: pointer; background: #0A3669; }
.accmaa-dc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.accmaa-dc-fallback {
    width: 100%; height: 100%; display: grid; place-items: center; color: #e8c547; font-size: 2rem;
}
.accmaa-dc-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.accmaa-dc-body h4 { margin: 0; color: #0A3669; font-size: 1.02rem; line-height: 1.4; min-height: 2.6em; }
.accmaa-dc-body > p {
    margin: 0; color: #6b7c8f; font-size: 0.86rem; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.accmaa-dc-instructor {
    display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: #0A3669;
}
.accmaa-dc-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 0.75rem;
    background: #0A3669; color: #e8c547;
}
.accmaa-dc-meta {
    list-style: none; margin: 4px 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 10px 14px;
    font-size: 0.78rem; color: #8a9aab;
}
.accmaa-dc-meta i { color: #c9a227; margin-inline-end: 4px; }
.accmaa-dc-actions { display: grid; gap: 8px; margin-top: auto; }
.accmaa-dc-actions .btn { width: 100%; justify-content: center; }
.accmaa-dc-price { margin: 0; font-weight: 800; color: #0A3669; font-size: 0.95rem; }
.accmaa-prof-empty { color: #8a9aab; padding: 24px; text-align: center; }

.accmaa-cv { display: grid; gap: 16px; margin: 22px 0; }
.accmaa-cv-block {
    background: #fff;
    border: 1px solid #e6eef8;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 10px 28px rgba(14, 58, 126, 0.06);
}
.accmaa-cv-block h3 { margin: 0 0 14px; color: #0A3669; font-size: 1.05rem; }
.accmaa-cv-exp, .accmaa-cv-edu { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.accmaa-cv-exp li, .accmaa-cv-edu li { line-height: 1.7; color: #234; }
.accmaa-cv-exp span, .accmaa-cv-edu span { color: #7a8799; font-size: 0.88rem; }
.accmaa-cv-exp p { margin: 4px 0 0; color: #4a5b73; }
.accmaa-cv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.accmaa-cv-chip {
    background: #fff8e6; color: #6a4b00; border: 1px solid #ebae1f;
    border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 0.86rem;
}
.accmaa-cv-skills { display: grid; gap: 10px; }
.accmaa-cv-skill span { display: block; margin-bottom: 4px; color: #0A3669; font-weight: 700; }
.accmaa-cv-skill b {
    display: block; height: 8px; border-radius: 99px; background: #e8eef4; position: relative; overflow: hidden;
}
.accmaa-cv-skill b::after {
    content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 70%);
    background: linear-gradient(90deg, #0A3669, #ebae1f); border-radius: inherit;
}

/* Hide old dark marquee when pro section is used */
.accmaa-meet-section + .instructors-showcase,
.instructors-showcase .instructors-marquee-wrap { /* no-op keep compat */ }
