@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');


/* ===== BAGIAN HEADER ===== */

header.main-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

header.main-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
	display: flex !important;           /* ← tambah */
    flex-direction: column !important;  /* ← tambah */
}

header.main-header .container > .row,
header.main-header .navbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sembunyikan gambar logo OJS */
.navbar-logo img.img-fluid,
div.navbar-logo img {
    display: none !important;
}

/* Sembunyikan teks span navbar-logo-text */
.navbar-logo a span.navbar-logo-text,
header.main-header .navbar-brand span.navbar-logo-text {
    display: none !important;
}

/* Sembunyikan toggler mobile */
@media (min-width: 769px) {
    header.main-header .navbar-toggler {
        display: none !important;
    }
}

/* Header logo area */
.navbar-logo {
    order: 1 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;  /* ← ubah jadi column */
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 40px 0 40px !important;  /* ← hapus padding bawah */
    margin: 0 !important;
    background-color: #000D2A !important;
    box-sizing: border-box !important;
    min-height: 120px !important;
    gap: 8px !important;  /* ← kecilkan gap */
}

/* Logo 5 lingkaran */
.navbar-logo a::before {
    content: "" !important;
    display: inline-block !important;
    width: 96px !important;
    height: 96px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none'%3E%3Ccircle cx='26' cy='26' r='22' fill='none' stroke='%232d4a63' stroke-width='3'/%3E%3Ccircle cx='70' cy='26' r='22' fill='%23E8A84A' stroke='%232d4a63' stroke-width='3'/%3E%3Ccircle cx='26' cy='70' r='22' fill='%235B7FA6' stroke='%232d4a63' stroke-width='3'/%3E%3Ccircle cx='70' cy='70' r='22' fill='%235AABA0' stroke='%232d4a63' stroke-width='3'/%3E%3Ccircle cx='48' cy='48' r='20' fill='none' stroke='%232d4a63' stroke-width='3'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

/* Teks BISTEC */
.navbar-logo a::after {
    content: "BISTEC" !important;
    display: inline-block !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 6px !important;
    font-family: 'Trebuchet MS', Arial, sans-serif !important;
    color: #8ab4d4 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Link wrapper */
.navbar-logo a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

/* Subjudul via h1.sr-only yang ada di luar navbar-logo */
header.main-header h1.sr-only {
    display: none !important;
}

.navbar-logo::after {
    content: "JOURNAL OF BUSINESS, INFORMATION SYSTEM, TECHNOLOGY, ECONOMY & COMMERCE" !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    font-family: Arial, sans-serif !important;
    color: #7aaecc !important;
    line-height: 1.8 !important;
    white-space: nowrap !important;
    background-color: #000D2A !important;
    padding: 4px 0 16px 0 !important;  /* ← sesuaikan padding */
    margin-top: 0 !important;  /* ← hapus margin-top */
}

header.main-header .container > nav {
    order: 3 !important;
}

@media (max-width: 768px) {
    .navbar-logo {
        padding: 15px 20px !important;
        min-height: 80px !important;
    }
	
	.navbar-logo::after {
		font-size: 0.45rem !important;
		letter-spacing: 1.5px !important;
		white-space: normal !important;
	}
	
    .navbar-logo a::before {
        width: 60px !important;
        height: 60px !important;
    }
    .navbar-logo a::after {
        font-size: 1.6rem !important;
        letter-spacing: 4px !important;
    }

}

/* Warna Register & Login putih */
ul#userNav .nav-link,
ul.navbar-nav#userNav a {
    color: #ffffff !important;
}
ul#userNav .nav-link:hover,
ul.navbar-nav#userNav a:hover {
    color: #aad4f0 !important;
}


/* ===== BAGIAN ISI ===== */

/* ===== ANNOUNCEMENT 4 BARIS ===== */
article.homepage-announcement {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

section.row.homepage-announcements {
    margin-bottom: 40px !important;
}

@media (max-width: 768px) {
    article.homepage-announcement {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 480px) {
    article.homepage-announcement {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ===== FIX TANGGAL ANNOUNCEMENT ===== */
article.homepage-announcement footer,
article.homepage-announcement footer small.homepage-announcement-date {
    background-color: transparent !important;
    background: none !important;
    color: #757575 !important;
    padding: 0 !important;
}


/* ===== BAGIAN FOOTER ===== */

/* ===== FOOTER 3 KOLOM ===== */
.container.site-footer-sidebar .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

/* Quick Menu - kolom kecil */
.container.site-footer-sidebar .row #customblock-quick-menu {
    flex: 0 0 18% !important;
    max-width: 18% !important;
    width: 18% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

/* Contact Us - kolom sedang */
.container.site-footer-sidebar .row #customblock-contact-us {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

/* About Us - kolom paling lebar */
.container.site-footer-sidebar .row #customblock-about-us {
    flex: 0 0 52% !important;
    max-width: 52% !important;
    width: 52% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .container.site-footer-sidebar .row #customblock-quick-menu,
    .container.site-footer-sidebar .row #customblock-contact-us,
    .container.site-footer-sidebar .row #customblock-about-us {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
}

/* ===== HAPUS LOGO OJS/PKP ===== */
img.footer-brand-image,
.footer-brand-image,
a > img.footer-brand-image,
.col-md-2.align-self-center.text-right {
    display: none !important;
}

/* ===== WARNA BACKGROUND FOOTER ===== */
footer.site-footer {
    background-color: #000D2A !important;
    background: #000D2A !important;
}

.container.site-footer-sidebar {
    background-color: transparent !important;
}

.site-footer-content .container {
    background-color: transparent !important;
}

/* ===== JARAK JUDUL DENGAN ISIAN (FOOTER) ===== */
/* Jarak judul ke isian pertama lebih lebar */
.container.site-footer-sidebar .pkp_block h2.title {
    margin-bottom: 20px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}

/* Jarak antar isian lebih rapat */
.container.site-footer-sidebar .pkp_block .content p,
.container.site-footer-sidebar .pkp_block .content a,
.container.site-footer-sidebar .pkp_block ul li {
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

.container.site-footer-sidebar .pkp_block ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ===== COPYRIGHT DI TENGAH ===== */
.site-footer-content .container,
.pkp_structure_footer_wrapper .container {
    text-align: center !important;
    width: 100% !important;
}

.site-footer-content {
    text-align: center !important;
}

/* ===== CUSTOM TOMBOL SOSMED ===== */
a[href*="twitter.com"],
a[href*="instagram.com"],
a[href*="linkedin.com"],
a[href*="facebook.com"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  color: white !important;
  text-decoration: none !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-family: "Font Awesome 6 Brands" !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

a[href*="twitter.com"]   { background-color: #000000; content: "\e61b"; }
a[href*="instagram.com"] { background-color: #E1306C; }
a[href*="linkedin.com"]  { background-color: #0077B5; }
a[href*="facebook.com"]  { background-color: #1877F2; }

a[href*="twitter.com"]::before   { content: "\e61b" !important; }
a[href*="instagram.com"]::before { content: "\f16d" !important; }
a[href*="linkedin.com"]::before  { content: "\f08c" !important; }
a[href*="facebook.com"]::before  { content: "\f09a" !important; }

a[href*="twitter.com"]::before,
a[href*="instagram.com"]::before,
a[href*="linkedin.com"]::before,
a[href*="facebook.com"]::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  text-align: center !important;
}
