* {
    font-family: "Plus Jakarta Sans", sans-serif;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0;
    background: #fff;
    color: #333;
}

.thumbnail {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.thumbnail img {
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.media-berita-container {
    max-width: 1000px;
    margin: auto;
    padding: 12px 20px;
}

/* Admin Tolbar */
.admin-toolbar {
    position: sticky;
    top: 0;
    left: 0;
    background: #111827;
    color: #f9fafb;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-toolbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.admin-toolbar a {
    color: #f9fafb;
    text-decoration: none;
    margin-right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.admin-toolbar:hover a {
    color: #fff;
}

.admin-toolbar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-toolbar-right {
    display: flex;
    align-items: center !important;
    gap: 10px;
}

.admin-toolbar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.admin-toolbar-right form {
    display: flex;
    align-items: center;
    margin: 0;
}

.admin-toolbar-right form button {
    background: none;
    border: none;
    color: #f9fafb;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.admin-toolbar-right form button:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .admin-toolbar-right {
        display: none;
    }
}

/* Header Umum */
.media-berita-header {
    font-family: sans-serif;
}

.media-berita-header-top {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #000;
    color: #fff;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.media-berita-header-top.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.media-berita-header-top.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    opacity: 1;
}

.media-berita-header-top.fixed-hide {
    transform: translateY(-100%);
    opacity: 0;
}

body.has-sticky-header {
    padding-top: 70px;
}

.media-berita-navbar-container {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.media-berita-logo {
    font-weight: bold;
    font-size: 1.5em;
}

.media-berita-logo h1 {
    color: #fff;
    font-size: 23px;
    text-decoration: none;
}

.media-berita-logo a {
    text-decoration: none;
}

.media-berita-logo img {
    width: 150px;
    height: auto;
}

.media-berita-search {
    flex: 1;
    margin: 0 20px;
    display: flex;
    max-width: 500px;
}

.media-berita-search input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 20px 0 0 20px;
}

.media-berita-search button {
    background: #fff;
    border: none;
    border-radius: 0 20px 20px 0;
    padding: 8px 12px;
    cursor: pointer;
}

.media-berita-main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.media-berita-main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.media-berita-burger {
    background: none;
    border: none;
    color: white;
    font-size: 1.4em;
    cursor: pointer;
}

.media-berita-mobile-actions a {
    color: inherit;
}

.media-berita-mobile-actions a.media-berita-user-mobile {
    background: none;
    border: none;
    padding: 8px;
    font-size: 18px;
    color: inherit;
    text-decoration: none;
}

.media-berita-mobile-actions a.media-berita-user-mobile:hover {
    color: #ff0000;
}

/* Search Result */
.search-category,
.search-tags {
    margin-top: 24px;
    padding: 16px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}

.search-category h3,
.search-tags h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 4px;
}

.search-category ul,
.search-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-category ul li a,
.search-tags ul li a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.search-category ul li a:hover,
.search-tags ul li a:hover {
    background-color: #0366d6;
    color: #fff;
}

/* Nav bawah */
.media-berita-header-bottom {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.media-berita-secondary-nav {
    display: flex;
    gap: 16px;
    padding: 10px 0;
}

.media-berita-secondary-nav a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95em;
}

/* Slide Menu */
.media-berita-slide-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.media-berita-slide-wrapper.active {
    visibility: visible;
    opacity: 1;
}

.slide-menu-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 320px;
    right: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.media-berita-slide-wrapper.active .slide-menu-overlay {
    opacity: 1;
}

.media-berita-slide-menu {
    position: absolute;
    overflow-y: auto;
    top: 0;
    left: -320px;
    width: 360px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 2;
    padding-top: 0;
}

.media-berita-slide-wrapper.active .media-berita-slide-menu {
    left: 0;
}

.media-berita-slide-menu::-webkit-scrollbar {
    width: 6px;
}

.media-berita-slide-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.media-berita-slide-menu .category-list-widget,
.media-berita-slide-menu .agenda-post-widget {
    margin-top: 0;
}

.media-berita-slide-menu .meta-data {
    display: none;
}

.media-berita-slide-menu .trending-post-content .title {
    font-size: 16px;
}

.media-berita-slide-menu .agenda-title {
    white-space: pre-wrap;
}

#closeSlideMenu {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

#closeSlideMenu:hover {
    color: var(--primary-color, #1e3a8a);
}

/* Slide menu content */
.slide-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 15px;
    background: #fff;
}

