/* =========================================================
   BERITA PAGE
========================================================= */

.berita-page {
    background: #f8fafc;
}


/* =========================================================
   HERO
========================================================= */

.berita-hero {
    position: relative;

    min-height: 320px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(16, 32, 68, .98),
            rgba(16, 32, 68, .88)
        );
}


.berita-hero::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(7, 157, 185, .22),
            transparent 34%
        ),
        radial-gradient(
            circle at 12% 90%,
            rgba(255, 122, 26, .14),
            transparent 30%
        );
}


.berita-hero::after {
    content: '';

    position: absolute;

    width: 280px;
    height: 280px;

    right: -90px;
    bottom: -150px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;
}


.berita-hero .container {
    position: relative;

    z-index: 2;
}


.berita-hero-content {
    max-width: 760px;

    padding: 68px 0;
}


.berita-hero-label {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-bottom: 16px;

    padding: 7px 13px;

    border: 1px solid rgba(255,255,255,.14);

    border-radius: 999px;

    background: rgba(255,255,255,.08);

    color: rgba(255,255,255,.88);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .8px;

    text-transform: uppercase;
}


.berita-hero-label i {
    color: #079DB9;
}


.berita-hero h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(36px, 5vw, 54px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -.8px;
}


.berita-hero h1 span {
    display: block;

    color: #079DB9;
}


.berita-hero p {
    max-width: 660px;

    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.berita-breadcrumb-wrapper {
    padding: 16px 0;

    border-bottom: 1px solid #e8edf3;

    background: #ffffff;
}


.berita-breadcrumb {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.berita-breadcrumb li {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #667085;

    font-size: 12px;
}


.berita-breadcrumb li:not(:last-child)::after {
    content: '/';

    color: #b8c0ca;
}


.berita-breadcrumb a {
    color: #079DB9;

    font-weight: 600;

    text-decoration: none;
}


.berita-breadcrumb a:hover {
    color: #102044;
}


.berita-breadcrumb .active {
    color: #667085;
}


/* =========================================================
   LIST SECTION
========================================================= */

.berita-list-section {
    padding: 68px 0 85px;
}


.berita-list-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}


.berita-list-header-content {
    max-width: 720px;
}


.berita-list-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #079DB9;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.berita-list-header h2 {
    position: relative;

    margin: 0 0 11px;

    padding-left: 17px;

    color: #102044;

    font-size: clamp(28px, 4vw, 36px);

    line-height: 1.2;

    font-weight: 800;
}


.berita-list-header h2::before {
    content: '';

    position: absolute;

    left: 0;
    top: 5px;

    width: 5px;
    height: calc(100% - 10px);

    border-radius: 999px;

    background: #FF7A1A;
}


.berita-list-header p {
    margin: 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.8;
}


.berita-total {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border: 1px solid #e4e8ef;

    border-radius: 10px;

    background: #ffffff;

    color: #667085;

    font-size: 12px;
}


.berita-total i {
    color: #079DB9;
}


.berita-total strong {
    color: #102044;

    font-size: 14px;
}


/* =========================================================
   FEATURED NEWS
========================================================= */

.berita-featured-card {
    overflow: hidden;

    margin-bottom: 50px;

    border: 1px solid #e2e8ef;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(16, 32, 68, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.berita-featured-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(16, 32, 68, .10);
}


.berita-featured-image {
    position: relative;

    display: block;

    height: 100%;

    min-height: 380px;

    overflow: hidden;

    background: #eef3f7;
}


.berita-featured-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.berita-featured-card:hover
.berita-featured-image img {
    transform: scale(1.045);
}


.berita-featured-placeholder {
    width: 100%;
    height: 100%;

    min-height: 380px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #edf5f8,
            #e9f1f4
        );

    color: #079DB9;
}


.berita-featured-placeholder i {
    font-size: 68px;
}


