/* ===============================
   BASE SAMBUTAN
================================= */

.sambutan-box {
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eee;
}

.sambutan-content {
    padding-left: 10px;
}

/* ===============================
   FOTO (FINAL - GRADIENT BORDER)
================================= */

.sambutan-photo {
    position: relative;
    width: 220px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(135deg, #5e1992, #efa735);
}

.sambutan-photo img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ===============================
   TEXT UMUM
================================= */

.sambutan-label {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
    background: rgba(94, 25, 146, 0.1);
    color: #5e1992;
}

.sambutan-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3d105f;
    margin-top: 4px;
}

.sambutan-role {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.sambutan-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

/* ===============================
   CKEDITOR FIX
================================= */

.sambutan-text p {
    margin-bottom: 12px;
}

.sambutan-text h1,
.sambutan-text h2,
.sambutan-text h3 {
    font-size: 1.1rem;
    color: #3d105f;
    margin: 16px 0 6px;
}

.sambutan-text ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.sambutan-text li {
    margin-bottom: 4px;
}

.sambutan-text strong {
    color: #5e1992;
}

.sambutan-text img {
    max-width: 100%;
    border-radius: 10px;
    margin: 10px 0;
}

.sambutan-text a {
    color: #5e1992;
    text-decoration: underline;
}

/* ===============================
   HEADER
================================= */

.sambutan-header {
    max-width: 700px;
    margin: 0 auto;
}

.sambutan-title-main {
    font-size: 2rem;
    font-weight: 800;
    color: #3d105f;
}

.sambutan-title-main::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #5e1992, #efa735);
}

.sambutan-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 12px;
    line-height: 1.7;
}

/* ===============================
   HERO
================================= */