.slide-menu-logo h1 {
    font-size: 20px;
}

.slide-menu-logo a {
    color: #000;
    text-decoration: none;
}

.slide-menu-logo img {
    max-height: 28px;
    object-fit: contain;
}

.slide-menu-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.slide-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0 16px 16px;
    font-size: 0.95rem;
}

.slide-menu-nav .custom-html-widget {
    max-width: 350px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.slide-menu-nav .custom-html-widget * {
    max-width: 100%;
    box-sizing: border-box;
}

.slide-menu-nav .custom-html-widget img {
    height: auto;
    display: block;
}

.slide-menu-section h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d3b8b;
    font-size: 18px;
}

.slide-menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-menu-section ul li {
    margin-bottom: 14px;
    position: relative;
}

/* Menu utama */
.slide-menu-section > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.slide-menu-section > ul > li > a:hover {
    color: #007bff;
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
}

/* Submenu navigasi*/
.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-submenu .submenu {
    display: none;
    padding-left: 10px;
    margin-top: 4px;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 14px;
    margin-top: 6px;
}

.submenu li {
    margin-bottom: 10px;
}

.submenu li a {
    font-size: 15px;
    font-weight: 400;
    padding-left: 4px;
    color: #444;
    display: block;
    text-decoration: none;
}

.has-submenu.active {
    padding-bottom: 4px;
}

.has-submenu.active .submenu {
    display: block;
    max-height: 500px;
    margin-top: 15px;
}

.submenu-toggle-icon {
    transition: transform 0.3s ease;
}

.has-submenu.active .submenu-toggle-icon {
    transform: rotate(180deg);
}

/* Slide Menu Post */
.media-berita-section-post {
    padding: 40px 0;
    background: #fff;
}

.post-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.post-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.post-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 4px;
    color: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-info time {
    font-size: 12px;
    color: #777;
}

.section-post-footer {
    margin-top: 24px;
    text-align: center;
}

.lihat-lainnya-btn {
    background-color: #1d3b8b;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
}

.lihat-lainnya-btn:hover {
    background-color: #162e6e;
}

#searchOverlay {
    display: none;
}

@media (max-width: 768px) {
    .media-berita-search,
    .media-berita-main-nav {
        display: none !important;
    }

    .media-berita-mobile-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-left: auto;
    }

    .media-berita-search-mobile,
    .media-berita-burger {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        padding: 6px;
        cursor: pointer;
    }

    /* Scroll horizontal nav bawah */
    .media-berita-secondary-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .media-berita-secondary-nav a {
        display: inline-block;
        margin-right: 16px;
    }

    #searchOverlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    #searchOverlay.active {
        opacity: 1;
        visibility: visible;
    }

    #searchOverlay form {
        background: white;
        padding: 37px 24px;
        border-radius: 8px;
        width: 95vw !important;
        max-width: 600px !important;
        display: flex;
        gap: 8px;
        box-sizing: border-box;
    }

    #searchOverlay input {
        flex: 1;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 8px 10px;
    }

    #searchOverlay button {
        background: #006f7d;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 6px;
    }
}

@media (min-width: 769px) {
    .media-berita-search-mobile {
        display: none;
    }

    .media-berita-burger {
        margin-left: 10px;
    }
}

/* Main Post */
/* Main Post Border Bottom */
/* .media-berita-featured::after,
.media-berita-highlight::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #ddd;
    max-width: 1200px;
    margin: 0 auto;
} */