.berita-featured-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border-radius: 999px;

    background: #ffffff;

    color: #102044;

    font-size: 10px;

    font-weight: 800;

    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}


.berita-featured-badge i {
    color: #FF7A1A;
}


.berita-featured-content {
    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 42px;
}


.berita-card-date {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 12px;

    color: #FF7A1A;

    font-size: 11px;

    font-weight: 700;
}


.berita-card-date i {
    font-size: 13px;
}


.berita-featured-content h3 {
    margin: 0 0 15px;
}


.berita-featured-content h3 a {
    color: #102044;

    font-size: clamp(25px, 3vw, 34px);

    line-height: 1.3;

    font-weight: 800;

    text-decoration: none;

    transition: color .2s ease;
}


.berita-featured-content h3 a:hover {
    color: #079DB9;
}


.berita-featured-content p {
    margin: 0 0 24px;

    color: #667085;

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.berita-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 25px;
}


.berita-section-heading h2 {
    position: relative;

    margin: 0;

    padding-left: 17px;

    color: #102044;

    font-size: 26px;

    line-height: 1.2;

    font-weight: 800;
}


.berita-section-heading h2::before {
    content: '';

    position: absolute;

    left: 0;
    top: 3px;

    width: 5px;
    height: calc(100% - 6px);

    border-radius: 999px;

    background: #FF7A1A;
}


/* =========================================================
   NEWS CARD
========================================================= */

.berita-card {
    height: 100%;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    border: 1px solid #e4e9ef;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 7px 25px rgba(16, 32, 68, .045);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.berita-card:hover {
    transform: translateY(-6px);

    border-color: #d5e1e8;

    box-shadow:
        0 18px 38px rgba(16, 32, 68, .09);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.berita-card-image {
    position: relative;

    display: block;

    height: 215px;

    overflow: hidden;

    background: #eef3f7;
}


.berita-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}


.berita-card:hover
.berita-card-image img {
    transform: scale(1.05);
}


.berita-card-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #edf5f8,
            #e8f0f3
        );

    color: #079DB9;
}


.berita-card-placeholder i {
    font-size: 52px;
}


.berita-card-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 10px;

    border-radius: 999px;

    background: #ffffff;

    color: #102044;

    font-size: 9px;

    font-weight: 800;

    box-shadow: 0 4px 12px rgba(0,0,0,.10);
}


/* =========================================================
   CARD BODY
========================================================= */

.berita-card-body {
    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 21px;
}


.berita-card-title {
    margin: 0 0 10px;
}


.berita-card-title a {
    display: -webkit-box;

    overflow: hidden;

    color: #102044;

    font-size: 18px;

    line-height: 1.45;

    font-weight: 750;

    text-decoration: none;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    transition: color .2s ease;
}


.berita-card-title a:hover {
    color: #079DB9;
}


.berita-card-summary {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color: #667085;

    font-size: 13px;

    line-height: 1.75;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;
}


.berita-card-footer {
    margin-top: auto;

    padding-top: 19px;
}


.berita-read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #079DB9;

    font-size: 12px;

    font-weight: 750;

    text-decoration: none;

    transition:
        color .2s ease,
        gap .2s ease;
}


.berita-read-more i {
    color: #FF7A1A;

    transition: transform .2s ease;
}


.berita-read-more:hover {
    gap: 10px;

    color: #FF7A1A;
}


.berita-read-more:hover i {
    transform: translateX(3px);
}


/* =========================================================
   PAGINATION
========================================================= */

.berita-pagination {
    display: flex;

    justify-content: center;

    margin-top: 48px;
}


.berita-pagination .pagination {
    gap: 6px;

    margin: 0;
}


.berita-pagination .page-item .page-link {
    min-width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 11px;

    border: 1px solid #e1e6ed;

    border-radius: 9px !important;

    background: #ffffff;

    color: #667085;

    font-size: 12px;

    font-weight: 600;

    box-shadow: none;

    transition: .2s ease;
}


