/* =========================================================
   ENDE HOLIDAYS
   ARTIKEL & BLOG PAGE
   PREMIUM / CLEAN / RESPONSIVE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.artikel-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
}

.artikel-page *,
.artikel-page *::before,
.artikel-page *::after {
    box-sizing: border-box;
}

.artikel-page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   ARTICLE HEADER
========================================================= */

.artikel-header {
    position: relative;
    width: 100%;
    padding: 32px 0 64px;
    background:
        linear-gradient(
            180deg,
            #fffaf3 0%,
            #fffdf9 60%,
            #ffffff 100%
        );
    overflow: hidden;
}


/* Decorative background */

.artikel-header::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -220px;
    border-radius: 50%;
    background: rgba(233, 159, 36, 0.07);
    pointer-events: none;
}

.artikel-header::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -150px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(233, 159, 36, 0.045);
    pointer-events: none;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.artikel-breadcrumb {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 46px;

    font-size: 13px;
    line-height: 1.5;
    color: #777;
}

.artikel-breadcrumb a {
    color: #777;
    text-decoration: none;

    transition:
        color 0.2s ease;
}

.artikel-breadcrumb a:hover {
    color: #e99f24;
}

.artikel-breadcrumb-separator {
    color: #b5b5b5;
}

.artikel-breadcrumb span:last-child {
    color: #333;
    font-weight: 500;
}


/* =========================================================
   HEADER CONTENT
========================================================= */

.artikel-header-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}

.artikel-header-text {
    max-width: 760px;
}


/* =========================================================
   EYEBROW
========================================================= */

.artikel-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;

    color: #e99f24;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.artikel-eyebrow::before {
    content: "";
    display: inline-block;

    width: 28px;
    height: 2px;

    margin-right: 10px;

    background: #e99f24;
}


/* =========================================================
   H1
========================================================= */

.artikel-header h1 {
    margin: 0 0 18px;

    color: #222;

    font-size: clamp(
        34px,
        4vw,
        52px
    );

    line-height: 1.12;
    font-weight: 750;

    letter-spacing: -1.3px;
}

.artikel-header-text p {
    max-width: 700px;

    margin: 0;

    color: #666;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   HEADER COUNTER
========================================================= */

.artikel-header-counter {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 145px;
    min-height: 145px;

    padding: 22px;

    border: 1px solid rgba(
        233,
        159,
        36,
        0.22
    );

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        0.78
    );

    box-shadow:
        0 12px 35px rgba(
            0,
            0,
            0,
            0.055
        );
}

.artikel-counter-number {
    display: block;

    color: #e99f24;

    font-size: 36px;
    line-height: 1;
    font-weight: 750;
}

.artikel-counter-label {
    margin-top: 7px;

    color: #777;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.artikel-content {
    width: 100%;
    padding: 72px 0 90px;

    background: #ffffff;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.artikel-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}

.artikel-section-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #e99f24;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.artikel-section-heading h2 {
    margin: 0;

    color: #222;

    font-size: 30px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.5px;
}


/* =========================================================
   TOTAL INFO
========================================================= */

.artikel-total-info {
    color: #888;

    font-size: 13px;
    line-height: 1.6;

    white-space: nowrap;
}

.artikel-total-info strong {
    color: #333;
    font-weight: 650;
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.artikel-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* =========================================================
   ARTICLE CARD
========================================================= */

.artikel-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid #eeeeee;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 5px 20px rgba(
            0,
            0,
            0,
            0.035
        );

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.artikel-card:hover {
    transform: translateY(-6px);

    border-color: rgba(
        233,
        159,
        36,
        0.18
    );

    box-shadow:
        0 18px 40px rgba(
            0,
            0,
            0,
            0.085
        );
}


/* =========================================================
   CARD IMAGE
========================================================= */

.artikel-card-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #f3f3f3;
}

.artikel-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.08) 100%
        );

    opacity: 0;

    transition:
        opacity 0.3s ease;
}

