.kamad-page {
    background: linear-gradient(180deg, #f4faf7 0%, #fff 320px);
    overflow: hidden;
}

.kamad-hero {
    position: relative;
    padding: 48px 0 0;
}

.kamad-hero-bg {
    position: absolute;
    inset: 0 0 40%;
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(0, 166, 81, .12), transparent 55%),
        radial-gradient(ellipse 60% 70% at 100% 10%, rgba(48, 122, 213, .1), transparent 50%);
    pointer-events: none;
}

.kamad-hero-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 40, 70, .12);
    border: 1px solid rgba(0, 166, 81, .12);
}

.kamad-photo-wrap {
    position: relative;
    min-height: 100%;
    padding: 32px;
    background: linear-gradient(160deg, #0d3d28 0%, #1a5fad 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kamad-photo-ring {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .25);
    animation: kamadSpin 18s linear infinite;
}

@keyframes kamadSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.kamad-photo {
    position: relative;
    z-index: 1;
    width: 72%;
    max-width: 280px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, .9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.kamad-role-badge {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--theme-primary, #00a651);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.kamad-hero-content {
    padding: 40px 40px 40px 28px;
}

.kamad-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-primary, #00a651);
    background: rgba(0, 166, 81, .1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.kamad-name {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    color: #1a2d4a;
    line-height: 1.25;
    margin: 0 0 10px;
}

.kamad-rank {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-secondary, #307ad5);
    margin-bottom: 6px;
}

.kamad-nip {
    font-size: 13px;
    color: #6b7a94;
    margin-bottom: 18px;
}

.kamad-term {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0faf5, #eef4ff);
    border: 1px solid #dce8f4;
    margin-bottom: 18px;
}

.kamad-term > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--theme-primary, #00a651);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.kamad-term small {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #7a8ea8;
    font-weight: 700;
}

.kamad-term strong {
    font-size: 16px;
    color: #1a2d4a;
}

.kamad-motto {
    margin: 0;
    padding: 16px 18px;
    border-left: 4px solid var(--theme-primary, #00a651);
    background: #f8fcf9;
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    color: #4a5568;
}

.kamad-panel {
    background: #fff;
    border-radius: 18px;
    padding: 28px 30px;
    border: 1px solid #e8eef5;
    box-shadow: 0 10px 30px rgba(20, 50, 90, .06);
    height: 100%;
}

.kamad-panel h2,
.kamad-panel h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2d4a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f8;
}

.kamad-panel h2 i,
.kamad-panel h3 i {
    color: var(--theme-primary, #00a651);
    margin-right: 8px;
}

.kamad-panel-side {
    margin-bottom: 20px;
    height: auto;
}

.kamad-panel-side:last-child {
    margin-bottom: 0;
}

.kamad-rich-text {
    font-size: 15px;
    line-height: 1.85;
    color: #4a5568;
}

.kamad-rich-text p {
    margin-bottom: 14px;
}

.kamad-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kamad-timeline li {
    position: relative;
    padding: 0 0 16px 18px;
    font-size: 13px;
    line-height: 1.6;
    color: #5a6478;
    border-left: 2px solid #dce8f4;
    margin-left: 6px;
}

.kamad-timeline li:last-child {
    padding-bottom: 0;
}

.kamad-timeline li::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--theme-primary, #00a651);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(0, 166, 81, .2);
}

.kamad-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kamad-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #5a6478;
}

.kamad-highlights li i {
    color: var(--theme-primary, #00a651);
    margin-top: 3px;
    flex-shrink: 0;
}

.kamad-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.kamad-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .kamad-hero-content {
        padding: 28px 24px 32px;
    }
    .kamad-photo-wrap {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .kamad-hero {
        padding-top: 24px;
    }
    .kamad-photo-wrap {
        padding: 24px;
        min-height: 280px;
    }
    .kamad-panel {
        padding: 22px 20px;
    }
}