.berita-pagination .page-item .page-link:hover {
    border-color: #079DB9;

    background: #f0fbfd;

    color: #079DB9;
}


.berita-pagination .page-item.active .page-link {
    border-color: #102044;

    background: #102044;

    color: #ffffff;
}


.berita-pagination .page-item.disabled .page-link {
    opacity: .5;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.berita-empty {
    padding: 80px 25px;

    text-align: center;

    border: 1px dashed #d8e0e8;

    border-radius: 18px;

    background: #ffffff;
}


.berita-empty-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #f0fbfd;

    color: #079DB9;

    font-size: 32px;
}


.berita-empty h3 {
    margin: 0 0 8px;

    color: #102044;

    font-size: 21px;

    font-weight: 750;
}


.berita-empty p {
    max-width: 480px;

    margin: 0 auto;

    color: #667085;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   DETAIL PAGE
   Dipertahankan agar show.blade.php lama tetap aman
========================================================= */

.frontend-news-detail-section {
    padding: 45px 0 70px;
}


.frontend-news-breadcrumb {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-bottom: 25px;

    color: #87919a;

    font-size: 11px;
}


.frontend-news-breadcrumb a {
    color: #079DB9;

    font-weight: 600;

    text-decoration: none;
}


.frontend-news-breadcrumb i {
    color: #b7bec8;

    font-size: 9px;
}


.frontend-news-detail-header h1 {
    max-width: 850px;

    margin: 10px 0 14px;

    color: #102044;

    font-size: 34px;

    font-weight: 800;

    line-height: 1.25;
}


.frontend-news-detail-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 28px;

    color: #748078;

    font-size: 11px;
}


.frontend-news-detail-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.frontend-news-detail-meta i {
    color: #FF7A1A;
}


.frontend-news-detail-image {
    overflow: hidden;

    margin-bottom: 28px;

    border-radius: 17px;

    background: #eef3f7;
}


.frontend-news-detail-image img {
    display: block;

    width: 100%;

    max-height: 540px;

    object-fit: cover;
}


/* =========================================================
   DETAIL ARTICLE
========================================================= */

.frontend-news-article {
    color: #475467;

    font-size: 15px;

    line-height: 1.9;
}


.frontend-news-lead {
    margin-bottom: 26px;

    padding: 19px 21px;

    border-left: 4px solid #FF7A1A;

    border-radius: 0 11px 11px 0;

    background: #fff8f2;

    color: #475467;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   TINYMCE DETAIL CONTENT
========================================================= */

.frontend-news-body {
    overflow-wrap: break-word;

    color: #475467;

    font-size: 15px;

    line-height: 1.9;
}


.frontend-news-body > *:first-child {
    margin-top: 0;
}


.frontend-news-body p {
    margin: 0 0 17px;
}


.frontend-news-body p:last-child {
    margin-bottom: 0;
}


.frontend-news-body h1,
.frontend-news-body h2,
.frontend-news-body h3,
.frontend-news-body h4,
.frontend-news-body h5,
.frontend-news-body h6 {
    margin-top: 30px;

    margin-bottom: 14px;

    color: #102044;

    line-height: 1.35;

    font-weight: 750;
}


.frontend-news-body h1 {
    font-size: 30px;
}


.frontend-news-body h2 {
    font-size: 26px;
}


.frontend-news-body h3 {
    font-size: 22px;
}


.frontend-news-body h4 {
    font-size: 19px;
}


.frontend-news-body h5 {
    font-size: 17px;
}


.frontend-news-body h6 {
    font-size: 15px;
}


.frontend-news-body strong,
.frontend-news-body b {
    color: #102044;

    font-weight: 750;
}


.frontend-news-body em {
    font-style: italic;
}


.frontend-news-body ul,
.frontend-news-body ol {
    margin: 0 0 18px;

    padding-left: 26px;
}


.frontend-news-body li {
    margin-bottom: 7px;
}


.frontend-news-body li:last-child {
    margin-bottom: 0;
}


.frontend-news-body a {
    color: #079DB9;

    text-decoration: underline;

    text-underline-offset: 2px;

    transition: color .2s ease;
}


.frontend-news-body a:hover {
    color: #FF7A1A;
}


.frontend-news-body blockquote {
    margin: 25px 0;

    padding: 17px 21px;

    border-left: 4px solid #079DB9;

    border-radius: 0 10px 10px 0;

    background: #f3fafc;

    color: #475467;

    font-size: 15px;
}


.frontend-news-body blockquote p:last-child {
    margin-bottom: 0;
}


.frontend-news-body img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 20px auto;

    border-radius: 12px;
}


