/* صفحه اعضاء هیئت مدیره و مدیران */
.hrhs-leadership {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 55% at 0% 0%, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.09), transparent 52%),
        radial-gradient(ellipse 70% 50% at 100% 20%, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.06), transparent 48%),
        linear-gradient(180deg, #f9f9f9 0%, #ffffff 38%, #f6f6f6 100%);
}

.hrhs-leadership::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(68, 68, 68, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}

.hrhs-leadership .container {
    position: relative;
    z-index: 1;
}

.hrhs-leadership__intro {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.hrhs-leadership__intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary, #fb520d);
    background: rgba(var(--brand-primary-rgb, 251, 82, 13), 0.1);
    border: 1px solid rgba(var(--brand-primary-rgb, 251, 82, 13), 0.18);
}

.hrhs-leadership__intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.95;
    color: #484848;
}

.hrhs-leadership__section {
    margin-bottom: clamp(48px, 7vw, 72px);
}

.hrhs-leadership__section:last-child {
    margin-bottom: 0;
}

.hrhs-leadership__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: #3d3d3d;
}

.hrhs-leadership__heading i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-primary, #fb520d), #ff7a3d);
    box-shadow: 0 10px 24px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.28);
}

.hrhs-leadership__heading::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35), transparent);
}

/* هیئت مدیره — چیدمان بنتو */
.hrhs-board-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.hrhs-board-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(22px, 3vw, 30px);
    border-radius: 26px;
    border: 1px solid rgba(68, 68, 68, 0.08);
    background: #ffffff;
    box-shadow:
        0 20px 50px rgba(68, 68, 68, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease,
        border-color 0.4s ease;
}

.hrhs-board-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary, #fb520d), #ff9a5c);
    opacity: 0.9;
}

.hrhs-board-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.12), transparent 68%);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.hrhs-board-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--brand-primary-rgb, 251, 82, 13), 0.22);
    box-shadow:
        0 28px 60px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.14),
        0 0 0 1px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.06);
}

.hrhs-board-card:hover::after {
    transform: scale(1.15);
}

.hrhs-board-card--ceo {
    grid-column: span 12;
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 4vw, 40px);
    padding: clamp(28px, 4vw, 40px);
    background:
        linear-gradient(135deg, #ffffff 0%, #fffaf7 48%, #ffffff 100%);
}

.hrhs-board-card--ceo::before {
    height: 5px;
}

