
/* =====================================================
   HAMIAN SALAMAT
   INNER PAGE STYLES
   ===================================================== */


/* -----------------------------------------------------
   PAGE BASE
   ----------------------------------------------------- */

.inner-page-main {
    background: var(--paper);
}


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

.inner-hero {
    position: relative;
    isolation: isolate;
    z-index: 2;

    min-height: 440px;

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

    overflow: hidden;

    color: #fff;
    background: #063f2d;
}


/* Hero background image */

.inner-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 43%;
}


/* Dark image overlay */

.inner-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
            linear-gradient(
                    90deg,
                    rgba(3, 39, 27, .68) 0%,
                    rgba(3, 39, 27, .48) 50%,
                    rgba(3, 39, 27, .70) 100%
            ),
            linear-gradient(
                    0deg,
                    rgba(3, 39, 27, .55) 0%,
                    transparent 55%
            );
}


/* Healthcare visual signature */

.inner-hero__health-mark {
    position: absolute;
    z-index: 2;

    left: 6%;
    top: 46%;

    width: min(310px, 27vw);

    transform: translateY(-50%);

    color: rgba(226, 196, 124, .24);
    opacity: .8;

    pointer-events: none;
}

.inner-hero__health-mark svg {
    display: block;
    width: 100%;
    height: auto;
}


/* Hero title container */

.inner-hero__container {
    position: relative;
    z-index: 3;

    width: 100%;
    min-height: 530px;

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

    padding-top: 25px;
    padding-bottom: 110px;
}

.inner-hero__content {
    width: 100%;
    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}

.inner-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 3.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -.035em;

    text-shadow: 0 3px 22px rgba(0, 0, 0, .28);
}


/* =====================================================
   HERO SVG WAVE
   ===================================================== */

.inner-hero__art {
    position: absolute;
    z-index: 4;

    right: 0;
    bottom: -1px;

    display: block;

    width: 100%;
    height: 105px;

    pointer-events: none;
}

.hero-art-shadow {
    fill: rgba(0, 0, 0, .10);
}

.hero-art-back {
    fill: rgba(226, 196, 124, .10);
}

.hero-art-front {
    fill: #e3ebe3;
}

.hero-art-gold {
    fill: none;

    stroke: rgba(226, 196, 124, .82);
    stroke-width: 1.5;
    stroke-linecap: round;
}


/* =====================================================
   BREADCRUMB
   ===================================================== */

.page-breadcrumb {
    position: relative;
    z-index: 1;

    width: 100%;

    margin-top: -94px;
    padding-top: 42px;

    overflow: hidden;

    background: transparent;
    border: 0;
}


/* Breadcrumb background */

.page-breadcrumb::before {
    content: "";

    position: absolute;
    z-index: 0;

    inset: 0;

    background: #e3ebe3;
    border-bottom: 1px solid rgba(17, 83, 57, .09);
}


/* Decorative circle */

.page-breadcrumb::after {
    content: "";

    position: absolute;
    z-index: 0;

    left: 7%;
    top: 2px;

    width: 125px;
    height: 125px;

    border: 1px solid rgba(183, 151, 83, .12);
    border-radius: 50%;

    pointer-events: none;
}


/* Breadcrumb inner container */

.page-breadcrumb__inner {
    position: relative;
    z-index: 1;

    min-height: 112px;

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

    gap: 20px;

    padding: 42px 0 15px;
}


/* Breadcrumb trail */

.page-breadcrumb__trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    min-width: 0;

    gap: 11px;
}


/* Home item */

.page-breadcrumb__home {
    min-height: 36px;
    flex: 0 0 auto;

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

    gap: 8px;
    padding: 0 13px;

    border: 1px solid rgba(20, 91, 62, .13);
    border-radius: 22px;

    background: rgba(255, 255, 255, .72);
    color: #176044;

    font-size: .76rem;
    font-weight: 600;
    line-height: 1.5;

    white-space: nowrap;
    text-decoration: none;

    transition:
            background .25s ease,
            color .25s ease,
            border-color .25s ease,
            transform .25s ease;
}

.page-breadcrumb__home:hover {
    background: #14583e;
    border-color: #14583e;
    color: #fff;

    transform: translateY(-2px);
}

