.branding-bar {
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:175px;
    padding:0 60px;
    overflow:hidden;
    border-bottom:1px solid #eeeeee;
    background:
    linear-gradient(
        110deg,
        #ffffff 0%,
        #ffffff 55%,
        #fff5f5 100%
    );
}

.branding-bar::after {
    content:"";
    position:absolute;
    right:-120px;
    top:0;
    width:420px;
    height:100%;
    background:
    linear-gradient(
        135deg,
        transparent 0%,
        transparent 25%,
        #f8dede 25%,
        #f8dede 45%,
        #e31b23 45%,
        #e31b23 60%,
        #ffffff 60%
    );
    z-index:0;
}

.branding-left,
.branding-right {
    position:relative;
    z-index:2;
}

/* LEFT */
.branding-left{
    display:flex;
    align-items:center;
    gap:25px;
}

.branding-pemkot img {
    width:75px;
    height:auto;
}


.branding-divider {
    width:1px;
    height:70px;
    background:#ddd;
}


.branding-rsud img {
    width:80px;
    height:auto;
}

.branding-title h1 {
    margin:0;
    font-size:32px;
    font-weight:700;
    color:#111;
}

.branding-title p {
    margin-top:5px;
    margin-bottom:0;
    color:#e00000;
    font-size:15px;
    font-weight:500;
}


/* RIGHT*/
/* .branding-right{
    display:flex;
    align-items:flex-end;
    gap:5px;
    position:relative;
    top:8px;
}

.official-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    min-width:115px;
}

.official-card img {
    height:125px;
    width:auto;
    object-fit:contain;
    margin-bottom:-8px;
    filter:drop-shadow(
        0 8px 8px rgba(0,0,0,0.12)
    );
}

.official-card:not(.director){
    margin-left:-5px;
}

.official-name {
    margin-top:8px;
    background:#d71920;
    color:white;
    font-size:11px;
    font-weight:700;
    padding:5px 12px;
    border-radius:0;
    white-space:nowrap;
}

.official-role {
    margin-top:3px;
    font-size:9px;
    font-weight:600;
    line-height:12px;
    color:#333;
    white-space:nowrap;
}

/* Direktur sedikit lebih menonjol */
/*.official-card.director img {
    height:130px;
}

.official-card.director .official-name {
    background:#c81018;
} */

/* =========================
   OFFICIAL AREA
========================= */
.branding-right {
    display:flex;
    align-items:flex-end;
    gap:5px;
    position:relative;
    z-index:2;
    transform:translateY(-5px);
}

.official-card {
    text-align:center;
    width:130px;
}

.official-card img {
    height:145px;
    width:auto;
    object-fit:contain;
    display:block;
    margin:0 auto;
}

.official-name {
    background:#d71920;
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:5px 8px;
    white-space:nowrap;
    margin-top:-25px;
    position:relative;
    z-index:3;
    transform:skew(-20deg);
}

.official-role {
    background:#ffffff;
    display:inline-block;
    font-size:9px;
    font-weight:700;
    color:#333;
    top:-8px;
    line-height:12px;
    white-space:normal;
    padding:2px 10px;
    position:relative;
    z-index:4;
    transform:translateY(-5px);
}

.official-name span {
    display:block;
    transform:skew(20deg);
}

.official-card.director img {
    height:130px;
}

/* Posisi Walikota lebih ke kanan */
.official-card:nth-child(2) img {
    transform:translateX(11px);
}

/* Posisi Wakil Walikota lebih ke kiri */
.official-card:nth-child(3) img {
    transform:translateX(-11px);
}

/* Turunkan seluruh card Wakil Walikota */
.official-card:nth-child(3) {
    position: relative;
    top: 5px;
}

.official-card:nth-child(3) .official-role {
   top:-2px;
}

.official-card:not(.director) .official-role {
    transform:translateY(-3px);
}

/* Turunkan seluruh card Wakil Walikota */
.official-card:nth-child(1) {
    position: relative;
    top: 5px;
}

.official-card:nth-child(1) .official-role {
   top:0px;
}