.frontend-news-body table {
    width: 100%;

    margin: 24px 0;

    border-collapse: collapse;

    background: #ffffff;

    font-size: 14px;
}


.frontend-news-body th,
.frontend-news-body td {
    padding: 10px 12px;

    border: 1px solid #e1e6ed;

    text-align: left;

    vertical-align: top;
}


.frontend-news-body th {
    background: #f7f9fb;

    color: #102044;

    font-weight: 700;
}


.frontend-news-body hr {
    margin: 28px 0;

    border: 0;

    border-top: 1px solid #e1e6ed;
}


.frontend-news-body code {
    padding: 2px 6px;

    border-radius: 5px;

    background: #f2f4f7;

    color: #102044;

    font-size: .9em;
}


.frontend-news-body pre {
    overflow-x: auto;

    margin: 20px 0;

    padding: 16px;

    border-radius: 10px;

    background: #101828;

    color: #ffffff;

    line-height: 1.6;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.frontend-news-back {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e5e9ee;
}


.frontend-news-back-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

    border: 1px solid #d8e0e7;

    border-radius: 9px;

    background: #ffffff;

    color: #102044;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}


.frontend-news-back-button:hover {
    border-color: #102044;

    background: #102044;

    color: #ffffff;
}


/* =========================================================
   SIDEBAR DETAIL
========================================================= */

.frontend-news-sidebar {
    position: sticky;

    top: 90px;
}


.frontend-sidebar-card {
    padding: 22px;

    border: 1px solid #e2e8ee;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 7px 23px rgba(16, 32, 68, .04);
}


.frontend-sidebar-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 15px;

    margin-bottom: 5px;

    border-bottom: 1px solid #e8edf2;

    color: #102044;

    font-size: 15px;

    font-weight: 750;
}


.frontend-sidebar-title i {
    color: #FF7A1A;
}


.frontend-latest-news {
    display: flex;

    gap: 12px;

    padding: 15px 0;

    border-bottom: 1px solid #edf1f4;

    text-decoration: none;
}


.frontend-latest-news:last-of-type {
    border-bottom: 0;
}


.frontend-latest-news-image {
    width: 72px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 8px;

    background: #eef5f7;

    color: #079DB9;
}


.frontend-latest-news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.frontend-latest-news-content {
    min-width: 0;
}


.frontend-latest-news-content h3 {
    display: -webkit-box;

    margin: 0 0 6px;

    overflow: hidden;

    color: #344054;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.45;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;
}


.frontend-latest-news:hover h3 {
    color: #079DB9;
}


.frontend-latest-news-content span {
    display: flex;

    align-items: center;

    gap: 5px;

    color: #8a93a0;

    font-size: 9px;
}


.frontend-latest-news-content span i {
    color: #FF7A1A;
}


.frontend-sidebar-link {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 10px;

    padding-top: 15px;

    border-top: 1px solid #e8edf2;

    color: #079DB9;

    font-size: 10px;

    font-weight: 750;

    text-decoration: none;
}


.frontend-sidebar-link:hover {
    color: #FF7A1A;
}

/* =========================================================
   DETAIL CARD
========================================================= */