.artikel-card:hover
.artikel-card-image::after {
    opacity: 1;
}

.artikel-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s
        cubic-bezier(
            0.2,
            0.65,
            0.3,
            1
        );
}

.artikel-card:hover
.artikel-card-image img {
    transform: scale(1.055);
}


/* =========================================================
   CARD BODY
========================================================= */

.artikel-card-body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 23px 23px 24px;
}


/* =========================================================
   CARD META
========================================================= */

.artikel-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 11px;

    color: #999;

    font-size: 11px;
    line-height: 1.5;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.55px;
}

.artikel-card-meta time {
    color: #e99f24;
}

.artikel-card-meta-dot {
    color: #c7c7c7;
}


/* =========================================================
   CARD TITLE
========================================================= */

.artikel-card-title {
    margin: 0 0 12px;

    font-size: 19px;
    line-height: 1.42;

    font-weight: 700;

    letter-spacing: -0.2px;
}

.artikel-card-title a {
    display: -webkit-box;

    overflow: hidden;

    color: #252525;

    text-decoration: none;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    transition:
        color 0.2s ease;
}

.artikel-card-title a:hover {
    color: #e99f24;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.artikel-card-description {
    display: -webkit-box;

    overflow: hidden;

    margin: 0;

    color: #777;

    font-size: 13px;
    line-height: 1.75;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* =========================================================
   CARD LINK
========================================================= */

.artikel-card-link {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    gap: 8px;

    margin-top: auto;
    padding-top: 20px;

    color: #333;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 650;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.artikel-card-link:hover {
    color: #e99f24;
}

.artikel-card-arrow {
    display: inline-flex;
    align-items: center;

    transition:
        transform 0.2s ease;
}

.artikel-card-link:hover
.artikel-card-arrow {
    transform: translateX(4px);
}


/* =========================================================
   PAGINATION WRAPPER
========================================================= */

.artikel-pagination-wrapper {
    display: flex;
    justify-content: center;

    margin-top: 54px;
}


/* =========================================================
   BLOG PAGINATION
========================================================= */

.blog-pagination {
    width: 100%;
}

.blog-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.blog-pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 10px;

    border: 1px solid #e8e8e8;

    border-radius: 9px;

    background: #ffffff;

    color: #555;

    font-size: 13px;
    line-height: 1;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.blog-pagination a:hover {
    border-color: #e99f24;

    background: #fff9f0;

    color: #e99f24;

    transform: translateY(-1px);
}


/* ACTIVE */

.blog-pagination li.active span {
    border-color: #e99f24;

    background: #e99f24;

    color: #ffffff;
}


/* PREVIOUS / NEXT */

.blog-pagination li.prev a,
.blog-pagination li.next a {
    font-size: 22px;

    font-weight: 400;
}


/* DOTS */

.blog-pagination li.dots span {
    min-width: 30px;

    padding: 0;

    border-color: transparent;

    background: transparent;

    color: #999;

    pointer-events: none;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.artikel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 620px;

    margin: 30px auto 0;

    padding: 70px 30px;

    text-align: center;

    border: 1px solid #eeeeee;

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 10px 35px rgba(
            0,
            0,
            0,
            0.035
        );
}

.artikel-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: #fff8ed;

    color: #e99f24;

    font-size: 24px;
}

.artikel-empty h2 {
    margin: 0 0 10px;

    color: #222;

    font-size: 25px;
    line-height: 1.3;
}

.artikel-empty p {
    margin: 0;

    color: #777;

    font-size: 14px;
    line-height: 1.75;
}