.page-breadcrumb__home svg {
    display: block;

    width: 16px;
    height: 16px;
    flex: 0 0 16px;

    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Breadcrumb separators */

.page-breadcrumb__separator {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    color: #b99a5b;
}

.page-breadcrumb__separator svg {
    display: block;

    width: 13px;
    height: 13px;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Parent page link */

.page-breadcrumb__link {
    color: #758078;

    font-size: .78rem;
    font-weight: 500;
    line-height: 1.8;

    text-decoration: none;

    transition: color .2s ease;
}

.page-breadcrumb__link:hover {
    color: #14583e;
}


/* Current page */

.page-breadcrumb__current {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 34px;

    padding: 0 13px 0 12px;

    border-radius: 7px;

    background: rgba(20, 88, 62, .09);
    color: #14583e;

    font-size: .8rem;
    font-weight: 750;
    line-height: 1.8;
}

.page-breadcrumb__current::before {
    content: "";

    position: absolute;

    right: 0;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 5px;
    background: #c7a45d;
}


/* Breadcrumb decorative signature */

.page-breadcrumb__decoration {
    display: flex;
    align-items: center;

    gap: 5px;
    flex: 0 0 auto;

    direction: ltr;
    opacity: .75;
}

.page-breadcrumb__decoration span {
    display: block;

    height: 4px;

    border-radius: 10px;
    background: #c6a45f;
}

.page-breadcrumb__decoration span:nth-child(1) {
    width: 7px;
    opacity: .45;
}

.page-breadcrumb__decoration span:nth-child(2) {
    width: 15px;
    opacity: .7;
}

.page-breadcrumb__decoration span:nth-child(3) {
    width: 27px;
}


/* =====================================================
   INNER CONTENT
   ===================================================== */

.inner-content {
    position: relative;

    padding-top: 55px;
    padding-bottom: 94px;

    background: var(--paper);
}


/* Content heading */

.inner-content__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;
    margin-bottom: 28px;
}

.inner-content__heading h2 {
    position: relative;

    margin: 7px 0;

    color: var(--green);

    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.55;
    font-weight: 800;
    letter-spacing: -.035em;
}

.inner-content__heading h2::after {
    content: "";

    display: block;

    width: 39px;
    height: 2px;

    margin-top: 10px;

    background: var(--gold);
}

.inner-content__heading p {
    margin: 0;

    color: var(--muted);
    font-size: .84rem;
}


/* Content folio */

.inner-content__folio {
    display: flex;
    align-items: center;

    gap: 10px;
    padding-bottom: 7px;

    color: #8a9a90;

    font-size: .61rem;
    letter-spacing: .16em;

    white-space: nowrap;
    direction: ltr;
}

.inner-content__folio i {
    color: var(--gold);
    font-style: normal;
}


/* Content slot */

.inner-content__slot {
    min-height: 220px;
}


/* Content placeholder */

.inner-content__placeholder {
    position: relative;

    min-height: 190px;

    display: flex;
    align-items: center;

    gap: 20px;
    padding: 30px 34px;

    border: 1px solid rgba(7, 88, 61, .11);

    background:
            linear-gradient(
                    110deg,
                    rgba(255, 255, 255, .8),
                    rgba(238, 244, 237, .65)
            );

    overflow: hidden;
}

.inner-content__placeholder::after {
    content: "";

    position: absolute;

    left: -50px;
    top: -90px;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(217, 173, 78, .22);
    border-radius: 50%;

    box-shadow:
            0 0 0 18px rgba(217, 173, 78, .035),
            0 0 0 38px rgba(217, 173, 78, .025);

    pointer-events: none;
}

.inner-content__placeholder-mark {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(217, 173, 78, .65);
    border-radius: 50%;

    color: var(--green);
    font-size: 1.45rem;

    background: #fff9;
}

.inner-content__placeholder strong {
    display: block;

    color: var(--green);
    font-size: .95rem;
}

.inner-content__placeholder p {
    margin: 4px 0 0;

    color: var(--muted);
    font-size: .78rem;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 760px) {

    /* Hero */

    .inner-hero {
        min-height: 350px;
    }

    .inner-hero__container {
        min-height: 350px;

        padding-top: 15px;
        padding-bottom: 90px;
    }

    .inner-hero__image {
        object-position: 58% center;
    }

    .inner-hero h1 {
        font-size: clamp(1.9rem, 6.5vw, 2.7rem);
    }

    .inner-hero__health-mark {
        width: 220px;
        left: -50px;
        opacity: .48;
    }

    .inner-hero__art {
        height: 75px;
    }


    /* Breadcrumb */

    .page-breadcrumb {
        margin-top: -32px;
        padding-top: 32px;
    }

    .page-breadcrumb__inner {
        min-height: 98px;

        gap: 12px;
        padding: 34px 0 12px;
    }

    .page-breadcrumb__trail {
        gap: 8px;
    }

    .page-breadcrumb__home {
        min-height: 32px;

        padding: 0 10px;
        gap: 6px;

        font-size: .7rem;
    }

    .page-breadcrumb__home svg {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .page-breadcrumb__link {
        font-size: .72rem;
    }

    .page-breadcrumb__current {
        min-height: 30px;

        padding: 0 11px;

        font-size: .73rem;
    }

    .page-breadcrumb__decoration {
        display: none;
    }


    /* Content */

    .inner-content {
        padding-top: 36px;
        padding-bottom: 62px;
    }

    .inner-content__heading {
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .inner-content__folio {
        display: none;
    }

    .inner-content__placeholder {
        min-height: 160px;

        padding: 22px 18px;
        gap: 14px;
    }

    .inner-content__placeholder-mark {
        flex-basis: 44px;

        width: 44px;
        height: 44px;
    }
}


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

@media (max-width: 480px) {

    /* Hero */

    .inner-hero {
        min-height: 310px;
    }

    .inner-hero__container {
        min-height: 310px;
        padding-bottom: 78px;
    }

    .inner-hero__image {
        object-position: 60% center;
    }

    .inner-hero h1 {
        font-size: 1.85rem;
    }

    .inner-hero__health-mark {
        width: 170px;
        left: -65px;
        opacity: .34;
    }

    .inner-hero__art {
        height: 58px;
    }


    /* Breadcrumb */

    .page-breadcrumb {
        margin-top: -25px;
        padding-top: 25px;
    }

    .page-breadcrumb__inner {
        min-height: 88px;

        gap: 8px;
        padding: 29px 0 10px;
    }

    .page-breadcrumb__trail {
        gap: 6px;
    }

    .page-breadcrumb__home {
        min-height: 30px;

        padding: 0 8px;
        gap: 5px;

        font-size: .66rem;
    }

    .page-breadcrumb__link {
        font-size: .68rem;
    }

    .page-breadcrumb__current {
        min-height: 28px;

        padding: 0 9px;

        font-size: .69rem;
    }

    .page-breadcrumb__separator svg {
        width: 11px;
        height: 11px;
    }


    /* Content */

    .inner-content__heading h2 {
        font-size: 1.45rem;
    }

    .inner-content__heading p {
        font-size: .75rem;
    }

    .inner-content__placeholder p {
        font-size: .72rem;
    }
}