.berita-detail-card {
    overflow: hidden;

    border: 1px solid #e2e8ef;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(16, 32, 68, .06);
}


.berita-detail-image {
    width: 100%;

    overflow: hidden;

    background: #eef3f7;
}


.berita-detail-image img {
    display: block;

    width: 100%;

    max-height: 520px;

    object-fit: cover;
}


.berita-detail-content {
    padding: 35px;
}


/* =========================================================
   DETAIL META
========================================================= */

.berita-detail-meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;
}


.berita-detail-category,
.berita-detail-date {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 11px;

    font-weight: 700;
}


.berita-detail-category {
    color: #079DB9;
}


.berita-detail-date {
    color: #FF7A1A;
}


.berita-detail-category i,
.berita-detail-date i {
    font-size: 13px;
}


/* =========================================================
   DETAIL TITLE
========================================================= */

.berita-detail-title {
    margin: 0 0 22px;

    color: #102044;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.4px;
}


/* =========================================================
   DETAIL LEAD
========================================================= */

.berita-detail-lead {
    margin-bottom: 28px;

    padding: 20px 22px;

    border-left: 4px solid #FF7A1A;

    border-radius: 0 12px 12px 0;

    background: #fff8f2;

    color: #475467;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   RICH TEXT
========================================================= */

.berita-rich-text {
    overflow-wrap: break-word;

    color: #475467;

    font-size: 15px;

    line-height: 1.9;
}


.berita-rich-text > *:first-child {
    margin-top: 0;
}


.berita-rich-text p {
    margin: 0 0 17px;
}


.berita-rich-text h1,
.berita-rich-text h2,
.berita-rich-text h3,
.berita-rich-text h4,
.berita-rich-text h5,
.berita-rich-text h6 {
    margin-top: 30px;

    margin-bottom: 14px;

    color: #102044;

    line-height: 1.35;

    font-weight: 750;
}


.berita-rich-text h1 {
    font-size: 30px;
}


.berita-rich-text h2 {
    font-size: 26px;
}


.berita-rich-text h3 {
    font-size: 22px;
}


.berita-rich-text h4 {
    font-size: 19px;
}


.berita-rich-text h5 {
    font-size: 17px;
}


.berita-rich-text h6 {
    font-size: 15px;
}


.berita-rich-text strong,
.berita-rich-text b {
    color: #102044;

    font-weight: 750;
}


.berita-rich-text ul,
.berita-rich-text ol {
    margin: 0 0 18px;

    padding-left: 26px;
}


.berita-rich-text li {
    margin-bottom: 7px;
}


.berita-rich-text a {
    color: #079DB9;

    text-decoration: underline;

    text-underline-offset: 2px;
}


.berita-rich-text a:hover {
    color: #FF7A1A;
}


.berita-rich-text blockquote {
    margin: 25px 0;

    padding: 18px 21px;

    border-left: 4px solid #079DB9;

    border-radius: 0 10px 10px 0;

    background: #f3fafc;

    color: #475467;
}


.berita-rich-text img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 20px auto;

    border-radius: 12px;
}


.berita-rich-text table {
    width: 100%;

    margin: 24px 0;

    border-collapse: collapse;

    font-size: 14px;
}


.berita-rich-text th,
.berita-rich-text td {
    padding: 10px 12px;

    border: 1px solid #e1e6ed;

    text-align: left;

    vertical-align: top;
}


.berita-rich-text th {
    background: #f7f9fb;

    color: #102044;

    font-weight: 700;
}


.berita-rich-text hr {
    margin: 28px 0;

    border: 0;

    border-top: 1px solid #e1e6ed;
}


.berita-rich-text code {
    padding: 2px 6px;

    border-radius: 5px;

    background: #f2f4f7;

    color: #102044;

    font-size: .9em;
}


.berita-rich-text pre {
    overflow-x: auto;

    margin: 20px 0;

    padding: 16px;

    border-radius: 10px;

    background: #101828;

    color: #ffffff;

    line-height: 1.6;
}