.hrhs-board-bento__grid {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.hrhs-board-bento__grid .hrhs-board-card--member {
    flex-direction: row;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
}

.hrhs-board-card__visual {
    position: relative;
    flex-shrink: 0;
}

.hrhs-board-card__avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(88px, 12vw, 120px);
    height: clamp(88px, 12vw, 120px);
    border-radius: 28px;
    font-size: clamp(28px, 4vw, 38px);
    color: #ffffff;
    background: linear-gradient(145deg, #6a6a6a 0%, #4a4a4a 100%);
    box-shadow:
        0 16px 36px rgba(34, 34, 34, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrhs-board-card__avatar i {
    font-size: 0.92em;
    line-height: 1;
}

.hrhs-board-bento__grid .hrhs-board-card__avatar {
    width: 72px;
    height: 72px;
    font-size: 30px;
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(var(--brand-primary-rgb, 251, 82, 13), 0.85),
        #e04a0c 100%
    );
}

.hrhs-board-card--ceo .hrhs-board-card__avatar {
    width: clamp(110px, 14vw, 148px);
    height: clamp(110px, 14vw, 148px);
    font-size: clamp(40px, 5vw, 56px);
    border-radius: 32px;
    background: linear-gradient(145deg, var(--brand-primary, #fb520d) 0%, #e04a0c 55%, #ff7a3d 100%);
    box-shadow:
        0 22px 48px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hrhs-board-card:hover .hrhs-board-card__avatar {
    transform: scale(1.04) rotate(-2deg);
}

.hrhs-board-card__avatar-ring {
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    border: 2px dashed rgba(var(--brand-primary-rgb, 251, 82, 13), 0.28);
    animation: hrhs-board-ring 16s linear infinite;
    pointer-events: none;
}

@keyframes hrhs-board-ring {
    to {
        transform: rotate(360deg);
    }
}

.hrhs-board-card__body {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.hrhs-board-card__role {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--brand-primary, #fb520d);
    background: rgba(var(--brand-primary-rgb, 251, 82, 13), 0.09);
}

.hrhs-board-card--ceo .hrhs-board-card__role {
    font-size: 13px;
    padding: 8px 16px;
    color: #ffffff;
    background: linear-gradient(125deg, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.95), #ff7a3d);
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.25);
}

.hrhs-board-card__role i {
    font-size: 13px;
    opacity: 0.9;
}

.hrhs-board-card__name {
    margin: 0;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    line-height: 1.45;
    color: #2f2f2f;
}

.hrhs-board-card--ceo .hrhs-board-card__name {
    font-size: clamp(24px, 3.2vw, 34px);
}

.hrhs-board-bento__grid .hrhs-board-card__name {
    font-size: clamp(17px, 2vw, 20px);
}

.hrhs-board-bento__grid .hrhs-board-card__role {
    font-size: 11px;
    padding: 5px 12px;
}

/* دو عضو هیئت مدیره — تمام‌عرض، هم‌تراز با کارت مدیرعامل */
.hrhs-board-bento__grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hrhs-board-bento__grid--duo .hrhs-board-card--member {
    padding: clamp(24px, 3vw, 32px);
}

.hrhs-board-bento__grid--duo .hrhs-board-card__avatar {
    width: clamp(80px, 10vw, 96px);
    height: clamp(80px, 10vw, 96px);
    font-size: clamp(32px, 4vw, 38px);
}

.hrhs-board-bento__grid--duo .hrhs-board-card__name {
    font-size: clamp(20px, 2.4vw, 24px);
}

.hrhs-board-bento__grid--duo .hrhs-board-card__role {
    font-size: 12px;
    padding: 6px 14px;
}

@media (max-width: 767px) {
    .hrhs-board-bento__grid--duo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .hrhs-board-card--ceo {
        flex-direction: column;
        text-align: center;
    }

    .hrhs-board-card--ceo .hrhs-board-card__body {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hrhs-board-bento__grid .hrhs-board-card--member {
        flex-direction: column;
        text-align: center;
    }

    .hrhs-board-bento__grid .hrhs-board-card__body {
        text-align: center;
    }
}

/* اعضاء هیئت مدیره — کارت‌های تیم (team-card) */
.hrhs-board-team {
    background-color: var(--hrhs-white, #ffffff);
}

.hrhs-board-team .sec-title {
    margin-bottom: 48px;
}

.hrhs-board-team .sec-title__title {
    color: #333333;
}

.hrhs-board-team__intro {
    max-width: 760px;
    margin: 16px auto 0;
    color: var(--hrhs-text, #6a6966);
    font-size: 16px;
    line-height: 2;
}

.hrhs-board-team .team-card__avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 370 / 507;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 38%, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.28), transparent 58%),
        linear-gradient(165deg, #5c5c60 0%, #3d3d41 55%, #2c2c30 100%);
    transform: scale(1);
    transition: transform 0.4s ease-in-out;
}

.hrhs-board-team .team-card__avatar::before {
    content: "";
    position: absolute;
    top: 22%;
    left: 50%;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transform: translateX(-50%);
}

.hrhs-board-team .team-card__avatar i {
    position: relative;
    margin-bottom: 70px;
    font-size: 92px;
    color: rgba(255, 255, 255, 0.88);
}

.hrhs-board-team .team-card:hover .team-card__avatar {
    transform: scale(1.1);
}

.hrhs-board-team .team-card__image::before {
    background-color: rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35);
}

.hrhs-board-team .team-card__ribbon {
    position: absolute;
    top: 72px;
    right: 50%;
    z-index: 2;
    padding: 6px 18px;
    border-radius: 100px;
    background-color: var(--brand-primary, #fb520d);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transform: translateX(50%);
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb, 251, 82, 13), 0.35);
}

.hrhs-board-team .team-card--featured .team-card__avatar {
    background:
        radial-gradient(circle at 50% 38%, rgba(var(--brand-primary-rgb, 251, 82, 13), 0.5), transparent 60%),
        linear-gradient(165deg, #4a4a4e 0%, #2f2f33 60%, #1f1f22 100%);
}

.hrhs-board-team .team-card__badge {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--hrhs-white, #ffffff);
    color: var(--brand-primary, #fb520d);
    font-size: 18px;
    transition: all 0.4s ease-in-out;
}

.hrhs-board-team .team-card:hover .team-card__badge {
    background-color: #333333;
    color: #ffffff;
}

.hrhs-board-team .team-card__content__inner {
    min-height: 96px;
    padding: 18px 22px 18px 22%;
    gap: 14px;
}

.hrhs-board-team .team-card__info {
    min-width: 0;
}

.hrhs-board-team .team-card__name {
    color: #333333;
    font-size: 20px;
    line-height: 1.5;
}

.hrhs-board-team .team-card__designation {
    font-size: 15px;
    line-height: 1.7;
}

.hrhs-board-team .team-card:hover .team-card__content__inner::before {
    background-color: #333333;
}

@media (max-width: 1199px) {
    .hrhs-board-team .team-card__content__inner {
        padding: 16px 18px 16px 20%;
    }

    .hrhs-board-team .team-card__name {
        font-size: 18px;
    }

    .hrhs-board-team .team-card__designation {
        font-size: 14px;
    }
}
