/* =========================
   NEWS PAGE
========================= */

.news-page {
    padding: 60px 0;
}

.news-page h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
}

/* =========================
   SEARCH
========================= */

.news-search {
    margin-bottom: 32px;
}

.news-search .input-group input {
    border-radius: 10px 0 0 10px;
    border-color: #ddd;
    font-size: 14px;
    height: 46px;
    padding: 0 16px;
    box-shadow: none;
}

.news-search .input-group input:focus {
    border-color: #c8a96e;
}

.news-search .input-group-btn button {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    height: 46px;
    padding: 0 18px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.news-search .input-group-btn button:hover {
    background: #333;
}

/* =========================
   CATEGORY LABEL
========================= */

.news-category-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 22px;
    padding: 10px 18px;
    background: #f5f5f5;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.remove-category {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #222;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    margin-left: 2px;
    transition: 0.2s ease;
}

.remove-category:hover {
    background: #555;
}

/* =========================
   NEWS GRID
========================= */

.news-row {
    display: flex;
    flex-wrap: wrap;
}

.news-row > [class*='col-'] {
    margin-bottom: 30px;
}

/* =========================
   NEWS CARD
========================= */

.news-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f7f7f7;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.news-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.news-card .news-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.news-card .news-date i {
    margin-right: 4px;
}

.news-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    min-height: 52px;
}

.news-card h4 a {
    color: #111;
    text-decoration: none;
}

.news-card h4 a:hover {
    text-decoration: underline;
}

.news-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 14px 0;
    min-height: 44px;
}

.news-card a.read-more {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    margin-top: auto;
}

.news-card a.read-more:hover {
    color: #c8a96e;
    text-decoration: underline;
}

/* =========================
   EMPTY STATE
========================= */

.no-news {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
}

/* =========================
   PAGINATION
========================= */

.pagination {
    margin-top: 10px;
}

.pagination > li > a,
.pagination > li > span {
    border: none;
    margin: 0 4px;
    border-radius: 8px !important;
    color: #333;
    background: #f3f3f3;
    padding: 10px 16px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: #111;
    color: #fff;
}

.pagination > li > a:hover {
    background: #111;
    color: #fff;
}

.pagination > .disabled > a,
.pagination > .disabled > span {
    background: #f3f3f3;
    color: #bbb;
}

@media (max-width: 767px) {

    .pagination {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;

    .pagination > li {
        display: inline-block;
        float: none;
    }

    .pagination > li > a,
    .pagination > li > span {
        padding: 8px 12px;
        margin: 0 2px;
    }

}


/* =========================
   NEWS DETAIL
========================= */

.news-detail-title h1 {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: #222;
    margin-bottom: 24px;
}

.news-summary {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin: 30px 0;
}

/* =========================
   SIDEBAR
========================= */

.left-blog {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.left-blog h4 {
    font-size: 18px;
    font-weight: 600;
    padding: 24px 24px 18px;
    margin: 0;
    color: #222;
    letter-spacing: 0.3px;
}

.left-blog ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.left-blog ul li {
    border-top: 1px solid #f0f0f0;
}

.left-blog ul li a {
    display: block;
    padding: 16px 24px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.left-blog ul li a:hover {
    background: #f7f7f7;
    color: #c89b3c;
    padding-left: 30px;
    text-decoration: none;
}

/* =========================
   DETAIL SEARCH
========================= */

.search-option {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.search-option input {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
    outline: none;
    box-shadow: none;
}

.search-option input:focus {
    border-color: #c9c9c9;
}

.search-option button {
    width: 56px;
    height: 46px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    border-radius: 0 12px 12px 0;
    transition: 0.2s ease;
}

.search-option button:hover {
    background: #222;
}

.single-blog-page form {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* =========================
   POST THUMBNAIL
========================= */

.post-thumbnail img {
    border-radius: 12px;
    width: 100%;
    margin-bottom: 24px;
}

.post-thumbnail {
    position: relative;
    min-height: 260px;
    margin-bottom: 24px;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.post-thumbnail img {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* =========================
   BLOG WRAPPER
========================= */

.blog-post-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 24px 32px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* =========================
   ENTRY CONTENT
========================= */

.entry-content {
    margin-top: 35px;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #222;
    font-weight: 600;
    margin-top: 45px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.entry-content p {
    margin-bottom: 22px;
}

.entry-content ol,
.entry-content ul {
    padding-left: 22px;
    margin-bottom: 24px;
}

.entry-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.entry-content pre {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid #eee;
    overflow-x: auto;
    margin: 25px 0;
}

.entry-content code {
    font-family: Consolas, monospace;
    font-size: 14px;
}