/**************************************/
/************ General CSS *************/
/**************************************/
body {
    color: #757575;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
}

a {
    color: #4F84C4;
    transition: 0.3s;
}

a:hover,
a:active,
a:focus {
    color: #666666;
    outline: none;
    text-decoration: none;
}

p {
    color: #757575;
    padding: 0;
    margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #888888;
    margin: 0 0 15px 0;
    padding: 0;
}

h4,
h5,
h6 {
    font-weight: 400;
}

.mt-100 {
    margin-top: 100px;
}
strong, b {
    font-weight: bold !important;
}
/**************************************/
/********** Back to Top CSS ***********/
/**************************************/
.back-to-top {
    position: fixed;
    display: none;
    background: #4F84C4;
    color: #ffffff;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 1;
    font-size: 25px;
    right: 15px;
    bottom: 60px;
    transition: background 0.3s;
    z-index: 9;
    padding-top:5px;
}

.back-to-top i {
    color: #ffffff;
}
/**************************************/
/************** Nav CSS ***************/
/**************************************/
#nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    padding: 22px 0 0;
    z-index: 999;
}

#nav.nav-sticky {
    height: 80px;
    padding: 6px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    transition: all 0.3s;
}

#nav .navbar {
    height: 100%;
    background: transparent !important;
    margin-top: -10px;
}

#nav .navbar-brand {
    padding: 0;
}

#nav .logo{
    padding: 0;
    max-height: 50px;
    margin-top: 5px;
    transition: all .5s;
}

#nav .navbar-brand img {
    position: absolute;
    max-height: 60px;
    margin-top: -27px;
    transition: all .5s;
}

#nav.nav-sticky .navbar-brand img {
    position: absolute;
    max-height: 50px;
    margin-top: -25px;
    transition: all .5s;
}

#nav .nav-link {
    color: #ffffff;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
    display: inline-block;
}

#nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; 
    transform: none; 
    width: 0;          
    height: 2px;       
    background-color: #4F84C4;
    transition: width 0.3s ease-in-out; 
}

#nav .nav-link:hover::after,
#nav .nav-link.active::after {
    width: 50px; 
}

#nav .nav-link:hover,
#nav .nav-link.active {
    color: #4F84C4;
}

@media (min-width: 992px) {
    #nav .nav-link {
        display: block; 
    }
    #nav .nav-link::after {
       
        left: 50%;
        transform: translateX(-50%);
    }
    #nav .nav-link:hover::after,
    #nav .nav-link.active::after {
        width: 60%; 
    }
}

#nav .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 768px) {
    #nav,
    #nav .navbar {
        background: #d4af37 !important;
    }
    
    #nav a.nav-link {
        padding: 8px 15px;
        font-size: 15px;
        text-transform: uppercase;
    }
}

@media (max-width: 768px) {   
    #nav,
    #nav .navbar {
        background: #d4af37 !important;
    }
    
    #nav a.nav-link {
        padding: 5px;
    }
    
    #nav .dropdown-menu {
        box-shadow: none;
    }
    
    #nav .container-fluid {
        padding: 0;
    }

    #nav .navbar-brand h1.logo {
        font-size: 1.95rem !important; 
        max-width: 70vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #nav .navbar {
        padding-left: 10px;
        padding-right: 10px;
    }
    #nav .navbar-collapse {
        margin: 0 !important;
        padding: 0 !important;
    }
}
/**************************************/
/************* Header CSS *************/
/**************************************/
.header {
    position: relative;
    width: 100%;
    background: #ffffff;
    margin-top: 100px;
}

.header .carousel-item {
    position: relative;
    width: 100%;
    overflow: hidden;
		
}

.header .carousel-img {
    text-align: center;
}

.header .carousel-img img {
    max-width: 100%;
    max-height: 100%;
}

.header .carousel-content {
    padding: 30px;
    text-align: center;
	margin-right:100px
}

.header .carousel-content h2 {
    color: #4F84C4;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: capitalize;
}
.header .carousel-content h4 {
	color: #444;
	font-size: 30px;
}

.header .carousel-content p {
    color: #353535;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.header .carousel-content .btn {
    padding: 12px 30px;
    color: #ffffff;
    border-radius: 0;
    background: #4F84C4;
}

.header .carousel-content .btn:hover {
    background: #888888;
}