/* Featured Posts */
/* .media-berita-featured {
    padding-top: 40px;
}

.featured-main-swiper .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
}

.featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-link:hover .featured-image img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    color: #fff;
}

.featured-overlay .featured-category {
    background: #1e3a8a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.featured-overlay .featured-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
}

.featured-overlay .featured-time {
    font-size: 13px;
    opacity: 0.9;
}

.featured-thumbs-swiper {
    margin-top: 20px;
}

.featured-thumbs-swiper .swiper-slide {
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: translateY(-4px);
}

.featured-thumb-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.featured-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    color: #fff;
}

.thumb-overlay .thumb-category {
    background: #1e3a8a;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.thumb-overlay .side-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .featured-thumbs-swiper .swiper-slide {
        opacity: 0.7;
    }
    .featured-thumbs-swiper .swiper-slide-thumb-active {
        opacity: 1;
        transform: none;
    }
} */

/* Highlight Post Section*/
.media-berita-highlight {
    padding-bottom: 5px;
}

.highlight-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.highlight-item figure {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 0 10px 0;
}

.highlight-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 12px;
}

.highlight-meta {
    font-size: 13px;
    color: #888;
    gap: 6px;
    margin-bottom: 6px;
}

.highlight-category {
    color: #d80000;
    font-weight: 600;
}

.highlight-time::before {
    content: "•";
    margin: 0 4px;
}

.highlight-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 10px;
    color: #111;
}

@media (max-width: 600px) {
    .highlight-grid {
        grid-template-columns: 1fr 1fr;
    }

    .highlight-title {
        font-size: 14px;
    }
}

/* Index Main Post list */
.media-berita-index {
}

.index-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.index-posts {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.index-main {
    flex: 1 1 0;
    min-width: 0;
}

.index-sidebar {
    flex: 0 0 300px;
    max-width: 100%;
}

.index-post-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    text-decoration: none;
    color: inherit;
}

.index-post-item figure {
    width: 250px;
    height: 150px;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
    margin: 0;
}

.index-post-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.index-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.index-post-content .title,
.trending-post-content .title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.media-berita-index .meta-data {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
    line-height: 1.2;
}

.category {
    color: red;
    font-weight: 500;
}

.dot {
    margin: 0 6px;
}

.load-more-btn {
    align-self: center;
    margin-top: 20px;
    padding: 8px 50px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .index-wrapper {
        flex-direction: column;
    }

    .index-sidebar {
        width: 100%;
        order: 2;
    }

    .index-main {
        width: 100%;
        order: 1;
    }

    .index-post-item {
        flex-direction: column;
    }

    .index-post-thumbnail {
        width: 100%;
    }

    .index-post-title {
        font-size: 15px;
    }

    .index-post-item figure {
        width: 100%;
        height: auto;
    }
}

/* Sidebar Main */
/* Widget Area */
/* Custom Html */
.custom-html-widget {
    max-width: 350px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-html-widget * {
    max-width: 100%;
    box-sizing: border-box;
}

.custom-html-widget img {
    height: auto;
    display: block;
}
/* Trending Widget */
.trending-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
}

.trending-post-item:focus,
.trending-post-item:active {
    outline: none;
}

.trending-post-item figure {
    width: 100px;
    height: 100px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.trending-post-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.trending-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Menu navigasi widget */
.two-column-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.two-column-list li {
    width: calc(50% - 0.75rem);
    margin-bottom: 0.25rem;
}

.two-column-list li a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    font-weight: normal;
    line-height: 1.4;
}

/* Agenda Widget */
.agenda-post-widget {
    margin-top: 40px;
}

.agenda-post-list {
    margin-top: 1rem;
}

.agenda-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.agenda-item:focus,
.agenda-item:active {
    outline: none;
}

.agenda-line {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        #d1d5db,
        #d1d5db 4px,
        transparent 4px,
        transparent 8px
    );
    z-index: 0;
}

.agenda-dot {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #006f7d;
    border-radius: 50%;
    z-index: 1;
}

.agenda-content {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
    z-index: 2;
}

.agenda-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.agenda-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.agenda-thumb:hover img {
    transform: scale(1.05);
    cursor: pointer;
}

.agenda-text {
    flex: 1;
    min-width: 0;
}

.agenda-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.agenda-date {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .agenda-post-widget {
        padding-left: 5px;
    }

    .agenda-content {
        gap: 10px;
    }

    .agenda-thumb {
        width: 100px;
        height: 70px;
    }

    .agenda-title {
        font-size: 14px;
        white-space: normal;
    }

    .agenda-date {
        font-size: 12px;
    }

    .agenda-post-widget::before {
        left: 5px;
    }

    .agenda-dot {
        left: -1px;
        width: 10px;
        height: 10px;
    }
}