.sambutan-hero-section {
    text-align: center;
    background: linear-gradient(180deg, #faf7ff, #ffffff);
    padding: 30px 0;
    border-radius: 20px;
}

.sambutan-hero-card {
    max-width: 650px;
    padding: 35px 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.sambutan-hero-card .sambutan-photo {
    margin: 0 auto;
}

/* divider */
.sambutan-divider {
    width: 60px;
    height: 3px;
    margin: 12px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #5e1992, #efa735);
}

/* ===============================
   SECTION BIDANG
================================= */

.sambutan-section:nth-child(even) {
    background: #faf7ff;
    padding: 20px;
    border-radius: 20px;
}

/* CARD FINAL */
.sambutan-card {
    position: relative;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: 0.25s ease;
}

.sambutan-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* divider kecil */

/* ===============================
   ALIGNMENT
================================= */

.text-md-end .sambutan-text {
    text-align: right;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    .sambutan-photo {
        width: 180px;
        height: 240px;
        margin: 0 auto;
    }

    .sambutan-card {
        padding: 20px;
        text-align: center;
    }

    .sambutan-content {
        text-align: center;
    }

    .sambutan-title {
        font-size: 1.1rem;
    }

    .sambutan-text {
        font-size: 0.9rem;
    }

    .text-md-end .sambutan-text {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .sambutan-title-main {
        font-size: 1.5rem;
    }

    .sambutan-subtitle {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .sambutan-hero-card {
        padding: 25px 20px;
    }
}

/* ===============================
   ZIGZAG ANIMATION
================================= */

/* kiri */
.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s ease;
}

/* kanan */
.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s ease;
}

/* aktif */
.fade-left.show,
.fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* fallback */
.no-js .fade-left,
.no-js .fade-right {
    opacity: 1;
    transform: none;
}

/* fade up */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* fallback kalau JS error */
.no-js .fade-left,
.no-js .fade-right,
.no-js .fade-up {
    opacity: 1 !important;
    transform: none !important;
}

/* kalau sudah di atas viewport langsung tampil */
.fade-up,
.fade-left,
.fade-right {
    will-change: transform, opacity;
}

/* ===============================
   ALIGNMENT FIX
================================= */

/* desktop kanan */
@media (min-width: 768px) {
    .text-md-end .sambutan-text {
        text-align: right;
    }
}

/* ===============================
   RESPONSIVE CLEAN
================================= */
@media (max-width: 768px) {
    .sambutan-photo {
        width: 180px;
        height: 240px;
        margin: 0 auto;
    }

    .sambutan-card {
        padding: 20px;
        text-align: center;
    }

    .sambutan-content {
        text-align: center;
    }

    .sambutan-title {
        font-size: 1.1rem;
    }

    .sambutan-text {
        font-size: 0.9rem;
        text-align: center !important;
    }

    /* divider center */
    .sambutan-divider-small {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* reset bootstrap auto margin */
    .ms-md-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===============================
   EMPTY STATE
================================= */

.sambutan-empty {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 30px;

    background: #fff;
    border: 1px dashed #d9c8eb;
    border-radius: 24px;

    box-shadow: 0 10px 30px rgba(61, 16, 95, 0.05);
}

.sambutan-empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(94, 25, 146, 0.08);
}

.sambutan-empty-icon i {
    font-size: 2.8rem;
    color: #5e1992;
}

.sambutan-empty h4 {
    color: #3d105f;
    font-weight: 700;
    margin-bottom: 12px;
}

.sambutan-empty p {
    max-width: 500px;
    margin: 0 auto;

    color: #6c757d;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===============================
   MOBILE
================================= */

@media (max-width: 576px) {
    .sambutan-empty {
        padding: 40px 20px;
        border-radius: 18px;
    }

    .sambutan-empty-icon {
        width: 75px;
        height: 75px;
    }

    .sambutan-empty-icon i {
        font-size: 2.2rem;
    }

    .sambutan-empty h4 {
        font-size: 1.1rem;
    }

    .sambutan-empty p {
        font-size: 0.88rem;
        line-height: 1.7;
    }
}
/* ===============================
   CKEDITOR FULL STYLE
================================= */

.ck-content {
    line-height: 1.9;
    color: #444;
}

/* paragraph */
.ck-content p {
    margin-bottom: 14px;
}

/* heading */
.ck-content h1,
.ck-content h2,
.ck-content h3,
.ck-content h4,
.ck-content h5 {
    color: #3d105f;
    font-weight: 700;
    margin: 18px 0 10px;
}

/* list */
.ck-content ul,
.ck-content ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.ck-content li {
    margin-bottom: 6px;
}

/* image */
.ck-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 12px 0;
}

/* table */
.ck-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.ck-content table td,
.ck-content table th {
    border: 1px solid #ddd;
    padding: 10px;
}

/* blockquote */
.ck-content blockquote {
    border-left: 4px solid #5e1992;
    padding-left: 16px;
    color: #666;
    margin: 16px 0;
    font-style: italic;
}

/* link */
.ck-content a {
    color: #5e1992;
    text-decoration: underline;
}

/* responsive table */
@media (max-width: 576px) {
    .ck-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* hero content ckeditor */
.sambutan-hero-card .ck-content {
    text-align: left;
}

/* mobile tetap nyaman */
@media (max-width: 576px) {
    .sambutan-hero-card .ck-content {
        text-align: left;
        font-size: 0.9rem;
        line-height: 1.8;
    }
}

.sambutan-card {
    position: relative;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: 0.25s ease;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

/* ===============================
   CARD BIDANG MODERN
================================= */

.sambutan-card {
    position: relative;

    padding: 30px;
    border-radius: 24px;

    background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);

    border: 1px solid rgba(94, 25, 146, 0.08);

    box-shadow: 0 10px 30px rgba(61, 16, 95, 0.05);

    overflow: hidden;
    transition: all 0.3s ease;
}

/* glow atas */
.sambutan-card::after {
    content: "";

    position: absolute;
    top: -80px;
    right: -80px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(94, 25, 146, 0.04);

    pointer-events: none;
}

/* hover */
.sambutan-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 18px 40px rgba(61, 16, 95, 0.08);
}

/* nama */
.sambutan-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #3d105f;
    margin-bottom: 4px;
}

/* jabatan */
.sambutan-role {
    display: inline-block;

    padding: 6px 14px;

    border-radius: 30px;

    background: rgba(94, 25, 146, 0.08);

    color: #6b21a8;

    font-size: 0.78rem;
    font-weight: 600;

    margin-bottom: 14px;
}

/* foto bidang */
.sambutan-photo {
    position: relative;

    width: 220px;
    height: 280px;

    padding: 4px;

    border-radius: 22px;

    background: linear-gradient(135deg, #5e1992, #efa735);

    box-shadow: 0 12px 30px rgba(94, 25, 146, 0.18);
}

.sambutan-photo img {
    border-radius: 18px;
}

.sambutan-text {
    position: relative;

    margin-top: 18px;
    padding-top: 18px;
}

.sambutan-text::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 55px;
    height: 3px;

    border-radius: 20px;

    background: linear-gradient(90deg, #5e1992, #efa735);
}

@media (max-width: 768px) {
    .sambutan-card {
        padding: 22px;
        border-radius: 20px;
    }

    .sambutan-photo {
        width: 180px;
        height: 230px;
    }

    .sambutan-title {
        font-size: 1.15rem;
    }

    .sambutan-role {
        font-size: 0.75rem;
    }

    .sambutan-text::before {
        left: 50% !important;
        transform: translateX(-50%);
    }
}

.text-md-end .sambutan-text::before {
    left: auto;
    right: 0;
}
