/*
 * Poltekkes Elementor 2026
 * Bridge antara layout Elementor dan
 * design system homepage Poltekkes 2026.
 */

.elementor-widget-p26_hero,
.elementor-widget-p26_hero
> .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

.elementor-widget-p26_hero
.p26-elementor-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.elementor-widget-p26_hero
.p26-hero-official {
    width: 100%;
    margin-top: 0;
}


/*
 * Hindari Elementor memberi margin heading
 * tambahan di dalam widget hero.
 */
.elementor-widget-p26_hero
#p26-hero-title {
    margin-top: 0;
}


/*
 * Editor canvas.
 * Widget tetap mudah dipilih tanpa
 * mengubah frontend publik.
 */
.elementor-editor-active
.elementor-widget-p26_hero {
    min-height: 120px;
}

/* === P26 SERVICES EDITABLE CSS 0.1.0 START === */

.p26-services-editable {
    padding: 64px 0;
}

.p26-services-editable .p26-services-block + .p26-services-block {
    margin-top: 64px;
}

.p26-services-head {
    margin-bottom: 28px;
}

.p26-services-editable h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.p26-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.p26-admissions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p26-service-card {
    min-width: 0;
}

.p26-service-card-link {
    position: relative;
    display: flex;
    min-height: 220px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 18px;
    border: 1px solid rgba(0, 112, 105, .14);
    border-radius: 22px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(2, 65, 62, .06);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.p26-service-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(2, 65, 62, .10);
}

.p26-service-card-media {
    display: flex;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
}

.p26-service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p26-service-card-title {
    text-align: center;
    color: #073c3a;
    font-size: 17px;
    line-height: 1.35;
}

.p26-service-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: #008b80;
    font-size: 20px;
}

@media (max-width: 1100px) {
    .p26-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .p26-services-editable {
        padding: 44px 0;
    }

    .p26-services-grid,
    .p26-admissions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .p26-services-grid,
    .p26-admissions-grid {
        grid-template-columns: 1fr;
    }
}

/* === P26 SERVICES EDITABLE CSS 0.1.0 END === */

/* === P26 VIDEO EDITABLE CSS 0.1.0 START === */

.p26-video-editable {
    padding: 68px 0;
}

.p26-video-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.p26-video-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.p26-video-heading p {
    margin: 14px 0 0;
    color: rgba(7, 60, 58, .76);
    font-size: 16px;
    line-height: 1.7;
}

.p26-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 26px;
    background: #071f1e;
    box-shadow: 0 20px 45px rgba(2, 65, 62, .12);
}

.p26-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.p26-video-error {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #fff;
    text-align: center;
}

@media (max-width: 767px) {
    .p26-video-editable {
        padding: 46px 0;
    }

    .p26-video-frame {
        border-radius: 18px;
    }
}

/* === P26 VIDEO EDITABLE CSS 0.1.0 END === */

/* === P26 STATS EDITABLE CSS 0.1.0 START === */

.p26-stats-editable {
    padding: 68px 0;
}

.p26-stats-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.p26-stats-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.p26-stats-heading p {
    margin: 14px 0 0;
    color: rgba(7, 60, 58, .76);
    font-size: 16px;
    line-height: 1.7;
}

.p26-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.p26-stat-card {
    position: relative;
    min-height: 170px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 112, 105, .14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(2, 65, 62, .07);
}

.p26-stat-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -48px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(0, 139, 128, .08);
}

.p26-stat-value {
    position: relative;
    z-index: 1;
    display: block;
    color: #007b73;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.p26-stat-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 14px;
    color: #073c3a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .p26-stats-editable {
        padding: 46px 0;
    }

    .p26-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .p26-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* === P26 STATS EDITABLE CSS 0.1.0 END === */

/* === P26 MAP EDITABLE CSS 0.1.0 START === */

.p26-map-editable {
    padding: 68px 0;
}

.p26-map-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.p26-map-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.p26-map-heading p {
    margin: 14px 0 0;
    color: rgba(7, 60, 58, .76);
    font-size: 16px;
    line-height: 1.7;
}

.p26-map-frame {
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid rgba(0, 112, 105, .14);
    border-radius: 26px;
    background: #eef6f5;
    box-shadow: 0 18px 42px rgba(2, 65, 62, .09);
}

.p26-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {

    .p26-map-editable {
        padding: 46px 0;
    }

    .p26-map-frame {
        border-radius: 18px;
    }
}

/* === P26 MAP EDITABLE CSS 0.1.0 END === */