.artikel-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    margin-top: 25px;
    padding: 0 22px;

    border-radius: 9px;

    background: #e99f24;

    color: #ffffff;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.artikel-empty-button:hover {
    background: #d98f17;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .artikel-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* HEADER */

    .artikel-header {
        padding-top: 28px;
        padding-bottom: 55px;
    }

    .artikel-breadcrumb {
        margin-bottom: 38px;
    }

    .artikel-header-content {
        align-items: center;

        gap: 35px;
    }

    .artikel-header h1 {
        font-size: 40px;
    }

    .artikel-header-text p {
        font-size: 15px;
    }


    /* COUNTER */

    .artikel-header-counter {
        min-width: 125px;
        min-height: 125px;
    }

    .artikel-counter-number {
        font-size: 31px;
    }


    /* CONTENT */

    .artikel-content {
        padding-top: 58px;
        padding-bottom: 70px;
    }


    /* GRID */

    .artikel-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

    .artikel-card-body {
        padding: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .artikel-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    /* HEADER */

    .artikel-header {
        padding-top: 22px;
        padding-bottom: 46px;
    }

    .artikel-breadcrumb {
        margin-bottom: 31px;

        font-size: 12px;
    }

    .artikel-header-content {
        display: block;
    }

    .artikel-header-text {
        max-width: none;
    }

    .artikel-eyebrow {
        margin-bottom: 12px;

        font-size: 10px;

        letter-spacing: 1.35px;
    }

    .artikel-eyebrow::before {
        width: 22px;

        margin-right: 8px;
    }

    .artikel-header h1 {
        margin-bottom: 14px;

        font-size: 34px;

        line-height: 1.14;

        letter-spacing: -0.8px;
    }

    .artikel-header-text p {
        font-size: 14px;
        line-height: 1.75;
    }


    /* COUNTER */

    .artikel-header-counter {
        flex-direction: row;

        width: fit-content;
        min-width: 0;
        min-height: 0;

        margin-top: 25px;
        padding: 11px 18px;

        border-radius: 50px;

        gap: 9px;
    }

    .artikel-counter-number {
        font-size: 24px;
    }

    .artikel-counter-label {
        margin-top: 0;

        font-size: 10px;
    }


    /* CONTENT */

    .artikel-content {
        padding-top: 45px;
        padding-bottom: 60px;
    }


    /* SECTION HEADING */

    .artikel-section-heading {
        display: block;

        margin-bottom: 25px;
    }

    .artikel-section-eyebrow {
        font-size: 10px;
    }

    .artikel-section-heading h2 {
        font-size: 25px;
    }

    .artikel-total-info {
        margin-top: 9px;

        font-size: 12px;
    }


    /* GRID */

    .artikel-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    /* CARD */

    .artikel-card {
        border-radius: 14px;
    }

    .artikel-card-body {
        padding: 19px 18px 21px;
    }

    .artikel-card-title {
        font-size: 18px;
    }

    .artikel-card-description {
        font-size: 13px;
        line-height: 1.7;
    }


    /* PAGINATION */

    .artikel-pagination-wrapper {
        margin-top: 40px;
    }

    .blog-pagination ul {
        gap: 6px;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 36px;
        height: 36px;

        border-radius: 8px;

        font-size: 12px;
    }

    .blog-pagination li.prev a,
    .blog-pagination li.next a {
        font-size: 19px;
    }


    /* EMPTY */

    .artikel-empty {
        padding: 55px 22px;
    }

    .artikel-empty h2 {
        font-size: 22px;
    }

    .artikel-empty p {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .artikel-page .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .artikel-header h1 {
        font-size: 30px;
    }

    .artikel-header-text p {
        font-size: 13px;
    }

    .artikel-section-heading h2 {
        font-size: 23px;
    }

    .artikel-card-title {
        font-size: 17px;
    }

    .artikel-card-description {
        font-size: 12.5px;
    }

    .blog-pagination ul {
        gap: 4px;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 34px;
        height: 34px;

        padding: 0 8px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .artikel-card,
    .artikel-card-image img,
    .artikel-card-link,
    .artikel-card-arrow,
    .artikel-pagination a,
    .artikel-empty-button {
        transition: none;
    }

}