/* =========================================================
   EMPTY
========================================================= */

.berita-detail-empty {
    padding: 35px 20px;

    text-align: center;

    border: 1px dashed #d9e1e8;

    border-radius: 12px;

    background: #fafbfc;

    color: #667085;
}


.berita-detail-empty i {
    display: block;

    margin-bottom: 10px;

    color: #079DB9;

    font-size: 32px;
}


.berita-detail-empty p {
    margin: 0;

    font-size: 13px;
}


/* =========================================================
   DETAIL BACK
========================================================= */

.berita-detail-back {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e5e9ee;
}


.berita-detail-back-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

    border: 1px solid #d8e0e7;

    border-radius: 9px;

    background: #ffffff;

    color: #102044;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}


.berita-detail-back-button:hover {
    border-color: #102044;

    background: #102044;

    color: #ffffff;
}


/* =========================================================
   SIDEBAR
========================================================= */

.berita-detail-sidebar {
    position: sticky;

    top: 90px;
}


.berita-sidebar-card {
    overflow: hidden;

    padding: 22px;

    border: 1px solid #e2e8ef;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 8px 26px rgba(16, 32, 68, .045);
}


.berita-sidebar-heading {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 15px;

    border-bottom: 1px solid #e8edf2;
}


.berita-sidebar-heading span {
    display: block;

    margin-bottom: 5px;

    color: #079DB9;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;
}


.berita-sidebar-heading h3 {
    margin: 0;

    color: #102044;

    font-size: 18px;

    font-weight: 800;
}


.berita-sidebar-heading > i {
    color: #FF7A1A;

    font-size: 20px;
}


/* =========================================================
   SIDEBAR ITEMS
========================================================= */

.berita-sidebar-item {
    display: flex;

    gap: 12px;

    padding: 15px 0;

    border-bottom: 1px solid #edf1f4;

    text-decoration: none;
}


.berita-sidebar-item:last-child {
    border-bottom: 0;
}


.berita-sidebar-image {
    width: 78px;
    height: 62px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 9px;

    background: #eef4f7;
}


.berita-sidebar-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}


.berita-sidebar-item:hover
.berita-sidebar-image img {
    transform: scale(1.05);
}


.berita-sidebar-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #079DB9;

    font-size: 22px;
}


.berita-sidebar-content {
    min-width: 0;
}


.berita-sidebar-content h4 {
    display: -webkit-box;

    margin: 0 0 7px;

    overflow: hidden;

    color: #344054;

    font-size: 12px;

    line-height: 1.45;

    font-weight: 700;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    transition: color .2s ease;
}


.berita-sidebar-item:hover .berita-sidebar-content h4 {
    color: #079DB9;
}


.berita-sidebar-content span {
    display: flex;

    align-items: center;

    gap: 5px;

    color: #98a2b3;

    font-size: 9px;
}


.berita-sidebar-content span i {
    color: #FF7A1A;
}


/* =========================================================
   SIDEBAR LINK
========================================================= */

.berita-sidebar-link {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 7px;

    padding-top: 15px;

    border-top: 1px solid #e8edf2;

    color: #079DB9;

    font-size: 11px;

    font-weight: 750;

    text-decoration: none;
}


.berita-sidebar-link:hover {
    color: #FF7A1A;
}


/* =========================================================
   SIDEBAR EMPTY
========================================================= */

.berita-sidebar-empty {
    padding: 25px 10px;

    text-align: center;

    color: #98a2b3;

    font-size: 11px;
}


.berita-sidebar-empty i {
    display: block;

    margin-bottom: 7px;

    color: #079DB9;

    font-size: 24px;
}


.berita-sidebar-empty p {
    margin: 0;
}


/* =========================================================
   CONTACT
========================================================= */

.berita-contact-card {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-top: 18px;

    padding: 18px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f0fbfd,
            #f8fafc
        );

    border: 1px solid #dcebef;
}