.carousel-control-next i,
.carousel-control-prev i {
    color: #888888;
    font-size: 45px;
}

.carousel-indicators li {
    width: 20px;
    height: 0px;
    background: #888888;
}
@media (max-width: 768px) {   
.header .carousel-content {
    padding: 30px;
    text-align: center;
	margin:0;
	}
}

/**************************************/
/******** Section Header CSS **********/
/**************************************/
.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding-bottom: 25px;
}

.section-header h2 {
    color: #666666;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}
.section-detail h2 {
    color: #666666;
    font-size: 35px;
    font-weight: 700;  
    text-align: center;
}

.section-header::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100px;
    height: 5px;
    background: #cccccc;
    border-radius: 0 0 5px 5px;
    bottom: 0;
    left: calc(50% - 50px);
}

.section-header p {
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    margin: 0;
}
/**************************************/
/********* welcome + Single CSS *********/
/**************************************/
.welcome,
.single {
    position: relative;
    padding: 60px 0 10px 0;
    background: #f2f2f2;
}

.welcome .col-md-12,
.welcome .col-md-6,
.single .col-md-12,
.single .col-md-6 {
    margin-bottom: 30px;
}

.welcome .welcome-img,
.single .single-img {
    position: relative;
    overflow: hidden;
}

.welcome .welcome-img img,
.single .single-img img {
    width: 100%;
}

.welcome .welcome-content,
.single .single-content {
    position: relative;
    width: 100%;
    margin: 5px auto 0 auto;
    padding: 30px;
    background: #ffffff;
}

.welcome .welcome-content h2,
.single .single-content h2 {
    font-size: 25px;
    font-weight: 700;
}

.welcome .welcome-content p,
.single .single-content p {
    font-size: 16px;
    font-weight: 300;
}
.welcome p {
	text-align:justify;
	text-justify: inter-word;
}

.welcome .btn,
.single .btn {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    background: #4F84C4;
    border-radius: 0;
}

.welcome .btn:hover,
.single .btn:hover {
    background: #999999;
}
/**************************************/
/************ newss CSS ************/
/**************************************/
.news {
    background: #ffffff;
    padding: 60px 0 60px 0;
    text-align: center;
}

.news .news-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.news .news-icon {
    position: relative;
    width: 100%;
    padding: 30px 15px;
    background: #4F84C4;
}

.news .news-icon i {
    font-size: 90px;
    line-height: 0;
    color: #ffffff;
}

.news .news-detail {
    position: relative;
    width: 100%;
    padding: 30px 15px;
    background: #f2f2f2;
}

.news .news-detail h4,
.news .news-detail h4 a {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.news .news-detail p {
    margin: 0;	
	text-align: justify;
	text-justify: inter-word;
}

.news .btn
 {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    background: #d4af37;
    border-radius: 0;
	margin-top:20px;
}
.news-detail .btn
{
    color: #ffffff;
    background: #4F84C4;
}
.news .btn:hover,
.single .btn:hover {
    background: #999999;
}

.news .news-img,
.single .single-img {
    position: relative;
    overflow: hidden;
}

.news .news-img img,
.single .single-img img {
    width: 100%;
}
.single-content .btn, .btns {
    padding: 5px 10px;
    color: #ffffff;
    background: #4F84C4 !important;
}

.single-content .btn:hover {
    background: #999999 !important;
    color: #ffffff !important; 
}

.btns:hover {
    background: #999999 !important;
}
.single-content .detail-berita {
    font-size: 13px !important; 
}
.single-content .news-header {
    font-size: 36px !important; 
    font-weight: 700;
}

@media (max-width: 576px) {
    .single-content .meta-responsive .separator {
        display: none !important;
    }
    .single-content .meta-responsive .meta-item {
        display: block;
        margin-bottom: 5px; 
        font-size: 13px;   
    }
}
/**************************************/
/************ galery CSS ***********/
/**************************************/
.galery {
    position: relative;
    padding: 60px 0 60px 0;
    background: #f2f2f2;
}

.galery .galery-item {
    margin-bottom: 30px;
    overflow: hidden;
	
}

.galery .galery-item .galery-img {
    position: relative;
    background: transparent;
    overflow: hidden;
    
}

.galery .galery-item .link-preview,
.galery .galery-item .link-details {
    position: absolute;
    display: inline-block;
    padding: 7px 0;
    line-height: 1;
    text-align: center;
    width: 45px;
    height: 35px;
    background: #4F84C4;
    border: 1px solid #ffffff;
    transition: 0.3s;
    opacity: 0;
	color :#fff;
	
}

.galery .galery-item .link-preview i,
.galery .galery-item .link-details i {
    font-size: 22px;
    color: #ffffff;
	
}

.galery .galery-item .link-preview:hover,
.galery .galery-item .link-details:hover {
    background: #ffffff;
    border: 1px solid #4F84C4;
	color:#444;
	
}

.galery .galery-item .link-preview:hover i,
.galery .galery-item .link-details:hover i {
    color: #353535;
}

.galery .galery-item .link-preview {
    left: 50%;
    transform: translateX(50%); 
    top: calc(50% - 18px);
}

.galery .galery-item:hover .link-preview {
    opacity: 1;
    left: calc(50% - 50px);
}

.galery .galery-item .galery-info {
    position: relative;
    width: 100%;
    padding: 20px 15px;  
    text-align: center;
    background: #ffffff;
}

.galery .galery-item .galery-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.galery .galery-item .galery-info p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}
.galery .btn,
.single .btn {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    background: #d4af37;
    border-radius: 0;
	margin-top:20px;
}