/* Category List Widget */
.category-list-widget {
    margin-top: 2rem;
}

.category-list-widget .section-title {
    font-size: 16px;
    color: #006f7d;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.category-list li a {
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: #111;
    transition: 0.2s;
}

.category-list li a .hash {
    color: #7a8091;
    font-weight: bold;
    margin-right: 8px;
}

/* .category-list li a:hover {
    color: #e60000;
} */

/* Single Posts */
.media-berita-single .single-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.single-header {
    margin-bottom: 24px;
    margin-top: 10px;
    position: relative;
}

.breadcrumb {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb .divider {
    margin: 0 6px;
    color: #999;
}

.single-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 8px;
}

.single-excerpt {
    font-size: 14px;
    font-weight: 450;
    color: #666;
    margin-bottom: 16px;
    /*font-style: italic;*/
}

.single-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #444;
}

.single-meta a {
    color: inherit;
    text-decoration: none;
}

.single-meta .author {
    color: #e60000;
    font-weight: 600;
}

.single-meta-author-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.single-meta-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.single-meta {
    font-size: 14px;
    color: #444;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.single-meta .author {
    color: #222;
}

.single-meta .author a {
    color: #222;
    font-style: italic;
    text-decoration: none;
}

.single-meta-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #666;
}

.single-meta-stats i {
    margin-right: 4px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.share-buttons .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #eee;
    color: #333;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.2s;
}

.share-buttons .share-btn:hover {
    background-color: #ccc;
}

.single-content {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
}

.single-content .post-content ol li > strong::marker {
    font-weight: bold !important;
}

.single-content .post-content ul li > strong::marker {
    font-weight: bold !important;
}

.post-content ol li.li-bold::marker,
.post-content ul li.li-bold::marker {
    font-weight: bold;
}

.summary-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin: 32px auto;
    max-width: 500px;
    box-sizing: border-box;
}

.summary-title {
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    background: #eee;
    padding: 10px 16px;
    margin: -20px -20px 16px -20px;
    border-bottom: 1px solid #ddd;
}

.summary-content {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.summary-content ul {
    padding-left: 20px;
    margin: 0;
}

.summary-content li {
    margin-bottom: 8px;
}

.summary-note {
    background: #003366;
    color: #fff;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 0 0 4px 4px;
    margin: 0 -20px -20px -20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-lock-box {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: "Plus Jakarta Sans", sans-serif;
}

.premium-lock-box .lock-icon {
    font-size: 36px;
    color: #555;
    margin-bottom: 15px;
}

.premium-lock-box p {
    margin: 0;
    font-size: 16px;
    color: #444;
}

.premium-lock-box a {
    color: #007bff;
    text-decoration: underline;
}

.single-content figure.image {
    display: block;
    margin: 1em auto;
    max-width: 100%;
}

.single-content figure.image img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.single-content figure.image.image-style-align-center,
.single-content figure.image img {
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    max-width: 450px;
    max-height: 300px;
}

.single-content .post-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-block-end: 1em;
}

.single-content .post-content h1,
.single-content .post-content h2,
.single-content .post-content h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    margin-block: 1em 0.5em;
}

.single-content .post-content ul li,
.single-content .post-content ol li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0.5em;
}

.single-content .post-content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1em;
    margin: 1em 0;
    color: #555;
    font-style: italic;
}

.single-content .post-content blockquote p {
    font-size: 22px;
    line-height: 1.7;
}

.single-sidebar {
    width: 350px;
    flex-shrink: 0;
}

.single-thumbnail {
    margin: 24px 0;
    border-radius: 10px;
    overflow: hidden;
}

.single-thumbnail img {
    width: 570px;
    height: 380px;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s ease, filter 0.4s ease;
    will-change: transform;
}

@media (max-width: 486px) {
    .single-thumbnail img {
    width: 100%;
    height: 240px;
    display: block;
    }

    .single-content figure.image.image-style-align-center,
    .single-content figure.image img {
        max-width: 300px;
        max-height: 200px;
    }
}