.berita-contact-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #079DB9;

    color: #ffffff;
}


.berita-contact-content span {
    display: block;

    margin-bottom: 3px;

    color: #667085;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .5px;
}


.berita-contact-content strong {
    display: block;

    margin-bottom: 6px;

    color: #102044;

    font-size: 13px;

    font-weight: 750;
}


.berita-contact-content small {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-top: 4px;

    color: #667085;

    font-size: 10px;
}


.berita-contact-content small i {
    color: #FF7A1A;
}


/* =========================================================
   DETAIL RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .berita-detail-sidebar {
        position: static;
    }

}


@media (max-width: 767.98px) {

    .berita-detail-content {
        padding: 22px;
    }


    .berita-detail-title {
        font-size: 28px;
    }


    .berita-detail-lead {
        padding: 16px 17px;

        font-size: 13px;
    }


    .berita-rich-text {
        font-size: 14px;

        line-height: 1.85;
    }


    .berita-rich-text h1 {
        font-size: 25px;
    }


    .berita-rich-text h2 {
        font-size: 22px;
    }


    .berita-rich-text h3 {
        font-size: 20px;
    }


    .berita-rich-text table {
        display: block;

        overflow-x: auto;

        white-space: nowrap;
    }


    .berita-detail-image img {
        max-height: 350px;
    }

}


@media (max-width: 575.98px) {

    .berita-detail-content {
        padding: 18px;
    }


    .berita-detail-title {
        font-size: 25px;
    }


    .berita-sidebar-card {
        padding: 18px;
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .berita-list-section {
        padding: 55px 0 70px;
    }


    .berita-list-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .berita-featured-image,
    .berita-featured-placeholder {
        min-height: 320px;

        height: 320px;
    }


    .berita-featured-content {
        padding: 30px;
    }


    .frontend-news-sidebar {
        position: static;
    }

}


@media (max-width: 767.98px) {

    .berita-hero {
        min-height: 285px;
    }


    .berita-hero-content {
        padding: 48px 0;
    }


    .berita-hero h1 {
        font-size: 34px;
    }


    .berita-hero p {
        font-size: 13px;
    }


    .berita-list-section {
        padding: 45px 0 60px;
    }


    .berita-featured-card {
        margin-bottom: 38px;
    }


    .berita-featured-image,
    .berita-featured-placeholder {
        min-height: 220px;

        height: 220px;
    }


    .berita-featured-content {
        padding: 23px;
    }


    .berita-featured-content h3 a {
        font-size: 24px;
    }


    .berita-featured-content p {
        font-size: 13px;
    }


    .berita-card-image {
        height: 205px;
    }


    .berita-card-body {
        padding: 20px;
    }


    .berita-section-heading h2 {
        font-size: 23px;
    }


    .frontend-news-detail-section {
        padding: 30px 0 50px;
    }


    .frontend-news-detail-header h1 {
        font-size: 27px;
    }


    .frontend-news-detail-image {
        border-radius: 12px;
    }


    .frontend-news-body {
        font-size: 14px;

        line-height: 1.85;
    }


    .frontend-news-body h1 {
        font-size: 25px;
    }


    .frontend-news-body h2 {
        font-size: 22px;
    }


    .frontend-news-body h3 {
        font-size: 20px;
    }


    .frontend-news-body table {
        display: block;

        overflow-x: auto;

        white-space: nowrap;
    }

}


@media (max-width: 575.98px) {

    .berita-hero h1 {
        font-size: 30px;
    }


    .berita-list-header h2 {
        font-size: 27px;
    }


    .berita-card-image {
        height: 190px;
    }


    .berita-card-body {
        padding: 18px;
    }


    .berita-featured-content {
        padding: 20px;
    }


    .berita-featured-content h3 a {
        font-size: 22px;
    }


    .berita-empty {
        padding: 60px 20px;
    }

}