.galery .btn:hover,
.single .btn:hover {
    background: #999999;
}
/**************************************/
/************* Footer CSS *************/
/**************************************/
.footer {
    position: relative;
    padding: 0 0 30px 0;
    background: #222222;
}

.footer .footer-top {
    background: #d4af37;
    padding: 60px 0 30px 0;
}

.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}

.footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #ffffff;
    color: #4F84C4;
    line-height: 1;
    padding: 9px 0;
    margin-right: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .footer-top .social-links a:hover {
    background: #4F84C4;
    color: #ffffff;
}

.footer .footer-top h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 50px;
    border-bottom: 2px solid #ffffff;
}

.footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ffffff;
    font-size: 16px;
}

.footer .footer-top .footer-links ul li {
    
    padding: 7px 0;
}

.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul a {
    font-size: 14px;
    color: #ffffff;
}

.footer .footer-top .footer-links ul a:hover {
    color: #4F84C4;
}

.footer .footer-top .footer-contact p {
    color: #ffffff;
    line-height: 26px;
}

.footer .footer-top .footer-newsletter p {
    color: #ffffff;
    font-size: 14px;
}

.footer .copyright,
.footer .copyright a {
    text-align: center;
    padding-top: 30px;
    color: #cfcfcf;
}

.footer .copyright a:hover {
    text-align: center;
    padding-top: 30px;
    color: #4F84C4;
}

@media (min-width: 768px) {
    
    .footer .copyright {
        text-align: center;
    }
}
/************* sponsor CSS ************/
/**************************************/
.sponsor {
    position: relative;
    padding: 90px 0;
}

.sponsor .section-header p {
    padding-bottom: 10px;
}

.sponsor img {
    padding: 15px 0;
    
    width: 200%;
}
/********* iframe **********/
.content-area iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; 
    border: 0 !important;
    border-radius: 8px;   
}
@media (max-width: 576px) {
    .content-area iframe {
        aspect-ratio: 4 / 3; 
    }
}
/**************************************/
/************ Sidebar Detail **********/
/**************************************/

/* 1. Mengembalikan padding & memberikan efek bayangan lembut pada box berita */
.single .single-content {
    padding: 30px !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 0; /* Menyelaraskan tinggi atas dengan sidebar */
}

/* 2. Menghapus margin bawah berlebih pada gambar dalam artikel */
.single-content figure img {
    margin-bottom: 0 !important;
}

/* 3. Merapikan garis pembatas dan list artikel di sidebar */
.sidebar-posts-list .border-bottom:last-child {
    border-bottom: 0 !important; /* Hapus garis di item terakhir */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 4. Efek Hover Judul di Sidebar */
.sidebar-posts-list a:hover {
    color: #4F84C4 !important;
}

/* 5. Mencegah judul sidebar terlalu panjang (Potong otomatis jadi maksimal 2 baris) */
.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Menghilangkan sisa margin pada elemen paragraf terakhir di dalam artikel */
.content-area > p:last-child {
    margin-bottom: 0 !important;
}
.content-area img {
    max-width : 100%;
    height : auto !important;
}