.single-thumbnail:hover img {
    cursor: pointer;
}

.single-thumbnail figcaption {
    font-size: 14px;
    color: #444;
    margin-top: 8px;
    line-height: 1.6;
    text-align: center;
}

.post-tags {
    margin-top: 40px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.post-tags h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.tag-list a {
    display: inline-block;
    margin-right: 15px;
    font-weight: 500;
    font-size: 14px;
    color: #111;
    background: #f3f3f3;
    padding: 6px;
    border-radius: 7px;
    text-decoration: none;
}

.tag-list a:hover {
    color: #e60000;
    text-decoration: underline;
}

.post-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.post-navigation .nav-previous span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.post-navigation .nav-previous a {
    font-weight: bold;
    color: #111;
    text-decoration: none;
    font-size: 16px;
}

.post-navigation .nav-previous a:hover {
    color: #e60000;
}

/* Related post */

.related-posts {
    margin-top: 40px;
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.related-item {
    flex: 1 1 30%;
    min-width: 280px;
}

.related-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-thumb {
    overflow: hidden;
    border-radius: 12px;
}

.related-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    will-change: transform;
}

.related-item:hover .related-thumb img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.related-meta {
    margin-top: 8px;
    font-size: 13px;
    color: #777;
}

.related-meta .category {
    color: red;
    font-weight: 500;
}

.related-meta .dot {
    margin: 0 6px;
}

.related-title {
    font-size: 14px;
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.4;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content figcaption {
    text-align: center;
}

/* .post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.post-content th,
.post-content td {
    border: 1px solid #ccc;
    padding: 10px 12px;
    text-align: left;
}

.post-content thead {
    background-color: #f5f5f5;
    font-weight: bold;
} */

.single-content .post-content figure.table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
}

.single-content .post-content figure.table[style] {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.single-content .post-content figure.table table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.single-content .post-content figure.table th,
.single-content .post-content figure.table td {
    border: 1px solid #ccc;
    padding: 10px 12px;
    text-align: left;
}

.single-content .post-content figure.table thead {
    background-color: #f5f5f5;
    font-weight: bold;
}

.single-content .post-content figure.table::-webkit-scrollbar {
    height: 6px;
}

.single-content .post-content figure.table::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.single-content .post-content figure.table::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 1024px) {
    .single-wrapper {
        flex-direction: column;
    }

    .single-sidebar {
        width: 100%;
        margin-top: 40px;
    }
}

/* Comment */
.post-comments {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.post-comments h3,
.post-comments h4 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.post-comments .form-group {
    margin-bottom: 15px;
}

.post-comments input,
.post-comments textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.post-comments input:focus,
.post-comments textarea:focus {
    border-color: #007bff;
    outline: none;
}

.post-comments button {
    background-color: #0056b3;
    color: #fff;
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.post-comments button:hover {
    background-color: #0056b3;
}

.post-comments .comment {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.post-comments .comment strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.post-comments .comment-reply {
    border-left: 2px solid #ddd;
    padding-left: 15px;
    margin-top: 10px;
}

/* Button balas */
.reply-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    background-color: #e6e6e6;
}

/* Balasan */
.comment-reply {
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 2px solid #ddd;
}

.comment-reply strong {
    font-size: 14px;
    font-weight: 500;
}

.comment-reply p {
    font-size: 14px;
    color: #555;
}

/* Form reply */
.reply-form {
    margin-top: 10px;
}

.reply-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    resize: vertical;
    font-size: 14px;
    transition: border-color 0.3s;
}

.reply-form textarea:focus {
    outline: none;
    border-color: #999;
}

.reply-form input[type="text"],
.reply-form input[type="email"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 5px;
    font-size: 14px;
}

.reply-form .comment-btn {
    background-color: #000;
    color: #fff;
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reply-form .comment-btn:hover {
    background-color: #333;
}
/* Author Page */
.author-info {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}
.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 100px;
    object-fit: cover;
}
.author-details {
    flex: 1;
}
.author-name {
    font-size: 1.5rem;
    font-weight: bold;
}
.author-bio {
    margin: 10px 0;
    color: #555;
}
.author-social .social-icon {
    margin-right: 10px;
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}
.author-social .social-icon:hover {
    color: #e60000;
}

.author-articles .article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(261px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.article-card {
    background: #fff;
}
.article-card a {
    text-decoration: none;
}

.article-card a .title {
    text-decoration: none;
}

.article-card .title:hover {
    text-decoration: underline;
}

.article-card .thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}
.article-card .meta {
    margin: 10px 0 4px;
    font-size: 13px;
    color: #888;
}
.article-card .title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 40px 0 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #eee;
}

.pagination .current {
    background-color: #f44336;
    color: white;
    border-color: transparent;
}

@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Pages */
.media-berita-page .page-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.page-content .page-title {
    text-align: center;
}

.page-content .page-date {
    text-align: center;
    font-style: italic;
}

.page-content p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 1.2em 0;
}

.page-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 1.5em 0 0.5em 0;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 1.4em 0 0.5em 0;
}

.page-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 1.3em 0 0.5em 0;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.2em 1.5em;
    padding: 0;
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 0.5em;
    font-size: 16px;
    line-height: 1.7;
}

.page-content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1em;
    margin: 1.5em 0;
    color: #666;
    font-style: italic;
}

.page-content figure.table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 0;
    margin-right: 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.page-content th,
.page-content td {
    border: 1px solid #ccc;
    padding: 10px 12px;
    text-align: left;
}

.page-content thead {
    background-color: #f5f5f5;
    font-weight: bold;
}

.page-content a {
    color: #f44336;
    text-decoration: none;
}

/* Index Page */
.index-filter-tab {
    background: #f4f4f4;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.index-filter-tab label {
    font-weight: 600;
    margin-right: 8px;
}

.index-filter-tab select,
.index-filter-tab button {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: white;
}

.index-filter-tab button {
    background: red;
    color: white;
    border: none;
    font-weight: bold;
}

.index-filter-tab button:hover {
    background: #3e1ca7;
    cursor: pointer;
}

.section-title {
    color: #006f7d;
    font-size: 16px;
    /*margin: 24px 0 16px;*/
}

.index-post-list {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
}

.index-post-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.index-post-item img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.index-post-item .index-post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.index-post-item .index-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    margin-top: 4px;
}

.index-post-item .index-post-title:hover {
    color: #2429b0;
}

@media (max-width: 640px) {
    .index-filter-tab {
        flex-direction: column;
        align-items: flex-start;
    }

    .index-filter-tab label {
        margin-bottom: 4px;
    }

    .index-filter-tab select,
    .index-filter-tab button {
        width: 100%;
    }
}

/* Archive Page */
.archive-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.archive .featured-post {
    overflow: hidden;
    border-radius: 6px;
}

.archive .featured-post img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.archive .featured-post:hover img {
    transform: scale(1.05);
    border-radius: 6px;
}

.archive .featured-meta {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.archive .featured-title {
    font-size: 22px;
    margin-top: 6px;
    margin-bottom: 4px;
}

.archive .featured-title a {
    color: #111;
    text-decoration: none;
}

.archive .featured-title a:hover {
    text-decoration: underline;
}

.archive .featured-excerpt {
    font-size: 14px;
    color: #555;
}

/* Footer */
.media-berita-footer {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 20px 0;
    font-size: 14px;
    color: #374151;
}

footer .media-berita-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.media-berita-footer-left p {
    margin: 0;
}

.media-berita-footer-left a {
    color: inherit;
}

.media-berita-footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.media-berita-footer-right ul li a {
    text-decoration: none;
    color: #111827;
    transition: color 0.2s ease;
}

.media-berita-footer-right ul li a:hover {
    color: #2563eb;
}

@media (max-width: 640px) {
    footer .media-berita-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .media-berita-footer-right ul {
        padding-top: 10px;
        flex-direction: column;
        gap: 6px;
    }
}

/* Dashboard Profile */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.profile-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.profile-container label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.profile-container input[type="text"],
.profile-container input[type="email"],
.profile-container textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-container input:focus,
.profile-container textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

.profile-container button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background-color: #3b82f6;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.profile-container button:hover {
    background-color: #2563eb;
}

/* Dashboard My Posts */
